aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-08-17 05:02:12 +0800
committerade <ade@FreeBSD.org>2000-08-17 05:02:12 +0800
commit68597a34dda4451e26d618934317820da6ac1a28 (patch)
tree6922b4e1f36469f62b88ffadb94d69f6d4986713
parent6b5ff7690188e460b43fafc443a9534950612ccd (diff)
downloadfreebsd-ports-gnome-68597a34dda4451e26d618934317820da6ac1a28.tar.gz
freebsd-ports-gnome-68597a34dda4451e26d618934317820da6ac1a28.tar.zst
freebsd-ports-gnome-68597a34dda4451e26d618934317820da6ac1a28.zip
The GNU Privacy Assistant is a graphical frontend to GnuPG and may be
used to manage the keys and encrypt/decrypt/sign/check files. Submitted by: Clive Lin <clive@CirX.ORG>
-rw-r--r--security/Makefile1
-rw-r--r--security/gpa/Makefile28
-rw-r--r--security/gpa/distinfo1
-rw-r--r--security/gpa/files/patch-aa11
-rw-r--r--security/gpa/files/patch-ab10
-rw-r--r--security/gpa/files/patch-ac11
-rw-r--r--security/gpa/files/patch-ad20
-rw-r--r--security/gpa/pkg-comment1
-rw-r--r--security/gpa/pkg-descr3
-rw-r--r--security/gpa/pkg-plist2
10 files changed, 88 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index cd89a2816ad6..ac07d6804533 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -25,6 +25,7 @@
SUBDIR += gag
SUBDIR += gnupg
SUBDIR += gnupg-rsa
+ SUBDIR += gpa
SUBDIR += gpasman
SUBDIR += gtkportscan
SUBDIR += heimdal
diff --git a/security/gpa/Makefile b/security/gpa/Makefile
new file mode 100644
index 000000000000..4c9494615f1b
--- /dev/null
+++ b/security/gpa/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: gpa
+# Date created: 16 August 2000
+# Whom: Clive Lin <clive@CirX.ORG>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gpa
+PORTVERSION= 0.3.1
+CATEGORIES= security
+MASTER_SITES= ftp://ftp.gnupg.org/pub/gcrypt/devel/
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg
+
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ MAKE="gmake" \
+ GTK_CONFIG="${GTK_CONFIG}" \
+ LIBS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.mk>
diff --git a/security/gpa/distinfo b/security/gpa/distinfo
new file mode 100644
index 000000000000..59a25dc2fc5e
--- /dev/null
+++ b/security/gpa/distinfo
@@ -0,0 +1 @@
+MD5 (gpa-0.3.1.tar.gz) = 9076bd76dc1496b6d7e384c5b95e8810
diff --git a/security/gpa/files/patch-aa b/security/gpa/files/patch-aa
new file mode 100644
index 000000000000..9457f0ca50a2
--- /dev/null
+++ b/security/gpa/files/patch-aa
@@ -0,0 +1,11 @@
+--- jnlib/argparse.h.orig Thu Aug 17 00:31:34 2000
++++ jnlib/argparse.h Thu Aug 17 00:31:54 2000
+@@ -34,7 +34,7 @@
+ union {
+ int ret_int;
+ long ret_long;
+- ulong ret_ulong;
++ unsigned long ret_ulong;
+ char *ret_str;
+ } r; /* Return values */
+ struct {
diff --git a/security/gpa/files/patch-ab b/security/gpa/files/patch-ab
new file mode 100644
index 000000000000..ece7ecf0348d
--- /dev/null
+++ b/security/gpa/files/patch-ab
@@ -0,0 +1,10 @@
+--- jnlib/stringhelp.c.orig Wed Aug 16 23:59:35 2000
++++ jnlib/stringhelp.c Thu Aug 17 00:14:30 2000
+@@ -26,6 +26,7 @@
+ #include "libjnlib-config.h"
+ #include "stringhelp.h"
+
++#include <gtk/gtk.h>
+
+ /****************
+ * look for the substring SUB in buffer and return a pointer to that
diff --git a/security/gpa/files/patch-ac b/security/gpa/files/patch-ac
new file mode 100644
index 000000000000..b2ee16789350
--- /dev/null
+++ b/security/gpa/files/patch-ac
@@ -0,0 +1,11 @@
+--- configure.orig Thu Aug 17 01:48:35 2000
++++ configure Thu Aug 17 01:49:01 2000
+@@ -2685,7 +2685,7 @@
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ CATOBJEXT=.mo
+- DATADIRNAME=lib
++ DATADIRNAME=share
+ fi
+ rm -f conftest*
+ INSTOBJEXT=.mo
diff --git a/security/gpa/files/patch-ad b/security/gpa/files/patch-ad
new file mode 100644
index 000000000000..7e8e141a840c
--- /dev/null
+++ b/security/gpa/files/patch-ad
@@ -0,0 +1,20 @@
+--- src/gpa.c.orig Thu Aug 17 01:57:46 2000
++++ src/gpa.c Thu Aug 17 01:58:17 2000
+@@ -135,6 +135,7 @@
+ #ifdef HAVE_LC_MESSAGES
+ setlocale( LC_TIME, "" );
+ setlocale( LC_MESSAGES, "" );
++ gtk_set_locale ();
+ #else
+ setlocale( LC_ALL, "" );
+ #endif
+@@ -161,8 +162,8 @@
+
+ set_strusage( my_strusage );
+ /*log_set_name ("gpa"); notyet implemented in logging.c */
+- i18n_init ();
+ gtk_init (&argc, &argv);
++ i18n_init ();
+
+ opt.homedir = getenv("GNUPGHOME");
+ if( !opt.homedir || !*opt.homedir ) {
diff --git a/security/gpa/pkg-comment b/security/gpa/pkg-comment
new file mode 100644
index 000000000000..1eb8b9c160c1
--- /dev/null
+++ b/security/gpa/pkg-comment
@@ -0,0 +1 @@
+This is a graphical frontend for the GNU Privacy Guard
diff --git a/security/gpa/pkg-descr b/security/gpa/pkg-descr
new file mode 100644
index 000000000000..77ec79e612ec
--- /dev/null
+++ b/security/gpa/pkg-descr
@@ -0,0 +1,3 @@
+The GNU Privacy Assistant is a graphical frontend to GnuPG and may be
+used to manage the keys and encrypt/decrypt/sign/check files. It is much
+like Seahorse.
diff --git a/security/gpa/pkg-plist b/security/gpa/pkg-plist
new file mode 100644
index 000000000000..67a1e0bff464
--- /dev/null
+++ b/security/gpa/pkg-plist
@@ -0,0 +1,2 @@
+bin/gpa
+share/locale/de/LC_MESSAGES/gpa.mo