aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-02-18 06:57:32 +0800
committerpav <pav@FreeBSD.org>2005-02-18 06:57:32 +0800
commit865fceea60668f123462c54b5d22c0ba58a4c73f (patch)
tree6cc26167a8b65c8892f4b8514247a1d58c7858be /security
parentee9de4209c04b0e251eaf379588c83581e52f6ae (diff)
downloadfreebsd-ports-gnome-865fceea60668f123462c54b5d22c0ba58a4c73f.tar.gz
freebsd-ports-gnome-865fceea60668f123462c54b5d22c0ba58a4c73f.tar.zst
freebsd-ports-gnome-865fceea60668f123462c54b5d22c0ba58a4c73f.zip
- Update to 0.83
PR: ports/77561 Submitted by: Marcus Grando <marcus@corp.grupos.com.br> Approved by: Rob Evers <rob@debank.tv> (maintainer)
Diffstat (limited to 'security')
-rw-r--r--security/clamav/Makefile16
-rw-r--r--security/clamav/distinfo4
-rw-r--r--security/clamav/files/patch-clamav-milter::clamav-milter.c11
3 files changed, 9 insertions, 22 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 3b9261871e5e..a5f35cbb9c49 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -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 @@ RUN_DEPENDS= lha:${PORTSDIR}/archivers/lha \
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 @@ CPPFLAGS+= -I${LOCALBASE}/include \
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 @@ SED_SCRIPT+= -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
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 --git a/security/clamav/distinfo b/security/clamav/distinfo
index decc97e5bae7..f96fe4bb21f8 100644
--- a/security/clamav/distinfo
+++ b/security/clamav/distinfo
@@ -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 --git a/security/clamav/files/patch-clamav-milter::clamav-milter.c b/security/clamav/files/patch-clamav-milter::clamav-milter.c
deleted file mode 100644
index 8a925a8b569f..000000000000
--- a/security/clamav/files/patch-clamav-milter::clamav-milter.c
+++ /dev/null
@@ -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
- *