git: 682e28478959 - main - www/c-icap: update to 0.5.11

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Tue, 07 Nov 2023 08:52:06 UTC
The branch main has been updated by rodrigo:

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

commit 682e284789594b66425b154db55ca452a529de03
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2023-11-07 08:23:13 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2023-11-07 08:48:00 +0000

    www/c-icap: update to 0.5.11
    
    Major changes:
      * Fixes to compile and run with c-icap-0.6.x releases
      * Other minor fixes.
    
    Reorder and format Makefile to make linters happy
---
 www/c-icap/Makefile  | 54 +++++++++++++++++++++++++++-------------------------
 www/c-icap/distinfo  |  6 +++---
 www/c-icap/pkg-plist |  2 +-
 3 files changed, 32 insertions(+), 30 deletions(-)

diff --git a/www/c-icap/Makefile b/www/c-icap/Makefile
index 90c98d1ca14d..d59362d1dc63 100644
--- a/www/c-icap/Makefile
+++ b/www/c-icap/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	c-icap
-PORTVERSION=	0.5.10
-PORTREVISION=	1
+PORTVERSION=	0.5.11
 PORTEPOCH=	2
 CATEGORIES=	www
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.5.x/
@@ -17,56 +16,59 @@ LIB_DEPENDS=	libbrotlicommon.so:archivers/brotli \
 		libpcre.so:devel/pcre
 
 USES=		cpe libtool localbase
-
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--sysconfdir="${PREFIX}/etc/c-icap" \
-		--localstatedir=/var
-INSTALL_TARGET=	install-strip
 CPE_VENDOR=	c-icap_project
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	c-icap
 
-USERS=		${CICAP_USER}
-GROUPS=		${CICAP_GROUP}
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--localstatedir=/var \
+		--sysconfdir="${PREFIX}/etc/c-icap"
+
+INSTALL_TARGET=	install-strip
+
+SUB_LIST=	CICAP_USER=${CICAP_USER} \
+		RUN_DIR=${RUN_DIR}
 
 CICAP_USER=	c_icap
 CICAP_UID=	959
 CICAP_GROUP=	c_icap
 CICAP_GID=	959
-
 LOG_DIR=	/var/log/c-icap
 RUN_DIR=	/var/run/c-icap
-PLIST_SUB=	LOG_DIR=${LOG_DIR} RUN_DIR=${RUN_DIR} \
-		CICAP_USER=${CICAP_USER} CICAP_GROUP=${CICAP_GROUP}
-SUB_LIST=	RUN_DIR=${RUN_DIR} CICAP_USER=${CICAP_USER}
+USERS=		${CICAP_USER}
+GROUPS=		${CICAP_GROUP}
 
-OPTIONS_DEFINE=		BDB IPV6 LDAP PERL POSIXSEM LARGE_FILES MEMCACHE
+PLIST_SUB=	CICAP_GROUP=${CICAP_GROUP} \
+		CICAP_USER=${CICAP_USER} \
+		LOG_DIR=${LOG_DIR} \
+		RUN_DIR=${RUN_DIR}
+
+OPTIONS_DEFINE=		BDB IPV6 LARGE_FILES LDAP MEMCACHE PERL POSIXSEM
 OPTIONS_SUB=		yes
 LARGE_FILES_DESC=	Enable large files support
-POSIXSEM_DESC=		Use POSIX Semaphores instead of SYSV IPC
 MEMCACHE_DESC=		Enable memcached
+POSIXSEM_DESC=		Use POSIX Semaphores instead of SYSV IPC
+
+BDB_USES=		bdb
+BDB_CONFIGURE_ON=	--with-bdb=yes
+BDB_CONFIGURE_OFF=	--with-bdb=no
+BDB_CFLAGS=		-I${BDB_INCLUDE_DIR}
+BDB_LDFLAGS=		-L${BDB_LIB_DIR}
 
 IPV6_CONFIGURE_ENABLE=	ipv6
 
 LARGE_FILES_CONFIGURE_ENABLE=	large-files
 
-MEMCACHE_CONFIGURE_WITH=	memcached
+LDAP_USES=			ldap
+LDAP_CONFIGURE_ON=		--with-ldap=yes
+LDAP_CONFIGURE_OFF=		--with-ldap=no
 MEMCACHE_LIB_DEPENDS=		libmemcached.so:databases/libmemcached
-
-LDAP_USES=		ldap
-LDAP_CONFIGURE_ON=	--with-ldap=yes
-LDAP_CONFIGURE_OFF=	--with-ldap=no
+MEMCACHE_CONFIGURE_WITH=	memcached
 
 PERL_USES=		perl5
 PERL_CONFIGURE_ON=	--with-perl=${PERL}
 PERL_CONFIGURE_OFF=	--without-perl
 
-BDB_USES=		bdb
-BDB_CFLAGS=		-I${BDB_INCLUDE_DIR}
-BDB_LDFLAGS=		-L${BDB_LIB_DIR}
-BDB_CONFIGURE_ON=	--with-bdb=yes
-BDB_CONFIGURE_OFF=	--with-bdb=no
-
 .include <bsd.port.pre.mk>
 
 post-patch:
diff --git a/www/c-icap/distinfo b/www/c-icap/distinfo
index 21c238adca39..bdd6225c4129 100644
--- a/www/c-icap/distinfo
+++ b/www/c-icap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1636906178
-SHA256 (c_icap-0.5.10.tar.gz) = 541d503354907f06d1d72fa90fffd031002f0f4346150fb7b2203ad5825ae49d
-SIZE (c_icap-0.5.10.tar.gz) = 695044
+TIMESTAMP = 1699301269
+SHA256 (c_icap-0.5.11.tar.gz) = c1c773045e6e2300ccdab2b8a59c67731ce73ffe01f5871327812ad3bd2484d4
+SIZE (c_icap-0.5.11.tar.gz) = 699076
diff --git a/www/c-icap/pkg-plist b/www/c-icap/pkg-plist
index 5b94084278c6..c688b9dde3b3 100644
--- a/www/c-icap/pkg-plist
+++ b/www/c-icap/pkg-plist
@@ -53,7 +53,7 @@ lib/c_icap/srv_ex206.so
 lib/c_icap/sys_logger.so
 lib/libicapapi.so
 lib/libicapapi.so.5
-lib/libicapapi.so.5.0.10
+lib/libicapapi.so.5.0.11
 man/man8/c-icap-client.8.gz
 man/man8/c-icap-config.8.gz
 man/man8/c-icap-libicapapi-config.8.gz