From owner-svn-ports-all@freebsd.org Sun Jun 4 22:37:14 2017 Return-Path: Delivered-To: svn-ports-all@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 82503BF12AA; Sun, 4 Jun 2017 22:37:14 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 5C9FD3E0A; Sun, 4 Jun 2017 22:37:14 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v54MbDI7052093; Sun, 4 Jun 2017 22:37:13 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v54MbDfU052090; Sun, 4 Jun 2017 22:37:13 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201706042237.v54MbDfU052090@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Sun, 4 Jun 2017 22:37:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442597 - in head/finance/sql-ledger: . files 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.23 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: Sun, 04 Jun 2017 22:37:14 -0000 Author: bofh Date: Sun Jun 4 22:37:12 2017 New Revision: 442597 URL: https://svnweb.freebsd.org/changeset/ports/442597 Log: finance/sql-ledger: Update version 3.0.8=>3.2.5 - Reorder USES - Mark NO_ARCH - Move pkg-plist to TMPPLIST PR: 219712 Submitted by: frankenbox@live.com Relnotes: http://www.sql-ledger.org/cgi-bin/nav.pl?page=misc/whatsnew.html&title=What%27s%20New Deleted: head/finance/sql-ledger/pkg-plist Modified: head/finance/sql-ledger/Makefile head/finance/sql-ledger/distinfo head/finance/sql-ledger/files/sql-ledger-httpd.conf.in Modified: head/finance/sql-ledger/Makefile ============================================================================== --- head/finance/sql-ledger/Makefile Sun Jun 4 22:24:29 2017 (r442596) +++ head/finance/sql-ledger/Makefile Sun Jun 4 22:37:12 2017 (r442597) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= sql-ledger -PORTVERSION= 3.0.8 +PORTVERSION= 3.2.5 CATEGORIES= finance perl5 MASTER_SITES= http://www.sql-ledger.com/source/ @@ -17,12 +17,39 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} SUB_FILES= pkg-message sql-ledger-httpd.conf -USES= shebangfix perl5 pgsql +USES= perl5 pgsql shebangfix SHEBANG_FILES= *.pl locale/*/*.pl bin/*/*.pl +NO_ARCH= yes +ROOT_DIRS= SL bin css doc images js locale spool sql templates users +ROOT_FILES= VERSION admin.pl am.pl ap.pl ar.pl bp.pl ca.pl cp.pl ct.pl\ + favicon.ico gl.pl hr.pl ic.pl im.pl index.html ir.pl is.pl\ + jc.pl login.pl menu.ini menu.pl oe.pl pe.pl ps.pl rc.pl\ + rd.pl rp.pl setup.pl sm.pl vr.pl + do-install: - cd ${WRKDIR} ; \ - ${TAR} -cf - ${PORTNAME} | ( cd ${STAGEDIR}${PREFIX} ; ${TAR} xf - ) ${INSTALL_DATA} ${WRKDIR}/sql-ledger-httpd.conf ${STAGEDIR}${PREFIX}/etc/ + @${MKDIR} ${STAGEDIR}/${WWWDIR} +.for dir in ${ROOT_DIRS} + @${MKDIR} ${STAGEDIR}/${WWWDIR}/${dir} + @cd ${WRKSRC}/${dir} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/${dir} +.endfor +.for f in ${ROOT_FILES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${WWWDIR} +.endfor + +post-install: + @${ECHO_CMD} "@owner ${WWWOWN}" >> ${TMPPLIST} + @${ECHO_CMD} "@group ${WWWGRP}" >> ${TMPPLIST} + @${FIND} -s ${STAGEDIR}${WWWDIR} -not -type d | ${SORT} | \ + ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} + @${FIND} -s ${STAGEDIR}${WWWDIR} -type d | \ + ${SED} -e 's#^${STAGEDIR}#@dir #' >> ${TMPPLIST} + ${INSTALL_DATA} ${WRKSRC}/sql-ledger.conf.default \ + ${STAGEDIR}/${WWWDIR}/sql-ledger.conf.sample + @${ECHO} @sample ${WWWDIR}/sql-ledger.conf.sample >> ${TMPPLIST} + @${ECHO_CMD} "etc/sql-ledger-httpd.conf" >> ${TMPPLIST} + @${ECHO_CMD} "@group" >> ${TMPPLIST} + @${ECHO_CMD} "@owner" >> ${TMPPLIST} .include Modified: head/finance/sql-ledger/distinfo ============================================================================== --- head/finance/sql-ledger/distinfo Sun Jun 4 22:24:29 2017 (r442596) +++ head/finance/sql-ledger/distinfo Sun Jun 4 22:37:12 2017 (r442597) @@ -1,2 +1,3 @@ -SHA256 (sql-ledger-3.0.8.tar.gz) = 08a069aef3957e117fff8bdf4a4ce4cd886f25bd0d42950e96ca4b2656214aac -SIZE (sql-ledger-3.0.8.tar.gz) = 3736757 +TIMESTAMP = 1496615752 +SHA256 (sql-ledger-3.2.5.tar.gz) = db3c7f46b85fbabc89941d752cb426a2ada3799a9867ecec20fda0b3bc78b544 +SIZE (sql-ledger-3.2.5.tar.gz) = 3812247 Modified: head/finance/sql-ledger/files/sql-ledger-httpd.conf.in ============================================================================== --- head/finance/sql-ledger/files/sql-ledger-httpd.conf.in Sun Jun 4 22:24:29 2017 (r442596) +++ head/finance/sql-ledger/files/sql-ledger-httpd.conf.in Sun Jun 4 22:37:12 2017 (r442597) @@ -1,5 +1,5 @@ -Alias /sql-ledger %%PREFIX%%/sql-ledger/ - +Alias /sql-ledger %%WWWDIR%% + AllowOverride All AddHandler cgi-script .pl Options ExecCGI Includes FollowSymlinks @@ -7,7 +7,7 @@ Alias /sql-ledger %%PREFIX%%/sql-ledger/ Allow from All - + Order Deny,Allow Deny from All