Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2008 08:25:20 -0300 (BRT)
From:      "Anderson S. Ferreira" <anderson@cnpm.embrapa.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/127421: [maintainer-update] security/klamav: fix build with clamav-0.94
Message-ID:  <20080916112520.D9E0B16A49C@caraiba.cnpm.embrapa.br>
Resent-Message-ID: <200809161130.m8GBU1T6084569@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080916112520.D9E0B16A49C>