1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Don't create the default keyring, if gnupg is installed.

Requested by:	Randy Bush
This commit is contained in:
Tilman Keskinoz 2004-01-16 21:08:42 +00:00
parent 010a70fadf
commit 51bb88223c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98338
2 changed files with 8 additions and 4 deletions

View File

@ -28,9 +28,11 @@ INFO= gcrypt
pre-extract: pre-extract:
.if exists(${PREFIX}/bin/gpg) .if exists(${PREFIX}/bin/gpg)
@${MKDIR} ${WRKDIR}
@${ECHO_CMD} "===> Verifying GnuPG Signature." @${ECHO_CMD} "===> Verifying GnuPG Signature."
-${PREFIX}/bin/gpg --keyserver pgp.mit.edu --recv-key 57548DCD -${PREFIX}/bin/gpg --no-default-keyring --keyring ${WRKDIR}/keyring \
cd ${DISTDIR}; ${PREFIX}/bin/gpg --verify \ --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}.sig \
${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
.else .else

View File

@ -28,9 +28,11 @@ INFO= gcrypt
pre-extract: pre-extract:
.if exists(${PREFIX}/bin/gpg) .if exists(${PREFIX}/bin/gpg)
@${MKDIR} ${WRKDIR}
@${ECHO_CMD} "===> Verifying GnuPG Signature." @${ECHO_CMD} "===> Verifying GnuPG Signature."
-${PREFIX}/bin/gpg --keyserver pgp.mit.edu --recv-key 57548DCD -${PREFIX}/bin/gpg --no-default-keyring --keyring ${WRKDIR}/keyring \
cd ${DISTDIR}; ${PREFIX}/bin/gpg --verify \ --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}.sig \
${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
.else .else