summaryrefslogtreecommitdiff
path: root/security/gnupg
diff options
context:
space:
mode:
Diffstat (limited to 'security/gnupg')
-rw-r--r--security/gnupg/Makefile52
-rw-r--r--security/gnupg/PLIST9
-rw-r--r--security/gnupg/distinfo16
-rw-r--r--security/gnupg/patches/patch-aa8
-rw-r--r--security/gnupg/patches/patch-ab6
-rw-r--r--security/gnupg/patches/patch-ac11
-rw-r--r--security/gnupg/patches/patch-ad35
-rw-r--r--security/gnupg/patches/patch-ae13
-rw-r--r--security/gnupg/patches/patch-af15
-rw-r--r--security/gnupg/patches/patch-ak8
10 files changed, 33 insertions, 140 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 76e2b845943..7631d05ee13 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.71 2004/11/08 21:17:01 tv Exp $
+# $NetBSD: Makefile,v 1.72 2004/12/25 02:54:13 wiz Exp $
-DISTNAME= gnupg-1.2.6
-PKGREVISION= 1
+DISTNAME= gnupg-1.4.0
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/ \
- ftp://ftp.planetmirror.com/pub/gnupg/gnupg/ \
+ ftp://ftp.planetmirror.com/pub/gnupg/ \
ftp://gd.tuwien.ac.at/privacy/gnupg/gnupg/ \
ftp://ftp.jyu.fi/pub/crypt/gcrypt/gnupg/ \
- ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/gnupg/
+ ftp://ftp.cert.dfn.de/pub/tools/crypt/gcrypt/gnupg/ \
+ ftp://ftp.ring.gr.jp/pub/net/gnupg/gnupg/
EXTRACT_SUFX= .tar.bz2
-# don't remove this -- we may add idea.c.gz to it below
+# don't remove this -- we may add idea.c.gz to it in options.mk
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= wiz@NetBSD.org
@@ -24,7 +24,7 @@ GNU_CONFIGURE= yes
USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
USE_GNU_TOOLS+= make
-CONFIGURE_ARGS+= --enable-tiger --with-static-rnd=auto
+CONFIGURE_ARGS+= --with-static-rnd=auto
CONFIGURE_ARGS+= --with-mailprog=/usr/sbin/sendmail
TEST_TARGET= check
@@ -32,45 +32,12 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
INFO_FILES= gpg.info gpgv.info
-.include "../../mk/bsd.prefs.mk"
-
-BUILD_DEFS+= USE_I586 USE_IDEA USE_OPENLDAP M68060
-
-.if defined(USE_I586) && ${USE_I586} == YES
-# use assembler routines optimized for i586
-ONLY_FOR_PLATFORM= *-*-i386
-MACHINE_GNU_ARCH= i586
-.endif
-
-.if defined(M68060) && ${M68060} == YES
-# be more efficient on M68060 machines
-CONFIGURE_ENV+= M68060=${M68060}
-CFLAGS+= -m68060
-.endif
-
-.if defined(USE_IDEA) && ${USE_IDEA} == YES
-# use of IDEA as crypto function
-LICENCE= fee-based-commercial-use
-DISTFILES+= idea.c.gz
-SITES_idea.c.gz=ftp://ftp.gnupg.dk/pub/contrib-dk/ \
- http://www.gnupg.dk/contrib-dk/
+.include "options.mk"
INSTALLATION_DIRS= bin libexec/gnupg man/man1 man/man7 share/gnupg
-pre-configure:
- ${GZCAT} ${DISTDIR}/idea.c.gz > ${WRKSRC}/cipher/idea.c
-.endif
-
-.if defined(USE_OPENLDAP) && ${USE_OPENLDAP} == YES
-.include "../../databases/openldap/buildlink3.mk"
-PLIST_SUBST+= OPENLDAP=""
-.else
-CONFIGURE_ARGS+=--disable-ldap
-PLIST_SUBST+= OPENLDAP="@comment "
-.endif
-
+# XXX: still needed?
.if ${OPSYS} == "FreeBSD"
-
SUBST_CLASSES= fixme
SUBST_STAGE.fixme= post-configure
SUBST_FILES.fixme= mpi/i386/mpih-add1.S mpi/i386/mpih-lshift.S \
@@ -78,7 +45,6 @@ SUBST_FILES.fixme= mpi/i386/mpih-add1.S mpi/i386/mpih-lshift.S \
mpi/i386/mpih-mul3.S mpi/i386/mpih-rshift.S \
mpi/i386/mpih-sub1.S
SUBST_SED.fixme= -e "s,ALIGN (3),ALIGN (4),g"
-
.endif
post-install:
diff --git a/security/gnupg/PLIST b/security/gnupg/PLIST
index 1fa65f12a50..8bb28b905cd 100644
--- a/security/gnupg/PLIST
+++ b/security/gnupg/PLIST
@@ -1,10 +1,14 @@
-@comment $NetBSD: PLIST,v 1.13 2004/07/28 15:17:42 wiz Exp $
+@comment $NetBSD: PLIST,v 1.14 2004/12/25 02:54:13 wiz Exp $
bin/gpg
bin/gpgsplit
bin/gpgv
+libexec/gnupg/gpgkeys_finger
+libexec/gnupg/gpgkeys_hkp
+libexec/gnupg/gpgkeys_http
libexec/gnupg/gpgkeys_mailto
${OPENLDAP}libexec/gnupg/gpgkeys_ldap
man/man1/gpg.1
+man/man1/gpg.ru.1
man/man1/gpgv.1
man/man7/gnupg.7
share/gnupg/DETAILS
@@ -17,6 +21,8 @@ ${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/gnupg.mo
${PKGLOCALEDIR}/locale/da/LC_MESSAGES/gnupg.mo
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/gnupg.mo
${PKGLOCALEDIR}/locale/el/LC_MESSAGES/gnupg.mo
+${PKGLOCALEDIR}/locale/en@boldquot/LC_MESSAGES/gnupg.mo
+${PKGLOCALEDIR}/locale/en@quot/LC_MESSAGES/gnupg.mo
${PKGLOCALEDIR}/locale/eo/LC_MESSAGES/gnupg.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/gnupg.mo
${PKGLOCALEDIR}/locale/et/LC_MESSAGES/gnupg.mo
@@ -27,7 +33,6 @@ ${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/gnupg.mo
${PKGLOCALEDIR}/locale/id/LC_MESSAGES/gnupg.mo
${PKGLOCALEDIR}/locale/it/LC_MESSAGES/gnupg.mo
${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/gnupg.mo
-${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/gnupg.mo
${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/gnupg.mo
${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/gnupg.mo
${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/gnupg.mo
diff --git a/security/gnupg/distinfo b/security/gnupg/distinfo
index 73e0ed13047..0c96a9773ad 100644
--- a/security/gnupg/distinfo
+++ b/security/gnupg/distinfo
@@ -1,13 +1,9 @@
-$NetBSD: distinfo,v 1.31 2004/08/26 13:39:05 lukem Exp $
+$NetBSD: distinfo,v 1.32 2004/12/25 02:54:13 wiz Exp $
-SHA1 (gnupg-1.2.6.tar.bz2) = 4bc72a7307c4d57618cdba48ad0c6148c1f00a74
-Size (gnupg-1.2.6.tar.bz2) = 2550665 bytes
+SHA1 (gnupg-1.4.0.tar.bz2) = 0054635a131b7af383e956fa9e1520ac44cad116
+Size (gnupg-1.4.0.tar.bz2) = 2722669 bytes
SHA1 (idea.c.gz) = 82fded4ec31b97b3b2dd22741880b67cfee40f84
Size (idea.c.gz) = 5216 bytes
-SHA1 (patch-aa) = 3babbdc4386f0edaed4a6e1bb851312528d6ff9e
-SHA1 (patch-ab) = af66565a44b5db979dc1362733193f3d6888a34f
-SHA1 (patch-ac) = cc029e0b2dcc18b1d8de0c1145719bb2bf329467
-SHA1 (patch-ad) = fc9e85c88e53738faa47f55b769e98dce2c190dc
-SHA1 (patch-ae) = 827cdfbc4ed04c382f593051188a5aad0977b0ed
-SHA1 (patch-af) = bdc03318447a78ac52b3dbefc59f90fcebc0b20d
-SHA1 (patch-ak) = bf0d2648382f8737bdda4eac486f23ee76f43b4f
+SHA1 (patch-aa) = 2916ba7403fea027d872fe62ce271c2e8b8ac3be
+SHA1 (patch-ab) = 29a7d0b736322eb1ecf0925a2419b513f323000e
+SHA1 (patch-ak) = d6a13c41905c7d0c5bf883add227bc7d5267dc06
diff --git a/security/gnupg/patches/patch-aa b/security/gnupg/patches/patch-aa
index 45bd3fce2e0..3989b307889 100644
--- a/security/gnupg/patches/patch-aa
+++ b/security/gnupg/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.9 2003/08/25 21:25:25 itojun Exp $
+$NetBSD: patch-aa,v 1.10 2004/12/25 02:54:13 wiz Exp $
---- cipher/idea-stub.c.orig 2003-07-31 00:15:51.000000000 +0900
-+++ cipher/idea-stub.c 2003-08-26 06:19:38.000000000 +0900
-@@ -131,9 +131,9 @@
+--- cipher/idea-stub.c.orig 2004-11-17 16:50:56.000000000 +0100
++++ cipher/idea-stub.c
+@@ -132,9 +132,9 @@ load_module (const char *name)
}
sym = dlsym (handle, "idea_get_info");
diff --git a/security/gnupg/patches/patch-ab b/security/gnupg/patches/patch-ab
index c5dbb32a6b4..35edcd63aa4 100644
--- a/security/gnupg/patches/patch-ab
+++ b/security/gnupg/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.23 2004/07/28 15:17:42 wiz Exp $
+$NetBSD: patch-ab,v 1.24 2004/12/25 02:54:13 wiz Exp $
---- mpi/config.links.orig 2004-01-13 12:21:39.000000000 +0100
+--- mpi/config.links.orig 2004-10-26 19:06:47.000000000 +0200
+++ mpi/config.links
-@@ -197,6 +197,14 @@ case "${target}" in
+@@ -197,6 +197,14 @@ case "${host}" in
cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h
path="m68k"
;;
diff --git a/security/gnupg/patches/patch-ac b/security/gnupg/patches/patch-ac
deleted file mode 100644
index 909de271793..00000000000
--- a/security/gnupg/patches/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
-$NetBSD: patch-ac,v 1.15 2004/07/28 15:17:42 wiz Exp $
-
-ftp://ftp.kame.net/pub/kame/misc/gnupg-1.2.2-IPv6.diff.gz
-
---- config.h.in.orig 2004-07-26 14:26:11.000000000 +0200
-+++ config.h.in
-@@ -616,3 +616,4 @@
-
- #include "g10defs.h"
-
-+#undef HAVE_GETADDRINFO
diff --git a/security/gnupg/patches/patch-ad b/security/gnupg/patches/patch-ad
deleted file mode 100644
index 984a339f55e..00000000000
--- a/security/gnupg/patches/patch-ad
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-ad,v 1.5 2003/12/25 14:05:02 wiz Exp $
-
-ftp://ftp.kame.net/pub/kame/misc/gnupg-1.2.2-IPv6.diff.gz
-
---- util/http.c.orig Tue Dec 23 18:33:34 2003
-+++ util/http.c
-@@ -751,6 +751,28 @@ connect_server( const char *server, usho
- sock_close (sd);
- return -1;
- }
-+#elif defined(HAVE_GETADDRINFO)
-+ struct addrinfo hints, *res0, *res;
-+ char portstr[20];
-+
-+ memset(&hints, 0, sizeof(hints));
-+ hints.ai_socktype = SOCK_STREAM;
-+ snprintf(portstr, sizeof(portstr), "%u", port);
-+ if (getaddrinfo(server, portstr, &hints, &res0) != 0)
-+ return -1;
-+ for (res = res0; res; res = res->ai_next) {
-+ sd = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
-+ if (sd < 0)
-+ continue;
-+ if (connect(sd, res->ai_addr, res->ai_addrlen) < 0) {
-+ close(sd);
-+ sd = -1;
-+ continue;
-+ }
-+ break;
-+ }
-+ freeaddrinfo(res0);
-+ return sd;
- #else
- struct sockaddr_in addr;
- struct hostent *host;
diff --git a/security/gnupg/patches/patch-ae b/security/gnupg/patches/patch-ae
deleted file mode 100644
index 14dbbf4ea89..00000000000
--- a/security/gnupg/patches/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.7 2004/07/28 15:17:42 wiz Exp $
-
---- configure.ac.orig 2004-07-26 14:18:06.000000000 +0200
-+++ configure.ac
-@@ -633,7 +633,7 @@ AC_CHECK_FUNCS(strerror stpcpy strsep st
- AC_CHECK_FUNCS(strcasecmp strncasecmp ctermid times)
- AC_CHECK_FUNCS(memmove gettimeofday getrusage setrlimit clock_gettime)
- AC_CHECK_FUNCS(atexit raise getpagesize strftime nl_langinfo setlocale)
--AC_CHECK_FUNCS(waitpid wait4 sigaction sigprocmask rand pipe stat)
-+AC_CHECK_FUNCS(waitpid wait4 sigaction sigprocmask rand pipe stat getaddrinfo)
- AC_REPLACE_FUNCS(mkdtemp)
- AC_CHECK_TYPES([struct sigaction, sigset_t],,,[#include <signal.h>])
-
diff --git a/security/gnupg/patches/patch-af b/security/gnupg/patches/patch-af
deleted file mode 100644
index 046eeedcbf0..00000000000
--- a/security/gnupg/patches/patch-af
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-af,v 1.6 2004/07/28 15:17:42 wiz Exp $
-
-ftp://ftp.kame.net/pub/kame/misc/gnupg-1.2.2-IPv6.diff.gz
-
---- configure.orig Tue Dec 23 14:28:22 2003
-+++ configure
-@@ -13579,7 +13579,7 @@ done
-
-
-
--for ac_func in waitpid wait4 sigaction sigprocmask rand pipe stat
-+for ac_func in waitpid wait4 sigaction sigprocmask rand pipe stat getaddrinfo
- do
- as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
- echo "$as_me:$LINENO: checking for $ac_func" >&5
diff --git a/security/gnupg/patches/patch-ak b/security/gnupg/patches/patch-ak
index f8bb135e776..b36907ce81a 100644
--- a/security/gnupg/patches/patch-ak
+++ b/security/gnupg/patches/patch-ak
@@ -1,8 +1,8 @@
-$NetBSD: patch-ak,v 1.1 2003/12/01 14:16:17 he Exp $
+$NetBSD: patch-ak,v 1.2 2004/12/25 02:54:13 wiz Exp $
---- include/types.h.orig Wed Jul 30 09:44:43 2003
-+++ include/types.h Sun Nov 30 12:04:15 2003
-@@ -103,7 +103,12 @@
+--- include/types.h.orig 2003-09-28 13:35:29.000000000 +0200
++++ include/types.h
+@@ -103,7 +103,12 @@ typedef unsigned long u32;
#undef u64 /* maybe there is a macro with this name */
#if SIZEOF_UINT64_T == 8
typedef uint64_t u64;