aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-10-11 14:29:05 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-10-11 14:29:05 +0000
commit86f02af6de30b188e65484397e326e4926fdbfaa (patch)
tree2dacce915541b41a1f02d96b45b30e21edb0624e
parent8bbd9b2d431a0b61b96735a5cad394ff8988715a (diff)
downloadports-86f02af6de30b188e65484397e326e4926fdbfaa.tar.gz
ports-86f02af6de30b188e65484397e326e4926fdbfaa.zip
www/squidclamav: 6.10 -> 6.13
- Unbreak - Update - Changes: http://squidclamav.darold.net/news.html PR: 198274 Approved by: mm (timeout)
Notes
Notes: svn path=/head/; revision=399088
-rw-r--r--www/squidclamav/Makefile7
-rw-r--r--www/squidclamav/distinfo4
-rw-r--r--www/squidclamav/files/patch-etc-Makefile.in16
-rw-r--r--www/squidclamav/files/patch-etc_Makefile.in11
-rw-r--r--www/squidclamav/pkg-plist5
5 files changed, 17 insertions, 26 deletions
diff --git a/www/squidclamav/Makefile b/www/squidclamav/Makefile
index 3bf883f9ec62..c73c04aa1ada 100644
--- a/www/squidclamav/Makefile
+++ b/www/squidclamav/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= squidclamav
-PORTVERSION= 6.10
-PORTREVISION= 2
+PORTVERSION= 6.13
CATEGORIES= www security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
@@ -12,13 +11,11 @@ COMMENT= Clamav c-icap service and redirector for Squid
LICENSE= GPLv3
-BROKEN= Not fetchable
-
LIB_DEPENDS+= libicapapi.so:${PORTSDIR}/www/c-icap
GNU_CONFIGURE= yes
CFLAGS+= -DHAVE_STRNSTR
-USES= cpe shebangfix libtool
+USES= cpe libtool shebangfix
SHEBANG_FILES= cgi-bin/clwarn.cgi*
INSTALL_TARGET= install-strip
CPE_VENDOR= darold
diff --git a/www/squidclamav/distinfo b/www/squidclamav/distinfo
index fb295a2d5e37..3d0879a54b12 100644
--- a/www/squidclamav/distinfo
+++ b/www/squidclamav/distinfo
@@ -1,2 +1,2 @@
-SHA256 (squidclamav-6.10.tar.gz) = 4d1ed7012b5b8db4143d38196b0928bd44f2461226a3f9ae2cdc3643524a054b
-SIZE (squidclamav-6.10.tar.gz) = 436639
+SHA256 (squidclamav-6.13.tar.gz) = 67932f891278d7f2e2b2c1e746101041b02755453cf656db89c3d2345bbbd053
+SIZE (squidclamav-6.13.tar.gz) = 676911
diff --git a/www/squidclamav/files/patch-etc-Makefile.in b/www/squidclamav/files/patch-etc-Makefile.in
deleted file mode 100644
index 7fe3004e1da2..000000000000
--- a/www/squidclamav/files/patch-etc-Makefile.in
+++ /dev/null
@@ -1,16 +0,0 @@
---- etc/Makefile.in.orig 2014-05-14 16:04:39.000000000 -0300
-+++ etc/Makefile.in 2014-05-14 16:04:57.000000000 -0300
-@@ -338,12 +338,7 @@
-
- install-data-local:
- $(mkinstalldirs) $(DESTDIR)$(CFGINST)
-- @if test -f "$(DESTDIR)$(CFGINST)/squidclamav.conf" ; then \
-- echo "$@ will not overwrite existing $(DESTDIR)$(CFGINST)/squidclamav.conf" ; \
-- else \
-- echo "$(INSTALL_DATA) $(srcdir)/squidclamav.conf $(DESTDIR)$(CFGINST)"; \
-- $(INSTALL_DATA) $(srcdir)/squidclamav.conf $(DESTDIR)$(CFGINST)/squidclamav.conf; \
-- fi
-+ $(INSTALL_DATA) $(srcdir)/squidclamav.conf $(DESTDIR)$(CFGINST)/squidclamav.conf.default
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
diff --git a/www/squidclamav/files/patch-etc_Makefile.in b/www/squidclamav/files/patch-etc_Makefile.in
new file mode 100644
index 000000000000..24d93626e0d1
--- /dev/null
+++ b/www/squidclamav/files/patch-etc_Makefile.in
@@ -0,0 +1,11 @@
+--- etc/Makefile.in.orig 2015-10-11 14:20:10 UTC
++++ etc/Makefile.in
+@@ -371,7 +371,7 @@ uninstall-am:
+ install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(CONFIGDIR)
+ for f in $(CONFS); do \
+- $(INSTALL) $$f $(DESTDIR)$(CONFIGDIR)/$$f.default; \
++ $(INSTALL) $$f $(DESTDIR)$(CONFIGDIR)/$$f.sample; \
+ if test ! -f $(DESTDIR)$(CONFIGDIR)/$$f; then $(INSTALL) $$f $(DESTDIR)$(CONFIGDIR)/$$f; fi \
+ done
+ $(mkinstalldirs) $(DESTDIR)$(cicapdatadir)/templates/squidclamav/en/
diff --git a/www/squidclamav/pkg-plist b/www/squidclamav/pkg-plist
index 590b960fdbbf..12cdccffd6da 100644
--- a/www/squidclamav/pkg-plist
+++ b/www/squidclamav/pkg-plist
@@ -1,7 +1,6 @@
-@unexec if cmp -s %D/etc/c-icap/squidclamav.conf %D/etc/c-icap/squidclamav.conf.default; then rm -f %D/etc/c-icap/squidclamav.conf; fi
-etc/c-icap/squidclamav.conf.default
-@exec [ -f %B/squidclamav.conf ] || cp %B/%f %B/squidclamav.conf
+@sample etc/c-icap/squidclamav.conf.sample
%%DATADIR%%/README
+share/c_icap/templates/squidclamav/en/MALWARE_FOUND
lib/c_icap/squidclamav.a
lib/c_icap/squidclamav.so
libexec/squidclamav/clwarn.cgi