diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-01-05 08:50:39 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-01-05 08:50:39 +0000 |
commit | 24ec454cb9a2796da359e7662221140e17059508 (patch) | |
tree | f69f2b900c32898bd2442f749a008a25f19b9f00 /irc/bitchx | |
parent | add fsmgenerator 1.0b7 (diff) |
Use a temporary gpg-keyring in ${WRKDIR} instead of using the users default
keyring. This should fix the problem, that gpg chown's the default keyring
to root when installing the port via sudo.
PR: 60916
Reported by: kosmos <abowhill@blarg.net
Notes
Notes:
svn path=/head/; revision=97338
Diffstat (limited to 'irc/bitchx')
-rw-r--r-- | irc/bitchx/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/irc/bitchx/Makefile b/irc/bitchx/Makefile index ba78a0ba883d..7917f12c5859 100644 --- a/irc/bitchx/Makefile +++ b/irc/bitchx/Makefile @@ -125,19 +125,23 @@ pre-fetch: .if !defined(BATCH) && !defined(PACKAGE_BUILDING) /usr/bin/dialog --yesno "SECURITY NOTICE: TCL support is only \ available by linking a precompiled binary object into the Application. \ - Do you really want to proceed building BitchX with TCL support?" 7 70 || ${FALSE} + Do you really want to proceed building BitchX with TCL support?" 7 70 || ${FALSE} .endif # BATCH .endif # WITH_TCL pre-extract: .if exists(${PREFIX}/bin/gpg) + @${MKDIR} ${WRKDIR} @${ECHO_CMD} "===> Verifying GnuPG Signatures." - -gpg --keyserver pgp.mit.edu --recv-key 42D1F77C - cd ${DISTDIR}; gpg --verify ircii-pana-${PORTVERSION}${EXTRACT_SUFX}.sig \ + -gpg --keyserver pgp.mit.edu --no-default-keyring \ + --keyring ${WRKDIR}/keyring --recv-key 42D1F77C + cd ${DISTDIR}; gpg --keyring ${WRKDIR}/keyring --verify \ + ircii-pana-${PORTVERSION}${EXTRACT_SUFX}.sig \ ircii-pana-${PORTVERSION}${EXTRACT_SUFX} .if defined(WITH_TCL) - cd ${DISTDIR}; gpg --verify freebsd4-tcl83-bx1.0c19-tcl.o.sig \ + cd ${DISTDIR}; gpg --keyring ${WRKDIR}/keyring --verify \ + freebsd4-tcl83-bx1.0c19-tcl.o.sig \ freebsd4-tcl83-bx1.0c19-tcl.o .endif .else |