summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2015-09-24 23:33:08 +0000
committerryoon <ryoon@pkgsrc.org>2015-09-24 23:33:08 +0000
commit49074949baf9dabd3bd2bfa14b409972364c5d0c (patch)
tree78abd48e5d34e10fdceffeac3d40ece94f419214 /security
parent09bebfee5ccd89676213419133cc2f86a2a629ea (diff)
downloadpkgsrc-49074949baf9dabd3bd2bfa14b409972364c5d0c.tar.gz
Bump PKGREVISION
* Do not abuse buildlink3. * Use GnuPG 2.0 explicitly.
Diffstat (limited to 'security')
-rw-r--r--security/gpgme/Makefile3
-rw-r--r--security/gpgme/options.mk10
-rw-r--r--security/qca2-gnupg/Makefile7
3 files changed, 12 insertions, 8 deletions
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index eae88578990..92e1672b09f 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.76 2015/08/27 03:39:20 mef Exp $
+# $NetBSD: Makefile,v 1.77 2015/09/24 23:33:08 ryoon Exp $
DISTNAME= gpgme-1.6.0
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gpgme/
EXTRACT_SUFX= .tar.bz2
diff --git a/security/gpgme/options.mk b/security/gpgme/options.mk
index 356e633ad6d..894f9ae9e68 100644
--- a/security/gpgme/options.mk
+++ b/security/gpgme/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2011/03/03 11:39:47 adam Exp $
+# $NetBSD: options.mk,v 1.2 2015/09/24 23:33:08 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gpgme
PKG_SUPPORTED_OPTIONS= gpgsm
@@ -10,9 +10,11 @@ PKG_SUGGESTED_OPTIONS= gpgsm
## Option to build with gpgsm. This provides SMIME support
##
.if !empty(PKG_OPTIONS:Mgpgsm)
-. include "../../security/gnupg2/buildlink3.mk"
-CONFIGURE_ARGS+= --with-gpgsm=${BUILDLINK_PREFIX.gnupg2}/bin/gpgsm
-CONFIGURE_ARGS+= --with-gpg=${BUILDLINK_PREFIX.gnupg2}/bin/gpg2
+DEPENDS+= gnupg2>=2.0<2.1:../../security/gnupg2
+FIND_PREFIX:= GPG2DIR=gnupg2
+.include "../../mk/find-prefix.mk"
+CONFIGURE_ARGS+= --with-gpgsm=${GPG2DIR}/bin/gpgsm
+CONFIGURE_ARGS+= --with-gpg=${GPG2DIR}/bin/gpg2
REPLACE_SH+= tests/gpg/pinentry
.else
DEPENDS+= gnupg>=1.4.2:../../security/gnupg
diff --git a/security/qca2-gnupg/Makefile b/security/qca2-gnupg/Makefile
index c62965098cd..bf7d76fd211 100644
--- a/security/qca2-gnupg/Makefile
+++ b/security/qca2-gnupg/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.18 2015/04/25 14:24:49 tnn Exp $
+# $NetBSD: Makefile,v 1.19 2015/09/24 23:34:00 ryoon Exp $
DISTNAME= qca-gnupg-2.0.0-beta3
PKGNAME= qca2-gnupg-${DISTNAME:S/-beta/beta/:C/.*-//}
-PKGREVISION= 16
+PKGREVISION= 17
CATEGORIES= security
MASTER_SITES= http://delta.affinix.com/download/qca/2.0/plugins/
EXTRACT_SUFX= .tar.bz2
@@ -12,6 +12,8 @@ HOMEPAGE= http://delta.affinix.com/qca/
COMMENT= Cross-platform crypto API for QT - GnuPG plugin
LICENSE= gnu-lgpl-v2.1
+DEPENDS+= gnupg2>=2.0<2.1:../../security/gnupg2
+
USE_TOOLS+= gmake
USE_LIBTOOL= yes
HAS_CONFIGURE= yes
@@ -24,5 +26,4 @@ CONFIGURE_ARGS+= --plugins-path=${DESTDIR}${QTDIR}/plugins
#CONFIGURE_ARGS+= --with-openssl-lib=${SSLBASE}/lib
.include "../../security/qca2/buildlink3.mk"
-.include "../../security/gnupg2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"