]> err.no Git - dpkg/log
dpkg
23 years agoRemoved use of getc(), and instead use pointers into a gigantic memory
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().

23 years agoAdded nfstrnsave().
Adam Heath [Wed, 27 Dec 2000 11:22:11 +0000 (11:22 +0000)]
Added nfstrnsave().

23 years agoRemoved use of varbuf* code from f_dependency(), for a speedup.
Adam Heath [Wed, 27 Dec 2000 11:00:24 +0000 (11:00 +0000)]
Removed use of varbuf* code from f_dependency(), for a speedup.

23 years agoDetect and issue an error when a space is in a version.
Adam Heath [Wed, 27 Dec 2000 10:56:33 +0000 (10:56 +0000)]
Detect and issue an error when a space is in a version.

23 years agoAdded nfstrnsave().
Adam Heath [Wed, 27 Dec 2000 10:01:33 +0000 (10:01 +0000)]
Added nfstrnsave().

23 years agoOops, forgot to add these files.
Adam Heath [Tue, 26 Dec 2000 23:08:00 +0000 (23:08 +0000)]
Oops, forgot to add these files.

23 years agoRemoved extraneous debug prints, that displayed the state of all force
Adam Heath [Tue, 26 Dec 2000 14:34:58 +0000 (14:34 +0000)]
Removed extraneous debug prints, that displayed the state of all force
options.  Doh!

23 years agoIncreased the speed of convert_string() by a factor of 2, by storing the
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.

23 years agoRemoved all references to sysinfo().
Adam Heath [Tue, 26 Dec 2000 09:47:10 +0000 (09:47 +0000)]
Removed all references to sysinfo().

23 years agoRemoved --smallmem code.
Adam Heath [Tue, 26 Dec 2000 09:29:06 +0000 (09:29 +0000)]
Removed --smallmem code.

23 years agoDon't use FILE * in mdfile.
Adam Heath [Mon, 25 Dec 2000 06:47:52 +0000 (06:47 +0000)]
Don't use FILE * in mdfile.

23 years agoAdded generic setup code to buffer copy loop.
Adam Heath [Mon, 25 Dec 2000 06:35:07 +0000 (06:35 +0000)]
Added generic setup code to buffer copy loop.

23 years agoMoved md5 code into generic buffer_copy loop.
Adam Heath [Mon, 25 Dec 2000 06:04:49 +0000 (06:04 +0000)]
Moved md5 code into generic buffer_copy loop.

23 years agoMoved md5 code into generic buffer_copy loop.
Adam Heath [Mon, 25 Dec 2000 05:50:15 +0000 (05:50 +0000)]
Moved md5 code into generic buffer_copy loop.

23 years agoUse DESTDIR when installing /etc/dpkg/origins/dpkg.
Adam Heath [Sun, 24 Dec 2000 20:00:40 +0000 (20:00 +0000)]
Use DESTDIR when installing /etc/dpkg/origins/dpkg.

23 years agoUndo earlier changes from Adam to handle -W options for the compiler
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.

23 years agomake dselect commandline options work again
Wichert Akkerman [Sun, 24 Dec 2000 16:38:09 +0000 (16:38 +0000)]
make dselect commandline options work again

23 years agoshow description for udebs as well
Wichert Akkerman [Sun, 24 Dec 2000 16:10:39 +0000 (16:10 +0000)]
show description for udebs as well

23 years agoAdd -k|--symlink option.
Adam Heath [Sun, 24 Dec 2000 12:34:20 +0000 (12:34 +0000)]
Add -k|--symlink option.

23 years agoMade the accelerator keys in dselect's main menu separate options, so that
Adam Heath [Sun, 24 Dec 2000 12:01:31 +0000 (12:01 +0000)]
Made the accelerator keys in dselect's main menu separate options, so that
they can be translated separately.

23 years agoAdded depends on sysvinit (>= 2.72), so that we can make sure that
Adam Heath [Sun, 24 Dec 2000 11:35:18 +0000 (11:35 +0000)]
Added depends on sysvinit (>= 2.72), so that we can make sure that
/etc/rcS.d exists.

23 years agoChanged documentation and help, as -f only applies during remove.
Adam Heath [Sun, 24 Dec 2000 11:34:23 +0000 (11:34 +0000)]
Changed documentation and help, as -f only applies during remove.

