aboutsummaryrefslogtreecommitdiff
path: root/security/please
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-09-10 14:30:02 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-09-10 14:30:02 +0000
commit629be39c2b602208ff0dafe85d0ac01205c63962 (patch)
treeda355089b7df2512f71472752426452d586c8df0 /security/please
parenta571259825f8a51d5dd9cfb3ab7cd3802a55230b (diff)
downloadports-629be39c2b602208ff0dafe85d0ac01205c63962.tar.gz
ports-629be39c2b602208ff0dafe85d0ac01205c63962.zip
Allow staging as a regular user
Notes
Notes: svn path=/head/; revision=367853
Diffstat (limited to 'security/please')
-rw-r--r--security/please/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/please/Makefile b/security/please/Makefile
index ab45ff5080cd..9ee66d5fcc4f 100644
--- a/security/please/Makefile
+++ b/security/please/Makefile
@@ -18,10 +18,10 @@ GH_TAGNAME= ${PORTVERSION}
GH_COMMIT= 1d65ba2
INSTALL_TARGET= install install-pam
-PLIST_FILES= bin/please etc/pam.d/please.sample man/man1/please.1.gz
+PLIST_FILES= "@(,,6555) bin/please" etc/pam.d/please.sample man/man1/please.1.gz
post-patch:
- @${REINPLACE_CMD} -e "s,-o 0 -g 0,,g" \
+ @${REINPLACE_CMD} -e "s,-o 0 -g 0,,g ; s,-m 6555,-m 0555,g" \
-e "s,\(\$${PAMDIR}/\$${BIN}\),\\1.sample," \
${WRKSRC}/Makefile