aboutsummaryrefslogtreecommitdiff
path: root/www/c-icap-modules
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-02 11:41:18 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-02 11:41:18 +0000
commit86a7217d924665d25ef4eed2c151ee752fe118e3 (patch)
treeb8dcaf1ca183511236b4ed46d43223b5ef002b7b /www/c-icap-modules
parent4bdadef43cb5cce3450da6fbd6f5acf9c64623d4 (diff)
downloadports-86a7217d924665d25ef4eed2c151ee752fe118e3.tar.gz
ports-86a7217d924665d25ef4eed2c151ee752fe118e3.zip
Notes
Diffstat (limited to 'www/c-icap-modules')
-rw-r--r--www/c-icap-modules/Makefile4
-rw-r--r--www/c-icap-modules/pkg-plist20
2 files changed, 8 insertions, 16 deletions
diff --git a/www/c-icap-modules/Makefile b/www/c-icap-modules/Makefile
index 6eae15ca41fa..cf03b93a8e7d 100644
--- a/www/c-icap-modules/Makefile
+++ b/www/c-icap-modules/Makefile
@@ -3,6 +3,7 @@
PORTNAME= c-icap
PORTVERSION= 0.4.2
+PORTREVISION= 1
CATEGORIES= www security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/0.4.x/
PKGNAMESUFFIX= -modules
@@ -11,7 +12,8 @@ DISTNAME= c_icap_modules-${PORTVERSION}
MAINTAINER= mm@FreeBSD.org
COMMENT= Modules for c-icap: virus_scan and srv_url_check
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS+= libicapapi.so:${PORTSDIR}/www/c-icap \
libclamav.so:${PORTSDIR}/security/clamav
diff --git a/www/c-icap-modules/pkg-plist b/www/c-icap-modules/pkg-plist
index 08a222d73381..d4b594d937db 100644
--- a/www/c-icap-modules/pkg-plist
+++ b/www/c-icap-modules/pkg-plist
@@ -1,18 +1,8 @@
-@unexec if cmp -s %D/etc/c-icap/clamav_mod.conf %D/etc/c-icap/clamav_mod.conf.default; then rm -f %D/etc/c-icap/clamav_mod.conf; fi
-etc/c-icap/clamav_mod.conf.default
-@exec [ -f %B/clamav_mod.conf ] || cp %B/%f %B/clamav_mod.conf
-@unexec if cmp -s %D/etc/c-icap/clamd_mod.conf %D/etc/c-icap/clamd_mod.conf.default; then rm -f %D/etc/c-icap/clamd_mod.conf; fi
-etc/c-icap/clamd_mod.conf.default
-@exec [ -f %B/clamd_mod.conf ] || cp %B/%f %B/clamd_mod.conf
-@unexec if cmp -s %D/etc/c-icap/srv_content_filtering.conf %D/etc/c-icap/srv_content_filtering.conf.default; then rm -f %D/etc/c-icap/srv_content_filtering.conf; fi
-etc/c-icap/srv_content_filtering.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/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
+@sample etc/c-icap/clamav_mod.conf.default etc/c-icap/clamav_mod.conf
+@sample etc/c-icap/clamd_mod.conf.default etc/c-icap/clamd_mod.conf
+@sample etc/c-icap/srv_content_filtering.conf.default etc/c-icap/srv_content_filtering.conf
+@sample etc/c-icap/srv_url_check.conf.default etc/c-icap/srv_url_check.conf
+@sample etc/c-icap/virus_scan.conf.default etc/c-icap/virus_scan.conf
lib/c_icap/clamav_mod.a
lib/c_icap/clamav_mod.so
lib/c_icap/clamd_mod.a