ports/77561: Update port: security/clamav to 0.83
Rob Evers
rob at debank.tv
Thu Feb 17 20:20:24 UTC 2005
The following reply was made to PR ports/77561; it has been noted by GNATS.
From: Rob Evers <rob at debank.tv>
To: freebsd-gnats-submit at FreeBSD.org, marcus at corp.grupos.com.br
Cc:
Subject: Re: ports/77561: Update port: security/clamav to 0.83
Date: Thu, 17 Feb 2005 21:19:26 +0100
This is almost the same, but cleans up the ldap option also
(files/patch-clamav-milter::clamav-milter.c is dead)
Rob Evers
diff -ruN --exclude=CVS /usr/ports/security/clamav.orig/Makefile /usr/ports/security/clamav/Makefile
--- /usr/ports/security/clamav.orig/Makefile Thu Feb 17 20:44:32 2005
+++ /usr/ports/security/clamav/Makefile Thu Feb 17 20:54:47 2005
@@ -7,7 +7,6 @@
PORTNAME= clamav
PORTVERSION= ${DISTVERSION:C/([a-z])[a-z]*/.\1/g:S/-/./g}
-PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= clamav
@@ -24,7 +23,7 @@
arc:${PORTSDIR}/archivers/arc \
unzip:${PORTSDIR}/archivers/unzip
-DISTVERSION= 0.82
+DISTVERSION= 0.83
OPTIONS= MILTER "Compile the milter interface" Off \
CURL "Support URL downloading" Off
@@ -58,13 +57,6 @@
LDFLAGS+= -L${LOCALBASE}/lib \
${PTHREAD_LIBS}
-.include <bsd.port.pre.mk>
-
-.if !defined(WITHOUT_LDAP) && exists(${LOCALBASE}/lib/libldap.so)
-USE_OPENLDAP= yes
-LDFLAGS+= -lldap
-.endif
-
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
MAN1= clamscan.1 freshclam.1 sigtool.1 clamdscan.1
@@ -110,7 +102,13 @@
PLIST_SUB+= RC_DIR=${RC_DIR} \
RC_SUFX=${RC_SUFX}
+.include <bsd.port.pre.mk>
+
.if defined(WITH_MILTER)
+.if !defined(WITHOUT_LDAP) && exists(${LOCALBASE}/lib/libldap.so)
+USE_OPENLDAP= yes
+LDFLAGS+= -lldap
+.endif
.if !exists(/usr/lib/libmilter.a)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
CONFIGURE_ENV+= SENDMAIL="${LOCALBASE}/sbin/sendmail"
diff -ruN --exclude=CVS /usr/ports/security/clamav.orig/distinfo /usr/ports/security/clamav/distinfo
--- /usr/ports/security/clamav.orig/distinfo Thu Feb 17 20:44:32 2005
+++ /usr/ports/security/clamav/distinfo Thu Feb 17 20:55:30 2005
@@ -1,2 +1,2 @@
-MD5 (clamav-0.82.tar.gz) = 1b58972d8918f5174d7f05a35a48856b
-SIZE (clamav-0.82.tar.gz) = 3565864
+MD5 (clamav-0.83.tar.gz) = e3a1b6bbda8095c5aae4eb7bc753804c
+SIZE (clamav-0.83.tar.gz) = 3653658
diff -ruN --exclude=CVS /usr/ports/security/clamav.orig/files/patch-clamav-milter::clamav-milter.c /usr/ports/security/clamav/files/patch-clamav-milter::clamav-milter.c
--- /usr/ports/security/clamav.orig/files/patch-clamav-milter::clamav-milter.c Thu Feb 17 20:44:32 2005
+++ /usr/ports/security/clamav/files/patch-clamav-milter::clamav-milter.c Thu Jan 1 01:00:00 1970
@@ -1,11 +0,0 @@
---- clamav-milter/clamav-milter.c.orig Sun Feb 6 21:35:29 2005
-+++ clamav-milter/clamav-milter.c Wed Feb 9 10:00:06 2005
-@@ -643,7 +643,7 @@
-
- #define VERSION_LENGTH 128
-
--#define SESSION /*
-+/* #define SESSION
- * Keep one command connection open to clamd, otherwise a new
- * command connection is created for each new email
- *
More information about the freebsd-ports-bugs
mailing list