23 years agoAdded a --force-all option.
Adam Heath [Sun, 24 Dec 2000 11:12:41 +0000 (11:12 +0000)]
Added a --force-all option.

23 years agoFormat help string for --abort-after like other option help strings.
Adam Heath [Sun, 24 Dec 2000 10:36:05 +0000 (10:36 +0000)]
Format help string for --abort-after like other option help strings.

23 years agoFix to pass on admindir from dselect to dpkg.
Adam Heath [Sun, 24 Dec 2000 08:41:47 +0000 (08:41 +0000)]
Fix to pass on admindir from dselect to dpkg.

23 years agoMinor tweak so that when patch 2.5.4 is manually used to apply a diff, it
Adam Heath [Sun, 24 Dec 2000 07:04:09 +0000 (07:04 +0000)]
Minor tweak so that when patch 2.5.4 is manually used to apply a diff, it
doesn't get applied multiple times.

23 years agoAdd --nicelevel, to alter a programs priority before starting.
Adam Heath [Sun, 24 Dec 2000 05:36:58 +0000 (05:36 +0000)]
Add --nicelevel, to alter a programs priority before starting.

23 years agoDocument that --largemem is the default, and that the test point is 24 megs.
Adam Heath [Sun, 24 Dec 2000 04:58:13 +0000 (04:58 +0000)]
Document that --largemem is the default, and that the test point is 24 megs.

23 years agoDocument that --set-selections does not actually install any packages.
Adam Heath [Sun, 24 Dec 2000 04:54:18 +0000 (04:54 +0000)]
Document that --set-selections does not actually install any packages.

23 years agoFix typo in dpkg-deb.1.
Adam Heath [Sun, 24 Dec 2000 04:42:56 +0000 (04:42 +0000)]
Fix typo in dpkg-deb.1.

23 years agoAdd --truename option.
Adam Heath [Sun, 24 Dec 2000 04:29:53 +0000 (04:29 +0000)]
Add --truename option.

23 years agoDocument COLUMNS environment variable.
Adam Heath [Sun, 24 Dec 2000 03:41:26 +0000 (03:41 +0000)]
Document COLUMNS environment variable.

23 years agoClean up a few gcc warnings. Note that the warning:
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.

23 years agoModified DPKG_C_GCC_TRY_WARNS() to call AC_SUBST, so that we can use the
Adam Heath [Sun, 24 Dec 2000 01:34:55 +0000 (01:34 +0000)]
Modified DPKG_C_GCC_TRY_WARNS() to call AC_SUBST, so that we can use the
result of the test during build time.

23 years agoAdded description for "suggests" in describedepcon().
Adam Heath [Sun, 24 Dec 2000 01:02:45 +0000 (01:02 +0000)]
Added description for "suggests" in describedepcon().

23 years agoAdded description for "suggests" in describedepcon().
Adam Heath [Sun, 24 Dec 2000 00:56:27 +0000 (00:56 +0000)]
Added description for "suggests" in describedepcon().

23 years agoRemove bashism.
Adam Heath [Sat, 23 Dec 2000 22:25:50 +0000 (22:25 +0000)]
Remove bashism.

23 years agouse FHS instead of FSSTND
Wichert Akkerman [Sat, 23 Dec 2000 12:51:55 +0000 (12:51 +0000)]
use FHS instead of FSSTND

23 years agoMake '#' optional in Closes: tags.
Adam Heath [Sat, 23 Dec 2000 09:09:07 +0000 (09:09 +0000)]
Make '#' optional in Closes: tags.

23 years agoAdd -t to -h output.
Adam Heath [Sat, 23 Dec 2000 08:14:24 +0000 (08:14 +0000)]
Add -t to -h output.

23 years agoUpdated translation
Peter Karlsson [Thu, 21 Dec 2000 18:33:38 +0000 (18:33 +0000)]
Updated translation

23 years agoCloses bug 49581, because we don't use external gzip anymore.
Adam Heath [Thu, 21 Dec 2000 09:42:59 +0000 (09:42 +0000)]
Closes bug 49581, because we don't use external gzip anymore.

23 years agos/--cmpversions/--compare-versions/
Adam Heath [Thu, 21 Dec 2000 09:36:43 +0000 (09:36 +0000)]
s/--cmpversions/--compare-versions/

