finance/sql-ledger: Update version 3.2.11=>3.2.12

- Update apache config file for apache 2.4 only as apache22 is defunct
  now [1]

PR:		268808 [1]
Reported by:	bgroper@aussiebb.com.au [1]
Relnotes:
https://www.sql-ledger.com/cgi-bin/nav.pl?page=misc/whatsnew.html&title=What%27s%20New
This commit is contained in:
Muhammad Moinur Rahman 2023-01-11 02:56:14 -06:00
parent bfe8ef4ddc
commit b4696b8444
3 changed files with 7 additions and 15 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= sql-ledger
PORTVERSION= 3.2.11
PORTVERSION= 3.2.12
CATEGORIES= finance perl5
MASTER_SITES= http://www.sql-ledger.com/source/
@ -12,7 +12,7 @@ LICENSE= GPLv2
BUILD_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= apache:run,2.2+ perl5 pgsql shebangfix
USES= apache:run perl5 pgsql shebangfix
SHEBANG_FILES= *.pl bin/*/*.pl locale/*/*.pl
@ -30,12 +30,6 @@ ROOT_SCRIPTS= admin.pl am.pl ap.pl ar.pl bp.pl ca.pl cp.pl ct.pl gl.pl hr.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}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1647942473
SHA256 (sql-ledger-3.2.11.tar.gz) = 1182bf4e32e69166eddeea678269e3f1ea800b1f3632eea69a4a0181557fbc08
SIZE (sql-ledger-3.2.11.tar.gz) = 3637350
TIMESTAMP = 1673397305
SHA256 (sql-ledger-3.2.12.tar.gz) = 774d609af4ffaba9c6ce60d515961003036966b65641541dd423ad3f478d1a5a
SIZE (sql-ledger-3.2.12.tar.gz) = 3637740

View File

@ -3,11 +3,9 @@ Alias /sql-ledger %%WWWDIR%%
AllowOverride All
AddHandler cgi-script .pl
Options ExecCGI Includes FollowSymlinks
Order Allow,Deny
Allow from All
Require all granted
</Directory>
<Directory %%WWWDIR%%/users>
Order Deny,Allow
Deny from All
Require all denied
</Directory>