Wichert Akkerman [Sun, 25 Feb 2001 19:16:17 +0000 (19:16 +0000)]
debian/changelog: merged additions from v1.8 branch
scripts/controllib.pl:
+ no need to have Origin in capit
+ consistently use &warn
+ fix -s to export all variables instead of just the first
scripts/dpkg-genchanges.pl: do not complain about missing packages if doing a source-only build
scripts/dpkg-buildpackage.sh:
+ correct filename for secret keyring in gpg test
+ fix -C
+ skip signing pause of building unsigned packages
+ improve srcmsg
+ test for invalid signinterface
Wichert Akkerman [Fri, 23 Feb 2001 15:07:35 +0000 (15:07 +0000)]
utils/start-stop-daemon.c: Add OpenBSD support
utils/md5sum.c: include unistd.h to things compile on OpenBSD
configure.in: test to see if we need to link to kvm
Wichert Akkerman [Fri, 23 Feb 2001 10:15:23 +0000 (10:15 +0000)]
scripts/dpkg-divert.pl: fix typo in usage message
main/help.c: mangle argv[0] in do_script to always be the full path
include/dpkg-db.h: include string.h so things compile on ia64
scripts/dpkg-architecture.pl: add ia64
Ben Collins [Thu, 15 Feb 2001 16:32:48 +0000 (16:32 +0000)]
* utils/Makefile.in: Do not use libopt.a, since libdpkg.a not includes those
objects
* optlib/Makefile.in: do not generate libopt.a
* lib/Makefile.in: build libdpkg.a to include the objects from optlib
scripts/dpkg-statoverride.pl: use -e instead of -f to test
for filesystem object existance
scripts/dpkg-source.pl: swap chdir and open in extracttar to
prevent race with source-directory being removed while the
sh/grep process is still running. Patch from Colin Watson
scripts/dpkg-source.pl: fix error in error message
utils/Makefile.in: set top_builddir
Makefile.in: spell version-nr correctly
scripts/dpkg-source.pl: modify how we handle the dscformat: we now
assume all major versions are upwards and backwards compatibly. This
allows us to add new fields without breaking older versions of
dpkg-source
Adam Heath [Sun, 14 Jan 2001 08:40:57 +0000 (08:40 +0000)]
Removed duplicate code that was used to exec maintainer scripts, and moved
it to a single function. In the future, this single function could be used
for tracking script execution.
Adam Heath [Thu, 4 Jan 2001 07:35:21 +0000 (07:35 +0000)]
Add 'warn' parameter to waitsubproc and checksubprocerr, and also add a
return value. This fixes my last checkin, where
maintainer_script_alternative would run both the old and new script.
Adam Heath [Wed, 27 Dec 2000 20:57:54 +0000 (20:57 +0000)]
Removed use of getc(), and instead use pointers into a gigantic memory
buffer(either thru mmap, or by copying into a large buffer(#define
PARSE_MMAP)). Nice little speedup, and also had the added benefit of
removing varbuf* code from parsedb().
Adam Heath [Tue, 26 Dec 2000 10:37:27 +0000 (10:37 +0000)]
Increased the speed of convert_string() by a factor of 2, by storing the
length of each string inside the struct(this function is used to convert
strings into integer values).
This is the first speedup discovered by using gprof.
Wichert Akkerman [Sun, 24 Dec 2000 16:59:21 +0000 (16:59 +0000)]
Undo earlier changes from Adam to handle -W options for the compiler
and do things much simpler instead based on the old working but not
correctly used code.
Adam Heath [Sun, 24 Dec 2000 03:27:43 +0000 (03:27 +0000)]
Clean up a few gcc warnings. Note that the warning:
"deprecated conversion from string constant to `char *'"
is actually a bug in ncurses-dev(which has been filed as 80410) not setting
the fmt argument as const.
Adam Heath [Wed, 20 Dec 2000 08:21:27 +0000 (08:21 +0000)]
Move -D_GNU_SOURCE from configure.in to Makefile, and from CFLAGS to DEFS.
This macro was getting lost if someone was setting CFLAGS on the cmdline.
Perhaps this should be moved into config.h.in?
Adam Heath [Wed, 20 Dec 2000 07:42:03 +0000 (07:42 +0000)]
* main/processarc.c: Don't copy trailing zeros from dpkg-deb pipe.
* main/archives.c: Fix some i8ln.
* dpkg-deb/extract.c: Remove skipmember(), and use the buffer copy code.