summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2002-05-24 15:15:29 +0000
committerkuriyama <kuriyama@FreeBSD.org>2002-05-24 15:15:29 +0000
commit550bb8170880d4b924b317a8f1e08733ba0bec79 (patch)
tree2939c3f6e33e60934b9a72e17a1c71721b51ed66 /security
parentd53ab049fc71595311e9c76d46acafd52bf60ac8 (diff)
downloadFreeBSD-ports-550bb8170880d4b924b317a8f1e08733ba0bec79.zip
FreeBSD-ports-550bb8170880d4b924b317a8f1e08733ba0bec79.tar.gz
Install set-uid'ed gpg if WITH_SUID_GPG is defined.
Requested by: Tobias Henoeckl <hoeni@Space.Net>
Diffstat (limited to 'security')
-rw-r--r--security/gnupg/Makefile4
-rw-r--r--security/gnupg1/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 329ab19..7e7c849 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -43,7 +43,9 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/gnupg
.endfor
.endif
-# ${CHMOD} u+s ${PREFIX}/bin/gpg
+.if defined(WITH_SUID_GPG)
+ ${CHMOD} u+s ${PREFIX}/bin/gpg
+.endif
@${CAT} ${PKGMESSAGE}
check:
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index 329ab19..7e7c849 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -43,7 +43,9 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/gnupg
.endfor
.endif
-# ${CHMOD} u+s ${PREFIX}/bin/gpg
+.if defined(WITH_SUID_GPG)
+ ${CHMOD} u+s ${PREFIX}/bin/gpg
+.endif
@${CAT} ${PKGMESSAGE}
check:
OpenPOWER on IntegriCloud