From owner-svn-ports-head@freebsd.org Sun Sep 30 08:58:43 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2495E10B92FA; Sun, 30 Sep 2018 08:58:43 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B52877A232; Sun, 30 Sep 2018 08:58:42 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A6DD71020C; Sun, 30 Sep 2018 08:58:42 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8U8wgt0095222; Sun, 30 Sep 2018 08:58:42 GMT (envelope-from rodrigo@FreeBSD.org) Received: (from rodrigo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8U8wfGj095218; Sun, 30 Sep 2018 08:58:41 GMT (envelope-from rodrigo@FreeBSD.org) Message-Id: <201809300858.w8U8wfGj095218@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rodrigo set sender to rodrigo@FreeBSD.org using -f From: Rodrigo Osorio Date: Sun, 30 Sep 2018 08:58:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480943 - in head/www/c-icap: . files X-SVN-Group: ports-head X-SVN-Commit-Author: rodrigo X-SVN-Commit-Paths: in head/www/c-icap: . files X-SVN-Commit-Revision: 480943 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 08:58:43 -0000 Author: rodrigo Date: Sun Sep 30 08:58:41 2018 New Revision: 480943 URL: https://svnweb.freebsd.org/changeset/ports/480943 Log: Upgrade c-icap to 0.5.5 - Update c-icap to 0.5.5 - Move USES to a better place and silence portlint - Remove 'ListenAddress 127.0.0.1' parameter from sample c-icap.conf since it doesn't work. Instead, replace the change to 'Port 127.0.0.1:1344'. More references about this problem at https://redmine.pfsense.org/issues/8832#note-10 - Regenerate patches with 'make makepatch' c-icap-0.5.5 changes - c-icap may crash with a SIGBUS while using mmap to map files to memory. - Fix multiple brotli decoding bugs - c-icap-client does not send the ";ieof" preview termination sequence when sends zero sized files PR: 231377 Submitted by: garga Modified: head/www/c-icap/Makefile head/www/c-icap/distinfo head/www/c-icap/files/patch-c-icap.conf.in head/www/c-icap/files/patch-modules_memcached.c head/www/c-icap/pkg-plist Modified: head/www/c-icap/Makefile ============================================================================== --- head/www/c-icap/Makefile Sun Sep 30 08:46:27 2018 (r480942) +++ head/www/c-icap/Makefile Sun Sep 30 08:58:41 2018 (r480943) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= c-icap -PORTVERSION= 0.5.3 +PORTVERSION= 0.5.5 PORTEPOCH= 2 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.5.x/ @@ -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 Modified: head/www/c-icap/distinfo ============================================================================== --- head/www/c-icap/distinfo Sun Sep 30 08:46:27 2018 (r480942) +++ head/www/c-icap/distinfo Sun Sep 30 08:58:41 2018 (r480943) @@ -1,3 +1,3 @@ -TIMESTAMP = 1523315387 -SHA256 (c_icap-0.5.3.tar.gz) = 0238508c94a406c7a2c8a0ff9659e7ba631554eda55001b43351bb68f85121d2 -SIZE (c_icap-0.5.3.tar.gz) = 690423 +TIMESTAMP = 1537896280 +SHA256 (c_icap-0.5.5.tar.gz) = 5eafc7775ecb3fe49545451eaa31f045716d0242977588c0ba27c2c1b4683d8a +SIZE (c_icap-0.5.5.tar.gz) = 690954 Modified: head/www/c-icap/files/patch-c-icap.conf.in ============================================================================== --- head/www/c-icap/files/patch-c-icap.conf.in Sun Sep 30 08:46:27 2018 (r480942) +++ head/www/c-icap/files/patch-c-icap.conf.in Sun Sep 30 08:58:41 2018 (r480943) @@ -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|...] Modified: head/www/c-icap/files/patch-modules_memcached.c ============================================================================== --- head/www/c-icap/files/patch-modules_memcached.c Sun Sep 30 08:46:27 2018 (r480942) +++ head/www/c-icap/files/patch-modules_memcached.c Sun Sep 30 08:58:41 2018 (r480943) @@ -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 @@ -8,4 +8,4 @@ +/* #include */ int USE_MD5_SUM_KEYS = 1; - + Modified: head/www/c-icap/pkg-plist ============================================================================== --- head/www/c-icap/pkg-plist Sun Sep 30 08:46:27 2018 (r480942) +++ head/www/c-icap/pkg-plist Sun Sep 30 08:58:41 2018 (r480943) @@ -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.3 +lib/libicapapi.so.5.0.5 man/man8/c-icap-client.8.gz man/man8/c-icap-config.8.gz man/man8/c-icap-libicapapi-config.8.gz