Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2012 01:19:53 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302556 - in head/www: . c-icap-modules
Message-ID:  <201208150119.q7F1Jrbm079677@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Wed Aug 15 01:19:53 2012
New Revision: 302556
URL: http://svn.freebsd.org/changeset/ports/302556

Log:
  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/

Added:
  head/www/c-icap-modules/
  head/www/c-icap-modules/Makefile   (contents, props changed)
  head/www/c-icap-modules/distinfo   (contents, props changed)
  head/www/c-icap-modules/pkg-descr   (contents, props changed)
  head/www/c-icap-modules/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Wed Aug 15 01:04:30 2012	(r302555)
+++ head/www/Makefile	Wed Aug 15 01:19:53 2012	(r302556)
@@ -60,6 +60,7 @@
     SUBDIR += bozohttpd
     SUBDIR += bugmenot-firefox
     SUBDIR += c-icap
+    SUBDIR += c-icap-modules
     SUBDIR += cacheboy15-devel
     SUBDIR += cacheboy16
     SUBDIR += cadaver

Added: head/www/c-icap-modules/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/c-icap-modules/Makefile	Wed Aug 15 01:19:53 2012	(r302556)
@@ -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>

Added: head/www/c-icap-modules/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/c-icap-modules/distinfo	Wed Aug 15 01:19:53 2012	(r302556)
@@ -0,0 +1,2 @@
+SHA256 (c_icap_modules-0.2.1.tar.gz) = e081e7a6584611b101580f7fbd3ae7540a6d9ef53a59efb377c5afd5c41d0c21
+SIZE (c_icap_modules-0.2.1.tar.gz) = 348245

Added: head/www/c-icap-modules/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/c-icap-modules/pkg-descr	Wed Aug 15 01:19:53 2012	(r302556)
@@ -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/

Added: head/www/c-icap-modules/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/c-icap-modules/pkg-plist	Wed Aug 15 01:19:53 2012	(r302556)
@@ -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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208150119.q7F1Jrbm079677>