svn commit: r467760 - head/security/checkpassword-pam

Renato Botelho garga at FreeBSD.org
Thu Apr 19 10:00:57 UTC 2018


Author: garga
Date: Thu Apr 19 10:00:56 2018
New Revision: 467760
URL: https://svnweb.freebsd.org/changeset/ports/467760

Log:
  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 at muc.de>

Modified:
  head/security/checkpassword-pam/Makefile

Modified: head/security/checkpassword-pam/Makefile
==============================================================================
--- head/security/checkpassword-pam/Makefile	Thu Apr 19 09:57:34 2018	(r467759)
+++ head/security/checkpassword-pam/Makefile	Thu Apr 19 10:00:56 2018	(r467760)
@@ -3,6 +3,7 @@
 
 PORTNAME=	checkpassword-pam
 PORTVERSION=	0.99
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SF/checkpasswd-pam/checkpasswd-pam/${PORTVERSION}
 
@@ -16,5 +17,8 @@ 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>


More information about the svn-ports-head mailing list