Project

General

Profile

Bug #8832 ยป c-icap-conf-fix.diff

Jim Pingle, 09/25/2018 11:47 AM

View differences:

www/c-icap/Makefile
PORTNAME= c-icap
PORTVERSION= 0.5.3
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.5.x/
www/c-icap/files/patch-c-icap.conf.in
--- c-icap.conf.in.orig 2016-03-29 09:27:15 UTC
--- c-icap.conf.in.orig 2018-09-25 16:30:42 UTC
+++ c-icap.conf.in
@@ -123,6 +123,16 @@ MaxRequestsPerChild 0
@@ -129,7 +129,7 @@
# The port number that the c-icap server uses to listen to requests.
# 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|...]
    (1-1/1)