# HG changeset patch # User Hans-G?nter Theisgen # Date 1658507627 -3600 # Node ID 5c2340dee00ee2d771c1bc1ed484303c47bad357 # Parent 6da7dbdbf74a4231d41de5fd2cef27a486b6e825 updated squidclamav (6.16 -> 7.1) diff -r 6da7dbdbf74a -r 5c2340dee00e squid/receipt --- a/squid/receipt Fri Jul 22 17:10:45 2022 +0100 +++ b/squid/receipt Fri Jul 22 17:33:47 2022 +0100 @@ -12,7 +12,7 @@ WGET_URL="${WEB_SITE}Versions/v${VERSION%.*}/$TARBALL" SUGGESTED="iptables" -DEPENDS="expat gcc83-lib-base gnutls libldap libltdl libsasl libssl libxml2" +DEPENDS="expat gcc83-lib-base gnutls libatomic libldap libltdl libsasl libssl libxml2" BUILD_DEPENDS="cyrus-sasl-dev expat-dev gcc83 gnutls-dev libcap-dev libdb libxml2-dev openssl-dev openldap-dev perl" diff -r 6da7dbdbf74a -r 5c2340dee00e squidclamav/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/squidclamav/description.txt Fri Jul 22 17:33:47 2022 +0100 @@ -0,0 +1,30 @@ +SquidClamav is an antivirus for Squid proxy based on the +Awards winnings ClamAv anti-virus toolkit. +Using it will help you securing your home or enterprise +network web traffic. +SquidClamav is the most efficient Squid ICAP service +antivirus tool for HTTP traffic available for free. +It is written in C and can handle thousand of connections. +SquidClamav is built for speed and security in mind, it +is first used and tested to secure a network with 2,500 +and more users. +It is also known to working fast with 15000+ users. + +SquidClamav works as an ICAP service through the c-icap +server. +With SquidClamav you have full control of what kind of +HTTP stream must be scanned by Clamav antivirus, this +control operate at 3 different levels: + +- At URL level, you can disable or enable virus scanning + for a set of web sites, filename extensions or anything + that can be matched in an URL. +- At client side by disabling or enabling virus scan to a + set of usernames, source Ip addresses or computer DNS + names. +- At HTTP header level, where you can disable or enable + virus scanning following the content type or file size. + +SquidClamav scans all HTTP traffic by default (mode +"ScanAllExcept") but it can be turned into a +"ScanNothingExcept" mode to scan only some files. diff -r 6da7dbdbf74a -r 5c2340dee00e squidclamav/receipt --- a/squidclamav/receipt Fri Jul 22 17:10:45 2022 +0100 +++ b/squidclamav/receipt Fri Jul 22 17:33:47 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="squidclamav" -VERSION="6.16" +VERSION="7.1" CATEGORY="security" SHORT_DESC="Antivirus redirector for Squid proxy." MAINTAINER="pascal.bellard@slitaz.org" @@ -9,7 +9,7 @@ WEB_SITE="https://squidclamav.darold.net/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +WGET_URL="https://github.com/darold/$PACKAGE/archive/v$VERSION.tar.gz" DEPENDS="c_icap clamav libcurl squid squidguard" BUILD_DEPENDS="c_icap-dev curl-dev" @@ -57,7 +57,7 @@ rm -f $fs/usr/lib/c_icap/*.la } -#Post install command +#Post install commands post_install() { echo 'Service squidclamav squidclamav.so' >> "$1/etc/c-icap/c-icap.conf" @@ -68,7 +68,7 @@ fi } -#Post remove command +#Post remove commands post_remove() { sed -i -e "s/.*squidclamav.*//" "$1/etc/c-icap/c-icap.conf"