summaryrefslogtreecommitdiff
path: root/security/gnupg
diff options
context:
space:
mode:
authormellon <mellon>1999-04-07 23:01:27 +0000
committermellon <mellon>1999-04-07 23:01:27 +0000
commitbdb79f2d4d7db589a68664a3bf084b09bae978b6 (patch)
tree12d8792171bf363d83462a963aedb0e8aa3b9d48 /security/gnupg
parentab479ecbf14e9d0690d958cd0b28ea875472df29 (diff)
downloadpkgsrc-bdb79f2d4d7db589a68664a3bf084b09bae978b6.tar.gz
GNU Privacy Guard (a PGP replacement)
Diffstat (limited to 'security/gnupg')
-rw-r--r--security/gnupg/Makefile16
-rw-r--r--security/gnupg/files/md53
-rw-r--r--security/gnupg/patches/patch-aa33
-rw-r--r--security/gnupg/patches/patch-ab42
-rw-r--r--security/gnupg/patches/patch-ac22
-rw-r--r--security/gnupg/pkg/COMMENT1
-rw-r--r--security/gnupg/pkg/DESCR5
-rw-r--r--security/gnupg/pkg/PLIST19
8 files changed, 141 insertions, 0 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
new file mode 100644
index 00000000000..354db924c7f
--- /dev/null
+++ b/security/gnupg/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 1999/04/07 23:01:27 mellon Exp $
+# FreeBSD Id: Makefile,v 1.20 1997/08/27 13:06:01 ache Exp
+#
+
+DISTNAME= gnupg-0.9.5
+CATEGORIES= security
+MASTER_SITES= ftp://ftp.gnupg.org/pub/gcrypt/
+
+MAINTAINER= packages@NetBSD.ORG
+HOMEPAGE= http://www.gnupg.org
+
+.include "../../mk/bsd.pkg.mk"
+
+GNU_CONFIGURE= yes
+RESTRICTED= "Cryptographic software"
+MIRROR_DISTFILE=no
diff --git a/security/gnupg/files/md5 b/security/gnupg/files/md5
new file mode 100644
index 00000000000..833c80e1ac1
--- /dev/null
+++ b/security/gnupg/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1 1999/04/07 23:01:27 mellon Exp $
+
+MD5 (gnupg-0.9.5.tar.gz) = 4dfbebbf3d1bcf18fbaa6446918432fe
diff --git a/security/gnupg/patches/patch-aa b/security/gnupg/patches/patch-aa
new file mode 100644
index 00000000000..16a9afec200
--- /dev/null
+++ b/security/gnupg/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1 1999/04/07 23:01:27 mellon Exp $
+
+diff -rc2 gnupg-0.9.5/aclocal.m4 gnupg-0.9.5-hacked/aclocal.m4
+*** gnupg-0.9.5/aclocal.m4 Sat Mar 20 04:33:43 1999
+--- gnupg-0.9.5-hacked/aclocal.m4 Wed Apr 7 18:39:04 1999
+***************
+*** 213,217 ****
+ ;;
+
+! freebsd2* | osf4* )
+ CFLAGS_RDYNAMIC=""
+ ;;
+--- 213,217 ----
+ ;;
+
+! freebsd2* | osf4* | netbsd*)
+ CFLAGS_RDYNAMIC=""
+ ;;
+***************
+*** 418,421 ****
+--- 418,429 ----
+ solaris*)
+ ac_symcode='[BDTU]'
++ ;;
++ esac
++
++ # NetBSD/i386 has leading underscores.
++ case "$target" in
++ i[3456]86*-*-netbsd* | pentium-*-netbsd* | pentiumpro-*-netbsd*)
++ ac_sympat='_\([_A-Za-z][_A-Za-z0-9]*\)'
++ ac_symxfrm='_\1 \1'
+ ;;
+ esac
diff --git a/security/gnupg/patches/patch-ab b/security/gnupg/patches/patch-ab
new file mode 100644
index 00000000000..5f067e6d5bf
--- /dev/null
+++ b/security/gnupg/patches/patch-ab
@@ -0,0 +1,42 @@
+$NetBSD: patch-ab,v 1.1 1999/04/07 23:01:27 mellon Exp $
+
+diff -rc2 gnupg-0.9.5/configure gnupg-0.9.5-hacked/configure
+*** gnupg-0.9.5/configure Sat Mar 20 04:34:01 1999
+--- gnupg-0.9.5-hacked/configure Wed Apr 7 17:38:32 1999
+***************
+*** 1597,1600 ****
+--- 1597,1607 ----
+ esac
+
++ case "$target" in
++ i[3456]86*-*-netbsd* | pentium-*-netbsd* | pentiumpro-*-netbsd*)
++ ac_sympat='_\([_A-Za-z][_A-Za-z0-9]*\)'
++ ac_symxfrm='_\1 \1'
++ ;;
++ esac
++
+ # If we're using GNU nm, then use its standard symbol codes.
+ if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
+***************
+*** 1841,1845 ****
+ ;;
+
+! freebsd2* | osf4* )
+ CFLAGS_RDYNAMIC=""
+ ;;
+--- 1848,1852 ----
+ ;;
+
+! freebsd2* | osf4* | netbsd*)
+ CFLAGS_RDYNAMIC=""
+ ;;
+***************
+*** 1879,1882 ****
+--- 1886,1892 ----
+ NAME_OF_DEV_RANDOM="/dev/srandom"
+ NAME_OF_DEV_URANDOM="/dev/urandom"
++ DYNLINK_MOD_CFLAGS="-shared -rdynamic -fpic -Wl,-Bshareable -Wl,-x"
++ ;;
++ *-netbsd*)
+ DYNLINK_MOD_CFLAGS="-shared -rdynamic -fpic -Wl,-Bshareable -Wl,-x"
+ ;;
diff --git a/security/gnupg/patches/patch-ac b/security/gnupg/patches/patch-ac
new file mode 100644
index 00000000000..1e803f8bc84
--- /dev/null
+++ b/security/gnupg/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1 1999/04/07 23:01:27 mellon Exp $
+
+diff -rc2 gnupg-0.9.5/mpi/config.links gnupg-0.9.5-hacked/mpi/config.links
+*** gnupg-0.9.5/mpi/config.links Mon Mar 8 12:51:20 1999
+--- gnupg-0.9.5-hacked/mpi/config.links Wed Apr 7 16:43:18 1999
+***************
+*** 35,38 ****
+--- 35,48 ----
+ path="i586 i386"
+ ;;
++ i[34]86*-*-netbsd*)
++ echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h
++ cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h
++ path="i386"
++ ;;
++ i[56]86*-*-netbsd* | pentium-*-netbsd* | pentiumpro-*-netbsd*)
++ echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h
++ cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h
++ path="i586 i386"
++ ;;
+ i[34]86*-*-*)
+ echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
diff --git a/security/gnupg/pkg/COMMENT b/security/gnupg/pkg/COMMENT
new file mode 100644
index 00000000000..59f061a7ed8
--- /dev/null
+++ b/security/gnupg/pkg/COMMENT
@@ -0,0 +1 @@
+GNU Privacy Gard (PGP)
diff --git a/security/gnupg/pkg/DESCR b/security/gnupg/pkg/DESCR
new file mode 100644
index 00000000000..5c86a733f9a
--- /dev/null
+++ b/security/gnupg/pkg/DESCR
@@ -0,0 +1,5 @@
+GNU Privacy Guard
+
+GnuPG is a complete and free replacement for PGP. Because it does not use
+IDEA or RSA it can be used without any restrictions. GnuPG is nearly in
+compliance with RFC2440 (OpenPGP).
diff --git a/security/gnupg/pkg/PLIST b/security/gnupg/pkg/PLIST
new file mode 100644
index 00000000000..f8b1f787ce5
--- /dev/null
+++ b/security/gnupg/pkg/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 1999/04/07 23:01:28 mellon Exp $
+bin/gpg
+bin/gpgm
+lib/gnupg/rndlinux
+lib/gnupg/rndegd
+lib/gnupg/tiger
+lib/gnupg/twofish
+man/man1/gpg.1
+man/man1/gpgm.1
+share/gnupg/options.skel
+share/locale/de/LC_MESSAGES/gnupg.mo
+share/locale/es_ES/LC_MESSAGES/gnupg.mo
+share/locale/fr/LC_MESSAGES/gnupg.mo
+share/locale/it/LC_MESSAGES/gnupg.mo
+share/locale/pl/LC_MESSAGES/gnupg.mo
+share/locale/pt_BR/LC_MESSAGES/gnupg.mo
+share/locale/ru/LC_MESSAGES/gnupg.mo
+@dirrm share/gnupg
+@dirrm lib/gnupg