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

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 11 Jan 2023 09:00:42 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b4696b8444ef78c29982d9ddb54bb37423b42b79

commit b4696b8444ef78c29982d9ddb54bb37423b42b79
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-01-11 08:56:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-01-11 09:00:17 +0000

    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
---
 finance/sql-ledger/Makefile                       | 10 ++--------
 finance/sql-ledger/distinfo                       |  6 +++---
 finance/sql-ledger/files/sql-ledger-httpd.conf.in |  6 ++----
 3 files changed, 7 insertions(+), 15 deletions(-)

diff --git a/finance/sql-ledger/Makefile b/finance/sql-ledger/Makefile
index e51d0d92cbe4..81a45f0843fd 100644
--- a/finance/sql-ledger/Makefile
+++ b/finance/sql-ledger/Makefile
@@ -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}
diff --git a/finance/sql-ledger/distinfo b/finance/sql-ledger/distinfo
index 6eda19475cb0..f53c359bc491 100644
--- a/finance/sql-ledger/distinfo
+++ b/finance/sql-ledger/distinfo
@@ -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
diff --git a/finance/sql-ledger/files/sql-ledger-httpd.conf.in b/finance/sql-ledger/files/sql-ledger-httpd.conf.in
index 998f92e59301..c722696d5de6 100644
--- a/finance/sql-ledger/files/sql-ledger-httpd.conf.in
+++ b/finance/sql-ledger/files/sql-ledger-httpd.conf.in
@@ -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>