aboutsummaryrefslogtreecommitdiff
path: root/network/squid
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2023-09-03 18:25:55 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-09 10:14:23 +0700
commit7a3eefc122f4b6d2587bc1d58d5d6e35d12b63b2 (patch)
tree13b01163a9678d3477a785dc93d9abd672954169 /network/squid
parent2eeff6423874102625323ed26cf66ec3115b6fe4 (diff)
network/squid: Updated for version 6.2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/squid')
-rw-r--r--network/squid/README9
-rw-r--r--network/squid/README.SBo2
-rw-r--r--network/squid/doinst.sh1
-rw-r--r--network/squid/squid.SlackBuild39
-rw-r--r--network/squid/squid.info6
5 files changed, 36 insertions, 21 deletions
diff --git a/network/squid/README b/network/squid/README
index da92c66796a6..9c36fcc1b98b 100644
--- a/network/squid/README
+++ b/network/squid/README
@@ -9,10 +9,5 @@ caches can be arranged in a hierarchy or mesh for additional bandwidth
savings.
See /usr/doc/squid-*/README.SBo for configuration help.
-Note that the default squid.conf and /etc/logrotate.d/squid files have
-changed in this release, so be sure to merge the changes into place.
-
-To build squid with ICAP client support, specify the option "ICAP=yes",
-for example:
-
- ICAP=yes ./squid.SlackBuild
+Note that the default files in /etc/squid and /etc/logrotate.d may
+change between releases, so be sure to merge the changes into place.
diff --git a/network/squid/README.SBo b/network/squid/README.SBo
index 5dcc214a0608..5a93ccda4506 100644
--- a/network/squid/README.SBo
+++ b/network/squid/README.SBo
@@ -10,7 +10,7 @@ executable and add the following to /etc/rc.d/rc.local:
==============================================================================
-Uncomment and edit the following lines in /etc/squid.conf:
+Uncomment and edit the following lines in /etc/squid/squid.conf:
http_port <port> <option>
diff --git a/network/squid/doinst.sh b/network/squid/doinst.sh
index 664a873749e6..b79c23655fea 100644
--- a/network/squid/doinst.sh
+++ b/network/squid/doinst.sh
@@ -26,5 +26,6 @@ preserve_perms etc/rc.d/rc.squid.new
preserve_perms etc/squid/mime.conf.new
preserve_perms etc/squid/squid.conf.new
preserve_perms etc/squid/cachemgr.conf.new
+preserve_perms etc/squid/errorpage.css.new
preserve_perms etc/logrotate.d/squid.new
diff --git a/network/squid/squid.SlackBuild b/network/squid/squid.SlackBuild
index faadb3da173d..87f953c5fec9 100644
--- a/network/squid/squid.SlackBuild
+++ b/network/squid/squid.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=squid
-VERSION=${VERSION:-4.16}
+VERSION=${VERSION:-6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,11 +83,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-OPT_ICAP=""
-if [ "${ICAP:-no}" = "yes" ]; then
- OPT_ICAP="--enable-icap-client"
-fi
-
# last option is needed on current
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -103,11 +98,34 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-snmp \
--enable-auth \
--enable-auth-basic \
+ --enable-auth-ntlm \
+ --enable-auth-digest \
+ --enable-auth-negotiate \
+ --enable-removal-policies="lru,heap" \
+ --enable-storeio="aufs,ufs,diskd,rock" \
+ --enable-delay-pools \
+ --enable-arp-acl \
+ --with-openssl \
+ --enable-snmp \
--enable-linux-netfilter \
+ --enable-ident-lookups \
+ --enable-useragent-log \
+ --enable-cache-digests \
+ --enable-referer-log \
+ --enable-arp-acl \
+ --enable-htcp \
+ --enable-carp \
+ --enable-epoll \
+ --with-large-files \
+ --enable-arp-acl \
+ --with-default-user=$SQUIDUSER \
--enable-async-io \
- $OPT_ICAP \
- --build=$ARCH-slackware-linux \
- --disable-strict-error-checking
+ --enable-truncate \
+ --enable-icap-client \
+ --enable-ssl-crtd \
+ --disable-arch-native \
+ --disable-strict-error-checking \
+ --enable-wccpv2
make all
make install DESTDIR=$PKG
@@ -135,7 +153,8 @@ sed -e "s,@SQUIDUSER@,$SQUIDUSER," -e "s,@SQUIDGROUP@,$SQUIDGROUP," $CWD/squid.l
> $PKG/etc/logrotate.d/squid.new
( cd $PKG/etc/squid
- for i in mime cachemgr squid ; do mv $i.conf $i.conf.new ; done )
+ for i in mime cachemgr squid ; do mv $i.conf $i.conf.new ; done
+ mv errorpage.css errorpage.css.new )
cp src/squid.conf.documented $PKG/etc/squid/squid.conf.documented
mkdir -p $PKG/var/{cache,lib,run}/squid
diff --git a/network/squid/squid.info b/network/squid/squid.info
index 792521047d8d..9eb0878a3ec3 100644
--- a/network/squid/squid.info
+++ b/network/squid/squid.info
@@ -1,8 +1,8 @@
PRGNAM="squid"
-VERSION="4.16"
+VERSION="6.2"
HOMEPAGE="http://www.squid-cache.org/"
-DOWNLOAD="http://www.squid-cache.org/Versions/v4/squid-4.16.tar.xz"
-MD5SUM="d200064f7050969680f628d26b8c704d"
+DOWNLOAD="http://www.squid-cache.org/Versions/v6/squid-6.2.tar.xz"
+MD5SUM="ad01b7d82b6a00ffd8cd39b97113d05a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""