c-icap server modules:
virus_scan: This is an antivirus service which uses the open source clamav antivirus. srv_url_check: This is an URL blacklist/whitelist icap service WWW: http://c-icap.sourceforge.net/
This commit is contained in:
parent
f9b6bb72bd
commit
5ffb242c01
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302556
5 changed files with 78 additions and 0 deletions
|
@ -60,6 +60,7 @@
|
||||||
SUBDIR += bozohttpd
|
SUBDIR += bozohttpd
|
||||||
SUBDIR += bugmenot-firefox
|
SUBDIR += bugmenot-firefox
|
||||||
SUBDIR += c-icap
|
SUBDIR += c-icap
|
||||||
|
SUBDIR += c-icap-modules
|
||||||
SUBDIR += cacheboy15-devel
|
SUBDIR += cacheboy15-devel
|
||||||
SUBDIR += cacheboy16
|
SUBDIR += cacheboy16
|
||||||
SUBDIR += cadaver
|
SUBDIR += cadaver
|
||||||
|
|
41
www/c-icap-modules/Makefile
Normal file
41
www/c-icap-modules/Makefile
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# New ports collection makefile for: c-icap-modules
|
||||||
|
# Date created: 15 August 2012
|
||||||
|
# Whom: Martin Matuska <mm@FreeBSD.org>
|
||||||
|
#
|
||||||
|
# $FreeBSD: ports/www/c-icap/Makefile,v 1.22 2011/09/23 22:25:54 amdmi3 Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= c-icap
|
||||||
|
PORTVERSION= 0.2.1
|
||||||
|
CATEGORIES= www
|
||||||
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/0.2.x/
|
||||||
|
DISTNAME= c_icap_modules-${PORTVERSION}
|
||||||
|
PKGNAMESUFFIX= -modules
|
||||||
|
|
||||||
|
MAINTAINER= mm@FreeBSD.org
|
||||||
|
COMMENT= c-icap modules virus_scan and srv_url_check
|
||||||
|
|
||||||
|
LICENSE= LGPL21
|
||||||
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
|
LIB_DEPENDS+= icapapi:${PORTSDIR}/www/c-icap \
|
||||||
|
clamav:${PORTSDIR}/security/clamav
|
||||||
|
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
DATADIR= ${PREFIX}/share/c_icap
|
||||||
|
|
||||||
|
CFLAGS+= -DHAVE_STRNSTR
|
||||||
|
|
||||||
|
MAN8= c-icap-mods-sguardDB.8
|
||||||
|
|
||||||
|
CONFIGURE_ARGS+= --enable-static \
|
||||||
|
--with-c-icap=${LOCALBASE} \
|
||||||
|
--with-clamav=${LOCALBASE}
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
@${CP} -np ${PREFIX}/etc/c-icap/srv_url_check.conf.default \
|
||||||
|
${PREFIX}/etc/c-icap/srv_url_check.conf
|
||||||
|
@${CP} -np ${PREFIX}/etc/c-icap/virus_scan.conf.default \
|
||||||
|
${PREFIX}/etc/c-icap/virus_scan.conf
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
www/c-icap-modules/distinfo
Normal file
2
www/c-icap-modules/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SHA256 (c_icap_modules-0.2.1.tar.gz) = e081e7a6584611b101580f7fbd3ae7540a6d9ef53a59efb377c5afd5c41d0c21
|
||||||
|
SIZE (c_icap_modules-0.2.1.tar.gz) = 348245
|
10
www/c-icap-modules/pkg-descr
Normal file
10
www/c-icap-modules/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
c-icap server modules:
|
||||||
|
|
||||||
|
virus_scan:
|
||||||
|
This is an antivirus service which uses the open source
|
||||||
|
clamav antivirus.
|
||||||
|
|
||||||
|
srv_url_check:
|
||||||
|
This is an URL blacklist/whitelist icap service
|
||||||
|
|
||||||
|
WWW: http://c-icap.sourceforge.net/
|
24
www/c-icap-modules/pkg-plist
Normal file
24
www/c-icap-modules/pkg-plist
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
@unexec if cmp -s %D/etc/c-icap/srv_url_check.conf %D/etc/c-icap/srv_url_check.conf.default; then rm -f %D/etc/c-icap/srv_url_check.conf; fi
|
||||||
|
etc/c-icap/srv_url_check.conf.default
|
||||||
|
@exec [ -f %B/srv_url_check.conf ] || cp %B/%f %B/srv_url_check.conf
|
||||||
|
@unexec if cmp -s %D/etc/c-icap/virus_scan.conf %D/etc/c-icap/virus_scan.conf.default; then rm -f %D/etc/c-icap/virus_scan.conf; fi
|
||||||
|
etc/c-icap/virus_scan.conf.default
|
||||||
|
@exec [ -f %B/virus_scan.conf ] || cp %B/%f %B/virus_scan.conf
|
||||||
|
lib/c_icap/srv_url_check.a
|
||||||
|
lib/c_icap/srv_url_check.la
|
||||||
|
lib/c_icap/srv_url_check.so
|
||||||
|
lib/c_icap/virus_scan.a
|
||||||
|
lib/c_icap/virus_scan.la
|
||||||
|
lib/c_icap/virus_scan.so
|
||||||
|
%%DATADIR%%/templates/srv_url_check/en/DENY
|
||||||
|
%%DATADIR%%/templates/virus_scan/en/VIR_MODE_HEAD
|
||||||
|
%%DATADIR%%/templates/virus_scan/en/VIR_MODE_PROGRESS
|
||||||
|
%%DATADIR%%/templates/virus_scan/en/VIR_MODE_TAIL
|
||||||
|
%%DATADIR%%/templates/virus_scan/en/VIR_MODE_VIRUS_FOUND
|
||||||
|
%%DATADIR%%/templates/virus_scan/en/VIRUS_FOUND
|
||||||
|
@dirrm %%DATADIR%%/templates/srv_url_check/en
|
||||||
|
@dirrm %%DATADIR%%/templates/srv_url_check
|
||||||
|
@dirrm %%DATADIR%%/templates/virus_scan/en
|
||||||
|
@dirrm %%DATADIR%%/templates/virus_scan
|
||||||
|
@dirrmtry %%DATADIR%%/templates
|
||||||
|
@dirrmtry %%DATADIR%%
|
Loading…
Reference in a new issue