From owner-svn-ports-head@freebsd.org Sun Sep 13 23:46:24 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44958A03B2E; Sun, 13 Sep 2015 23:46:24 +0000 (UTC) (envelope-from gblach@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1C68A1A29; Sun, 13 Sep 2015 23:46:24 +0000 (UTC) (envelope-from gblach@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8DNkNSW033595; Sun, 13 Sep 2015 23:46:23 GMT (envelope-from gblach@FreeBSD.org) Received: (from gblach@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8DNkNW3033593; Sun, 13 Sep 2015 23:46:23 GMT (envelope-from gblach@FreeBSD.org) Message-Id: <201509132346.t8DNkNW3033593@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gblach set sender to gblach@FreeBSD.org using -f From: Grzegorz Blach Date: Sun, 13 Sep 2015 23:46:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396874 - head/security/please X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2015 23:46:24 -0000 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 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