svn commit: r396874 - head/security/please
Grzegorz Blach
gblach at FreeBSD.org
Sun Sep 13 23:46:24 UTC 2015
Author: gblach
Date: Sun Sep 13 23:46:22 2015
New Revision: 396874
URL: https://svnweb.freebsd.org/changeset/ports/396874
Log:
- Update to 2.4
- Use @sample keyword in plist
Modified:
head/security/please/Makefile
head/security/please/distinfo
Modified: head/security/please/Makefile
==============================================================================
--- head/security/please/Makefile Sun Sep 13 23:36:45 2015 (r396873)
+++ head/security/please/Makefile Sun Sep 13 23:46:22 2015 (r396874)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= please
-PORTVERSION= 2.3
+PORTVERSION= 2.4
CATEGORIES= security
MAINTAINER= gblach at FreeBSD.org
@@ -10,17 +10,18 @@ COMMENT= Execute a command as root
LICENSE= BSD2CLAUSE
-BUILD_DEPENDS= rst2man:${PORTSDIR}/textproc/py-docutils
-
USE_GITHUB= yes
GH_ACCOUNT= MagikBSD
-INSTALL_TARGET= install install-pam
-PLIST_FILES= "@(,,6555) bin/please" etc/pam.d/please.sample man/man1/please.1.gz
+INSTALL_TARGET= install
+PLIST_FILES= "@(,,6555) bin/please" "@sample etc/pam.d/please.sample" \
+ man/man1/please.1.gz
post-patch:
- @${REINPLACE_CMD} -e "s,-o 0 -g 0,,g ; s,-m 6555,-m 0555,g" \
- -e "s,\(\$${PAMDIR}/\$${BIN}\),\\1.sample," \
- ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s,-m 6555,-m 0555,g" ${WRKSRC}/Makefile
+
+post-install:
+ ${CP} ${WRKSRC}/pam.d/please.FreeBSD \
+ ${STAGEDIR}${PREFIX}/etc/pam.d/please.sample
.include <bsd.port.mk>
Modified: head/security/please/distinfo
==============================================================================
--- head/security/please/distinfo Sun Sep 13 23:36:45 2015 (r396873)
+++ head/security/please/distinfo Sun Sep 13 23:46:22 2015 (r396874)
@@ -1,2 +1,2 @@
-SHA256 (MagikBSD-please-2.3_GH0.tar.gz) = 65271f5900394c6387bab92cf8d3883fbc60d7e3ff804a003ab96b393442c2f5
-SIZE (MagikBSD-please-2.3_GH0.tar.gz) = 3736
+SHA256 (MagikBSD-please-2.4_GH0.tar.gz) = 5037c025d4d037537f1738e737e66d5b870a6ecff32e0cb5016c6fec0baaeac2
+SIZE (MagikBSD-please-2.4_GH0.tar.gz) = 3907
More information about the svn-ports-all
mailing list