aboutsummaryrefslogtreecommitdiff
path: root/security/checkpassword-pam
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2018-04-19 10:00:56 +0000
committerRenato Botelho <garga@FreeBSD.org>2018-04-19 10:00:56 +0000
commit06527f547c31e72e5d7e482267bec634472e5839 (patch)
treefdbd3065b92cac397410a4b81e49ee20520868a9 /security/checkpassword-pam
parent2172b9d3506a1f7a58b3c7ee1fd54003dd8fa4aa (diff)
downloadports-06527f547c31e72e5d7e482267bec634472e5839.tar.gz
ports-06527f547c31e72e5d7e482267bec634472e5839.zip
checkpassword-pam binary requires setuid bit to be enabled in order to work
with daemons that run as regular users PR: 214227 Submitted by: Armin Gruner <ag-freebsd@muc.de>
Notes
Notes: svn path=/head/; revision=467760
Diffstat (limited to 'security/checkpassword-pam')
-rw-r--r--security/checkpassword-pam/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/checkpassword-pam/Makefile b/security/checkpassword-pam/Makefile
index 4eaa0dd9115b..f2f30475ebf6 100644
--- a/security/checkpassword-pam/Makefile
+++ b/security/checkpassword-pam/Makefile
@@ -3,6 +3,7 @@
PORTNAME= checkpassword-pam
PORTVERSION= 0.99
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/checkpasswd-pam/checkpasswd-pam/${PORTVERSION}
@@ -17,4 +18,7 @@ GNU_CONFIGURE= yes
PLIST_FILES= bin/checkpassword-pam \
man/man8/checkpassword-pam.8.gz
+post-install:
+ ${CHMOD} u+s ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
.include <bsd.port.mk>