Parcourir la source

* 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 il y a 26 ans
Parent
commit
3c3faae09b
9 fichiers modifiés avec 24 ajouts et 11 suppressions
  1. 13 1
      ChangeLog
  2. 1 0
      THANKS
  3. 2 5
      TODO
  4. 3 1
      debian/changelog
  5. 1 1
      doc/Makefile.in
  6. 1 1
      dpkg-deb/main.c
  7. 1 0
      lib/showcright.c
  8. 1 1
      main/configure.c
  9. 1 1
      version-nr

+ 13 - 1
ChangeLog

@@ -1,9 +1,21 @@
+Fri Dec 24 17:34:30 CET 1999 Wichert Akkerman <wakkerma@debian.org>
+
+  * 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
+  * Patch from David Huggins-Daines <dhd@eradicator.org>:
+    + main/configure.c: add NULL to execlp() parameters; this fixes the random
+      segfaults when showing the conffile-diff
+
 Fri Dec 24 15:35:29 CET 1999 Wichert Akkerman <wakkerma@debian.org>
 Fri Dec 24 15:35:29 CET 1999 Wichert Akkerman <wakkerma@debian.org>
 
 
   * debian/control: add Build-Depends
   * debian/control: add Build-Depends
   * THANKS: new file which lists everyone who contributed to the code
   * THANKS: new file which lists everyone who contributed to the code
   * Change `Debian Linux' to `Debian GNU/Linux' in a couple of manpages
   * 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
   * main/enquiry.c: modify list1package to use the full width of the tty
+  * main/main.c: fix wrong call to fputs
   * Merge patches from Adam Heath:
   * Merge patches from Adam Heath:
     + lib/mlib.c: new function do_fd_copy to read a file into a fd
     + 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 do_fd_copy
