aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-01-16 21:08:42 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-01-16 21:08:42 +0000
commit51bb88223c9b028608721237c99936bb9280edf3 (patch)
tree0e5892d5d7ba3623e86e231f3cc12a74b1a215b6 /security
parent010a70fadfc8cc10f1a14e1bf2fbac1cce77a26f (diff)
downloadports-51bb88223c9b028608721237c99936bb9280edf3.tar.gz
ports-51bb88223c9b028608721237c99936bb9280edf3.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/libgcrypt-devel/Makefile6
-rw-r--r--security/libgcrypt/Makefile6
2 files changed, 8 insertions, 4 deletions
diff --git a/security/libgcrypt-devel/Makefile b/security/libgcrypt-devel/Makefile
index 4df22be6a646..e0ad89f12ca9 100644
--- a/security/libgcrypt-devel/Makefile
+++ b/security/libgcrypt-devel/Makefile
@@ -28,9 +28,11 @@ INFO= gcrypt
pre-extract:
.if exists(${PREFIX}/bin/gpg)
+ @${MKDIR} ${WRKDIR}
@${ECHO_CMD} "===> Verifying GnuPG Signature."
- -${PREFIX}/bin/gpg --keyserver pgp.mit.edu --recv-key 57548DCD
- cd ${DISTDIR}; ${PREFIX}/bin/gpg --verify \
+ -${PREFIX}/bin/gpg --no-default-keyring --keyring ${WRKDIR}/keyring \
+ --keyserver pgp.mit.edu --recv-key 57548DCD
+ cd ${DISTDIR}; ${PREFIX}/bin/gpg --keyring ${WRKDIR}/keyring --verify \
${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}.sig \
${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
.else
diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile
index 4df22be6a646..e0ad89f12ca9 100644
--- a/security/libgcrypt/Makefile
+++ b/security/libgcrypt/Makefile
@@ -28,9 +28,11 @@ INFO= gcrypt
pre-extract:
.if exists(${PREFIX}/bin/gpg)
+ @${MKDIR} ${WRKDIR}
@${ECHO_CMD} "===> Verifying GnuPG Signature."
- -${PREFIX}/bin/gpg --keyserver pgp.mit.edu --recv-key 57548DCD
- cd ${DISTDIR}; ${PREFIX}/bin/gpg --verify \
+ -${PREFIX}/bin/gpg --no-default-keyring --keyring ${WRKDIR}/keyring \
+ --keyserver pgp.mit.edu --recv-key 57548DCD
+ cd ${DISTDIR}; ${PREFIX}/bin/gpg --keyring ${WRKDIR}/keyring --verify \
${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}.sig \
${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
.else