summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--security/clamav-devel/Makefile3
-rw-r--r--security/clamav-devel/distinfo4
-rw-r--r--security/clamav-devel/files/patch-configure.in28
3 files changed, 28 insertions, 7 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index 222e2b2b0f52..4593db6b7da4 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= clamav
-PORTVERSION= 20041101
+PORTVERSION= 20041201
CATEGORIES= security
MASTER_SITES= http://www.clamav.net/snapshot/
PKGNAMESUFFIX= -devel
@@ -41,6 +41,7 @@ PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
PORTDOCS= NEWS ChangeLog html
CONFIGURE_ARGS= --with-dbdir=${DATADIR} \
+ --with-zlib=/usr \
--disable-clamuko \
--disable-clamav \
--enable-bigstack \
diff --git a/security/clamav-devel/distinfo b/security/clamav-devel/distinfo
index ed4b52381ab6..ac78f3712262 100644
--- a/security/clamav-devel/distinfo
+++ b/security/clamav-devel/distinfo
@@ -1,2 +1,2 @@
-MD5 (clamav-devel-20041101.tar.gz) = 47e175c4ff831d4afd6b29ebce62605b
-SIZE (clamav-devel-20041101.tar.gz) = 1312776
+MD5 (clamav-devel-20041201.tar.gz) = f9484c4691acb051a11eca47f9fda00d
+SIZE (clamav-devel-20041201.tar.gz) = 1449608
diff --git a/security/clamav-devel/files/patch-configure.in b/security/clamav-devel/files/patch-configure.in
index ada5449f5d18..344e68eb4c16 100644
--- a/security/clamav-devel/files/patch-configure.in
+++ b/security/clamav-devel/files/patch-configure.in
@@ -1,6 +1,26 @@
---- configure.in.orig Sun Aug 22 19:08:25 2004
-+++ configure.in Thu Sep 2 13:36:30 2004
-@@ -284,9 +284,6 @@
+--- configure.in.orig Tue Nov 30 16:56:25 2004
++++ configure.in Fri Dec 3 09:47:19 2004
+@@ -97,6 +97,10 @@
+ then
+ AC_MSG_ERROR(Please install zlib and zlib-devel packages)
+ else
++ case "$target_os" in
++ freebsd*)
++ ;;
++ *)
+ vuln=`grep "ZLIB_VERSION \"1.2.0" $ZLIB_HOME/include/zlib.h`
+ if test -z "$vuln"; then
+ vuln=`grep "ZLIB_VERSION \"1.2.1" $ZLIB_HOME/include/zlib.h`
+@@ -105,6 +109,8 @@
+ if test -n "$vuln"; then
+ AC_MSG_ERROR(Installed zlib version contains a security bug. Please install version 1.2.2 or later.)
+ fi
++ ;;
++ esac
+
+ if test "$ZLIB_HOME" != "/usr"; then
+ LDFLAGS="$LDFLAGS -L$ZLIB_HOME/lib"
+@@ -343,9 +349,6 @@
;;
freebsd*)
if test "$have_pthreads" = "yes"; then
@@ -9,4 +29,4 @@
- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -pthread -lc_r"
TH_SAFE="-thread-safe"
AC_DEFINE(CL_THREAD_SAFE,1,[thread safe])
- AC_DEFINE(_REENTRANT,1,[thread safe]) \ No newline at end of file
+ AC_DEFINE(_REENTRANT,1,[thread safe])