From root@seceidos.de  Mon Feb 23 07:11:46 2004
Return-Path: <root@seceidos.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 102A116A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 23 Feb 2004 07:11:46 -0800 (PST)
Received: from mail.seceidos.de (mail.seceidos.de [213.157.28.234])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D8E3B43D2D
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 23 Feb 2004 07:11:45 -0800 (PST)
	(envelope-from root@seceidos.de)
Message-Id: <200402231511.i1NFBaSi066434@services.intern.seceidos.de>
Date: Mon, 23 Feb 2004 16:11:36 +0100 (CET)
From: Jan-Peter Koopmann <j.koopmann@seceidos.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] mail/p5-Mail-ClamAV: update to 0.05
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         63266
>Category:       ports
>Synopsis:       [MAINTAINER] mail/p5-Mail-ClamAV: update to 0.05
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 23 07:20:06 PST 2004
>Closed-Date:    Mon Feb 23 10:01:48 PST 2004
>Last-Modified:  Mon Feb 23 10:01:48 PST 2004
>Originator:     Jan-Peter Koopmann
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD services.intern.seceidos.de 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Jan  5 10:56:46 CET
>Description:
- Update to 0.05

files added: files/patch-ClamAV.pm



Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- p5-Mail-ClamAV-0.05.patch begins here ---
diff -ruN --exclude=CVS /server-root/ports/mail/p5-Mail-ClamAV.orig/Makefile /server-root/ports/mail/p5-Mail-ClamAV/Makefile
--- /server-root/ports/mail/p5-Mail-ClamAV.orig/Makefile	Thu Dec  4 18:23:28 2003
+++ /server-root/ports/mail/p5-Mail-ClamAV/Makefile	Mon Feb 23 15:21:56 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Mail-ClamAV
-PORTVERSION=	0.04
+PORTVERSION=	0.05
 CATEGORIES=	mail perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Mail
diff -ruN --exclude=CVS /server-root/ports/mail/p5-Mail-ClamAV.orig/distinfo /server-root/ports/mail/p5-Mail-ClamAV/distinfo
--- /server-root/ports/mail/p5-Mail-ClamAV.orig/distinfo	Thu Dec  4 18:23:28 2003
+++ /server-root/ports/mail/p5-Mail-ClamAV/distinfo	Mon Feb 23 15:21:58 2004
@@ -1 +1,2 @@
-MD5 (Mail-ClamAV-0.04.tar.gz) = f8b664f7b1c3903601e3aa8c9b64b683
+MD5 (Mail-ClamAV-0.05.tar.gz) = 6a942bc6362a8606f66234659981de59
+SIZE (Mail-ClamAV-0.05.tar.gz) = 16943
diff -ruN --exclude=CVS /server-root/ports/mail/p5-Mail-ClamAV.orig/files/patch-ClamAV.pm /server-root/ports/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm
--- /server-root/ports/mail/p5-Mail-ClamAV.orig/files/patch-ClamAV.pm	Thu Jan  1 01:00:00 1970
+++ /server-root/ports/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm	Mon Feb 23 16:05:31 2004
@@ -0,0 +1,18 @@
+--- ../Mail-ClamAV-0.05.orig/ClamAV.pm	Mon Feb 23 16:04:36 2004
++++ ClamAV.pm	Mon Feb 23 16:05:17 2004
+@@ -138,12 +138,9 @@
+     VERSION  => $VERSION,
+     PREFIX   => 'clamav_perl_',
+     NAME     => "Mail::ClamAV",
+-    LIBS     => "-lclamav";
+-# removed on install
+-BEGIN {
+-require "./config.pl";
+-}
+-# end removed on install
++    OPTIMIZE => '-g',
++    LIBS     => " -lclamav";
++
+ use Inline C => <<'END_OF_C';
+ #include <stdio.h>
+ #include <string.h>
--- p5-Mail-ClamAV-0.05.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: erwin 
State-Changed-When: Mon Feb 23 08:52:52 PST 2004 
State-Changed-Why:  
On 4.9-STABLE with perl 5.6.1 this does not pass 'make test'. 
Can you look into this? 

lemur# make test 
PERL_DL_NONLAZY=1 /usr/bin/perl5.6.1 -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/mach -I/usr/local/lib/perl5/5.6.1/BSDPAN -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t 
t/Mail-ClamAV....NOK 1#     Failed test (t/Mail-ClamAV.t at line 8)           
#     Tried to use 'Mail::ClamAV'. 
#     Error:  Had problems bootstrapping Inline module 'Mail::ClamAV' 
#  
# Can't load 'blib/arch/auto/Mail/ClamAV/ClamAV.so' for module Mail::ClamAV: /usr/local/lib/libclamav.so.1: Undefined symbol "pthread_cleanup_pop" at /usr/local/lib/perl5/5.6.1/mach/DynaLoader.pm line 206. 
#  at (eval 3) line 0 
#  
#  
#  at blib/lib/Mail/ClamAV.pm line 144 
# BEGIN failed--compilation aborted at blib/lib/Mail/ClamAV.pm line 417. 
# Compilation failed in require at (eval 1) line 2. 
"all" is not defined in %Mail::ClamAV::EXPORT_TAGS at /usr/local/lib/perl5/5.6.1/Exporter/Heavy.pm line 75 
Exporter::heavy_export('Mail::ClamAV', 'main', ':all') called at /usr/local/lib/perl5/5.6.1/Exporter.pm line 45 
Exporter::import('Mail::ClamAV', ':all') called at t/Mail-ClamAV.t line 10 
Can't continue after import errors at t/Mail-ClamAV.t line 10 
# Looks like you planned 6 tests but only ran 1. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63266 
State-Changed-From-To: feedback->closed 
State-Changed-By: erwin 
State-Changed-When: Mon Feb 23 10:01:42 PST 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63266 
>Unformatted:
