wok rev 25325

updated squidclamav (6.16 -> 7.1)
author Hans-G?nter Theisgen
date Fri Jul 22 17:33:47 2022 +0100 (2022-07-22)
parents 6da7dbdbf74a
children 36dead94dd76
files squid/receipt squidclamav/description.txt squidclamav/receipt
line diff
     1.1 --- a/squid/receipt	Fri Jul 22 17:10:45 2022 +0100
     1.2 +++ b/squid/receipt	Fri Jul 22 17:33:47 2022 +0100
     1.3 @@ -12,7 +12,7 @@
     1.4  WGET_URL="${WEB_SITE}Versions/v${VERSION%.*}/$TARBALL"
     1.5  
     1.6  SUGGESTED="iptables"
     1.7 -DEPENDS="expat gcc83-lib-base gnutls libldap libltdl libsasl libssl libxml2"
     1.8 +DEPENDS="expat gcc83-lib-base gnutls libatomic libldap libltdl libsasl libssl libxml2"
     1.9  BUILD_DEPENDS="cyrus-sasl-dev expat-dev gcc83 gnutls-dev libcap-dev libdb
    1.10  	libxml2-dev openssl-dev openldap-dev perl"
    1.11  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/squidclamav/description.txt	Fri Jul 22 17:33:47 2022 +0100
     2.3 @@ -0,0 +1,30 @@
     2.4 +SquidClamav is an antivirus for Squid proxy based on the
     2.5 +Awards winnings ClamAv anti-virus toolkit.
     2.6 +Using it will help you securing your home or enterprise
     2.7 +network web traffic.
     2.8 +SquidClamav is the most efficient Squid ICAP service
     2.9 +antivirus tool for HTTP traffic available for free.
    2.10 +It is written in C and can handle thousand of connections.
    2.11 +SquidClamav is built for speed and security in mind, it
    2.12 +is first used and tested to secure a network with 2,500
    2.13 +and more users.
    2.14 +It is also known to working fast with 15000+ users.
    2.15 +
    2.16 +SquidClamav works as an ICAP service through the c-icap
    2.17 +server.
    2.18 +With SquidClamav you have full control of what kind of
    2.19 +HTTP stream must be scanned by Clamav antivirus, this
    2.20 +control operate at 3 different levels:
    2.21 +
    2.22 +- At URL level, you can disable or enable virus scanning
    2.23 +  for a set of web sites, filename extensions or anything
    2.24 +  that can be matched in an URL.
    2.25 +- At client side by disabling or enabling virus scan to a
    2.26 +  set of usernames, source Ip addresses or computer DNS
    2.27 +  names.
    2.28 +- At HTTP header level, where you can disable or enable
    2.29 +  virus scanning following the content type or file size.
    2.30 +
    2.31 +SquidClamav scans all HTTP traffic by default (mode
    2.32 +"ScanAllExcept") but it can be turned into a
    2.33 +"ScanNothingExcept" mode to scan only some files.
     3.1 --- a/squidclamav/receipt	Fri Jul 22 17:10:45 2022 +0100
     3.2 +++ b/squidclamav/receipt	Fri Jul 22 17:33:47 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="squidclamav"
     3.7 -VERSION="6.16"
     3.8 +VERSION="7.1"
     3.9  CATEGORY="security"
    3.10  SHORT_DESC="Antivirus redirector for Squid proxy."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12 @@ -9,7 +9,7 @@
    3.13  WEB_SITE="https://squidclamav.darold.net/"
    3.14  
    3.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.17 +WGET_URL="https://github.com/darold/$PACKAGE/archive/v$VERSION.tar.gz"
    3.18  
    3.19  DEPENDS="c_icap clamav libcurl squid squidguard"
    3.20  BUILD_DEPENDS="c_icap-dev curl-dev"
    3.21 @@ -57,7 +57,7 @@
    3.22  	rm -f				$fs/usr/lib/c_icap/*.la
    3.23  }
    3.24  
    3.25 -#Post install command
    3.26 +#Post install commands
    3.27  post_install()
    3.28  {
    3.29  	echo 'Service squidclamav squidclamav.so' >> "$1/etc/c-icap/c-icap.conf"
    3.30 @@ -68,7 +68,7 @@
    3.31  	fi
    3.32  }
    3.33  
    3.34 -#Post remove command
    3.35 +#Post remove commands
    3.36  post_remove()
    3.37  {
    3.38  	sed -i -e "s/.*squidclamav.*//" "$1/etc/c-icap/c-icap.conf"