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
This commit is contained in:
parent
c766e678a0
commit
682e284789
3 changed files with 32 additions and 30 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue