Update to gpa. I simplified dependencies too:
* no need to RUN_DEPEND on a gnupg, as gpgme will do that. * gnupg is not needed to build. OK? P.S. The MASTER_SITES we have in the in-tree port at the moment is a bit dodgy. It happily served up a file called gpa-0.9.9.tar.bz2, but upon inspection it contained (what looked like) 0.7.6! For sanity, I verified the signature on the official release from gnupg.org, and it is good. Index: Makefile =================================================================== RCS file: /home/edd/cvsync/ports/security/gpa/Makefile,v retrieving revision 1.30 diff -u -p -r1.30 Makefile --- Makefile 20 Aug 2013 22:05:59 -0000 1.30 +++ Makefile 4 Sep 2016 11:48:42 -0000 @@ -2,8 +2,7 @@ COMMENT= graphical interface for GnuPG -DISTNAME= gpa-0.7.6 -REVISION= 7 +DISTNAME= gpa-0.9.9 CATEGORIES= security x11 HOMEPAGE= http://www.gnupg.org/gpa.html @@ -11,22 +10,18 @@ HOMEPAGE= http://www.gnupg.org/gpa.html # GPLv2 PERMIT_PACKAGE_CDROM= Yes -MASTER_SITES= http://wald.intevation.org/frs/download.php/350/ +MASTER_SITES = https://gnupg.org/ftp/gcrypt/gpa/ EXTRACT_SUFX= .tar.bz2 MODULES= devel/gettext -WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes -WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig -WANTLIB += freetype gdk_pixbuf-2.0 gdk-x11-2.0 gtk-x11-2.0 gio-2.0 -WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gpgme gthread-2.0 assuan -WANTLIB += gpg-error m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 -WANTLIB += png pthread pthread-stubs xcb xcb-render z -WANTLIB += GL xcb-shm - -RUN_DEPENDS= devel/desktop-file-utils \ - security/gnupg -BUILD_DEPENDS= security/gnupg +WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama +WANTLIB += Xrandr Xrender assuan atk-1.0 c cairo fontconfig freetype +WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 +WANTLIB += gpg-error gpgme gtk-x11-2.0 m pango-1.0 pangocairo-1.0 +WANTLIB += pangoft2-1.0 pthread z + +RUN_DEPENDS= devel/desktop-file-utils LIB_DEPENDS= security/gpgme \ x11/gtk+2 Index: distinfo =================================================================== RCS file: /home/edd/cvsync/ports/security/gpa/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo 18 Jan 2015 03:15:01 -0000 1.5 +++ distinfo 4 Sep 2016 10:51:27 -0000 @@ -1,2 +1,2 @@ -SHA256 (gpa-0.7.6.tar.bz2) = q7pZUloqIW34mlrE+dnVZL0Tf0wH53JjbewARqA0Thw= -SIZE (gpa-0.7.6.tar.bz2) = 607469 +SHA256 (gpa-0.9.9.tar.bz2) = aCjXOLnh08zpbS7JgxwJhzxMssh7pnoWHvVEhRksQzQ= +SIZE (gpa-0.9.9.tar.bz2) = 737975 Index: patches/patch-src_gpa_c =================================================================== RCS file: patches/patch-src_gpa_c diff -N patches/patch-src_gpa_c --- patches/patch-src_gpa_c 23 Mar 2010 13:32:39 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,16 +0,0 @@ -$OpenBSD: patch-src_gpa_c,v 1.1 2010/03/23 13:32:39 jasper Exp $ - -Fix implicit declaration of mkdir(). - ---- src/gpa.c.orig Tue Mar 23 14:23:22 2010 -+++ src/gpa.c Tue Mar 23 14:23:50 2010 -@@ -22,6 +22,9 @@ - #include <config.h> - #endif - -+#include <sys/types.h> -+#include <sys/stat.h> -+ - #include <gtk/gtk.h> - - #include <stdio.h> Index: pkg/PLIST =================================================================== RCS file: /home/edd/cvsync/ports/security/gpa/pkg/PLIST,v retrieving revision 1.8 diff -u -p -r1.8 PLIST --- pkg/PLIST 20 Aug 2013 22:05:59 -0000 1.8 +++ pkg/PLIST 4 Sep 2016 10:53:54 -0000 @@ -1,11 +1,11 @@ @comment $OpenBSD: PLIST,v 1.8 2013/08/20 22:05:59 zhuk Exp $ @bin bin/gpa +@man man/man1/gpa.1 share/applications/gpa.desktop share/gpa/ +share/gpa/gpa-logo.ppm share/gpa/gpa.png -share/gpa/gpa_logo.ppm -share/gpa/gpa_tips.de -share/gpa/gpa_tips.en +share/locale/ar/LC_MESSAGES/gpa.mo share/locale/cs/LC_MESSAGES/gpa.mo share/locale/de/LC_MESSAGES/gpa.mo share/locale/es/LC_MESSAGES/gpa.mo @@ -17,9 +17,7 @@ share/locale/pt_BR/LC_MESSAGES/gpa.mo share/locale/ru/LC_MESSAGES/gpa.mo share/locale/sv/LC_MESSAGES/gpa.mo share/locale/tr/LC_MESSAGES/gpa.mo -share/locale/zh_TW.Big5/ -share/locale/zh_TW.Big5/LC_MESSAGES/ -share/locale/zh_TW.Big5/LC_MESSAGES/gpa.mo +share/locale/zh_TW/LC_MESSAGES/gpa.mo share/pixmaps/ share/pixmaps/gpa.png @exec %D/bin/update-desktop-database -- Best Regards Edd Barrett http://www.theunixzoo.co.uk
