ports/119236: New port: www/squidclamav, interface to perform antivirus checks on data passing through Squid Proxy
Florian Smeets
flo at kasimir.com
Wed Apr 23 16:00:05 UTC 2008
The following reply was made to PR ports/119236; it has been noted by GNATS.
From: Florian Smeets <flo at kasimir.com>
To: bug-followup at FreeBSD.org, llevier at argosnet.com
Cc:
Subject: Re: ports/119236: New port: www/squidclamav, interface to perform
antivirus checks on data passing through Squid Proxy
Date: Wed, 23 Apr 2008 17:29:43 +0200
This is a multi-part message in MIME format.
--------------070201090206010504060602
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
i cleaned this port up a little and updated it to the latest version.
This software works great, i think it would be a valuable addition to
the ports tree.
I changed the category from www to security as squidclam is also in
security. (N.B. the squidclam port seems to be way out of date, i chose
to use squidclamav as is seems to be more actively developed)
Cheers,
Florian
--------------070201090206010504060602
Content-Type: application/x-shar;
name="squidclamav.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="squidclamav.shar"
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# ./squidclamav
# ./squidclamav/files
# ./squidclamav/files/patch-Makefile.in
# ./squidclamav/distinfo
# ./squidclamav/Makefile
# ./squidclamav/pkg-descr
#
echo c - ./squidclamav
mkdir -p ./squidclamav > /dev/null 2>&1
echo c - ./squidclamav/files
mkdir -p ./squidclamav/files > /dev/null 2>&1
echo x - ./squidclamav/files/patch-Makefile.in
sed 's/^X//' >./squidclamav/files/patch-Makefile.in << 'END-of-./squidclamav/files/patch-Makefile.in'
X--- Makefile.in.orig 2008-04-23 10:01:57.000000000 +0200
X+++ Makefile.in 2008-04-23 10:04:30.000000000 +0200
X@@ -58,7 +58,7 @@
X log.$(OBJEXT) main.$(OBJEXT) squidclamav.$(OBJEXT)
X squidclamav_OBJECTS = $(am_squidclamav_OBJECTS)
X squidclamav_LDADD = $(LDADD)
X-DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
X+DEFAULT_INCLUDES = -I. -I$(srcdir) -I. -I/usr/local/include
X depcomp = $(SHELL) $(top_srcdir)/depcomp
X am__depfiles_maybe = depfiles
X COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
X@@ -80,13 +80,8 @@
X GZIP_ENV = --best
X distuninstallcheck_listfiles = find . -type f -print
X distcleancheck_listfiles = find . -type f -print
X-ACLOCAL = @ACLOCAL@
X AMDEP_FALSE = @AMDEP_FALSE@
X AMDEP_TRUE = @AMDEP_TRUE@
X-AMTAR = @AMTAR@
X-AUTOCONF = @AUTOCONF@
X-AUTOHEADER = @AUTOHEADER@
X-AUTOMAKE = @AUTOMAKE@
X AWK = @AWK@
X CC = @CC@
X CCDEPMODE = @CCDEPMODE@
X@@ -105,9 +100,9 @@
X INSTALL_PROGRAM = @INSTALL_PROGRAM@
X INSTALL_SCRIPT = @INSTALL_SCRIPT@
X INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
X-LDFLAGS = @LDFLAGS@
X+LDFLAGS = -L/usr/local/lib
X LIBOBJS = @LIBOBJS@
X-LIBS = @LIBS@
X+LIBS = -lcurl
X LTLIBOBJS = @LTLIBOBJS@
X MAKEINFO = @MAKEINFO@
X OBJEXT = @OBJEXT@
X
END-of-./squidclamav/files/patch-Makefile.in
echo x - ./squidclamav/distinfo
sed 's/^X//' >./squidclamav/distinfo << 'END-of-./squidclamav/distinfo'
XMD5 (squidclamav-3.5.tar.gz) = 955060d2cf87d5fb9ab05f6c8cf83f56
XSHA256 (squidclamav-3.5.tar.gz) = 47e73b34d23ae6abffa6c75cc9002177a78ea22fe94c42d08a7a7c575717a42e
XSIZE (squidclamav-3.5.tar.gz) = 100096
END-of-./squidclamav/distinfo
echo x - ./squidclamav/Makefile
sed 's/^X//' >./squidclamav/Makefile << 'END-of-./squidclamav/Makefile'
X# ex:ts=8
X# Ports collection makefile for: squidclamav
X# Date created: Tue Jan 01, 2008
X# Whom: Laurent LEVIER (llevier at argosnet.com)
X#
X# $FreeBSD: ports/security/squidclamav/Makefile,v 1.1 2008/01/01 21:22:39 ll Exp $
X#
X
XPORTNAME= squidclamav
XPORTVERSION= 3.5
XCATEGORIES= security
XMASTER_SITES= http://www.samse.fr/GPL/squidclamav/
X
XMAINTAINER= llevier at argosnet.com
XCOMMENT= Squid interface to ClamAV
X
XLIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
X
XNO_LATEST_LINK= yes
XPLIST_FILES= bin/squidclamav etc/squidclamav.conf.dist
XGNU_CONFIGURE= yes
XUSE_GMAKE= yes
XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
Xdo-install:
X @${INSTALL_PROGRAM} ${WRKSRC}/squidclamav ${PREFIX}/bin
X @${INSTALL_DATA} ${WRKSRC}/squidclamav.conf.dist ${PREFIX}/etc
X
X.include <bsd.port.mk>
END-of-./squidclamav/Makefile
echo x - ./squidclamav/pkg-descr
sed 's/^X//' >./squidclamav/pkg-descr << 'END-of-./squidclamav/pkg-descr'
XSquidClamAV is an interface to perform antivirus checks on data
Xpassing through Squid Proxy.
END-of-./squidclamav/pkg-descr
exit
--------------070201090206010504060602--
More information about the freebsd-ports-bugs
mailing list