]> err.no Git - dpkg/log
dpkg
23 years agoscripts/dpkg-divert.pl: only allow absolute filenames
Wichert Akkerman [Mon, 22 Jan 2001 22:24:22 +0000 (22:24 +0000)]
scripts/dpkg-divert.pl: only allow absolute filenames
main/configure.c: add -N option to diff invocation

23 years agoactually use CHUNK_SIZE
Ben Collins [Tue, 16 Jan 2001 02:24:22 +0000 (02:24 +0000)]
actually use CHUNK_SIZE

23 years agoUpdated Swedish translation.
Peter Karlsson [Mon, 15 Jan 2001 06:27:56 +0000 (06:27 +0000)]
Updated Swedish translation.

23 years agofixup declerations
Ben Collins [Mon, 15 Jan 2001 06:04:56 +0000 (06:04 +0000)]
fixup declerations

23 years agochange blocksize to 8192, and make sure we set dbobs_init to 0 after obstack_free
Ben Collins [Mon, 15 Jan 2001 05:52:20 +0000 (05:52 +0000)]
change blocksize to 8192, and make sure we set dbobs_init to 0 after obstack_free

23 years agofixups for obstack usage
Ben Collins [Mon, 15 Jan 2001 04:53:42 +0000 (04:53 +0000)]
fixups for obstack usage

23 years agoDocument --command-fd.
Adam Heath [Mon, 15 Jan 2001 00:23:48 +0000 (00:23 +0000)]
Document --command-fd.

23 years agoconvert nfmalloc to obstack, and include obstack.[ch] for non-GNU systems
Ben Collins [Sun, 14 Jan 2001 20:30:46 +0000 (20:30 +0000)]
convert nfmalloc to obstack, and include obstack.[ch] for non-GNU systems

23 years agoadd stamp-build
Ben Collins [Sun, 14 Jan 2001 19:05:20 +0000 (19:05 +0000)]
add stamp-build

23 years agoFix -Wall messages. Also, fix handling of user-defined fields in
Adam Heath [Sun, 14 Jan 2001 18:31:49 +0000 (18:31 +0000)]
Fix -Wall messages.  Also, fix handling of user-defined fields in
parsedb().

23 years agoBring up to date.
Adam Heath [Sun, 14 Jan 2001 08:46:52 +0000 (08:46 +0000)]
Bring up to date.

23 years agoRemoved duplicate code that was used to exec maintainer scripts, and moved
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.

23 years agoChange --{status,command}-pipe to --{status,command}-fd.
Adam Heath [Sun, 14 Jan 2001 08:36:59 +0000 (08:36 +0000)]
Change --{status,command}-pipe to --{status,command}-fd.

23 years agoAdd a --command-pipe. This allows multiple commands to be passed to a
Adam Heath [Sun, 14 Jan 2001 08:24:47 +0000 (08:24 +0000)]
Add a --command-pipe.  This allows multiple commands to be passed to a
single instance of dpkg, over the file descriptor passed on the cmdline.

23 years agoFix chown/chmod ordering
Wichert Akkerman [Thu, 11 Jan 2001 17:52:12 +0000 (17:52 +0000)]
Fix chown/chmod ordering

23 years agoremove --import
Wichert Akkerman [Mon, 8 Jan 2001 23:47:18 +0000 (23:47 +0000)]
remove --import

23 years agoignore vim swapfiles
Wichert Akkerman [Mon, 8 Jan 2001 23:13:05 +0000 (23:13 +0000)]
ignore vim swapfiles

23 years agoupdate French translation
Wichert Akkerman [Mon, 8 Jan 2001 18:40:40 +0000 (18:40 +0000)]
update French translation

23 years agoAfter N calls(which does a checkpoint()), reset the counter.
Adam Heath [Sun, 7 Jan 2001 20:32:22 +0000 (20:32 +0000)]
After N calls(which does a checkpoint()), reset the counter.

23 years agoForgot the status-pipe struct.
Adam Heath [Sun, 7 Jan 2001 20:28:37 +0000 (20:28 +0000)]
Forgot the status-pipe struct.

23 years agoAdd a --status-pipe.
Adam Heath [Sat, 6 Jan 2001 05:09:00 +0000 (05:09 +0000)]
Add a --status-pipe.

23 years agovarbuf(v)printf now return the number of characters they added to the
Adam Heath [Sat, 6 Jan 2001 04:28:57 +0000 (04:28 +0000)]
varbuf(v)printf now return the number of characters they added to the
buffer.

23 years agoAdd 'warn' parameter to waitsubproc and checksubprocerr, and also add a
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.

23 years agoUpdated Swedish translation
Peter Karlsson [Thu, 4 Jan 2001 04:22:22 +0000 (04:22 +0000)]
Updated Swedish translation

23 years agoadd doc/fr/Makefile
Wichert Akkerman [Wed, 3 Jan 2001 12:44:10 +0000 (12:44 +0000)]
add doc/fr/Makefile

23 years agoRemoved an 'inlined' version of waitsubproc, and call the function instead.
Adam Heath [Wed, 3 Jan 2001 04:46:25 +0000 (04:46 +0000)]
Removed an 'inlined' version of waitsubproc, and call the function instead.

23 years agoFreshen cvs.
Adam Heath [Mon, 1 Jan 2001 08:09:21 +0000 (08:09 +0000)]
Freshen cvs.

23 years agoAdd varbufdupc().
Adam Heath [Mon, 1 Jan 2001 08:08:56 +0000 (08:08 +0000)]
Add varbufdupc().

23 years agoUse of PKGIOFF macro was checked in prematurely.
Adam Heath [Mon, 1 Jan 2001 08:05:54 +0000 (08:05 +0000)]
Use of PKGIOFF macro was checked in prematurely.

23 years agoutils/start-stop-daemon.c: --name is now allowed on the command line
Adam Heath [Sun, 31 Dec 2000 05:12:44 +0000 (05:12 +0000)]
utils/start-stop-daemon.c: --name is now allowed on the command line
(imported from branch v1_8).

23 years agoAdd French manpages
Wichert Akkerman [Sat, 30 Dec 2000 22:12:10 +0000 (22:12 +0000)]
Add French manpages

23 years agoProperly parse control files that only have one paragraph, which means no
Adam Heath [Fri, 29 Dec 2000 18:40:26 +0000 (18:40 +0000)]
Properly parse control files that only have one paragraph, which means no
double ending new line.

23 years agoFix minor memleak in used function hashreport. Thanks to Adrian Bridgett
Adam Heath [Fri, 29 Dec 2000 00:46:28 +0000 (00:46 +0000)]
Fix minor memleak in used function hashreport.  Thanks to Adrian Bridgett
<bridgett@debian.org>.

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