Adam Heath [Thu, 19 Apr 2001 04:58:02 +0000 (04:58 +0000)]
In blankpackage, intialize ->installed and ->available. Found by me and
Fumitoshi UKAI <ukai@debian.or.jp>. This should help several segfaults
that people have been seeing in dpkg.
Adam Heath [Thu, 19 Apr 2001 04:43:05 +0000 (04:43 +0000)]
* configure.in, debian/control: New upstream gettext. Since we had
to change our build, to comply with the new upstream, we also
need to modify the build-depends.
* po/dpkg.pot, po/nl.po: Fixed broken translations.
* ChangeLog: undo file corruption (ugh)
* utils/start-stop-daemon.8: fix typo
* configure.in: use AC_C_INLINE instead of our own test
* lib/nfmalloc, include/dpkg-db.h: remove HAVE_INLINE tests, use extern inline directly
* lib/varbuf.c: add inline keyowrd to varbufaddc
* optlib/Makefile.in: undo earlier patch and build libopt.a again
* lib/Makefile.in: use libopt.a again, and a rule to build it
* Makefile.in: build optlib before lib
* Makefile.conf.in: add RANLIB
* dselect/method.h, dselect/methlist.cc, dselect/method.cc,
dselect/methparse.cc: rename struct option to dselect_option to prevent
conflict with getopt.h
* main/help.c: rework do_script a bit to compile without errors
* scripts/dpkg-gencontrol.1: add -n option to specify filename
* scripts/dpkg-source.1:
+ document -n option for dpkg-gencontrol
+ fix confusing wording for dpkg-buildpackage -uc option
+ fix layout error for dpkg-distaddfile section
+ it's DEADJOE, not DEAD_JOEY
* scripts/dpkg-architecture.pl:
+ apply cleanup patch from Julian Gilbey
+ modify gcc regexp to recognize gcc versions like 2.96-ia64-000717
* scripts/dpkg-checkbuilddeps.pl, scripts/dpkg-checkbuilddeps.1: new
script from Joey Hess to check build dependencies
* THANKS: Add Joey Hess
* scripts/dpkg-parsechangelog.pl:
+ support reading changelog from stdin
+ remove Linux reference
* scripts/dpkg-statoverride.pl: exit with exitcode 1 if we do --list but
don't output anything, and use exitcode 2 if we try to remove a
non-exiting override (unless --force is given).
* scripts/dpkg-statoverride.8: document new exitcode for --list
* main/main.c, main/dpkg.8: remove --smallmem and --largemem references
* scripts/dpkg-buildpackage.sh:
+ don't bother to specify architecture settings on commandlines since
we put them in the environment already
+ remove debsign support, it's useless and debsign can't handle it
+ use DEB_BUILD_ARCH to get build architecture, not DEB_HOST_ARCH
+ remove Linux reference
* scripts/dpkg-scanpackages.pl: mark last argument as optional in
usage info
* scripts/dpkg-scanpackages.8, scripts/dpkg-name.1,
scripts/dpkg-shlibdeps.pl, scripts/dpkg-source.pl, scripts/822-date.1,
scripts/cl-debian.pl, scripts/cleanup-info.pl, scripts/dpkg-genchanges.pl,
scripts/dpkg-distaddfile.pl, scripts/dpkg-source.1,
scripts/dpkg-divert.pl, scripts/install-info.pl, scripts/install-info.8,
scripts/dpkg-gencontrol.pl, scripts/update-alternatives.pl,
scripts/update-rc.d.8: remove Linux references
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.