aboutsummaryrefslogtreecommitdiffstats
path: root/security/libgcrypt
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-01-17 05:08:42 +0800
committerarved <arved@FreeBSD.org>2004-01-17 05:08:42 +0800
commit6329d4de5eb4a033e211f4530ac24f65e0dd7905 (patch)
tree84a03fb0d4096b30dca607edde1d5c8099d271ca /security/libgcrypt
parenta78d1c72e943c2a5e37fb68f627449d510a2787e (diff)
downloadfreebsd-ports-gnome-6329d4de5eb4a033e211f4530ac24f65e0dd7905.tar.gz
freebsd-ports-gnome-6329d4de5eb4a033e211f4530ac24f65e0dd7905.tar.zst
freebsd-ports-gnome-6329d4de5eb4a033e211f4530ac24f65e0dd7905.zip
Don't create the default keyring, if gnupg is installed.
Requested by: Randy Bush
Diffstat (limited to 'security/libgcrypt')
-rw-r--r--security/libgcrypt/Makefile6
1 files changed, 4 insertions, 2 deletions
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