aboutsummaryrefslogtreecommitdiff
path: root/security/duo
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2019-10-29 22:15:11 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2019-10-29 22:15:11 +0000
commit5c2c551812ee13c572ccde6d7f4882c64bbe972c (patch)
tree62d2a6f73f5723ce3ae21d88b95e458ca103b25b /security/duo
parentda880e4d8ad0b76750729a38330a6c7298e232cd (diff)
downloadports-5c2c551812ee13c572ccde6d7f4882c64bbe972c.tar.gz
ports-5c2c551812ee13c572ccde6d7f4882c64bbe972c.zip
Add OPTION to install login_duo setuid
Notes
Notes: svn path=/head/; revision=516037
Diffstat (limited to 'security/duo')
-rw-r--r--security/duo/Makefile4
-rw-r--r--security/duo/pkg-plist2
2 files changed, 5 insertions, 1 deletions
diff --git a/security/duo/Makefile b/security/duo/Makefile
index 4fceec62f4e3..16a1da07bfd0 100644
--- a/security/duo/Makefile
+++ b/security/duo/Makefile
@@ -22,7 +22,9 @@ USE_LDCONFIG= yes
SUB_FILES= pkg-message
-OPTIONS_DEFINE= DOCS
+SUID_DESC= Install login_duo with suid bit set
+OPTIONS_DEFINE= DOCS SUID
+OPTIONS_SUB= yes
post-patch:
${REINPLACE_CMD} -e 's| /etc| ${PREFIX}/etc|g' \
diff --git a/security/duo/pkg-plist b/security/duo/pkg-plist
index 35357bdc4f54..272df359cd53 100644
--- a/security/duo/pkg-plist
+++ b/security/duo/pkg-plist
@@ -16,4 +16,6 @@ man/man8/pam_duo.8.gz
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%SUID%%@mode 4555
sbin/login_duo
+%%SUID%%@mode