git: dc6553d233dc - main - www/angie: Update to 1.3.1

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sat, 18 Nov 2023 20:22:35 UTC
The branch main has been updated by fuz:

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

commit dc6553d233dc97aa8f39afc72e1096387ef27c12
Author:     Oleg A. Mamontov <oleg@mamontov.net>
AuthorDate: 2023-11-13 21:16:51 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-11-18 20:20:40 +0000

    www/angie: Update to 1.3.1
    
     - remove @sample marker from html; these files are not supposed
       to be modified by the end user
     - obey CFLAGS/LDFLAGS and add USES=localbase.  This allows dependent
       modules to add necessary compiler/linker hints.
    
    Changelog: https://github.com/webserver-llc/angie/blob/master/CHANGES
    
    PR:             274728
---
 www/angie/Makefile  | 10 +++++-----
 www/angie/distinfo  |  6 +++---
 www/angie/pkg-plist |  4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/www/angie/Makefile b/www/angie/Makefile
index c6f778d99dbf..f7c831f9fcb5 100644
--- a/www/angie/Makefile
+++ b/www/angie/Makefile
@@ -1,5 +1,5 @@
 PORTNAME?=		angie
-PORTVERSION=		1.3.0
+PORTVERSION=		1.3.1
 CATEGORIES+=		www
 MASTER_SITES+=		https://download.angie.software/files/:angie
 DISTNAME=		angie-${DISTVERSIONFULL}
@@ -23,7 +23,7 @@ BUILD_DEPENDS+=		pcre2>=0:devel/pcre2
 RUN_DEPENDS+=		angie==${PKGVERSION}:www/angie
 .endif
 
-USES+=			ssl
+USES+=			localbase:ldflags ssl
 USE_GITHUB=		nodefault
 
 HAS_CONFIGURE?=		yes
@@ -107,8 +107,8 @@ CONFIGURE_ARGS=		--prefix=${PREFIX}/etc/angie \
 			--with-stream_ssl_module \
 			--with-stream_ssl_preread_module \
 			--with-threads \
-			--with-cc-opt="-I ${LOCALBASE}/include" \
-			--with-ld-opt="-L ${LOCALBASE}/lib" \
+			--with-cc-opt="${CFLAGS}" \
+			--with-ld-opt="${LDFLAGS}" \
 			${CONFIGURE_ADD}
 
 OPTIONS_DEFINE?=	DEBUG
@@ -176,7 +176,7 @@ do-install:
 	${INSTALL_DATA} ${WRKDIR}/example.conf.sample \
 	    ${STAGEDIR}${ETCDIR}/stream.d
 .for i in 50x.html index.html
-	${INSTALL_DATA} ${WRKSRC}/html/${i} ${STAGEDIR}${WWWDIR}/html/${i}.sample
+	${INSTALL_DATA} ${WRKSRC}/html/${i} ${STAGEDIR}${WWWDIR}/html/${i}
 .endfor
 
 do-install-DEBUG-on:
diff --git a/www/angie/distinfo b/www/angie/distinfo
index 80d8dec1f279..f005d5f94512 100644
--- a/www/angie/distinfo
+++ b/www/angie/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1695813432
-SHA256 (angie-1.3.0.tar.gz) = bc39d307f1644964f394c65ca4f416b81e03cbcfa0b4106931f84def39a87474
-SIZE (angie-1.3.0.tar.gz) = 1482717
+TIMESTAMP = 1699910196
+SHA256 (angie-1.3.1.tar.gz) = 1a7fd6f8d8db7cdc71f1cdbe44b2ca57a0b55d6cae2569639bd223d4663ecd23
+SIZE (angie-1.3.1.tar.gz) = 1482949
 SHA256 (kjdev-nginx-auth-jwt-0.2.1_GH0.tar.gz) = 23958d5f02012f56660cacc3c0355bafea10ceb77abb3f0e8da123edf1f7d8f1
 SIZE (kjdev-nginx-auth-jwt-0.2.1_GH0.tar.gz) = 58717
 SHA256 (stnoonan-spnego-http-auth-nginx-module-v1.1.1_GH0.tar.gz) = ed267444667d3f85f92d1bd910a7010e8272f4de1aa83afa39c1c97eac17dade
diff --git a/www/angie/pkg-plist b/www/angie/pkg-plist
index edc84e7ee030..2c77c1a62d2e 100644
--- a/www/angie/pkg-plist
+++ b/www/angie/pkg-plist
@@ -25,5 +25,5 @@ man/man8/angie.8.gz
 @sample %%ETCDIR%%/http.d/default.conf.sample
 @sample %%ETCDIR%%/stream.d/example.conf.sample
 
-@sample %%WWWDIR%%/html/50x.html.sample
-@sample %%WWWDIR%%/html/index.html.sample
+%%WWWDIR%%/html/50x.html
+%%WWWDIR%%/html/index.html