summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-05-24 15:15:29 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-05-24 15:15:29 +0000
commitcb9bd922b88eced7a1590dc018e3af4e51697e2c (patch)
tree89a6ea1f9ab9ff0ed74c96cc9fe01ab79d051655 /security
parentAdd CPhone, a H323 VoIP and Video Conferencing program which can (diff)
Install set-uid'ed gpg if WITH_SUID_GPG is defined.
Requested by: Tobias Henoeckl <hoeni@Space.Net>
Notes
Notes: svn path=/head/; revision=59904
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 329ab19a217e..7e7c849380b7 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 329ab19a217e..7e7c849380b7 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: