Merge things from the potato branch:
+ po/*.po: updated
+ THANKS: Add Lele Gaifax
+ configure.in: add Italian to LINGUAS
+ doc/sv: new directory with Swedish manpages
+ doc/*: removed "GNU/Linux" since this runs on HURD as well
+ doc/ja/update-alternatives.8: new version
+ dpkg-deb/main.c: remove preprocessor define from gettextized string
+ dselect/main.c: remove preprocessor define from gettextized string
+ lib/showcright.c: remove preprocessor define from gettextized string
+ main/enquiry.c: can't use prepocessor defines in a gettextized string
+ dselect/pkgdisplay.cc: Replace empty string for eflags with a space
+ dselect/pkgsublist.cc: mark another string as translateable
+ dselect/pkgtop.cc: change code to reflect that the empty case for
an eflagstring is now a single space, not an empty string (since
gettext can't handle empty strings).
+ main/help.c: allocate a bit more space for the path buffer in checkpath()
+ main/main.c: fix location of --abort-after in --help output
+ scripts/debian-changelog-mode.el: fix documentation string for
debian-changelog-finalise-last
+ scripts/dpkg-source.pl: fix typo
+ scripts/udate-alternatives.8: fixed errors found while Japanese
translation was made.
methods/Makefile.am: removed
Wichert Akkerman [Sun, 28 May 2000 16:06:44 +0000 (16:06 +0000)]
dpkg-deb/build.c: remove extra closing brace
include/dpkg.h.in: add define for statusoveride file
main/filedb.[ch]: add code to manage the statoverride list
main/archives.c: modify tarobject() to check for statoverrides
TODO: remove integrating suidmanager note, it's partially done now
doc/*: remove all references to GNU/Linux and just mention `Debian system': we just as well on other operating systems.
scripts/dpkg-source.pl: add Format-field to .dsc files
debian/changelog: include changes from 1.6.12.99
* TODO: updated
* debian/rules: explicitly strip the setgid bit for debian/tmp-*.
This is needed since the kernel copies it when we create subdirs
and install doesn't strip it even though we explicitly ask for
a mode 755 directory. Updated clean target to run make distclean
to remove generated sourcefiles as well.
* dpkg-deb/build.c: add comments to describe what we are doing.
Add code to get a list of files to be added to the archive, reorder
it and feed it to tar and use this to put symlinks after all other
files.
* scripts/dpkg-gencontrol.pl: add dpkg:Version and dpkg:UpstreamVersion
to list of substvars
configure.in: add -D_GNU_SOURCE to CFLAGS so we can get strsignal
scripts/dpkg-genchanges.pl: output Changed-By just after Maintainer
scripts/cl-debian.pl: really allow a single whitespace to between # and a bugnumber that will be closed.
Synchronize with potato-branch again:
+ scripts/dpkg-divert.pl: fixed typo
+ debian/dpkg-dev.{postinst,prerm}: remove emacsen-common stuff
+ po/{es,sv}.po: updated
+ debian/changelog: include changes for 1.6.12
+ dpkg-genchanges: recognize non-deb packages (tarballs, such as
dpkg-non-deb and boot-floppies disk tarballs). This makes sure that we
include them when figuring up the Arch field in the .changes
+ scripts/dpkg-buildpackage.sh: Don't default to no signing until
after we parsed the options, otherwise we will miss overrides.
Synchronize with potato-branch again:
debian/changelog: update to 1.6.10
scripts/dpkg-divert.pl: reinstate last writeability-patch. Modified
to not abort on ENOENT: this indicates a directory does not (yet)
exist. If this happens don't try to rename.
scripts/update-alternatives.pl:
+ update usage-warning to reflect the new --config option
+ Document some global variables
+ Switch back to auto-mode when removing a manually selected alternative
dselect/{dselect.h,main.cc,pkglist.cc}: remove CAN_RESIZE stuff
dselect/methlist.cc: don't abort if getch fails due to interrupted syscall
dselect/pkglist.cc: don't abort if getch fails due to interrupted syscall
dselect/baselist.cc: put debug-statement in sigwinchhandler and
actually resize the current terminal before redisplaying the screen
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