23 years agoRemove duplicate -R(it doesn't set --root).
Adam Heath [Thu, 21 Dec 2000 09:31:47 +0000 (09:31 +0000)]
Remove duplicate -R(it doesn't set --root).

23 years agoAdd armv3l.
Adam Heath [Thu, 21 Dec 2000 09:25:50 +0000 (09:25 +0000)]
Add armv3l.

23 years agoSwitch all size parameters to ssize_t. Also, return totalread, not
Adam Heath [Thu, 21 Dec 2000 07:43:22 +0000 (07:43 +0000)]
Switch all size parameters to ssize_t.  Also, return totalread, not
bytesread, in buffer_copy.

23 years agoHandle EINTR on reading and writting in buffer_copy.
Adam Heath [Thu, 21 Dec 2000 07:29:11 +0000 (07:29 +0000)]
Handle EINTR on reading and writting in buffer_copy.

23 years agoUpdated.
Peter Karlsson [Thu, 21 Dec 2000 05:59:40 +0000 (05:59 +0000)]
Updated.

23 years agoreinstate reading of trailing zeroes
Wichert Akkerman [Wed, 20 Dec 2000 11:53:45 +0000 (11:53 +0000)]
reinstate reading of trailing zeroes

23 years agoFix -Wall messages.
Adam Heath [Wed, 20 Dec 2000 08:47:49 +0000 (08:47 +0000)]
Fix -Wall messages.

23 years agoMake {stream,fd}_null_copy use [lf]seek, and fall back on the buffer code,
Adam Heath [Wed, 20 Dec 2000 08:27:57 +0000 (08:27 +0000)]
Make {stream,fd}_null_copy use [lf]seek, and fall back on the buffer code,
if stream/fd refer to a pipe.

23 years agoMove -D_GNU_SOURCE from configure.in to Makefile, and from CFLAGS to DEFS.
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?

23 years ago* main/processarc.c: Don't copy trailing zeros from dpkg-deb pipe.
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.

23 years agoLesson the memory footprint.
Adam Heath [Wed, 20 Dec 2000 07:33:47 +0000 (07:33 +0000)]
Lesson the memory footprint.

23 years agoFix building of debs, when there is no given compression on the cmdline.
Adam Heath [Wed, 20 Dec 2000 07:27:49 +0000 (07:27 +0000)]
Fix building of debs, when there is no given compression on the cmdline.

23 years agofix syntax error
Wichert Akkerman [Wed, 20 Dec 2000 01:02:48 +0000 (01:02 +0000)]
fix syntax error

23 years agofix syntax error
Wichert Akkerman [Wed, 20 Dec 2000 00:57:13 +0000 (00:57 +0000)]
fix syntax error

23 years agoUpdated Swedish translation
Peter Karlsson [Mon, 18 Dec 2000 06:38:00 +0000 (06:38 +0000)]
Updated Swedish translation

23 years agoMore Adam stuff:
Wichert Akkerman [Sun, 17 Dec 2000 16:37:04 +0000 (16:37 +0000)]
More Adam stuff:
+ lib/mlib.c, include/dpkg.h.in: make do_fd_copy even more modular
+ dpkg-deb/{build.c,extract.c,info.c}, lib/showcright.c,
  main/{enquiry.c,filesdb.c}: updated for new do_fd_copy routines
+ main/{archives,[ch],main/processarc.c}: use fds instead of streams
  so we don't mix fd and stream-based IO which can cause havoc

23 years agoupdate Build-Depends
Wichert Akkerman [Sun, 17 Dec 2000 12:41:43 +0000 (12:41 +0000)]
update Build-Depends

23 years agofix grammer in dpkg manpage
Wichert Akkerman [Wed, 13 Dec 2000 17:05:53 +0000 (17:05 +0000)]
fix grammer in dpkg manpage

23 years agomain/archives.c: create files, fifos, devices and directories with mode 0
Wichert Akkerman [Wed, 13 Dec 2000 16:08:18 +0000 (16:08 +0000)]
main/archives.c: create files, fifos, devices and directories with mode 0
  too close a small window when they are readable before we apply the correct
  permissions.
main/archives.c: newtarobject_allmodes() updated to handle statoverrides

23 years agofix warning when trying to remove a non-existing statoverride
Wichert Akkerman [Tue, 12 Dec 2000 16:34:07 +0000 (16:34 +0000)]
fix warning when trying to remove a non-existing statoverride

23 years agoAdd gettext to build-depends
Wichert Akkerman [Mon, 11 Dec 2000 11:00:42 +0000 (11:00 +0000)]
Add gettext to build-depends

23 years agoMore doogie-patches
Wichert Akkerman [Sat, 9 Dec 2000 23:14:50 +0000 (23:14 +0000)]
More doogie-patches

23 years agoLogged
Peter Karlsson [Sat, 9 Dec 2000 11:33:44 +0000 (11:33 +0000)]
Logged

23 years agoFixed a typo
Peter Karlsson [Sat, 9 Dec 2000 11:33:31 +0000 (11:33 +0000)]
Fixed a typo

23 years agoUpdated Swedish translation
Peter Karlsson [Sat, 9 Dec 2000 11:33:26 +0000 (11:33 +0000)]
Updated Swedish translation

23 years agoblah^2
Wichert Akkerman [Sat, 9 Dec 2000 02:26:05 +0000 (02:26 +0000)]
blah^2

23 years agoblah
Wichert Akkerman [Sat, 9 Dec 2000 02:23:58 +0000 (02:23 +0000)]
blah

23 years agofd copy loop generalizations
Wichert Akkerman [Sat, 9 Dec 2000 02:13:04 +0000 (02:13 +0000)]
fd copy loop generalizations

23 years agofix another silly mistake
Wichert Akkerman [Sat, 9 Dec 2000 02:05:39 +0000 (02:05 +0000)]
fix another silly mistake

23 years agoFix silly errors
Wichert Akkerman [Sat, 9 Dec 2000 01:56:59 +0000 (01:56 +0000)]
Fix silly errors

23 years agoadd support for using libz
Wichert Akkerman [Sat, 9 Dec 2000 01:51:21 +0000 (01:51 +0000)]
add support for using libz

23 years agoadd s/390 support
Wichert Akkerman [Sat, 9 Dec 2000 00:59:18 +0000 (00:59 +0000)]
add s/390 support

23 years agoUpdated Swedish translation.
Peter Karlsson [Tue, 5 Dec 2000 06:43:51 +0000 (06:43 +0000)]
Updated Swedish translation.

23 years agoscripts/dpkg-statoverride.pl, main/filesdb.c: merge patch from
Wichert Akkerman [Mon, 4 Dec 2000 15:03:32 +0000 (15:03 +0000)]
scripts/dpkg-statoverride.pl, main/filesdb.c: merge patch from
Robert Luberda <robert@pingu.ii.uj.edu.pl> to fix statoverrides
using numerical [ug]ids
Merge updats from the v17 branch:
+ scripts/dpkg-buildpackage.sh: Quote test options for usepause
+ scripts/dpkg-shlibdeps.pl: resolve library paths using a combination
  of the libc major version, and ldconfig -p output. Solves problems
  with errant libc5 deps.
+ scripts/dpkg-shlibdeps.pl: Make it parse soname's in the format of
  "libfoo-X.X.so" (e.g. libdb-3.1.so) and use it. Also make it give a
  warning if there is a NEEDED line in the objdump output that we cannot
  grok.
+ scripts/update-rc.d.pl: fix typo in regexp for scripts
+ debian/rules: remove final occurance of emacs

24 years agofix typo
Wichert Akkerman [Mon, 4 Dec 2000 00:47:41 +0000 (00:47 +0000)]
fix typo

24 years agoinclude/dpkg.h.in: remove defines for cat and dpkg-safelist since they are no longer...
Wichert Akkerman [Mon, 4 Dec 2000 00:39:50 +0000 (00:39 +0000)]
include/dpkg.h.in: remove defines for cat and dpkg-safelist since they are no longer used
lib/mlib.c: split up do_fd_copy
lib/varbuf.c: add varbufvprintf
lib/parse.c: use memset to initialize fieldencountered
main/filesdb.c: use new read_fd_into_buf

24 years agouse do_fd_copy when extracting ar files
Wichert Akkerman [Sun, 3 Dec 2000 21:12:58 +0000 (21:12 +0000)]
use do_fd_copy when extracting ar files

24 years agofix typo
Wichert Akkerman [Sun, 3 Dec 2000 01:57:28 +0000 (01:57 +0000)]
fix typo

24 years agoMore small fixes
Wichert Akkerman [Thu, 30 Nov 2000 20:55:34 +0000 (20:55 +0000)]
More small fixes

24 years agomore dpkg-statoverride fixes
Wichert Akkerman [Thu, 30 Nov 2000 02:48:51 +0000 (02:48 +0000)]
more dpkg-statoverride fixes

24 years agoFix ENOENT issues
Wichert Akkerman [Thu, 30 Nov 2000 02:40:38 +0000 (02:40 +0000)]
Fix ENOENT issues

24 years agopurge a bit of leftover elisp stuff
Wichert Akkerman [Thu, 30 Nov 2000 02:37:52 +0000 (02:37 +0000)]
purge a bit of leftover elisp stuff

24 years agoImprove description of --import option
Wichert Akkerman [Thu, 30 Nov 2000 02:34:38 +0000 (02:34 +0000)]
Improve description of --import option

24 years agofix some stupid errors. silly perl syntax..
Wichert Akkerman [Thu, 30 Nov 2000 02:30:23 +0000 (02:30 +0000)]
fix some stupid errors. silly perl syntax..

24 years agoUpdate Galish translation
Wichert Akkerman [Thu, 30 Nov 2000 02:02:32 +0000 (02:02 +0000)]
Update Galish translation

24 years agoadd new --import option to import settings from /etc/suid.conf
Wichert Akkerman [Thu, 30 Nov 2000 01:53:35 +0000 (01:53 +0000)]
add new --import option to import settings from /etc/suid.conf

24 years agoTerminology changes
Peter Karlsson [Tue, 28 Nov 2000 17:50:36 +0000 (17:50 +0000)]
Terminology changes

24 years agoUpdated Swedish translation
Peter Karlsson [Sat, 25 Nov 2000 21:06:09 +0000 (21:06 +0000)]
Updated Swedish translation

24 years agoscripts/dpkg-scansources.pl: Fix getopt usage since perl5.6 complains about it.
Wichert Akkerman [Fri, 24 Nov 2000 16:01:12 +0000 (16:01 +0000)]
scripts/dpkg-scansources.pl: Fix getopt usage since perl5.6 complains about it.
doc/deb-old.5,doc/deb.5,main/dpkg.8,scripts/dpkg-name.1, split/dpkg-split.8 : update to reflect that dpkg-deb is in section 1

24 years agoproperly chomp lines
Wichert Akkerman [Thu, 23 Nov 2000 18:27:17 +0000 (18:27 +0000)]
properly chomp lines

24 years agolib/mlib.c: fix error reporting for reading data in do_fd_copy
Wichert Akkerman [Thu, 23 Nov 2000 17:54:19 +0000 (17:54 +0000)]
lib/mlib.c: fix error reporting for reading data in do_fd_copy
optlib/Makefile.am: remove (can't believe this still existed!)
utils/Makefile.in: link md5sum with our own libintl if needed
archtable, scripts/dpkg-architecture.pl: add freebsd-i386
acconfig.h, configure.in, doc/Makefile.in: make building documentation and start-stop-daemon optional
main/help.c: only check for start-stop-daemon in checkpatch() if we build it

24 years agofix two memory leaks
Wichert Akkerman [Thu, 23 Nov 2000 17:00:16 +0000 (17:00 +0000)]
fix two memory leaks

24 years agoUse proper name for .changes file when building source-only
Wichert Akkerman [Thu, 23 Nov 2000 16:12:50 +0000 (16:12 +0000)]
Use proper name for .changes file when building source-only

24 years agoremove emacs stuff
Wichert Akkerman [Mon, 20 Nov 2000 22:03:32 +0000 (22:03 +0000)]
remove emacs stuff

24 years agosmall fixup in internals manual build
Wichert Akkerman [Thu, 9 Nov 2000 12:59:26 +0000 (12:59 +0000)]
small fixup in internals manual build

24 years agoAdd powerpc-linux-gnu entry to archtable
Wichert Akkerman [Wed, 8 Nov 2000 14:20:40 +0000 (14:20 +0000)]
Add powerpc-linux-gnu entry to archtable

24 years agoRemove emacs helper scripts
Wichert Akkerman [Wed, 8 Nov 2000 14:03:01 +0000 (14:03 +0000)]
Remove emacs helper scripts