summaryrefslogtreecommitdiff
path: root/security/please
diff options
context:
space:
mode:
Diffstat (limited to 'security/please')
-rw-r--r--security/please/Makefile11
-rw-r--r--security/please/distinfo4
2 files changed, 9 insertions, 6 deletions
diff --git a/security/please/Makefile b/security/please/Makefile
index 6cf205d7a2ed..ab45ff5080cd 100644
--- a/security/please/Makefile
+++ b/security/please/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= please
-PORTVERSION= 1.2
+PORTVERSION= 2.0
CATEGORIES= security
MAINTAINER= gblach@FreeBSD.org
@@ -15,11 +15,14 @@ BUILD_DEPENDS= rst2man:${PORTSDIR}/textproc/py-docutils
USE_GITHUB= yes
GH_ACCOUNT= MagikBSD
GH_TAGNAME= ${PORTVERSION}
-GH_COMMIT= 078daa7
+GH_COMMIT= 1d65ba2
-PLIST_FILES= bin/please man/man1/please.1.gz
+INSTALL_TARGET= install install-pam
+PLIST_FILES= bin/please etc/pam.d/please.sample man/man1/please.1.gz
post-patch:
- @${REINPLACE_CMD} -e "s,-o 0 -g 0,,g" ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s,-o 0 -g 0,,g" \
+ -e "s,\(\$${PAMDIR}/\$${BIN}\),\\1.sample," \
+ ${WRKSRC}/Makefile
.include <bsd.port.mk>
diff --git a/security/please/distinfo b/security/please/distinfo
index 6ae2cf0284da..597214c3ae9a 100644
--- a/security/please/distinfo
+++ b/security/please/distinfo
@@ -1,2 +1,2 @@
-SHA256 (please-1.2.tar.gz) = d31a95bf61b955fda6edf572e15244eaaa6f8f45aed0922c17665e92edcda66e
-SIZE (please-1.2.tar.gz) = 3094
+SHA256 (please-2.0.tar.gz) = 8881593b699949b62758c5ef64f887ded0120bd6ec4b75a34cd188652efd6685
+SIZE (please-2.0.tar.gz) = 3771