aboutsummaryrefslogtreecommitdiffstats
path: root/security/please
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-10 22:30:02 +0800
committerantoine <antoine@FreeBSD.org>2014-09-10 22:30:02 +0800
commit3fba184f86c0fc785f5e3c730517bddace2bb367 (patch)
treeda355089b7df2512f71472752426452d586c8df0 /security/please
parent75bf0da217e7b349f3e360e2251308922685e951 (diff)
downloadfreebsd-ports-gnome-3fba184f86c0fc785f5e3c730517bddace2bb367.tar.gz
freebsd-ports-gnome-3fba184f86c0fc785f5e3c730517bddace2bb367.tar.zst
freebsd-ports-gnome-3fba184f86c0fc785f5e3c730517bddace2bb367.zip
Allow staging as a regular user
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