From owner-svn-ports-all@freebsd.org Fri Apr 13 09:21:52 2018 Return-Path: Delivered-To: svn-ports-all@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 85263F9DFFE; Fri, 13 Apr 2018 09:21:52 +0000 (UTC) (envelope-from pizzamig@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 35FE9864ED; Fri, 13 Apr 2018 09:21:52 +0000 (UTC) (envelope-from pizzamig@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 30EA317E81; Fri, 13 Apr 2018 09:21:52 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3D9Lqkl018103; Fri, 13 Apr 2018 09:21:52 GMT (envelope-from pizzamig@FreeBSD.org) Received: (from pizzamig@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3D9LpY0018100; Fri, 13 Apr 2018 09:21:51 GMT (envelope-from pizzamig@FreeBSD.org) Message-Id: <201804130921.w3D9LpY0018100@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pizzamig set sender to pizzamig@FreeBSD.org using -f From: Luca Pizzamiglio Date: Fri, 13 Apr 2018 09:21:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467220 - in head/www/squid-devel: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pizzamig X-SVN-Commit-Paths: in head/www/squid-devel: . files X-SVN-Commit-Revision: 467220 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2018 09:21:52 -0000 Author: pizzamig Date: Fri Apr 13 09:21:51 2018 New Revision: 467220 URL: https://svnweb.freebsd.org/changeset/ports/467220 Log: www/squid-devel: update to 4.0.24, add BDB option PR: 227127 Submitted by: ncrogers@gmail.com Approved by: timp87@gmail.com (maintainer) Deleted: head/www/squid-devel/files/patch-src_ipc_Kid.cc Modified: head/www/squid-devel/Makefile head/www/squid-devel/distinfo head/www/squid-devel/pkg-plist Modified: head/www/squid-devel/Makefile ============================================================================== --- head/www/squid-devel/Makefile Fri Apr 13 09:18:58 2018 (r467219) +++ head/www/squid-devel/Makefile Fri Apr 13 09:21:51 2018 (r467220) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= squid -PORTVERSION= 4.0.23 +PORTVERSION= 4.0.24 CATEGORIES= www ipv6 MASTER_SITES= http://www.squid-cache.org/Versions/v4/ \ http://www2.us.squid-cache.org/Versions/v4/ \ @@ -29,13 +29,11 @@ BROKEN_powerpc64= fails to link: ext_time_quota_acl.cc CONFLICTS= squid*-3.* -USES= compiler:c++11-lib cpe perl5 shebangfix tar:xz bdb +USES= compiler:c++11-lib cpe perl5 shebangfix tar:xz CPE_VENDOR= squid-cache SHEBANG_FILES= scripts/*.pl contrib/*.pl tools/*.pl GNU_CONFIGURE= yes USE_RC_SUBR= squid -CPPFLAGS+= -I${BDB_INCLUDE_DIR} -LDFLAGS+= -L${BDB_LIB_DIR} USERS= squid GROUPS= squid @@ -50,7 +48,7 @@ OPTIONS_GROUP= AUTH OPTIONS_RADIO= FW OPTIONS_GROUP_AUTH=AUTH_LDAP AUTH_NIS AUTH_SASL AUTH_SMB AUTH_SQL OPTIONS_RADIO_FW=TP_IPF TP_IPFW TP_PF -OPTIONS_DEFINE= ARP_ACL CACHE_DIGESTS DEBUG DELAY_POOLS DOCS ECAP ESI EXAMPLES \ +OPTIONS_DEFINE= ARP_ACL BDB CACHE_DIGESTS DEBUG DELAY_POOLS DOCS ECAP ESI EXAMPLES \ FOLLOW_XFF FS_AUFS FS_DISKD FS_ROCK HTCP ICAP ICMP IDENT IPV6 \ KQUEUE LARGEFILE LAX_HTTP NETTLE PCRE SNMP SSL SSL_CRTD \ STACKTRACES VIA_DB WCCP WCCPV2 @@ -77,6 +75,7 @@ AUTH_SMB_USES= samba:run AUTH_SMB_VARS= BASIC_AUTH+=SMB EXTERNAL_ACL+=wbinfo_group AUTH_SQL_RUN_DEPENDS= p5-DBI>=1.08:databases/p5-DBI AUTH_SQL_VARS= EXTERNAL_ACL+=SQL_session +BDB_USES= bdb CACHE_DIGESTS_CONFIGURE_ENABLE= cache-digests DELAY_POOLS_CONFIGURE_ENABLE= delay-pools ECAP_CFLAGS= -I${LOCALBASE}/include @@ -152,9 +151,6 @@ GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --with-mit-krb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} GSSAPI_MIT_PLIST_SUB= AUTH_KERB="" -# TODO: -# add an option for external_acl/session (requires some kind of external -# Berkeley DB support, unsure which one) ARP_ACL_DESC= ARP/MAC/EUI based authentification AUTH_DESC= Authentication helpers AUTH_LDAP_DESC= Install LDAP authentication helpers @@ -162,6 +158,7 @@ AUTH_NIS_DESC= Install NIS/YP authentication helpers AUTH_SASL_DESC= Install SASL authentication helpers AUTH_SMB_DESC= Install SMB auth. helpers (req. Samba) AUTH_SQL_DESC= Install SQL based auth +BDB_DESC= Berkeley DB support required for session and time quota external helpers CACHE_DIGESTS_DESC= Use cache digests DEBUG_DESC= Build with extended debugging support DELAY_POOLS_DESC= Delay pools (bandwidth limiting) @@ -238,7 +235,7 @@ CONFIGURE_ARGS= --with-default-user=squid \ # Authentication methods and modules: BASIC_AUTH+= DB SMB_LM NCSA PAM POP3 RADIUS fake getpwnam -EXTERNAL_ACL+= file_userip time_quota unix_group +EXTERNAL_ACL+= file_userip unix_group # POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too: .if ${PORT_OPTIONS:MAUTH_NIS} && !defined(NO_NIS) && !defined(WITHOUT_NIS) @@ -255,6 +252,13 @@ PLIST_SUB+= AUTH_KERB="@comment " EXTERNAL_ACL+= kerberos_ldap_group . endif NEGOTIATE_AUTH= kerberos wrapper +.endif + +# The session and time_quota external helpers require Berkeley DB support: +.if ${PORT_OPTIONS:MBDB} +CPPFLAGS+= -I${BDB_INCLUDE_DIR} +LDFLAGS+= -L${BDB_LIB_DIR} +EXTERNAL_ACL+= time_quota session .endif # Storage schemes: Modified: head/www/squid-devel/distinfo ============================================================================== --- head/www/squid-devel/distinfo Fri Apr 13 09:18:58 2018 (r467219) +++ head/www/squid-devel/distinfo Fri Apr 13 09:21:51 2018 (r467220) @@ -1,3 +1,3 @@ -TIMESTAMP = 1517146538 -SHA256 (squid4.0/squid-4.0.23.tar.xz) = 18b71a601f60f49ca0cfc7d1d212dc935112d61008ab8a689fceab3ef4070f29 -SIZE (squid4.0/squid-4.0.23.tar.xz) = 2415132 +TIMESTAMP = 1522445865 +SHA256 (squid4.0/squid-4.0.24.tar.xz) = 091da0d763307dcc0f5c784ab07ea0c5a093f6dfac60f17ff26e2a6d50f76a07 +SIZE (squid4.0/squid-4.0.24.tar.xz) = 2420076 Modified: head/www/squid-devel/pkg-plist ============================================================================== --- head/www/squid-devel/pkg-plist Fri Apr 13 09:18:58 2018 (r467219) +++ head/www/squid-devel/pkg-plist Fri Apr 13 09:21:51 2018 (r467220) @@ -2174,8 +2174,9 @@ libexec/squid/digest_file_auth libexec/squid/ext_file_userip_acl %%AUTH_KERB%%%%AUTH_LDAP%%%%AUTH_SASL%%libexec/squid/ext_kerberos_ldap_group_acl %%AUTH_LDAP%%libexec/squid/ext_ldap_group_acl +%%BDB%%libexec/squid/ext_session_acl %%AUTH_SQL%%libexec/squid/ext_sql_session_acl -libexec/squid/ext_time_quota_acl +%%BDB%%libexec/squid/ext_time_quota_acl libexec/squid/ext_unix_group_acl %%AUTH_SMB%%libexec/squid/ext_wbinfo_group_acl libexec/squid/helper-mux @@ -2211,8 +2212,9 @@ man/man8/cachemgr.cgi.8.gz man/man8/digest_file_auth.8.gz man/man8/ext_file_userip_acl.8.gz %%AUTH_LDAP%%man/man8/ext_ldap_group_acl.8.gz +%%BDB%%man/man8/ext_session_acl.8.gz %%AUTH_SQL%%man/man8/ext_sql_session_acl.8.gz -man/man8/ext_time_quota_acl.8.gz +%%BDB%%man/man8/ext_time_quota_acl.8.gz man/man8/ext_unix_group_acl.8.gz %%AUTH_SMB%%man/man8/ext_wbinfo_group_acl.8.gz %%AUTH_KERB%%man/man8/negotiate_kerberos_auth.8.gz