mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
network/squid: Add new option.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
d18e6cf59e
commit
5fca5237df
2 changed files with 11 additions and 0 deletions
|
@ -10,3 +10,8 @@ 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
|
||||
|
|
|
@ -73,6 +73,11 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -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" \
|
||||
|
@ -90,6 +95,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--enable-auth-basic \
|
||||
--enable-linux-netfilter \
|
||||
--enable-async-io \
|
||||
$OPT_ICAP \
|
||||
--build=$ARCH-slackware-linux \
|
||||
--disable-strict-error-checking
|
||||
|
||||
|
|
Loading…
Reference in a new issue