aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2018-04-19 18:00:56 +0800
committergarga <garga@FreeBSD.org>2018-04-19 18:00:56 +0800
commitefdf57b7428c55a5374e59eb81abbdb653cd681b (patch)
treefdbd3065b92cac397410a4b81e49ee20520868a9 /security
parent2d9f9dd1bea37a1a04e440c41c5a57b61f8b62b7 (diff)
downloadfreebsd-ports-gnome-efdf57b7428c55a5374e59eb81abbdb653cd681b.tar.gz
freebsd-ports-gnome-efdf57b7428c55a5374e59eb81abbdb653cd681b.tar.zst
freebsd-ports-gnome-efdf57b7428c55a5374e59eb81abbdb653cd681b.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>
Diffstat (limited to 'security')
-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>