Project

General

Profile

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

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

View differences:

www/c-icap/Makefile
3 3

  
4 4
PORTNAME=	c-icap
5 5
PORTVERSION=	0.5.3
6
PORTREVISION=	1
6 7
PORTEPOCH=	2
7 8
CATEGORIES=	www
8 9
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.5.x/
www/c-icap/files/patch-c-icap.conf.in
1
--- c-icap.conf.in.orig	2016-03-29 09:27:15 UTC
1
--- c-icap.conf.in.orig	2018-09-25 16:30:42 UTC
2 2
+++ c-icap.conf.in
3
@@ -123,6 +123,16 @@ MaxRequestsPerChild  0
3
@@ -129,7 +129,7 @@
4
 #	The port number that the c-icap server uses to listen to requests.
4 5
 # Default:
5
 #	InterProcessLockingScheme file
6
 #	None
7
-Port 1344
8
+Port 127.0.0.1:1344
6 9
 
7
+# TAG: ListenAddress
8
+# Format: ListenAddress address
9
+# Description:
10
+#	Network address that the c-icap server uses to listen to requests.
11
+#	By default c-icap will bind to all available network addresses. Use
12
+#	this directive to restrict it to specific network address.
13
+# Default:
14
+#	No value 
15
+ListenAddress 127.0.0.1
16
+
17
 # TAG: Port
18
 # Format: Port port
19
 # Description:
10
 # TAG: TlsPort
11
 # 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)