From owner-svn-ports-branches@freebsd.org Sun Jul 19 04:33:28 2015 Return-Path: Delivered-To: svn-ports-branches@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 717439A5FEC; Sun, 19 Jul 2015 04:33:28 +0000 (UTC) (envelope-from gordon@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 54F531CE7; Sun, 19 Jul 2015 04:33:28 +0000 (UTC) (envelope-from gordon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6J4XSja059694; Sun, 19 Jul 2015 04:33:28 GMT (envelope-from gordon@FreeBSD.org) Received: (from gordon@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6J4XQQM059683; Sun, 19 Jul 2015 04:33:26 GMT (envelope-from gordon@FreeBSD.org) Message-Id: <201507190433.t6J4XQQM059683@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gordon set sender to gordon@FreeBSD.org using -f From: Gordon Tetlow Date: Sun, 19 Jul 2015 04:33:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r392485 - in branches/2015Q3/devel/p4ftpd: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2015 04:33:28 -0000 Author: gordon Date: Sun Jul 19 04:33:25 2015 New Revision: 392485 URL: https://svnweb.freebsd.org/changeset/ports/392485 Log: MFH: r392479 Update devel/p4ftpd to 2015..1/1024208 fixing broken distfile. Move unneeded execs from the plist into the init script. PR: 198692 Differential Revision: https://reviews.freebsd.org/D3089 Approved by: mat (mentor) Approved by: ports-secteam (feld) Modified: branches/2015Q3/devel/p4ftpd/Makefile branches/2015Q3/devel/p4ftpd/distinfo.freebsd100x86 branches/2015Q3/devel/p4ftpd/distinfo.freebsd100x86_64 branches/2015Q3/devel/p4ftpd/distinfo.freebsd70x86 branches/2015Q3/devel/p4ftpd/distinfo.freebsd70x86_64 branches/2015Q3/devel/p4ftpd/files/p4ftpd.in Directory Properties: branches/2015Q3/ (props changed) Modified: branches/2015Q3/devel/p4ftpd/Makefile ============================================================================== --- branches/2015Q3/devel/p4ftpd/Makefile Sun Jul 19 04:32:19 2015 (r392484) +++ branches/2015Q3/devel/p4ftpd/Makefile Sun Jul 19 04:33:25 2015 (r392485) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= p4ftpd -PORTVERSION= 2014.2.962050 +PORTVERSION= 2015.1.1024208 CATEGORIES= devel MASTER_SITES= ftp://ftp.perforce.com/perforce/${P4VERSION}/bin.${PLATFORM}/ \ http://filehost.perforce.com/perforce/${P4VERSION}/bin.${PLATFORM}/ @@ -13,12 +13,6 @@ EXTRACT_ONLY= # none MAINTAINER= gordon@FreeBSD.org COMMENT= Perforce server -ONLY_FOR_ARCHS= amd64 i386 - -P4VERSION= r${PORTVERSION:S/^20//:C/\.[0-9]+$//} -DIST_SUBDIR= perforce/${PORTVERSION}/bin.${PLATFORM} -DISTINFO_FILE= ${MASTERDIR}/distinfo.${PLATFORM} - RESTRICTED= Restricted distribution NO_BUILD= yes @@ -39,8 +33,5 @@ GROUPS= p4admin do-install: ${INSTALL_PROGRAM} ${_DISTDIR}/p4ftpd ${STAGEDIR}${PREFIX}/sbin/ - @${ECHO_CMD} "@exec ${TOUCH} ${P4LOG}" >> ${TMPPLIST} - @${ECHO_CMD} "@exec ${CHOWN} p4admin:p4admin ${P4LOG}" >> ${TMPPLIST} - @${ECHO_CMD} "@exec ${CHMOD} 640 ${P4LOG}" >> ${TMPPLIST} .include Modified: branches/2015Q3/devel/p4ftpd/distinfo.freebsd100x86 ============================================================================== --- branches/2015Q3/devel/p4ftpd/distinfo.freebsd100x86 Sun Jul 19 04:32:19 2015 (r392484) +++ branches/2015Q3/devel/p4ftpd/distinfo.freebsd100x86 Sun Jul 19 04:33:25 2015 (r392485) @@ -1,2 +1,2 @@ -SHA256 (perforce/2014.2.962050/bin.freebsd100x86/p4ftpd) = 7d17b0c3a178a823c2b441067f3a6916c22e8c86a5628dd82cb575b36b729afd -SIZE (perforce/2014.2.962050/bin.freebsd100x86/p4ftpd) = 2551480 +SHA256 (perforce/2015.1.1024208/bin.freebsd100x86/p4ftpd) = f9c63fafb8bf114286a778704c16a7a5b8d6b6fc5e8201a2f75218e416c7f067 +SIZE (perforce/2015.1.1024208/bin.freebsd100x86/p4ftpd) = 2596224 Modified: branches/2015Q3/devel/p4ftpd/distinfo.freebsd100x86_64 ============================================================================== --- branches/2015Q3/devel/p4ftpd/distinfo.freebsd100x86_64 Sun Jul 19 04:32:19 2015 (r392484) +++ branches/2015Q3/devel/p4ftpd/distinfo.freebsd100x86_64 Sun Jul 19 04:33:25 2015 (r392485) @@ -1,2 +1,2 @@ -SHA256 (perforce/2014.2.962050/bin.freebsd100x86_64/p4ftpd) = 11f2e5fcb17e21ec8bdba86a3e91dc99b55f55ab51ee230c603e1070b5b95969 -SIZE (perforce/2014.2.962050/bin.freebsd100x86_64/p4ftpd) = 2807824 +SHA256 (perforce/2015.1.1024208/bin.freebsd100x86_64/p4ftpd) = ef79956f0e17e26e16d1b7d486e6611263cce9fa64a733b7e6976f1dbc7cfc01 +SIZE (perforce/2015.1.1024208/bin.freebsd100x86_64/p4ftpd) = 2852272 Modified: branches/2015Q3/devel/p4ftpd/distinfo.freebsd70x86 ============================================================================== --- branches/2015Q3/devel/p4ftpd/distinfo.freebsd70x86 Sun Jul 19 04:32:19 2015 (r392484) +++ branches/2015Q3/devel/p4ftpd/distinfo.freebsd70x86 Sun Jul 19 04:33:25 2015 (r392485) @@ -1,2 +1,2 @@ -SHA256 (perforce/2014.2.962050/bin.freebsd70x86/p4ftpd) = 9565b6c695bbe3739ada7a1c84a8d7014121fbe952ed6f2bc146fa4762bdd21d -SIZE (perforce/2014.2.962050/bin.freebsd70x86/p4ftpd) = 2629832 +SHA256 (perforce/2015.1.1024208/bin.freebsd70x86/p4ftpd) = 4e13ffd9ecc6fa773917f3da73f85220e0e934d09d8fd8736b06645023cab264 +SIZE (perforce/2015.1.1024208/bin.freebsd70x86/p4ftpd) = 2671092 Modified: branches/2015Q3/devel/p4ftpd/distinfo.freebsd70x86_64 ============================================================================== --- branches/2015Q3/devel/p4ftpd/distinfo.freebsd70x86_64 Sun Jul 19 04:32:19 2015 (r392484) +++ branches/2015Q3/devel/p4ftpd/distinfo.freebsd70x86_64 Sun Jul 19 04:33:25 2015 (r392485) @@ -1,2 +1,2 @@ -SHA256 (perforce/2014.2.962050/bin.freebsd70x86_64/p4ftpd) = e68d416a3dbbd1e5c136542da9ca760e02f0aa86652d6ba97e75b92ae4219eaa -SIZE (perforce/2014.2.962050/bin.freebsd70x86_64/p4ftpd) = 2795112 +SHA256 (perforce/2015.1.1024208/bin.freebsd70x86_64/p4ftpd) = 6fa08dda4fad1e1c0ad5b5a5d267110c509ee240bb7c611433abb5ceb46056b7 +SIZE (perforce/2015.1.1024208/bin.freebsd70x86_64/p4ftpd) = 2840144 Modified: branches/2015Q3/devel/p4ftpd/files/p4ftpd.in ============================================================================== --- branches/2015Q3/devel/p4ftpd/files/p4ftpd.in Sun Jul 19 04:32:19 2015 (r392484) +++ branches/2015Q3/devel/p4ftpd/files/p4ftpd.in Sun Jul 19 04:33:25 2015 (r392485) @@ -40,5 +40,13 @@ load_rc_config $name command="%%PREFIX%%/sbin/p4ftpd" command_args="-l ${p4ftpd_listen} -p ${p4ftpd_port} -v ${p4ftpd_debug} -L ${p4ftpd_log} -d -u p4admin ${p4ftpd_args} > /dev/null 2>&1 &" +start_precmd="p4ftpd_prestart" + +p4ftpd_prestart() +{ + if [ ! -f "${p4ftpd_log}" ]; then + install -o p4admin -g p4admin -m 0640 /dev/null ${p4ftpd_log} + fi +} run_rc_command "$1"