aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamav
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2008-09-16 03:56:38 +0800
committergarga <garga@FreeBSD.org>2008-09-16 03:56:38 +0800
commit7f573ee7c6f939615e0b7d3a7a5bd27d10730508 (patch)
tree83de10712656053539976409e5d777a11a431d62 /security/clamav
parent4dbce7ce67551b9730d6b82f645e2aa134195f88 (diff)
downloadfreebsd-ports-graphics-7f573ee7c6f939615e0b7d3a7a5bd27d10730508.tar.gz
freebsd-ports-graphics-7f573ee7c6f939615e0b7d3a7a5bd27d10730508.tar.zst
freebsd-ports-graphics-7f573ee7c6f939615e0b7d3a7a5bd27d10730508.zip
- Update security/clamav to 0.94 [1] and fix a remote DoS [2]
- Chase libclamav version bump on all dependant ports - Bump necessary PORTREVISIONS - Fix some BROKEN messages from ports that were already broken with clamav-0.93 - Mark security/klamav as BROKEN since it doesn't build with clamav-0.94 PR: ports/127122 [1], ports/127310 [2] Submitted by: Gary Palmer <freebsd-gnats@in-addr.com> [1], delphij [2] Approved by: portmgr (pav)
Diffstat (limited to 'security/clamav')
-rw-r--r--security/clamav/Makefile2
-rw-r--r--security/clamav/distinfo6
-rw-r--r--security/clamav/files/patch-configure44
3 files changed, 26 insertions, 26 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 5c2d6d7d596..712c754650f 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= clamav
-PORTVERSION= 0.93.3
+PORTVERSION= 0.94
CATEGORIES= security
MASTER_SITES= SF
diff --git a/security/clamav/distinfo b/security/clamav/distinfo
index 1ea5d5ba45b..3824e25cfdb 100644
--- a/security/clamav/distinfo
+++ b/security/clamav/distinfo
@@ -1,3 +1,3 @@
-MD5 (clamav-0.93.3.tar.gz) = 06d87fbece062e5c0661ee07703208c9
-SHA256 (clamav-0.93.3.tar.gz) = 7aa98796671dfe3db5a20e25669404c4e4461d2a6c77de352edf99f2c989e500
-SIZE (clamav-0.93.3.tar.gz) = 18242568
+MD5 (clamav-0.94.tar.gz) = d3f6d5fff2db81950491749166ab0ffa
+SHA256 (clamav-0.94.tar.gz) = ae188c18936ea9154eb6a85ea553c29f4349ee3e95457055fae5fe1b981af602
+SIZE (clamav-0.94.tar.gz) = 20509228
diff --git a/security/clamav/files/patch-configure b/security/clamav/files/patch-configure
index 42fbdcbea02..45424480bb1 100644
--- a/security/clamav/files/patch-configure
+++ b/security/clamav/files/patch-configure
@@ -1,6 +1,24 @@
---- configure.orig Thu Mar 1 20:46:19 2007
-+++ configure Tue Mar 13 10:28:27 2007
-@@ -22431,19 +22431,25 @@
+--- configure.orig 2008-09-01 15:41:18.000000000 -0300
++++ configure 2008-09-05 08:57:53.000000000 -0300
+@@ -16571,7 +16571,7 @@
+ ;;
+ freebsd*)
+ if test "$have_pthreads" = "yes"; then
+- THREAD_LIBS="-lthr"
++ THREAD_LIBS="%%PTHREAD_LIBS%%"
+ TH_SAFE="-thread-safe"
+
+ cat >>confdefs.h <<\_ACEOF
+@@ -16931,7 +16931,7 @@
+ if test "$have_milter" = "yes"; then
+
+ save_LDFLAGS="$LDFLAGS"
+- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread"
++ CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS $THREAD_LIBS"
+ if test -d /usr/lib/libmilter ; then
+ CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter"
+ fi
+@@ -17468,19 +17468,25 @@
sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'`
@@ -25,22 +43,4 @@
+fi
fi
- fi
-@@ -23087,7 +23093,7 @@
- ;;
- freebsd*)
- if test "$have_pthreads" = "yes"; then
-- THREAD_LIBS="-pthread -lc_r"
-+ THREAD_LIBS="%%PTHREAD_LIBS%%"
- TH_SAFE="-thread-safe"
-
- cat >>confdefs.h <<\_ACEOF
-@@ -23427,7 +23433,7 @@
- if test "$have_milter" = "yes"; then
-
- save_LDFLAGS="$LDFLAGS"
-- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread"
-+ CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS %%PTHREAD_LIBS%%"
- if test -d /usr/lib/libmilter ; then
- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter"
- fi
+ if test "x$ac_cv_have_lresolv_r" != "xyes"; then