squid: update to 6.9
[feed/packages.git] / net / squid / Makefile
index 661084024dee7aac1a927f4b1b97a982201aa7bc..45e1e49172ccd36987ae581176c1b9879f5e1f7e 100644 (file)
@@ -8,16 +8,15 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=squid
-PKG_VERSION:=4.13
+PKG_VERSION:=6.9
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=http://www3.us.squid-cache.org/Versions/v4/ \
-       http://www2.pl.squid-cache.org/Versions/v4/ \
-       http://www.squid-cache.org/Versions/v4/
-PKG_HASH:=6891a0f540e60779b4f24f1802a302f813c6f473ec7336a474ed68c3e2e53ee0
+PKG_SOURCE_URL:=http://www2.pl.squid-cache.org/Versions/v6/ \
+       http://www.squid-cache.org/Versions/v6/
+PKG_HASH:=1ad72d46e1cb556e9561214f0fb181adb87c7c47927ef69bc8acd68a03f61882
 
-PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
+PKG_MAINTAINER:=Marko Ratkaj <markoratkaj@gmail.com>
 PKG_LICENSE:=GPL-2.0-or-later
 PKG_CPE_ID:=cpe:/a:squid-cache:squid
 
@@ -31,7 +30,7 @@ define Package/squid/Default
   SECTION:=net
   CATEGORY:=Network
   SUBMENU:=Web Servers/Proxies
-  URL:=http://www.squid-cache.org/
+  URL:=https://www.squid-cache.org/
 endef
 
 define Package/squid
@@ -70,37 +69,28 @@ endef
 
 CONFIGURE_ARGS += \
        BUILDCXX=$(HOSTCXX_NOCACHE) \
-       --config-cache \
        --datadir=/usr/share/squid \
        --libexecdir=/usr/lib/squid \
        --sysconfdir=/etc/squid \
-       --enable-shared \
        --disable-static \
        --enable-delay-pools \
-       --enable-kill-parent-hack \
-       --enable-ssl \
        --enable-cache-digests \
        --enable-linux-netfilter \
        --disable-unlinkd \
        --enable-x-accelerator-vary \
-       --disable-translation \
        --disable-auto-locale \
-       --with-dl \
-       --with-pthreads \
        --enable-epoll \
-       --with-maxfd=2048 \
-       --disable-ecap \
+       --with-filedescriptors=2048 \
        --disable-external-acl-helpers \
        --disable-arch-native \
-       --with-krb5-config=no \
        --without-mit-krb5 \
+       --without-heimdal-krb5 \
        --without-netfilter-conntrack \
        --disable-ident-lookups \
        $(if $(CONFIG_SQUID_auth-basic),--enable,--disable)-auth-basic \
        $(if $(CONFIG_SQUID_auth-digest),--enable,--disable)-auth-digest \
        $(if $(CONFIG_SQUID_auth-ntlm),--enable,--disable)-auth-ntlm \
        $(if $(CONFIG_SQUID_auth-negotiate),--enable,--disable)-auth-negotiate \
-       $(if $(CONFIG_SQUID_enable-ipv6),--enable,--disable)-dlmalloc \
        $(if $(CONFIG_SQUID_enable-ipv6),--enable,--disable)-ipv6 \
        $(if $(CONFIG_SQUID_enable-ssl-crtd),--enable-ssl-crtd) \
        $(if $(CONFIG_SQUID_use-gnutls),--with,--without)-gnutls \
@@ -109,10 +99,10 @@ CONFIGURE_ARGS += \
        $(if $(CONFIG_SQUID_enable-icmp),--enable,--disable)-icmp \
        $(if $(CONFIG_SQUID_enable-icap-client),--enable,--disable)-icap-client \
        $(if $(CONFIG_SQUID_enable-snmp),--enable,--disable)-snmp \
-       $(if $(CONFIG_SQUID_with-libcap),--with,--without)-libcap \
+       $(if $(CONFIG_SQUID_with-libcap),--with,--without)-cap \
        $(if $(CONFIG_SQUID_with-nettle),--with,--without)-nettle \
        $(if $(CONFIG_SQUID_with-expat),--with,--without)-expat \
-       $(if $(CONFIG_SQUID_with-libxml2),--with,--without)-libxml2
+       $(if $(CONFIG_SQUID_with-libxml2),--with,--without)-xml2
 
 CONFIGURE_VARS += \
        ac_cv_header_linux_netfilter_ipv4_h=yes \