pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/gnupg Apply the patch from PR pkg/21493. Thi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ccc6b3b667d
branches:  trunk
changeset: 471719:5ccc6b3b667d
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Mar 30 15:13:12 2004 +0000

description:
Apply the patch from PR pkg/21493.  This is now submitted to gnupg.org as
bug gnupg/293, so grant has blessed it for inclusion in pkgsrc.

No more GNU sed build dependency, but the binaries do not change; thus
PKGREVISION untouched.

diffstat:

 security/gnupg/Makefile         |   4 ++--
 security/gnupg/distinfo         |   5 +++--
 security/gnupg/patches/patch-af |  23 +++++++++++++++++++++--
 security/gnupg/patches/patch-ag |  22 ++++++++++++++++++++++
 4 files changed, 48 insertions(+), 6 deletions(-)

diffs (95 lines):

diff -r 24f878120ed8 -r 5ccc6b3b667d security/gnupg/Makefile
--- a/security/gnupg/Makefile   Tue Mar 30 14:55:27 2004 +0000
+++ b/security/gnupg/Makefile   Tue Mar 30 15:13:12 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2004/03/30 09:05:56 grant Exp $
+# $NetBSD: Makefile,v 1.63 2004/03/30 15:13:12 tv Exp $
 
 DISTNAME=      gnupg-1.2.4
 PKGREVISION=   1
@@ -21,7 +21,7 @@
 GNU_CONFIGURE=         yes
 USE_BUILDLINK2=                yes
 USE_PKGLOCALEDIR=      yes
-USE_GNU_TOOLS+=                make sed
+USE_GNU_TOOLS+=                make
 CONFIGURE_ARGS+=       --enable-tiger --with-static-rnd=auto
 TEST_TARGET=           check
 
diff -r 24f878120ed8 -r 5ccc6b3b667d security/gnupg/distinfo
--- a/security/gnupg/distinfo   Tue Mar 30 14:55:27 2004 +0000
+++ b/security/gnupg/distinfo   Tue Mar 30 15:13:12 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2004/03/01 19:12:25 wiz Exp $
+$NetBSD: distinfo,v 1.27 2004/03/30 15:13:12 tv Exp $
 
 SHA1 (gnupg-1.2.4.tar.bz2) = 10972d11aeb9f88369557f351f0e9d95542e778b
 Size (gnupg-1.2.4.tar.bz2) = 2377277 bytes
@@ -9,5 +9,6 @@
 SHA1 (patch-ac) = bf663caa3d7f9b9bb8c4b3f698038efc0683f9cd
 SHA1 (patch-ad) = fc9e85c88e53738faa47f55b769e98dce2c190dc
 SHA1 (patch-ae) = 287a24a881d6886e8a6be5f2826ffa2ea85aadbf
-SHA1 (patch-af) = 5207b2ce4abb59729b9c6b75693b1e4013764280
+SHA1 (patch-af) = f794a577f42f80cf1b7d0149bdc7d932f6607f24
+SHA1 (patch-ag) = 1553d3919211a1a43ea2afe56a046580208fb096
 SHA1 (patch-ak) = bf0d2648382f8737bdda4eac486f23ee76f43b4f
diff -r 24f878120ed8 -r 5ccc6b3b667d security/gnupg/patches/patch-af
--- a/security/gnupg/patches/patch-af   Tue Mar 30 14:55:27 2004 +0000
+++ b/security/gnupg/patches/patch-af   Tue Mar 30 15:13:12 2004 +0000
@@ -1,9 +1,28 @@
-$NetBSD: patch-af,v 1.4 2003/12/25 14:05:02 wiz Exp $
+$NetBSD: patch-af,v 1.5 2004/03/30 15:13:12 tv Exp $
 
+Parts from:
 ftp://ftp.kame.net/pub/kame/misc/gnupg-1.2.2-IPv6.diff.gz
 
---- configure.orig     Tue Dec 23 20:28:22 2003
+--- configure.orig     Tue Dec 23 14:28:22 2003
 +++ configure
+@@ -4601,7 +4601,7 @@ extern "C" {
+ 
+ EOF
+         # Now generate the symbol file.
+-        sed 's/^.* _\?\(.*\)$/extern char \1;/' < "$ac_nlist" >> conftest.c
++        sed 's/^.* _\{0,1\}\(.*\)$/extern char \1;/' < "$ac_nlist" >> conftest.c
+ 
+         cat <<EOF >> conftest.c
+ #if defined (__STDC__) && __STDC__
+@@ -4621,7 +4621,7 @@ struct {
+ dld_preloaded_symbols[] =
+ {
+ EOF
+-        sed 's/^_\?\(.*\) _\?\(.*\)$/  {"\1", (__ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c
++        sed 's/^_\{0,1\}/\(.*\) _\{0,1\}\(.*\)$/  {"\1", (__ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c
+         cat <<\EOF >> conftest.c
+   {0, (__ptr_t) 0}
+ };
 @@ -13579,7 +13579,7 @@ done
  
  
diff -r 24f878120ed8 -r 5ccc6b3b667d security/gnupg/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnupg/patches/patch-ag   Tue Mar 30 15:13:12 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ag,v 1.1 2004/03/30 15:13:12 tv Exp $
+
+--- acinclude.m4.orig  Tue Apr 15 08:16:18 2003
++++ acinclude.m4
+@@ -588,7 +588,7 @@ extern "C" {
+ 
+ EOF
+         # Now generate the symbol file.
+-        sed 's/^.* _\?\(.*\)$/extern char \1;/' < "$ac_nlist" >> conftest.c
++        sed 's/^.* _\{0,1\}\(.*\)$/extern char \1;/' < "$ac_nlist" >> conftest.c
+ 
+         cat <<EOF >> conftest.c
+ #if defined (__STDC__) && __STDC__
+@@ -610,7 +610,7 @@ dld_preloaded_symbols[] =
+ changequote([,])dnl
+ {
+ EOF
+-        sed 's/^_\?\(.*\) _\?\(.*\)$/  {"\1", (__ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c
++        sed 's/^_\{0,1\}/\(.*\) _\{0,1\}\(.*\)$/  {"\1", (__ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c
+         cat <<\EOF >> conftest.c
+   {0, (__ptr_t) 0}
+ };



Home | Main Index | Thread Index | Old Index