diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2023-09-03 18:25:55 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-09-09 10:14:23 +0700 |
commit | 7a3eefc122f4b6d2587bc1d58d5d6e35d12b63b2 (patch) | |
tree | 13b01163a9678d3477a785dc93d9abd672954169 /network/squid/squid.SlackBuild | |
parent | 2eeff6423874102625323ed26cf66ec3115b6fe4 (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/squid.SlackBuild')
-rw-r--r-- | network/squid/squid.SlackBuild | 39 |
1 files changed, 29 insertions, 10 deletions
diff --git a/network/squid/squid.SlackBuild b/network/squid/squid.SlackBuild index faadb3da173dd..87f953c5fec9f 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 |