From owner-svn-ports-all@FreeBSD.ORG Wed Sep 10 14:17:07 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B6C03A22; Wed, 10 Sep 2014 14:17:07 +0000 (UTC) Received: from svn.freebsd.org (svn.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 87C1D1920; Wed, 10 Sep 2014 14:17:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8AEH7Os085537; Wed, 10 Sep 2014 14:17:07 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8AEH7uQ085535; Wed, 10 Sep 2014 14:17:07 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201409101417.s8AEH7uQ085535@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Wed, 10 Sep 2014 14:17:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367849 - head/comms/atslog X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2014 14:17:07 -0000 Author: antoine Date: Wed Sep 10 14:17:06 2014 New Revision: 367849 URL: http://svnweb.freebsd.org/changeset/ports/367849 QAT: https://qat.redports.org/buildarchive/r367849/ Log: - Allow staging as a regular user - Shebangfix Modified: head/comms/atslog/Makefile head/comms/atslog/pkg-plist Modified: head/comms/atslog/Makefile ============================================================================== --- head/comms/atslog/Makefile Wed Sep 10 14:07:50 2014 (r367848) +++ head/comms/atslog/Makefile Wed Sep 10 14:17:06 2014 (r367849) @@ -3,7 +3,7 @@ PORTNAME= atslog PORTVERSION= 2.1.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= comms MASTER_SITES= BERLIOS @@ -19,12 +19,14 @@ WWW_DESC= Install web interface WWWGD_DESC= Graphic reports GNU_CONFIGURE= yes -USES= perl5 +USES= perl5 shebangfix USE_RC_SUBR= ${PORTNAME}d +SHEBANG_FILES= include/atslogcleardb.pl.in include/atslogdb.pl.in PORTDOCS= CHANGES ChangeLog DEINSTALL INSTALL LICENSE TODO UPDATING USAGE SUB_FILES= pkg-message CONFIGS= ${PORTNAME}.conf.default ${PORTNAME}.conf.default.rus CONFIGURE_ARGS+=--localstatedir=/var +PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" OPTIONS_SUB=yes .include @@ -102,7 +104,6 @@ do-install: ${FIND} -E . -type f ! -iregex "(.*Makefile|.*\.orig)" -exec \ ${INSTALL_DATA} "{}" "${STAGEDIR}${WWWDIR}/{}" \; ${MV} ${STAGEDIR}${WWWDIR}/include/config.inc.php.default ${STAGEDIR}${WWWDIR}/include/config.inc.php.sample - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} Modified: head/comms/atslog/pkg-plist ============================================================================== --- head/comms/atslog/pkg-plist Wed Sep 10 14:07:50 2014 (r367848) +++ head/comms/atslog/pkg-plist Wed Sep 10 14:17:06 2014 (r367849) @@ -103,6 +103,8 @@ man/ru.KOI8-R/man8/atslogmaster.8.gz %%PORTEXAMPLES%%%%EXAMPLESDIR%%/textlogs/Siemens Hicom-250.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/textlogs/Siemens Hicom-350H.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/textlogs/Telrad.txt +%%WWW%%@owner %%WWWOWN%% +%%WWW%%@group %%WWWGRP%% %%WWW%%%%WWWDIR%%/phonebook/index.html %%WWW%%%%WWWDIR%%/phonebook/index.php %%WWW%%%%WWWDIR%%/intern/index.html @@ -333,6 +335,8 @@ man/ru.KOI8-R/man8/atslogmaster.8.gz %%WWW%%@dirrmtry %%WWWDIR%%/calls/query %%WWW%%@dirrmtry %%WWWDIR%%/calls %%WWW%%@dirrmtry %%WWWDIR%% +%%WWW%%@owner root +%%WWW%%@group wheel @dirrmtry libexec/atslog @dirrmtry %%DATADIR%%/lang @dirrmtry %%DATADIR%%/sql