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:
parent
010a70fadf
commit
51bb88223c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98338
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user