Date: Sun, 13 Sep 2015 23:46:23 +0000 (UTC) From: Grzegorz Blach <gblach@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396874 - head/security/please Message-ID: <201509132346.t8DNkNW3033593@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509132346.t8DNkNW3033593>