diff options
author | adam <adam@pkgsrc.org> | 2011-05-11 04:31:15 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2011-05-11 04:31:15 +0000 |
commit | a718b8932995e154503aab0a6ba7a7c688255adc (patch) | |
tree | 14380508fa96663902a01f0ce67071b4541494ac /www/squidclamav | |
parent | afa427182a2485052362f9b2127a576f8a398a62 (diff) | |
download | pkgsrc-a718b8932995e154503aab0a6ba7a7c688255adc.tar.gz |
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 Redirector and
ICAP service antivirus tool for HTTP traffic available for free, it is written
in C and can handle thousand of connections. The way to add more securing on
your network for free is here.
SquidClamav is build 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.
Diffstat (limited to 'www/squidclamav')
-rw-r--r-- | www/squidclamav/DESCR | 10 | ||||
-rw-r--r-- | www/squidclamav/Makefile | 38 | ||||
-rw-r--r-- | www/squidclamav/PLIST | 11 | ||||
-rw-r--r-- | www/squidclamav/distinfo | 6 | ||||
-rw-r--r-- | www/squidclamav/patches/patch-etc_Makefile.in | 15 |
5 files changed, 80 insertions, 0 deletions
diff --git a/www/squidclamav/DESCR b/www/squidclamav/DESCR new file mode 100644 index 00000000000..c68a8ba9587 --- /dev/null +++ b/www/squidclamav/DESCR @@ -0,0 +1,10 @@ +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 Redirector and +ICAP service antivirus tool for HTTP traffic available for free, it is written +in C and can handle thousand of connections. The way to add more securing on +your network for free is here. + +SquidClamav is build 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. diff --git a/www/squidclamav/Makefile b/www/squidclamav/Makefile new file mode 100644 index 00000000000..1e615d6f0ef --- /dev/null +++ b/www/squidclamav/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/05/11 04:31:15 adam Exp $ + +DISTNAME= squidclamav-6.2 +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=squidclamav/} + +MAINTAINER= adam@NetBSD.org +HOMEPAGE= http://squidclamav.darold.net/ +COMMENT= Clamav ICAP service and redirector for Squid +LICENSE= gnu-lgpl-v2.1 + +PKG_DESTDIR_SUPPORT= user-destdir + +DEPENDS+= clamav>=0.97:../../security/clamav +DEPENDS+= squid>=3.1.12:../../www/squid31 + +USE_LANGUAGES= c +USE_LIBTOOL= yes +USE_TOOLS+= perl +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --sysconfdir=${PKG_SYSCONFDIR} +CONFIGURE_ARGS= --with-c-icap=${BUILDLINK_PREFIX.c-icap} + +REPLACE_PERL= cgi-bin/* + +EGDIR= ${PREFIX}/share/squidclamav +CONF_FILES= ${EGDIR}/squidclamav.conf ${PKG_SYSCONFDIR}/squidclamav.conf + +SUBST_CLASSES+= fix-cfg +SUBST_STAGE.fix-cfg= pre-configure +SUBST_MESSAGE.fix-cfg= Fixing config path. +SUBST_FILES.fix-cfg= configure +SUBST_FILES.fix-cfg+= src/squidclamav.h +SUBST_SED.fix-cfg= -e 's,CFGDIR=/etc,CFGDIR=${PKG_SYSCONFDIR},' +SUBST_SED.fix-cfg+= -e '/CONFIG_FILE/s,/etc,${PKG_SYSCONFDIR},' + +.include "../../www/c-icap/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/squidclamav/PLIST b/www/squidclamav/PLIST new file mode 100644 index 00000000000..e2ce39fb3bd --- /dev/null +++ b/www/squidclamav/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/11 04:31:15 adam Exp $ +lib/c_icap/squidclamav.la +libexec/squidclamav/clwarn.cgi +libexec/squidclamav/clwarn.cgi.de_DE +libexec/squidclamav/clwarn.cgi.en_EN +libexec/squidclamav/clwarn.cgi.fr_FR +libexec/squidclamav/clwarn.cgi.pt_BR +libexec/squidclamav/clwarn.cgi.ru_RU +man/man1/squidclamav.1 +share/squidclamav/README +share/squidclamav/squidclamav.conf diff --git a/www/squidclamav/distinfo b/www/squidclamav/distinfo new file mode 100644 index 00000000000..28b737a45ce --- /dev/null +++ b/www/squidclamav/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/05/11 04:31:15 adam Exp $ + +SHA1 (squidclamav-6.2.tar.gz) = 6eb4a7427a368996fd965bc92012e43cced55171 +RMD160 (squidclamav-6.2.tar.gz) = 615e9baa2197f8953d25b86a1677e9f4646fd329 +Size (squidclamav-6.2.tar.gz) = 845585 bytes +SHA1 (patch-etc_Makefile.in) = 23a87a5ee484ab7ef7c50a5716f436b83f7e7449 diff --git a/www/squidclamav/patches/patch-etc_Makefile.in b/www/squidclamav/patches/patch-etc_Makefile.in new file mode 100644 index 00000000000..de6ee556192 --- /dev/null +++ b/www/squidclamav/patches/patch-etc_Makefile.in @@ -0,0 +1,15 @@ +$NetBSD: patch-etc_Makefile.in,v 1.1.1.1 2011/05/11 04:31:15 adam Exp $ + +Handle configuration files. + +--- etc/Makefile.in.orig 2011-05-10 09:05:26.000000000 +0000 ++++ etc/Makefile.in +@@ -167,7 +167,7 @@ top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + EXTRA_DIST = squidclamav.conf +-CFGINST = @CFGDIR@ ++CFGINST = $(datadir)/squidclamav + all: all-am + + .SUFFIXES: |