Wichert Akkerman [Tue, 15 Feb 2000 19:05:38 +0000 (19:05 +0000)]
Merge the potato branch:
* main/dpkg.8: don't list all authors but refer to THANKS file
* debian/control: correct Build-Dependencies for ncurses
* debian/control: update extended description to not list dependencies
for dpkg-dev
* Update lots of documentation
* main/enquiry.c: handle failed open of /dev/tty
* main/remove.c: revert earlier patch from Oct 11 1999 to remove
conffiles before removing directories. Due to the changed execution
order conffiles were no longer around when the postrm was run.
which is not what we want.
* methods/Makefile.in: create $(admindir)/methods/mnt
* scripts/dpkg-gencontrol.pl: undo Source-Version changes
* scripts/dpkg-source.pl: remove sticky bits from directory when
unpacking source
* scripts/install-info.pl: partially apply patch from Jammin Wheeler
<jammin@life.eu.org> to clean up errors
* scripts/update-alternatives.pl: implement --verbose
Wichert Akkerman [Sun, 13 Feb 2000 00:12:39 +0000 (00:12 +0000)]
scripts/dpkg-buildpackage.sh: we know that dpkg-architecture is
installed since we provide it, so don't test for its existance
More updates from Marcus Brinkman:
+ archtable: Change first column format from CPU to CPU-OS.
Add entry for i386-gnu. Update comment.
+ configure.in: Check Debian architecture revamped:
More appropriate check title. Check for CPU-OS in arhctable (instead
just CPU). Enclose result message in [...] (because of the comma
character). After the test, $dpkg_archset can't be empty, so remove
following test which is always true.
+ Remove internal use of --print-architecture:
scripts/controllib.pl: Use always dpkg-architecture -qDEB_HOST_ARCH
scripts/dpkg-buildpackage: Don't set $arch at command line parsing time,
instead, always set it later with dpkg-architecture -qDEB_HOST_ARCH
dpkg-name.pl: Fall back to dpkg --print-installation-architecture.
Wichert Akkerman [Sat, 12 Feb 2000 20:34:53 +0000 (20:34 +0000)]
configure.in: don't try to outguess what CFLAGS should be
scripts/update-alternatives.8: fix typo
`Merge Marcus Brinkman patches day':
+ scripts/dpkg-architecture.pl: architecture -q should not imply -f
+ scripts/dpkg-shlibdeps.pl: build a list of packages instead of overwriting previous results.
+ utils/start-stop-daemon.c: update HURD specifics
+ configure.in: revamp HURD detection stuff
+ debian/rules: use dpkg-buildarchitecture to get proper info, set config_arg if we are crosscompiling
+ debian/rules: typo in clean target, scan start-stop-daemon for shlibdeps
Ben Collins [Wed, 9 Feb 2000 02:58:17 +0000 (02:58 +0000)]
* clean up the conflicts/replaces, use an array of pkginfo pointers instead
of the obsolete conflict struct. saves memory, faster...what more could
you want.
Wichert Akkerman [Wed, 19 Jan 2000 16:17:23 +0000 (16:17 +0000)]
scripts/controllib.pl: add comment with description of global variables
scripts/dpkg-genchanges.pl:
+ add comment with description of global variables
+ Change Format number to 1.7
+ `Maintainer' is now the actual maintainer as listed in control
+ add `Changed-By' field with maintainer as listed in changelog. Add -e
flag to override this value
scripts/dpkg-buildpackage.sh: pass -e on to dpkg-genchanges
scripts/dpkg-source.1: document new -e option, update copyright
Wichert Akkerman [Tue, 11 Jan 2000 01:11:12 +0000 (01:11 +0000)]
dselect/baselist.cc: don't specify SA_INTERRUPT, since it's not portable and the default behaviour
main/enquiry.c: include sys/termios.h (needed on Solaris)
lib/lock.c: use EACCESS instead of EWOULDBLOCK
dselect/main.cc: fix help for -D
dselect/main.cc: try to lock admindir instead of using readwrite
dselect/method.cc: switch to using fcntl for lock since that is more portable, and revamp lockingcode to reduce code duplication
scripts/cl-debian.pl: Allow space between `#' and the bugnumber in the changelog scripts
scripts/start-stop-daemon.c: test for __sparc__ instead
scripts/Makefile.in: add optlib to CFLAGS
utils/start-stop-daemon.c: add option to chroot first, patch from Marco d'Itri
utils/start-stop-daemon.8: document chroot option
dselect/pkgtop.cc: use waddnstr to print package description instead of waddch
dselect/method.cc: pass admindir to dpkg
dselect/Makefile.in: fix rule to build helpmessages
dselect/curkeys.h: use curses.h instead of ncurses.h, since someone decided to play nasty and just remove that
scripts/: remove dpkg-safelist
dpkg-deb/build.c: remove dpkg-safelist calls
main/enquiry.c: redo formula to get fieldwidths for packages
scripts/dpkg-buildpackage.sh: support debsign
scripts/update-alternatives.8: fix wrong order of parameters in ACTION section
Updated Polish translation
Wichert Akkerman [Sat, 25 Dec 1999 03:21:47 +0000 (03:21 +0000)]
dselect/pkgtop.cc: use waddnstr instead of waddch so we don't strip the 8th bit of characters
Replace `Debian Linux' with `Debian GNU/Linux' in some more places
Wichert Akkerman [Fri, 24 Dec 1999 21:55:36 +0000 (21:55 +0000)]
* version-nr: update to 1.6.5
* doc/Makefile.in: install THANKS
* TODO: remove items that have been done
* lib/showcright.c: exit(0) after showing the copyright since we don't exec cat anymore
* main/configure.c: add NULL to execlp() parameters; this fixes the random segfaults when showing the conffile-diff
Wichert Akkerman [Fri, 24 Dec 1999 16:28:10 +0000 (16:28 +0000)]
From the ChangeLog
* debian/control: add Build-Depends
* THANKS: new file which lists everyone who contributed to the code
* Change `Debian Linux' to `Debian GNU/Linux' in a couple of manpages
* main/enquiry.c: modify list1package to use the full width of the tty
* Merge patches from Adam Heath:
+ lib/mlib.c: new function do_fd_copy to read a file into a fd
+ dpkg-deb/build.c: use do_fd_copy
+ dpkg-deb/build.c: use dpkg-deb-filelist to reorder files when
building a package
+ dpkg-deb/info.c: use do_fd_copy
+ lib/showcright.c: use do_fd_copy to read license
+ scripts/dpkg-safelist.{1,pl}: new script to reorder a filelist to
make sure symlinks are listed after their targets.
+ dpkg-deb/main.c: add -z option to set compression level
+ dpkg-deb/build.c: pass new -z options to gzip
* dpkg-deb/dpkg-deb.1: document new -z option
Wichert Akkerman [Wed, 22 Dec 1999 12:21:17 +0000 (12:21 +0000)]
debian/dpkg-doc.postrm: Use doc-name instead of file-name
dselect/pkgdisplay.cc: Replace empty string for eflags to a space so gettext doesn't use the translation-info
po/update.sh: Generate dselect/helpmsgs.{cc,h} so we can translate them.
po/POTFILES.in: add dselect/helpmsgs.cc
dselect/pkgtop.cc: use ACS_HLINE instead of `-'
dselect/baselist.cc: change colour of column headings
dselect: add a new --export mode which suppresses the display of the helpscreen
Wichert Akkerman [Thu, 16 Dec 1999 23:43:40 +0000 (23:43 +0000)]
Makefile.conf.in: use @libdir@ and @admindir@
configure.in: add --with-admindir option and change the default to $libdir/db
debian/rules: add --with-admindir=/var/lib/dpkg
scripts/debian-changelog-mode.el: update location of GPL
scripts/dpkg-name.sh: update location of GPL
Wichert Akkerman [Wed, 15 Dec 1999 15:25:23 +0000 (15:25 +0000)]
autogen.sh: copy gettextm4, lcmessage.m4 and progtest.m4 to automake/ systems without gettext installed
Makefile.in: remove the gettext-macros in distclean
utils/Makefile.in: fix clean target, link md5sum and start-stop-daemon optlib
optlib/*: getopt implementation for systems without GNU getopt.
Wichert Akkerman [Sun, 12 Dec 1999 23:44:46 +0000 (23:44 +0000)]
dselect/main.cc: We need to printf programdesc as well
autogen.sh: Remove libtoolize call
automake/sysconf.m4: new autoconf-macros for sysconf
filesdb/main.c: also check MEMINFO_IN_SYSINFO
configure.in: remove ugly sysinfo-hacks to use new ac macros instead
utils/start-stop-daemon.c: modify to build on sunos
Ben Collins [Thu, 18 Nov 1999 15:23:59 +0000 (15:23 +0000)]
* utils/start-stop-daemon.c: Added ability for user.group arg to
--chuid. Also, always call initgroups() when using --chuid.
* utils/start-stop-daemon.8: Document above change, also add note to the
--make-pidfile option concerning its problem with daemons that fork