@@ -25,7 +37,7 @@ Wed Dec 22 12:07:40 CET 1999 Wichert Akkerman <wakkerma@debian.org>
 
 
   * debian/dpkg-doc.postrm: Use doc-name instead of file-name (probably
   * debian/dpkg-doc.postrm: Use doc-name instead of file-name (probably
     need to change the filename, but I'll be lazy now :)
     need to change the filename, but I'll be lazy now :)
-  * dselect/pkgdisplay.cc: Replace empty string for eflags to a space
+  * dselect/pkgdisplay.cc: Replace empty string for eflags with a space
     so gettext doesn't use the translation-info
     so gettext doesn't use the translation-info
   * po/update.sh: Generate dselect/helpmsgs.{cc,h} so we can translate them.
   * po/update.sh: Generate dselect/helpmsgs.{cc,h} so we can translate them.
   * po/POTFILES.in: add dselect/helpmsgs.cc
   * po/POTFILES.in: add dselect/helpmsgs.cc

+ 1 - 0
THANKS

@@ -10,6 +10,7 @@ Christophe Le Bars <clebars@teaser.fr>
 Colin Plumb
 Colin Plumb
 Dan Gohman <gohmandj@mrs.umn.edu>
 Dan Gohman <gohmandj@mrs.umn.edu>
 Darren Stalder <torin@daft.com>
 Darren Stalder <torin@daft.com>
+David Huggins-Daines <dhd@eradicator.org>
 Erick Branderhorst <branderhorst@heel.fgg.eur.nl>
 Erick Branderhorst <branderhorst@heel.fgg.eur.nl>
 Galen Hazelwood <galenh@debian.org>
 Galen Hazelwood <galenh@debian.org>
 Guy Maor <maor@debian.org>
 Guy Maor <maor@debian.org>

+ 2 - 5
TODO

@@ -4,7 +4,6 @@ urgent
  * Conflicts << installation ordering
  * Conflicts << installation ordering
  * Version numbers in pre-depends stuff
  * Version numbers in pre-depends stuff
  * Search for all pre-depends things at once, bomb out if any not found
  * Search for all pre-depends things at once, bomb out if any not found
- * field overflow in dpkg --list
  * _always_ show section in --yet-to-unpack
  * _always_ show section in --yet-to-unpack
  * automatically do --yet-to-unpack in installation methods
  * automatically do --yet-to-unpack in installation methods
  * check depending packages when installing new version.
  * check depending packages when installing new version.
@@ -15,8 +14,6 @@ urgent
  * logging, both transcript logs (kept briefly)
  * logging, both transcript logs (kept briefly)
    and action logs (kept forever?)  957
    and action logs (kept forever?)  957
  * start-stop-daemon process status check. 1480
  * start-stop-daemon process status check. 1480
- * remove old docs from /usr/doc/dpkg.
- * WTA: fix translations for dpkg --help which broke after adding --stop-after
  * openpgp signatures in the package archive
  * openpgp signatures in the package archive
 
 
 other stuff unlikely to get done soon
 other stuff unlikely to get done soon
@@ -30,7 +27,8 @@ other stuff unlikely to get done soon
    (when running dpkg -i)? Keeps it from being listed as obsolete, and maybe
    (when running dpkg -i)? Keeps it from being listed as obsolete, and maybe
    from being considered for auto-upgrades (apt-get needs to know about this
    from being considered for auto-upgrades (apt-get needs to know about this
    too)
    too)
- * Filename field generated by --record-avail handle split packages somehow.
+ * Filename field generated by --record-avail 
+ * handle split packages somehow.
  * understand Replaces in dselect
  * understand Replaces in dselect
  * provide way for package to declare ownership of files for dpkg -S
  * provide way for package to declare ownership of files for dpkg -S
    and -L without having dpkg act on this (.psuedolist?)
    and -L without having dpkg act on this (.psuedolist?)
@@ -41,7 +39,6 @@ other stuff unlikely to get done soon
  * local conffiles, aswell as local files that dpkg should check before
  * local conffiles, aswell as local files that dpkg should check before
    overwriting
    overwriting
  * hooks
  * hooks
- * gzip -0 option for dpkg-deb (probably easier to add a -z# option)
  * There is no documentation. 1526
  * There is no documentation. 1526
  * newbie interface to dselect. 1037
  * newbie interface to dselect. 1037
  * dselect per-half focus and keybindings improvements. 1555
  * dselect per-half focus and keybindings improvements. 1555

+ 3 - 1
debian/changelog

@@ -9,6 +9,8 @@ dpkg (1.6.5) unstable; urgency=low
   * Use full width of tty in packagelisting, Closes: Bug# 53395
   * Use full width of tty in packagelisting, Closes: Bug# 53395
   * Add -z option to dpkg-deb to set compressionlevel when building
   * Add -z option to dpkg-deb to set compressionlevel when building
     packages, Closes: Bug# 53398
     packages, Closes: Bug# 53398
+  * Fix segfaults when producing a diff between current and new conffile,
+    Closes: Bug# 52197
 
 
  -- Wichert Akkerman <wakkerma@debian.org>  UNRELEASED
  -- Wichert Akkerman <wakkerma@debian.org>  UNRELEASED
 
 
@@ -22,7 +24,7 @@ dpkg (1.6.4) unstable; urgency=low
   * Fix architecture-detection in dpkg-gencontrol, Closes: Bug#52616
   * Fix architecture-detection in dpkg-gencontrol, Closes: Bug#52616
   * Accept single-number values in update-rc.d, Closes: Bug#46810
   * Accept single-number values in update-rc.d, Closes: Bug#46810
 
 
- -- Wichert Akkerman <wakkerma@debian.org>  UNRELEASED
+ -- Wichert Akkerman <wakkerma@debian.org>  Sun, 19 Dec 1999 16:27:48 +0100
 
 
 dpkg (1.6.3) unstable; urgency=high
 dpkg (1.6.3) unstable; urgency=high
 
 

+ 1 - 1
doc/Makefile.in

@@ -39,7 +39,7 @@ install-doc: install-doc-recursive
 		$(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/internals/$$bn ; \
 		$(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/internals/$$bn ; \
 	done
 	done
 	$(INSTALL_DATA) $(srcdir)/ChangeLog $(DESTDIR)$(docdir)/ChangeLog.manuals
 	$(INSTALL_DATA) $(srcdir)/ChangeLog $(DESTDIR)$(docdir)/ChangeLog.manuals
-	set -e ; for i in ChangeLog TODO ; do \
+	set -e ; for i in ChangeLog THANKS TODO ; do \
 		$(INSTALL_DATA) $(top_srcdir)/$$i $(DESTDIR)$(docdir) ; \
 		$(INSTALL_DATA) $(top_srcdir)/$$i $(DESTDIR)$(docdir) ; \
 	done
 	done
 	$(INSTALL_DATA) $(top_srcdir)/COPYING $(DESTDIR)$(copyingfile)
 	$(INSTALL_DATA) $(top_srcdir)/COPYING $(DESTDIR)$(copyingfile)

+ 1 - 1
dpkg-deb/main.c

@@ -80,7 +80,7 @@ const char printforhelp[]=
      "Type dpkg --help for help about installing and deinstalling packages.");
      "Type dpkg --help for help about installing and deinstalling packages.");
 
 
 int debugflag=0, nocheckflag=0, oldformatflag=BUILDOLDPKGFORMAT;
 int debugflag=0, nocheckflag=0, oldformatflag=BUILDOLDPKGFORMAT;
-const char* compression=NULL;
+char* compression=NULL;
 const struct cmdinfo *cipaction=0;
 const struct cmdinfo *cipaction=0;
 dofunction *action=0;
 dofunction *action=0;
 
 

+ 1 - 0
lib/showcright.c

@@ -30,4 +30,5 @@ void showcopyright(const struct cmdinfo *c, const char *v) {
   fd= open(COPYINGFILE,O_RDONLY);
   fd= open(COPYINGFILE,O_RDONLY);
   if (fd < 0) ohshite(_("cannot open GPL file " COPYINGFILE));
   if (fd < 0) ohshite(_("cannot open GPL file " COPYINGFILE));
   do_fd_copy(fd, 1, _("showcopyright"));
   do_fd_copy(fd, 1, _("showcopyright"));
+  exit(0);
 }
 }

+ 1 - 1
main/configure.c

@@ -319,7 +319,7 @@ void deferred_configure(struct pkginfo *pkg) {
 	      sprintf(cmdbuf, "diff -u %.250s %.250s | %.250s", cdr.buf, cdr2.buf, p);
 	      sprintf(cmdbuf, "diff -u %.250s %.250s | %.250s", cdr.buf, cdr2.buf, p);
               s= getenv(SHELLENV);
               s= getenv(SHELLENV);
               if (!s || !*s) s= DEFAULTSHELL;
               if (!s || !*s) s= DEFAULTSHELL;
-	      execlp(s,s,"-c", cmdbuf);
+	      execlp(s,s,"-c", cmdbuf, NULL);
               ohshite(_("failed to run diff (%.250s)"), cmdbuf);
               ohshite(_("failed to run diff (%.250s)"), cmdbuf);
 	    }
 	    }
             while ((r= waitpid(c1,&status,0)) == -1 && errno == EINTR);
             while ((r= waitpid(c1,&status,0)) == -1 && errno == EINTR);

+ 1 - 1
version-nr

@@ -1 +1 @@
-1.6.4
+1.6.5