debian/0000775000000000000000000000000012117677000007171 5ustar debian/rules0000775000000000000000000000343212117676432010263 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_build: dh_auto_build docbook-to-man debian/checkinstall.sgml > debian/checkinstall.8 docbook-to-man debian/installwatch.sgml > debian/installwatch.1 override_dh_auto_clean: $(MAKE) clean rm -f debian/checkinstall.8 rm -f debian/installwatch.1 TMPDIR=$(CURDIR)/debian/tmp override_dh_auto_install: # We override all paths: we want the binary in bin instead of # sbin, the configuration file in etc, the locales in the # standard directory, and the installwatch library in a subdir # of usr/lib $(MAKE) install PREFIX=$(TMPDIR)/usr LCDIR=$(TMPDIR)/usr/share/locale \ CONFDIR=$(TMPDIR)/etc BINDIR=$(TMPDIR)/usr/bin \ LIBDIR=$(TMPDIR)/usr/lib/checkinstall # Delete the checkinstallrc-dist file from etc rm -f $(TMPDIR)/etc/checkinstallrc-dist # installwatch's documentation mkdir -p $(TMPDIR)/usr/share/doc/checkinstall gzip -9c installwatch/CHANGELOG \ > $(TMPDIR)/usr/share/doc/checkinstall/installwatch.changelog.gz gzip -9c debian/changelog.installwatch.old \ > $(TMPDIR)/usr/share/doc/checkinstall/installwatch.changelog.Debian.gz cp installwatch/BUGS \ $(TMPDIR)/usr/share/doc/checkinstall/BUGS.installwatch cp installwatch/README \ $(TMPDIR)/usr/share/doc/checkinstall/README.installwatch cp installwatch/TODO \ $(TMPDIR)/usr/share/doc/checkinstall/TODO.installwatch # Modifications to the programs/config are applied here # Enable installwatch to find the shared library sed -i -e 's|$(TMPDIR)||' $(TMPDIR)/usr/bin/installwatch sed -i -e 's|PREFIX/lib|PREFIX/lib/checkinstall|' \ $(TMPDIR)/usr/bin/installwatch override_dh_installman: dh_installman debian/installwatch.1 debian/checkinstall.8 override_dh_install: dh_install --sourcedir=$(TMPDIR) debian/watch0000664000000000000000000000015012117676432010226 0ustar version=3 http://www.asic-linux.com.mx/~izto/checkinstall/files/source/checkinstall-([\d\.]*)\.tar.gz debian/NEWS0000664000000000000000000000060312117676432007677 0ustar checkinstall (1.6.1-8) unstable; urgency=low Filesystem translation is known to be broken recently due to a new set of system calls (the *at functions), which installwatch doesn't currently handle. This means that you should turn off filesystem translation until installwatch implements these calls. -- Felipe Sateler Wed, 25 Jun 2008 23:40:51 -0400 debian/changelog0000664000000000000000000002665612117676753011100 0ustar checkinstall (1.6.2-4ubuntu1) raring; urgency=low * Merge from Debian unstable. Remaining changes: - debian/patches/0002-Change-default-configuration.patch: Disable file system translation by default. -- Logan Rosen Tue, 12 Mar 2013 15:11:09 -0400 checkinstall (1.6.2-4) unstable; urgency=low [ Andreas Noteng ] * Fix wrong license name in debian/copyright (s/GPL2/GPL2+/) [ Timo Juhani Lindfors ] * Add patch 0011-fix-crash-when-sizeof-mode_t-sizeof-int.patch (closes: #702314) -- Andreas Noteng Fri, 08 Mar 2013 09:40:43 +0100 checkinstall (1.6.2-3ubuntu1) precise; urgency=low * Sync from Debian (LP: #975140) * 0002-Change-default-configuration.patch: Disable file system translation by default (LP: #78455) * debian/copyright: fixed GPL-2+ licence name -- Andreas Noteng Fri, 06 Apr 2012 15:16:05 +0200 checkinstall (1.6.2-3) unstable; urgency=low * Don't include empty control fields (closes: #666262) * Update Standards-Version - Update debian/copyright to version 1.0 * Don't include directories in conffiles (closes: #655453) -- Andreas Noteng Sun, 01 Apr 2012 18:22:33 +0200 checkinstall (1.6.2-2) unstable; urgency=low [ Andreas Noteng ] * New maintainer (closes: #608238) * Fix broken watch file * Change to machine readable copyright file * Update Standards-Version (no change). * Remove Breaks: and Replaces: installwatch (package no longer in Debian) * Fix wrong installwatch copyright information [ Felipe Sateler ] * Set file permissions to o=g instead of 644 when --reset-uids is passed -- Felipe Sateler Wed, 09 Feb 2011 15:51:28 -0300 checkinstall (1.6.2-1) unstable; urgency=low * New upstream release. Closes: #570510 - Update patches for new upstream release * Manage patches with gpb-pq * Update Standards-Version (no changes needed) * Switch to source format 3.0 (quilt) - Drop quilt usage * Drop unnecessary dh_clean override * Use multiline Build-Depends * Re-enable filesystem translation by default, it was fixed upstream. Closes: #510681, #490633, #478312 -- Felipe Sateler Thu, 15 Apr 2010 16:21:45 -0400 checkinstall (1.6.1-10) unstable; urgency=low * Fix build failure with glibc 2.10. Thanks Joao Pinto. Closes: #552860 * Remove backtick from HEREDOC. Closes: #556725 -- Felipe Sateler Tue, 17 Nov 2009 14:52:24 -0300 checkinstall (1.6.1-9) unstable; urgency=low * Move to debhelper 7 * Add misc:Depends to the Depends line * Remove dependency on findutils * Remove dependency on libc headers * Use correct quilt version * Update the checkinstall homepage * Allow overriding architecture in Debian. Closes: #501027 * Document use of quilt in patch management * Update standards version (no changes needed) -- Felipe Sateler Thu, 24 Sep 2009 14:33:05 -0400 checkinstall (1.6.1-8) unstable; urgency=low * Recommend make since it's the most used install tool. (Closes: #487964). * Use quilt for managing patches to upstream sources. * Allow Requires to be used in Debian. (Closes: #469639) * Turn off system translation by default, since it is currently broken. * Update the Vcs-* tags since we moved to Git. -- Felipe Sateler Thu, 24 Jul 2008 14:34:06 -0400 checkinstall (1.6.1-7) unstable; urgency=high * Use mktemp instead of awk magic to create temporary directories. The original implementation had a race condition that allowed for a symlink attack. This is security related, so set urgency to high. -- Felipe Sateler Wed, 25 Jun 2008 23:58:05 -0400 checkinstall (1.6.1-6) unstable; urgency=low * Use the new Vcs-* fields. * Do not ship empty directories. * Use $(MAKE) instead of make in the makefile * Support Provides: field in debian. * Depend on dpkg-dev, since we use dpkg-architecture (Closes: #484828) * Move url to the Homepage field. * Convert debian/copyright to UTF-8. * Bump standards version to 3.8.0 (no changes needed). -- Felipe Sateler Thu, 12 Jun 2008 08:57:53 -0400 checkinstall (1.6.1-5) unstable; urgency=low * Fix typo: striping -> stripping. (Closes: #447776) * Fix FTBFS on kfreebsd-amd64. (Closes: #451111) * Move manpage to section 8 and note that checkinstall must be run as root. (Closes: #448533) -- Felipe Sateler Tue, 13 Nov 2007 10:29:15 -0300 checkinstall (1.6.1-4) unstable; urgency=low * Fix access() filtering in checkinstall. (Closes: #404542) * Fix backup cleaning that may delete stuff we don't want to. * Remove spurious quotes which may behave badly under some conditions. * Find files created under /home and ask for exclusion. * Don't strip installwatch.so in upstream's Makefile (Closes: #436621) -- Felipe Sateler Fri, 10 Aug 2007 20:56:47 -0400 checkinstall (1.6.1-3) unstable; urgency=low * Fix FTBFS in some archs, by fixing the build dependencies. (Closes: #422213) -- Felipe Sateler Fri, 04 May 2007 13:17:01 -0400 checkinstall (1.6.1-2) unstable; urgency=low * Avoid shell command reinterpretation. (Closes: #306075) * Ease kernel module package creation by detecting depmod calls and acting accordingly. (Closes: #373103) * Fix FTBFS on GNU/kFreeBSD, patch from Cyril Brulebois. (Closes: #414310) * Comment =yes and =no arguments to options in the man page. (Closes: #409340) * Check for correct version numbers. (Closes: #175240) * Check for correct package names in Debian. (Closes: #356524) * Fix typos in checkinstall and installwatch man pages. * Do not pase usage information through a pager. * Fix charset in spanish and german translations (Closes: #418494) * Add XS-Vcs-Svn and XS-Vcs-Browser fields to debian/control * Pass messages to gettext without \n, add it later. * Correct the readlink definition to match the newer 2.5 glibc: now return a ssize_t instead of an int. -- Felipe Sateler Sat, 21 Apr 2007 16:12:41 -0400 checkinstall (1.6.1-1) unstable; urgency=low * New upstream release. * Tag files in /etc as conffiles (Closes: #284786) * Fix backup restoration changing permissions of the root directory. (Closes: #342578, #281823) * Fix erronous manpage sgml files. -- Felipe Sateler Wed, 6 Dec 2006 00:02:32 -0300 checkinstall (1.6.0-2) unstable; urgency=low * Fix temporary script deletion (Thanks to David Jarvie for the patch) (Closes: Bug#367935) * --requires works for all packages, not just rpm * Default documentation installation to /usr/share/doc instead of /usr/doc * Remove duplicate version information when usage information is displayed * Fix getcwd when in filesystem translation mode. Patch from David Brown. (Closes: Bug#374648) * Rewrite both man pages (we now build-dep in docbook-to-man) (Closes: Bug#238202, Bug#351969) * Fix upper case detection under some locales * Check for underscores in debian package names. (Closes: Bug#364813) * Fix typo: maintaner != maintainer. (Closes: Bug#377609) * Fix documentation installation directory (Thanks to Martintxo). (Closes: Bug#383541) -- Felipe Sateler Mon, 21 Aug 2006 20:18:19 -0400 checkinstall (1.6.0-1) unstable; urgency=low * Taken over checkinstall and installwatch. - Merged with installwatch - Recreated the packaging, and fixed installation locations. * New upstream release (Closes: Bug#347469, Bug#295229, Bug#322555) * Suggests gettext * Fixed typos in the checkinstall manpage. Thanks to Helge Kreutzmann. (Closes: Bug#247999) * Scripts now run bash instead of sh, due to possible bashisms * Fixed amd64 installations, thanks to Martin Samuelsson and Alexandra N. Kossovsky (Closes: Bug#298152) * Depends in findutils >= 4.2 (Closes: Bug#357496) * Upgrade policy version to 3.7.2 -- Felipe Sateler Tue, 10 Jan 2006 21:19:26 -0300 checkinstall (1.5.3-3) unstable; urgency=medium * Applied patch from "Martin H" to fix doc installation (Closes: #174108) * Now using /usr/bin/sensible-pager for a pager, instead of "less". (Closes: Bug#225630) * Regenerated and "fixed" manpage - Thanks Colin Watson for the fix. (Closes: Bug#175141) -- Matt Hope Mon, 12 Apr 2004 22:56:58 +1000 checkinstall (1.5.3-2) unstable; urgency=low * Fixed directory path in checkinstall script (Closes: Bug#164849) * Added a "Depend" on "file". (Closes: Bug#192611) * Updated `Standards-Version' * Applied patches/fixes from Morten Hustveit (Much respect for fixing these) - Replaced `eval echo $1` with "$1" when setting maintainer. (Closes: Bug#165483) - Replaced description in man-page with a more suitable one. (Closes: Bug#174538, Bug#212559) - Default to creating Debian packages. (Closes: Bug#181832) -- Matt Hope Sat, 11 Oct 2003 18:40:27 +1000 checkinstall (1.5.3-1) unstable; urgency=low * New upstream release - PPC Arch "fixup" rewritten (Closes: Bug#171040) * Documentation directory name (/usr/share/doc/$PACKAGENAME) now correctly calculated from the package name, rather than the source directory name. (Closes: Bug#165481) * Documentation directory changed from defaulting to /usr/doc/ to /usr/share/doc/ (Closes: Bug#165480) -- Matt Hope Sun, 8 Dec 2002 15:18:57 +1100 checkinstall (1.5.2-2) unstable; urgency=low * debian/rules; Changed #!/bin/sh to #!/bin/sh as script contains bash-isms. (Closes: Bug#157348) * Added in a check for if (arch="ppc") { arch="powerpc" } (Closes: Bug#155218) -- Matt Hope Wed, 21 Aug 2002 21:35:23 +1000 checkinstall (1.5.2-1) unstable; urgency=low * Initial package (Closes: Bug#122914) -- Matt Hope Sat, 29 Jun 2002 15:38:08 +1000 checkinstall (1.5.3-2) unstable; urgency=low * Default installation type is now debian in /etc/checkinstall (Closes: Bug#181832) * Fixed dot at start of line in manpage (Closes: Bug#175141) * Changed defaults to not delete doc-pak, spec or description-pak (Closes: Bug#165482) * Fixed incorrect NAME secrion in manpage (Closes: #174538) * Fixed changelog entry (1.5.2-2) - changed to #!/bin/bash -- Matt Hope Sun, 23 Mar 2003 20:09:39 +1100 checkinstall (1.5.3-1) unstable; urgency=low * New upstream release - PPC Arch "fixup" rewritten (Closes: Bug#171040) * Documentation directory name (/usr/share/doc/$PACKAGENAME) now correctly calculated from the package name, rather than the source directory name. (Closes: Bug#165481) * Documentation directory changed from defaulting to /usr/doc/ to /usr/share/doc/ (Closes: Bug#165480) -- Matt Hope Sun, 8 Dec 2002 15:18:57 +1100 checkinstall (1.5.2-2) unstable; urgency=low * debian/rules; Changed #!/bin/sh to #!/bin/bash as script contains bash-isms. (Closes: Bug#157348) * Added in a check for if (arch="ppc") { arch="powerpc" } (Closes: Bug#155218) -- Matt Hope Wed, 21 Aug 2002 21:35:23 +1000 checkinstall (1.5.2-1) unstable; urgency=low * Initial package (Closes: Bug#122914) -- Matt Hope Sat, 29 Jun 2002 15:38:08 +1000 debian/changelog.installwatch.old0000664000000000000000000000371512117676432014332 0ustar installwatch (0.6.3-2) unstable; urgency=low * Set maintainer to Debian QA Group (package is being orphaned). * Bump standards version to 3.6.2. * Drop the /usr/doc/installwatch -> /usr/share/doc/installwatch symlink. (closes: #342745) -- Greg Norris Tue, 10 Jan 2006 14:45:45 -0600 installwatch (0.6.3-1) unstable; urgency=low * New upstream release. -- Greg Norris Wed, 26 Jun 2002 16:42:52 -0500 installwatch (0.5.5-4) unstable; urgency=low * Applied patch from Adam Olsen, to allow compiling on systems without MAXPATHLEN... Hurd, in this case. Closes: #109951 * Updated to standards version 3.5.6. -- Gregory T. Norris Fri, 7 Sep 2001 17:08:29 -0500 installwatch (0.5.5-3) unstable; urgency=low * Command line arguments which contained embedded whitespace could be inadvertently split when passed to the installation command. Fixed. * Added `-D_GNU_SOURCE' to the compile command in the makefile, in order to allow building under glibc2.2. * Updated to standards version 3.2.1. -- Gregory T. Norris Sat, 17 Feb 2001 17:20:14 -0600 installwatch (0.5.5-2) unstable; urgency=low * Cleaned up lintian errors/warnings -- Gregory T. Norris Sat, 30 Oct 1999 09:54:05 -0500 installwatch (0.5.5-1) unstable; urgency=low * New upstream release. -- Gregory T. Norris Sat, 15 May 1999 09:52:46 -0500 installwatch (0.5.4-1) unstable; urgency=low * New upstream release. -- Gregory T. Norris Thu, 1 Apr 1999 20:28:04 +0000 installwatch (0.5.3-1) unstable; urgency=low * New upstream release. -- Gregory T. Norris Mon, 29 Mar 1999 04:34:33 -0600 installwatch (0.5.1-1) unstable; urgency=low * Initial Release. -- Gregory T. Norris Sun, 20 Dec 1998 11:10:58 -0600 Local variables: mode: debian-changelog End: debian/compat0000664000000000000000000000000212117676432010377 0ustar 7 debian/copyright0000664000000000000000000000275412117676475011153 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Checkinstall Upstream-Contact: Felipe Eduardo Sánchez Díaz Durán Source: http://www.asic-linux.com.mx/~izto/checkinstall/index.php Files: * Copyright: 2002-2010 Felipe Eduardo Sánchez Díaz Durán License: GPL-2+ Files: installwatch/* Copyright: 1998, Pancrazio de Mauro 1998-2006, Felipe Eduardo Sánchez Díaz Durán License: GPL-2+ Files: debian/* Copyright: 2006-2010, Felipe Sateler 2011-2012, Andreas Noteng License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/source/0000775000000000000000000000000012117676774010512 5ustar debian/source/format0000664000000000000000000000001412117676432011707 0ustar 3.0 (quilt) debian/checkinstall.sgml0000664000000000000000000003323312117676432012535 0ustar Felipe"> Sateler"> November 13, 2007"> 8"> fsateler@gmail.com"> CheckInstall"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2006 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; Track installation of local software, and produce a binary manageable with your package management software. &dhpackage; options install command DESCRIPTION &dhpackage; is a program that monitors an installation procedure (such as make install, install.sh ), and creates a standard package for your distribution (currently deb, rpm and tgz packages are supported) that you can install through your distribution's package management system (dpkg, rpm or installpkg). Note that for most useful actions, &dhpackage; must be run as root. OPTIONS These programs follow the usual &gnu; command line syntax, with long options starting with two dashes ('-'). A summary of options is included below. All the options that toggle a switch default to activate the option. To force activation or deactivation, call them with '=yes' or '=no'. As an example, to disable stripping use --strip=no. Show summary of options. Show version information. Show Copyright information Choose packaging system. Can be one of 'slackware', 'debian' or 'rpm'. Create a Debian package. Create a RPM package. Create a Slackware Package. Toggle installation of the created package. Enable/disable filesystem translation. Filesystem translation enabled causes the install to proceed in a temporary directory, thus not actually touching your system. Accept default answers to all questions. Set the package name. Set package version. Set package architecture. Set the package release. Set package license. Set the package group. Set source location Set alternate source location Where to save the new package. Set the package maintainer. Be careful to correctly quote/escape the name, to prevent shell expansion Features provided by this package (currently only on RPM and Deb). Dependencies required by this package. Pass this flags to the rpm installer. Use the -i flag when installing a rpm. Use the -U flag when installing a rpm. Pass this flags to the dpkg installer Where the .spec file is located Do not include documentation files. Set debug level. Must be one of 0, 1 and 2. Run an interactive install command Toggle interactive install command. Run an interactive Slackware installation script. Toggle interactive Slackware installation script. Toggle creation of a doinst.sh script. Toggle stripping any ELF binaries found inside the package. Toggle stripping any ELF libraries (.so) found inside the package. Search for any shared libs and add them to /etc/ld.so.conf Reset perms for all files/dirs to 755 and the owner/group for all dirs to root.root Compress any man pages found inside the package. Where to put documentation files. Set the umask value. Exclude these files/directories from the package. Force the inclusion in the package of the files/dirs listed in the argument (a file). Inspect the package's file list Review the spec file before creating a .rpm. Review the control file before creating a .deb. Use the new (8.1+) Slackware description format ("--newslack" implies "-S") Manually set the path to the tar binary. Toggle deletion of doc-pak upon termination. Toggle deletion of description-pak upon termination. Toggle deletion of spec file upon termination. Backup any overwritten files Toggle backup FILES This program reads its configuration from /etc/checkinstallrc, which can be used to override defaults. Command line arguments override settings in the configuration file. AUTHOR This manual page was written by &dhusername; <&dhemail> for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/installwatch.sgml0000664000000000000000000001373012117676432012566 0ustar Felipe"> Sateler"> June 21, 2006"> 1"> fsateler@gmail.com"> installwatch"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2006 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; Track installation of software &dhpackage; options command DESCRIPTION &dhpackage; is a program that is used in order to track the changes made while installing local software (i.e. "make install"). It monitors the requested command, and produces a log which indicates all created and modified files. By default it outputs to syslog(3) using a priority of "LOG_USER | LOG_INFO". This may be overridden by the use of the flag. The log format is as follows: <return-value> <syscall-name> <argument> #<comment> Each field is delimited by a "⁁I" character if logging to syslog(3), or by a tab when logging to a file. ENVIRONMENT INSTALLWATCH_BACKUP_PATH Set this variable to the location that you want installwatch to copy the original version of files which get modified. The directory will be created if it does not exist, assuming that the parent is writable. OPTIONS These program follow the usual &gnu; command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. Directs that output from the logged command be written to the filename specified. If the specified file already exists, it will be truncated. Sets the directory under which meta-info and translated files will be stored. Toggle translation capabilities. Sets a comma separated neutral directory list, that won't be concerned by translation or backups. Specify a debug file. Sets the debug level to be used. Show help information. BUGS &dhpackage; does not work with programs which are statically linked with libc. Due to LD_PRELOAD limitations, it does not work with suid programs (this would probably introduce security problems, anyway). mknod(2) is not monitored. AUTHOR This manual page was written by &dhusername; <&dhemail;> for the &debian; system (but may be used by others). Original text by Greg Norris <adric@debian.org>. Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/checkinstall.install0000664000000000000000000000024112117676475013241 0ustar etc/checkinstallrc usr/bin/checkinstall usr/bin/installwatch usr/lib/checkinstall/installwatch.so usr/share/doc/* usr/share/locale/*/LC_MESSAGES/checkinstall.mo debian/checkinstall.docs0000664000000000000000000000004112117676432012512 0ustar FAQ README TODO CREDITS RELNOTES debian/control0000664000000000000000000000231312117676475010612 0ustar Source: checkinstall Section: admin Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Andreas Noteng Build-Depends: debhelper (>= 7.0.50~), docbook-to-man, gettext, libc0.1-dev (>= 2.10) [kfreebsd-i386 kfreebsd-amd64], libc0.3 (>=2.10) [hurd-i386], libc6-dev (>=2.10) [i386 amd64 armel hppa mips mipsel powerpc s390 sparc], libc6.1-dev (>=2.10) [alpha ia64] Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/collab-maint/checkinstall.git Vcs-Browser: http://git.debian.org/?p=collab-maint/checkinstall.git;a=summary Homepage: http://checkinstall.izto.org Package: checkinstall Architecture: any Depends: dpkg-dev, file, ${misc:Depends}, ${shlibs:Depends} Recommends: make Suggests: gettext Description: installation tracker CheckInstall keeps track of all the files created or modified by your installation script ("make install" "make install_modules", "setup", etc), builds a standard binary package and installs it in your system giving you the ability to uninstall it with your distribution's standard package management utilities. debian/patches/0000775000000000000000000000000012117676774010641 5ustar debian/patches/0007-Drop-cases-for-glibc-2.4.patch0000664000000000000000000001321412117676432016401 0ustar From: Felipe Sateler Date: Thu, 15 Apr 2010 15:00:23 -0400 Subject: [PATCH] Drop cases for glibc < 2.4 Some functions definitions were dependant on the glibc version. Since 2.7 is in stable, drop everything for < 2.4. --- installwatch/installwatch.c | 31 ------------------------------- 1 files changed, 0 insertions(+), 31 deletions(-) diff --git a/installwatch/installwatch.c b/installwatch/installwatch.c index d34850d..857b9aa 100644 --- a/installwatch/installwatch.c +++ b/installwatch/installwatch.c @@ -88,11 +88,7 @@ static int (*true_xmknod)(int ver,const char *, mode_t, dev_t *); static int (*true_open)(const char *, int, ...); static DIR *(*true_opendir)(const char *); static struct dirent *(*true_readdir)(DIR *dir); -#if (GLIBC_MINOR <= 4) -static int (*true_readlink)(const char*,char *,size_t); -#else static ssize_t (*true_readlink)(const char*,char *,size_t); -#endif static char *(*true_realpath)(const char *,char *); static int (*true_rename)(const char *, const char *); static int (*true_rmdir)(const char *); @@ -111,8 +107,6 @@ static int (*true_setxattr)(const char *,const char *,const void *, size_t, int); static int (*true_removexattr)(const char *,const char *); -#if(GLIBC_MINOR >= 1) - static int (*true_creat64)(const char *, __mode_t); static FILE *(*true_fopen64)(const char *,const char *); static int (*true_ftruncate64)(int, __off64_t); @@ -125,9 +119,7 @@ static int (*true_xstat64)(int,const char *, struct stat64 *); static int (*true_lxstat64)(int,const char *, struct stat64 *); static int (*true_truncate64)(const char *, __off64_t); -#endif -#if (GLIBC_MINOR >= 4) static int (*true_openat)(int, const char *, int, ...); static int (*true_fchmodat)(int, const char *, mode_t, int); static int (*true_fchownat)(int, const char *, uid_t, gid_t, int); @@ -140,7 +132,6 @@ static int (*true_xmknodat)(int, int, const char *, mode_t, dev_t *); static int (*true_renameat)(int, const char *, int, const char *); static int (*true_symlinkat)(const char *, int, const char *); static int (*true_unlinkat)(int, const char *, int); -#endif #if defined __GNUC__ && __GNUC__>=2 #define inline inline @@ -160,7 +151,6 @@ static inline int true_lstat(const char *pathname,struct stat *info) { return true_lxstat(_STAT_VER,pathname,info); } -#if (GLIBC_MINOR >= 4) static inline int true_fstatat(int dirfd, const char *pathname, struct stat *info, int flags) { return true_fxstatat(_STAT_VER, dirfd, pathname, info, flags); } @@ -173,7 +163,6 @@ static inline int true_mknodat(int dirfd, const char *pathname,mode_t mode,dev_t return true_xmknodat(_MKNOD_VER, dirfd, pathname, mode, &dev); } -#endif /* A few defines to fix things a little */ #define INSTW_OK 0 @@ -267,10 +256,8 @@ int parse_suffix(char *,char *,const char *); #if DEBUG static int __instw_printdirent(struct dirent*); -#if(GLIBC_MINOR >= 1) static int __instw_printdirent64(struct dirent64*); #endif -#endif #ifdef DEBUG static int instw_print(instw_t *); @@ -285,9 +272,7 @@ static int instw_delete(instw_t *); static int instw_setmetatransl(instw_t *); static int instw_setpath(instw_t *,const char *); -#if (GLIBC_MINOR >= 4) static int instw_setpathrel(instw_t *, int, const char *); -#endif static int instw_getstatus(instw_t *,int *); static int instw_apply(instw_t *); static int instw_filldirls(instw_t *); @@ -374,7 +359,6 @@ static void initialize(void) { -#if(GLIBC_MINOR >= 1) true_creat64 = dlsym(libc_handle, "creat64"); true_fopen64 = dlsym(libc_handle, "fopen64"); true_ftruncate64 = dlsym(libc_handle, "ftruncate64"); @@ -385,9 +369,7 @@ static void initialize(void) { true_lxstat64 = dlsym(libc_handle, "__lxstat64"); true_truncate64 = dlsym(libc_handle, "truncate64"); true_removexattr = dlsym(libc_handle, "removexattr"); -#endif -#if (GLIBC_MINOR >= 4) true_openat = dlsym(libc_handle, "openat"); true_fchmodat = dlsym(libc_handle, "fchmodat"); @@ -402,7 +384,6 @@ static void initialize(void) { true_symlinkat = dlsym(libc_handle, "symlinkat"); true_unlinkat = dlsym(libc_handle, "unlinkat"); -#endif if(instw_init()) exit(-1); } @@ -1669,7 +1650,6 @@ static int instw_setpath(instw_t *instw,const char *path) { * returns = / 0 ok. path set * -1 failed. cf errno / */ -#if (GLIBC_MINOR >= 4) static int instw_setpathrel(instw_t *instw, int dirfd, const char *relpath) { /* This constant should be large enough to make a string that holds @@ -1709,7 +1689,6 @@ out: #undef PROC_PATH_LEN } -#endif /* * procedure = / rc:=instw_getstatus(instw,status) / @@ -2938,13 +2917,8 @@ struct dirent *readdir(DIR *dir) { return result; } -#if (GLIBC_MINOR <= 4) -int readlink(const char *path,char *buf,size_t bufsiz) { - int result; -#else ssize_t readlink(const char *path,char *buf,size_t bufsiz) { ssize_t result; -#endif instw_t instw; int status; @@ -3494,7 +3468,6 @@ int removexattr (const char *pathname, const char *name) return result; } -#if(GLIBC_MINOR >= 1) int creat64(const char *pathname, __mode_t mode) { /* Is it a system call? */ @@ -3834,7 +3807,6 @@ int truncate64(const char *path, __off64_t length) { return result; } -#endif /* GLIBC_MINOR >= 1 */ /*********************************************** @@ -3854,7 +3826,6 @@ int truncate64(const char *path, __off64_t length) { * Thanks to Gilbert Ashley for his work on this! */ -#if (GLIBC_MINOR >= 4) int openat (int dirfd, const char *path, int flags, ...) { mode_t mode = 0; @@ -4519,5 +4490,3 @@ int unlinkat (int dirfd, const char *path, int flags) { } - -#endif /* GLIBC_MINOR >= 4 */ -- debian/patches/0009-Dont-add-empty-control-fields.patch0000664000000000000000000000102212117676432017742 0ustar Description: Don't add control fields without a value Forwarded: http://bugtrack.izto.org/show_bug.cgi?id=23 Author: "spikethehobbitmage.excite" Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655453 Last-Update: 2012-04-01 --- a/checkinstall +++ b/checkinstall @@ -2563,7 +2563,7 @@ mkdir $BUILD_DIR/DEBIAN -cat << EOF >> $BUILD_DIR/DEBIAN/control +cat << EOF | sed "s/ $//" | egrep ": " >> $BUILD_DIR/DEBIAN/control Package: $PKG_BASENAME Priority: extra Section: $PKG_GROUP debian/patches/0011-fix-crash-when-sizeof-mode_t-sizeof-int.patch0000664000000000000000000000401012117676475021704 0ustar From 50baa8dd8595566901243a8e7b32c64a230b2e21 Mon Sep 17 00:00:00 2001 From: Timo Juhani Lindfors Date: Tue, 5 Mar 2013 10:30:03 +0200 Subject: [PATCH] fix crash when sizeof(mode_t) < sizeof(int) On Debian GNU/kfreebsd mode_t is uint16_t. According to GCC this gets promoted to an int: installwatch.c:3835:11: warning: 'short unsigned int' is promoted to 'int' when passed through '...' [enabled by default] installwatch.c:3835:11: note: (so you should pass 'int' not 'short unsigned int' to 'va_arg') installwatch.c:3835:11: note: if this code is reached, the program will abort and according to "man va_arg" this indeed is documented to lead to random behavior: "If there is no next argnument, or if type is not compatible with the type of the actual next argument (as promoted according to the default argument promotions), random errors will occur. This patch simply uses int instead of mode_t and fixes Debian bug 702314 (checkinstall aborts with illegal instruction on kFreeBSD). --- installwatch/installwatch.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installwatch/installwatch.c b/installwatch/installwatch.c index 8004b5b..f55f7a1 100644 --- a/installwatch/installwatch.c +++ b/installwatch/installwatch.c @@ -2857,7 +2857,7 @@ int open(const char *pathname, int flags, ...) { #endif va_start(ap, flags); - mode = va_arg(ap, mode_t); + mode = va_arg(ap, int /*promoted from mode_t*/); va_end(ap); /* We were asked to work in "real" mode */ @@ -3644,7 +3644,7 @@ int open64(const char *pathname, int flags, ...) { #endif va_start(ap, flags); - mode = va_arg(ap, mode_t); + mode = va_arg(ap, int /*promoted from mode_t*/); va_end(ap); /* We were asked to work in "real" mode */ @@ -3887,7 +3887,7 @@ int openat (int dirfd, const char *path, int flags, ...) { va_list arg; if(flags & O_CREAT) { va_start(arg, flags); - mode = va_arg(arg, mode_t); + mode = va_arg(arg, int /*promoted from mode_t*/); va_end (arg); } -- 1.7.2.5 debian/patches/0005-Enable-build-with-glibc-2.10.patch0000664000000000000000000000413012117676432017121 0ustar From: Felipe Sateler Date: Thu, 15 Apr 2010 14:48:29 -0400 Subject: [PATCH] Enable build with glibc 2.10 Glibc 2.10 changed the signatures of scandir{,64}. Thanks to Joao Pinto for the patch. --- installwatch/installwatch.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/installwatch/installwatch.c b/installwatch/installwatch.c index 21c91c7..d34850d 100644 --- a/installwatch/installwatch.c +++ b/installwatch/installwatch.c @@ -100,7 +100,7 @@ static int (*true_xstat)(int,const char *,struct stat *); static int (*true_lxstat)(int,const char *,struct stat *); static int (*true_scandir)( const char *,struct dirent ***, int (*)(const struct dirent *), - int (*)(const void *,const void *)); + int (*)(const struct dirent **,const struct dirent **)); static int (*true_symlink)(const char *, const char *); static int (*true_truncate)(const char *, TRUNCATE_T); static int (*true_unlink)(const char *); @@ -120,7 +120,7 @@ static int (*true_open64)(const char *, int, ...); static struct dirent64 *(*true_readdir64)(DIR *dir); static int (*true_scandir64)( const char *,struct dirent64 ***, int (*)(const struct dirent64 *), - int (*)(const void *,const void *)); + int (*)(const struct dirent64 **,const struct dirent64 **)); static int (*true_xstat64)(int,const char *, struct stat64 *); static int (*true_lxstat64)(int,const char *, struct stat64 *); static int (*true_truncate64)(const char *, __off64_t); @@ -3079,7 +3079,7 @@ int rmdir(const char *pathname) { int scandir( const char *dir,struct dirent ***namelist, int (*select)(const struct dirent *), - int (*compar)(const void *,const void *) ) { + int (*compar)(const struct dirent **,const struct dirent **) ) { int result; if (!libc_handle) @@ -3691,7 +3691,7 @@ struct dirent64 *readdir64(DIR *dir) { int scandir64( const char *dir,struct dirent64 ***namelist, int (*select)(const struct dirent64 *), - int (*compar)(const void *,const void *) ) { + int (*compar)(const struct dirent64 **,const struct dirent64 **) ) { int result; if (!libc_handle) -- debian/patches/0003-Change-the-textdomaindir-to-match-debian-installatio.patch0000664000000000000000000000124312117676432024320 0ustar From: Felipe Sateler Date: Thu, 15 Apr 2010 14:47:43 -0400 Subject: [PATCH] Change the textdomaindir to match debian installation =================================================================== --- checkinstall | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/checkinstall b/checkinstall index 41a7978..d2ba87e 100755 --- a/checkinstall +++ b/checkinstall @@ -65,7 +65,7 @@ INSTALLDIR=`followlinks "$0"` INSTALLDIR=`dirname "$INSTALLDIR"`/.. # gettext variables -export TEXTDOMAINDIR="$INSTALLDIR"/lib/checkinstall/locale +export TEXTDOMAINDIR=/usr/share/locale export TEXTDOMAIN=checkinstall # .spec file path -- debian/patches/series0000664000000000000000000000077312117676475012063 0ustar 0001-Document-changes-applied-in-the-debian-package.patch 0002-Change-default-configuration.patch 0003-Change-the-textdomaindir-to-match-debian-installatio.patch 0004-Load-checkinstallrc-from-etc.patch 0005-Enable-build-with-glibc-2.10.patch 0006-Remove-backticks-from-message.patch 0007-Drop-cases-for-glibc-2.4.patch 0008-Set-file-permissions-to-o-g-instead-of-644.patch 0009-Dont-add-empty-control-fields.patch 0010-Dont-include-dirs-in-conffiles.patch 0011-fix-crash-when-sizeof-mode_t-sizeof-int.patch debian/patches/0004-Load-checkinstallrc-from-etc.patch0000664000000000000000000000115712117676432017616 0ustar From: Felipe Sateler Date: Thu, 15 Apr 2010 14:47:45 -0400 Subject: [PATCH] Load checkinstallrc from /etc --- checkinstall | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/checkinstall b/checkinstall index d2ba87e..aeae91e 100755 --- a/checkinstall +++ b/checkinstall @@ -492,7 +492,7 @@ function copy_dir_hierarchy { ckversion echo -CHECKINSTALLRC=${CHECKINSTALLRC:-${INSTALLDIR}/checkinstallrc} +CHECKINSTALLRC=${CHECKINSTALLRC:-/etc/checkinstallrc} if ! [ -f $CHECKINSTALLRC ]; then echog "The checkinstallrc file was not found at:\n$CHECKINSTALLRC" echo -- debian/patches/0010-Dont-include-dirs-in-conffiles.patch0000664000000000000000000000136312117676432020070 0ustar Description: Don't mark directories in etc as conf files Forwarded: http://bugtrack.izto.org/show_bug.cgi?id=35 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655453 Author: Zsolt Müller Last-Update: 2012-04-01 --- a/checkinstall +++ b/checkinstall @@ -2609,8 +2609,8 @@ fi # Tag files in /etc to be conffiles -find $BUILD_DIR/etc 2> /dev/null | sed -e "s,$BUILD_DIR,," | \ - grep -v '^/etc$' > $BUILD_DIR/DEBIAN/conffiles +find -L $BUILD_DIR/etc -type f 2> /dev/null | sed -e "s,$BUILD_DIR,," | \ + > $BUILD_DIR/DEBIAN/conffiles # The package will be saved here (ignores : prefix): DEBPKG="${DIRECTORIO_FUENTE}/${NAME}_`echo ${VERSION} | sed -e 's/^[0123456789]*://'`-${RELEASE}_${ARCHITECTURE}.deb" debian/patches/0001-Document-changes-applied-in-the-debian-package.patch0000664000000000000000000000271112117676432023023 0ustar From: Felipe Sateler Date: Thu, 15 Apr 2010 14:47:26 -0400 Subject: [PATCH] Document changes applied in the debian package Some documentation refers to the location of gettext files and checkinstallrc, which we modify. --- NLS_SUPPORT | 4 ++-- README | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/NLS_SUPPORT b/NLS_SUPPORT index cedebfb..231cc81 100644 --- a/NLS_SUPPORT +++ b/NLS_SUPPORT @@ -39,11 +39,11 @@ checkinstall-es.po 3) Now create the locale directory for your language. Remember to use the same ISO codes you use in your LC_ALL environment variable: -mkdir -p /usr/local/lib/checkinstall/locale/es_MX/LC_MESSAGES +mkdir -p /usr/share/locale/es_MX/LC_MESSAGES 4) Next, you should generate the .mo binary message file. Run msgfmt: -msgfmt -o /usr/local/lib/checkinstall/locale/es_MX/LC_MESSAGES/checkinstall.mo \ +msgfmt -o /usr/share/locale/es_MX/LC_MESSAGES/checkinstall.mo \ checkinstall-es.po (The above goes all in one line) diff --git a/README b/README index 086aee7..6f4c605 100644 --- a/README +++ b/README @@ -343,7 +343,7 @@ CHANGE in CheckInstall 1.4.0: The variable declaration section in the checkinstall script has been removed, you should now edit the checkinstallrc file, normally installed under - /usr/local/lib/checkinstall. + /usr/local/lib/checkinstall (/etc in this Debian package). In the checkinstallrc file you will find some variables wich modify -- debian/patches/0008-Set-file-permissions-to-o-g-instead-of-644.patch0000664000000000000000000000305312117676432021722 0ustar From: Reuben Thomas Date: Thu, 6 May 2010 18:05:53 -0400 Subject: [PATCH] Set file permissions to o=g instead of 644 When --reset-uids is passed, match world permissions with group permissions instead of forcing 644 for everything. This is mainly to protect agains build systems that do not take more restrictive umasks into account. --- checkinstall | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/checkinstall b/checkinstall index aeae91e..5f40d7d 100755 --- a/checkinstall +++ b/checkinstall @@ -176,7 +176,7 @@ function usage() { echog "--stripso= Strip any ELF binary libraries (.so files)" echog "--addso= Search for any shared libs and add" echog " them to /etc/ld.so.conf" - echog "--reset-uids= Reset perms for all files/dirs to 755 and" + echog "--reset-uids= Reset perms for all files to o=g, dirs to 755 and" echog " the owner/group for all dirs to root.root" echog "--gzman= Compress any man pages found inside the package" echog "--docdir= Where to put documentation files" @@ -1793,6 +1793,7 @@ if [ $INSTALL_FAILED -gt 0 ]; then if [ $RESET_UIDS -gt 0 ]; then find "$BUILD_DIR" -exec chown root.root {} \; find "$BUILD_DIR" -type d -exec chmod 755 {} \; + find "$BUILD_DIR" -type f -exec chmod o=g {} \; fi ############################################################################## -- debian/patches/0002-Change-default-configuration.patch0000664000000000000000000000330212117676475017711 0ustar From: Felipe Sateler Date: Thu, 15 Apr 2010 14:47:37 -0400 Subject: [PATCH] Change default configuration --- checkinstallrc-dist | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) --- a/checkinstallrc-dist +++ b/checkinstallrc-dist @@ -16,7 +16,7 @@ DEBUG=0 # Location of the "installwatch" program -INSTALLWATCH_PREFIX="/usr/local" +INSTALLWATCH_PREFIX="/usr" INSTALLWATCH=${INSTALLWATCH_PREFIX}/bin/installwatch # Location of the makepkg program. "makepak" is the default, and is @@ -39,7 +39,7 @@ BASE_TMP_DIR=/var/tmp ## Don't set this to /tmp or / !! # Where to place the installed document files -DOC_DIR="" +DOC_DIR="/usr/share/doc" # Default architecture type (Leave it empty to allow auto-guessing) ARCHITECTURE="" @@ -49,7 +49,7 @@ # R : RPM # D : Debian -INSTYPE="" +INSTYPE="D" # Storage directory for newly created packages # By default they will be stored at the default @@ -72,16 +72,16 @@ # Show Slackware package installation script while it runs? Again, useful if # it's an interactive script -SHOW_SLACK_INSTALL=0 +SHOW_SLACK_INSTALL=1 # Automatic deletion of "doc-pak" upon termination? -DEL_DOCPAK=1 +DEL_DOCPAK=0 # Automatic deletion of the spec file? -DEL_SPEC=1 +DEL_SPEC=0 # Automatic deletion of "description-pak"? -DEL_DESC=1 +DEL_DESC=0 # Automatically strip all ELF binaries? STRIP_ELF=1 @@ -108,7 +108,7 @@ AUTODOINST=1 # Are we going to use filesystem translation? -TRANSLATE=1 +TRANSLATE=0 # Reset the owner/group of all files to root.root? RESET_UIDS=0 @@ -136,4 +136,4 @@ REVIEW_CONTROL=0 # Install the package or just create it? -INSTALL=0 +INSTALL=1 debian/patches/0006-Remove-backticks-from-message.patch0000664000000000000000000000146712117676432020020 0ustar From: Felipe Sateler Date: Thu, 15 Apr 2010 14:48:36 -0400 Subject: [PATCH] Remove backticks from message Backticks have to be escaped in HEREDOCs. Remove it since it is ugly anyway. Thanks Andrey Smachev. --- installwatch/installwatch | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/installwatch/installwatch b/installwatch/installwatch index 0a4ccbf..4159514 100755 --- a/installwatch/installwatch +++ b/installwatch/installwatch @@ -179,7 +179,7 @@ while [ "$1" != "--" ]; do --copyright|--version) cat << EOF -Copyright (C) 1998 Pancrazio `Ezio' de Mauro +Copyright (C) 1998 Pancrazio 'Ezio' de Mauro Copyright (C) 2002 Felipe Eduardo Sanchez Diaz Duran This program is free software; you can redistribute it and/or modify --