Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2018 21:25:34 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458480 - head/finance/sql-ledger
Message-ID:  <201801082125.w08LPYq3001494@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Mon Jan  8 21:25:33 2018
New Revision: 458480
URL: https://svnweb.freebsd.org/changeset/ports/458480

Log:
  finance/sql-ledger: Update version 3.2.5=>3.2.6
  
  - Fix script installation as executable [1]
  
  PR:		220545 [1]
  Submitted by:	frankenbox@live.com [1]
  Relnotes:	http://www.sql-ledger.org/cgi-bin/nav.pl?page=misc/whatsnew.html&title=What%27s%20New

Modified:
  head/finance/sql-ledger/Makefile
  head/finance/sql-ledger/distinfo

Modified: head/finance/sql-ledger/Makefile
==============================================================================
--- head/finance/sql-ledger/Makefile	Mon Jan  8 20:53:35 2018	(r458479)
+++ head/finance/sql-ledger/Makefile	Mon Jan  8 21:25:33 2018	(r458480)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	sql-ledger
-PORTVERSION=	3.2.5
+PORTVERSION=	3.2.6
 CATEGORIES=	finance perl5
 MASTER_SITES=	http://www.sql-ledger.com/source/
 
@@ -20,14 +20,22 @@ SUB_FILES=	pkg-message sql-ledger-httpd.conf
 USES=		perl5 pgsql shebangfix
 SHEBANG_FILES=	*.pl locale/*/*.pl bin/*/*.pl
 NO_ARCH=	yes
+USE_APACHE_RUN=	22+
 
 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
+ROOT_FILES=	VERSION favicon.ico index.html menu.ini
+ROOT_SCRIPTS=	admin.pl am.pl ap.pl ar.pl bp.pl ca.pl cp.pl ct.pl gl.pl hr.pl \
+	       	ic.pl im.pl ir.pl is.pl jc.pl login.pl menu.pl oe.pl pe.pl ps.pl \
+	       	rc.pl rd.pl rp.pl setup.pl sm.pl vr.pl
 
+.include <bsd.port.pre.mk>
 do-install:
+.if ${APACHE_VERSION:M24}
+	@${REINPLACE_CMD} -e '/Order/d' \
+		-e 's/Deny from All/Require all denied/g' \
+		-e 's/Allow from All/Require all granted/g' \
+		${WRKDIR}/sql-ledger-httpd.conf
+.endif
 	${INSTALL_DATA} ${WRKDIR}/sql-ledger-httpd.conf ${STAGEDIR}${PREFIX}/etc/
 	@${MKDIR} ${STAGEDIR}/${WWWDIR}
 .for dir in ${ROOT_DIRS}
@@ -37,6 +45,9 @@ do-install:
 .for f in ${ROOT_FILES}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${WWWDIR}
 .endfor
+.for f in ${ROOT_SCRIPTS}
+	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}/${WWWDIR}
+.endfor
 
 post-install:
 	@${ECHO_CMD} "@owner ${WWWOWN}" >> ${TMPPLIST}
@@ -52,4 +63,4 @@ post-install:
 	@${ECHO_CMD} "@group" >> ${TMPPLIST}
 	@${ECHO_CMD} "@owner" >> ${TMPPLIST}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/finance/sql-ledger/distinfo
==============================================================================
--- head/finance/sql-ledger/distinfo	Mon Jan  8 20:53:35 2018	(r458479)
+++ head/finance/sql-ledger/distinfo	Mon Jan  8 21:25:33 2018	(r458480)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1496615752
-SHA256 (sql-ledger-3.2.5.tar.gz) = db3c7f46b85fbabc89941d752cb426a2ada3799a9867ecec20fda0b3bc78b544
-SIZE (sql-ledger-3.2.5.tar.gz) = 3812247
+TIMESTAMP = 1515443074
+SHA256 (sql-ledger-3.2.6.tar.gz) = 28acacfe2029ae33995405256e149fb3707c1799b5a4556e00c7fef297b1be55
+SIZE (sql-ledger-3.2.6.tar.gz) = 3816080



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801082125.w08LPYq3001494>