Hi,

gnupg has an error in its gnupg1.texi file. The install-info program registers it as "gpg" during pkg_add, but can't find it any longer during pkg_delete. The result is a broken reference to "gpg" in the info index that isn't cleaned up once the package is deinstalled. Any following pkg_adds of that package result in a new error, because "gpg" already exists in the dir file.

The attached patch fixes this, and adds SHA256 checksums while it's at it.


Moritz
Index: Makefile
===================================================================
RCS file: /cvs/ports/security/gnupg/Makefile,v
retrieving revision 1.64
diff -u -p -r1.64 Makefile
--- Makefile    16 Jan 2007 09:50:36 -0000      1.64
+++ Makefile    12 Feb 2007 16:52:54 -0000
@@ -3,6 +3,7 @@
 COMMENT=       "GNU privacy guard - a free PGP replacement"
 
 DISTNAME=      gnupg-1.4.6
+PKGNAME=       ${DISTNAME}p0
 CATEGORIES=    security
 
 MASTER_SITES=  ftp://ftp.gnupg.org/gcrypt/gnupg/ \
Index: distinfo
===================================================================
RCS file: /cvs/ports/security/gnupg/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo    16 Jan 2007 09:50:36 -0000      1.15
+++ distinfo    12 Feb 2007 16:52:54 -0000
@@ -4,5 +4,7 @@ RMD160 (gnupg-1.4.6.tar.gz) = b6b0d60f74
 RMD160 (idea.c.gz) = e35be5a031d10d52341ac5f029d28f811edd908d
 SHA1 (gnupg-1.4.6.tar.gz) = 725993e7ac484a4e8842859e192c726e34450d98
 SHA1 (idea.c.gz) = 82fded4ec31b97b3b2dd22741880b67cfee40f84
+SHA256 (gnupg-1.4.6.tar.gz) = 
69fbc9548fb21a15f470bb16fbb750b876c0a2acf047c0a01c893fa82dd35b35
+SHA256 (idea.c.gz) = 
309928da34941dff1d6f6687542ff3d58306d85be9e1a9906bc4f9f8e6011844
 SIZE (gnupg-1.4.6.tar.gz) = 4414871
 SIZE (idea.c.gz) = 5216
Index: patches/patch-doc_gnupg1_texi
===================================================================
RCS file: patches/patch-doc_gnupg1_texi
diff -N patches/patch-doc_gnupg1_texi
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-doc_gnupg1_texi       12 Feb 2007 16:52:54 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- doc/gnupg1.texi.orig       Mon Feb 12 17:21:53 2007
++++ doc/gnupg1.texi    Mon Feb 12 17:22:22 2007
+@@ -48,7 +48,7 @@ section entitled ``Copying''.
+ 
+ @dircategory GNU Utilities
+ @direntry
+-* gpg: (gpg).            OpenPGP encryption and signing tool (v1).
++* gpg: (gnupg1).            OpenPGP encryption and signing tool (v1).
+ @end direntry
+ 
+ 

Reply via email to