diff options
author | garga <garga@FreeBSD.org> | 2007-03-14 04:11:19 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2007-03-14 04:11:19 +0800 |
commit | fb29dd722a07d0882d1be1908f1f8f4a2b74bbc7 (patch) | |
tree | 4de28a67cf617d86cfbc7e12cd578dd2d78b8bb6 /security/clamav | |
parent | 2373596baa0ef6652012e15ee36f201b44e4ffd6 (diff) | |
download | freebsd-ports-gnome-fb29dd722a07d0882d1be1908f1f8f4a2b74bbc7.tar.gz freebsd-ports-gnome-fb29dd722a07d0882d1be1908f1f8f4a2b74bbc7.tar.zst freebsd-ports-gnome-fb29dd722a07d0882d1be1908f1f8f4a2b74bbc7.zip |
- Update clamav to 0.90.1
- Use -lthr to build clamav since it has problems with libpthread
- Bump PORTREVISION of dependant ports, libclamav version was bumped
- Fix clamcour to build with clamav-0.90.x using patch sent by maintainer
Diffstat (limited to 'security/clamav')
-rw-r--r-- | security/clamav/Makefile | 7 | ||||
-rw-r--r-- | security/clamav/distinfo | 6 | ||||
-rw-r--r-- | security/clamav/files/patch-configure | 12 | ||||
-rw-r--r-- | security/clamav/pkg-plist | 2 |
4 files changed, 15 insertions, 12 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile index 2ce7bce361f3..9642c5429097 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -6,8 +6,7 @@ # PORTNAME= clamav -PORTVERSION= 0.90 -PORTREVISION= 3 +PORTVERSION= 0.90.1 CATEGORIES= security MASTER_SITES= SF @@ -31,6 +30,10 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} USE_LDCONFIG= yes USE_RC_SUBR= clamav-clamd clamav-freshclam +# This port has a problem with -pthread, +# force to use -lthr until it's not fixed. +PTHREAD_LIBS= -lthr + PORTDOCS= * DBDIR= /var/db/clamav diff --git a/security/clamav/distinfo b/security/clamav/distinfo index 483a3c6b13e5..51ca3c2bd23c 100644 --- a/security/clamav/distinfo +++ b/security/clamav/distinfo @@ -1,3 +1,3 @@ -MD5 (clamav-0.90.tar.gz) = f04372e49c3c5ff3bd94bbe1fef2eaca -SHA256 (clamav-0.90.tar.gz) = c39005318d4a7d27d9710c3d71396b8c500e0bc5a184cb7392051c9ca9dea60d -SIZE (clamav-0.90.tar.gz) = 11575374 +MD5 (clamav-0.90.1.tar.gz) = cd11c05b5476262eaea4fa3bd7dc25bf +SHA256 (clamav-0.90.1.tar.gz) = 08a0255b4f6bdc4312eea6c118e79ecf684aed10640b45037d9dc5890c7687be +SIZE (clamav-0.90.1.tar.gz) = 11643310 diff --git a/security/clamav/files/patch-configure b/security/clamav/files/patch-configure index 6d2d837a7407..42fbdcbea021 100644 --- a/security/clamav/files/patch-configure +++ b/security/clamav/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig Mon Feb 12 23:11:56 2007 -+++ configure Mon Mar 5 08:25:35 2007 -@@ -22426,19 +22426,25 @@ +--- configure.orig Thu Mar 1 20:46:19 2007 ++++ configure Tue Mar 13 10:28:27 2007 +@@ -22431,19 +22431,25 @@ sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'` @@ -26,16 +26,16 @@ fi fi -@@ -23082,7 +23088,7 @@ +@@ -23087,7 +23093,7 @@ ;; freebsd*) if test "$have_pthreads" = "yes"; then -- THREAD_LIBS="-lpthread -lc_r" +- THREAD_LIBS="-pthread -lc_r" + THREAD_LIBS="%%PTHREAD_LIBS%%" TH_SAFE="-thread-safe" cat >>confdefs.h <<\_ACEOF -@@ -23395,7 +23401,7 @@ +@@ -23427,7 +23433,7 @@ if test "$have_milter" = "yes"; then save_LDFLAGS="$LDFLAGS" diff --git a/security/clamav/pkg-plist b/security/clamav/pkg-plist index a071176ce2de..48776a7c6793 100644 --- a/security/clamav/pkg-plist +++ b/security/clamav/pkg-plist @@ -8,7 +8,7 @@ bin/sigtool %%CLAMAV-MILTER%%sbin/clamav-milter sbin/clamd include/clamav.h -lib/libclamav.so.1 +lib/libclamav.so.2 lib/libclamav.so lib/libclamav.a lib/libclamav.la |