ports/127421: [maintainer-update] security/klamav: fix build with clamav-0.94
Anderson S. Ferreira
anderson at cnpm.embrapa.br
Tue Sep 16 11:30:02 UTC 2008
>Number: 127421
>Category: ports
>Synopsis: [maintainer-update] security/klamav: fix build with clamav-0.94
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 16 11:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Anderson S. Ferreira
>Release: FreeBSD 7.1-PRERELEASE amd64
>Organization:
Embrapa Monitoramento por Satelite
>Environment:
System: FreeBSD caraiba.cnpm.embrapa.br 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Thu Sep 4 12:28:52 BRT 2008 anderson at caraiba.cnpm.embrapa.br:/usr/src/sys/amd64/compile/CARAIBA amd64
>Description:
Fix build with clamav-0.94
>How-To-Repeat:
>Fix:
--- klamav.patch begins here ---
diff -Nur klamav.old/Makefile klamav/Makefile
--- klamav.old/Makefile 2008-09-16 07:49:34.000000000 -0300
+++ klamav/Makefile 2008-09-16 07:56:35.000000000 -0300
@@ -7,6 +7,7 @@
PORTNAME= klamav
PORTVERSION= 0.44
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
@@ -36,8 +37,6 @@
USE_KDELIBS_VER= 3
-BROKEN= Doesn't build with clamav-0.94
-
.include <bsd.port.pre.mk>
pre-configure:
diff -Nur klamav.old/files/patch-clamdmail.c klamav/files/patch-clamdmail.c
--- klamav.old/files/patch-clamdmail.c 1969-12-31 21:00:00.000000000 -0300
+++ klamav/files/patch-clamdmail.c 2008-09-16 08:08:53.000000000 -0300
@@ -0,0 +1,10 @@
+--- src/klammail/clamdmail.c 2008-09-16 07:59:10.000000000 -0300
++++ src/klammail/clamdmail.c 2008-09-16 07:59:28.000000000 -0300
+@@ -161,6 +161,6 @@
+ // cli_dbgmsg("fsync() failed for descriptor %d\n", fd);
+ close(fd);
+- return CL_EFSYNC;
++ return CL_EIO;
+ }
+
+ close(fd);
--- klamav.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list