summaryrefslogtreecommitdiffstats
path: root/network/squid/squid.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/squid/squid.SlackBuild')
-rw-r--r--network/squid/squid.SlackBuild39
1 files changed, 29 insertions, 10 deletions
diff --git a/network/squid/squid.SlackBuild b/network/squid/squid.SlackBuild
index d3e4ee3107..d819c88077 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.13}
+VERSION=${VERSION:-6.6}
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