www/c-icap: sync with upstream

Taken from: HardenedBSD
This commit is contained in:
Franco Fichtner 2018-09-30 17:39:49 +02:00
parent ed80885da7
commit cdff44452d
4 changed files with 13 additions and 20 deletions

View file

@ -17,11 +17,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING
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
USES= cpe libtool localbase
CPE_VENDOR= c-icap_project
USE_LDCONFIG= yes
USE_RC_SUBR= c-icap

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1537381523
TIMESTAMP = 1537896280
SHA256 (c_icap-0.5.5.tar.gz) = 5eafc7775ecb3fe49545451eaa31f045716d0242977588c0ba27c2c1b4683d8a
SIZE (c_icap-0.5.5.tar.gz) = 690954

View file

@ -1,19 +1,11 @@
--- c-icap.conf.in.orig 2016-03-29 09:27:15 UTC
--- c-icap.conf.in.orig 2018-09-12 13:40:37 UTC
+++ c-icap.conf.in
@@ -123,6 +123,16 @@ MaxRequestsPerChild 0
@@ -132,7 +132,7 @@ MaxRequestsPerChild 0
# Port [::1]:1346
# Default:
# InterProcessLockingScheme file
# None
-Port 1344
+Port 127.0.0.1:1344
+# TAG: ListenAddress
+# Format: ListenAddress address
+# Description:
+# Network address that the c-icap server uses to listen to requests.
+# By default c-icap will bind to all available network addresses. Use
+# this directive to restrict it to specific network address.
+# Default:
+# No value
+ListenAddress 127.0.0.1
+
# TAG: Port
# Format: Port port
# Description:
# TAG: TlsPort
# Format: TlsPort [address:]port [tls-method=method] [cert=path_to_pem_cert] [key=path_to_pem_key] [client_ca=path_to_pem_file] [ciphers=ciph1:ciph2...] [tls_options=[!]Opt1|[!]Opt2|...]

View file

@ -1,4 +1,4 @@
--- modules/memcached.c.orig 2016-04-30 12:42:52 UTC
--- modules/memcached.c.orig 2017-10-21 06:57:48 UTC
+++ modules/memcached.c
@@ -47,7 +47,7 @@
#include <libmemcached/memcached_pool.h>
@ -8,4 +8,4 @@
+/* #include <crypt.h> */
int USE_MD5_SUM_KEYS = 1;