From root@corp.grupos.com.br  Mon Apr 18 14:00:43 2005
Return-Path: <root@corp.grupos.com.br>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id BCE2F16A4CE; Mon, 18 Apr 2005 14:00:43 +0000 (GMT)
Received: from gwmail1.grupos.com.br (gwmail1.grupos.com.br [66.90.64.125])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 3B8FD43D2F; Mon, 18 Apr 2005 14:00:43 +0000 (GMT)
	(envelope-from root@corp.grupos.com.br)
Received: from corp.grupos.com.br (unknown [150.162.166.55])
	by gwmail1.grupos.com.br (Postfix) with ESMTP id 8C83C3BE8B;
	Mon, 18 Apr 2005 11:00:42 -0300 (BRT)
Received: by corp.grupos.com.br (Postfix, from userid 0)
	id 2A35755CF; Mon, 18 Apr 2005 11:00:41 -0300 (BRT)
Message-Id: <20050418140041.2A35755CF@corp.grupos.com.br>
Date: Mon, 18 Apr 2005 11:00:41 -0300 (BRT)
From: Marcus Grando <marcus@corp.grupos.com.br>
Reply-To: Marcus Grando <marcus@corp.grupos.com.br>
To: FreeBSD-gnats-submit@freebsd.org
Cc: clsung@FreeBSD.org
Subject: Update port: security/clamsmtp to 1.4.1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         80071
>Category:       ports
>Synopsis:       Update port: security/clamsmtp to 1.4.1
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    clsung
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 18 14:10:15 GMT 2005
>Closed-Date:    Wed Apr 20 07:48:57 GMT 2005
>Last-Modified:  Wed Apr 20 07:48:57 GMT 2005
>Originator:     Marcus Grando
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #47: Thu Apr 7 19:39:31 BRT 2005 root@corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386


	
>Description:
Update port: security/clamsmtp to 1.4.1

- Update to 1.4.1
- Prefer -pthread instead -llthread

I have bad experiences with lthread and clamsmtp, like resources unavailable, but in pthread works ok.

	
>How-To-Repeat:
	
>Fix:

	

--- clamsmtp.patch begins here ---
diff -ruN clamsmtp.orig/Makefile clamsmtp/Makefile
--- clamsmtp.orig/Makefile	Thu Apr  7 17:34:53 2005
+++ clamsmtp/Makefile	Mon Apr 18 10:46:12 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	clamsmtp
-PORTVERSION=	1.4
+PORTVERSION=	1.4.1
 PORTREVISION=	0
 CATEGORIES=	security
 MASTER_SITES=	http://memberwebs.com/nielsen/software/clamsmtp/
diff -ruN clamsmtp.orig/distinfo clamsmtp/distinfo
--- clamsmtp.orig/distinfo	Thu Apr  7 17:34:53 2005
+++ clamsmtp/distinfo	Mon Apr 18 10:46:24 2005
@@ -1,2 +1,2 @@
-MD5 (clamsmtp-1.4.tar.gz) = 1a0c052e600df7ff89566b20054a1b3f
-SIZE (clamsmtp-1.4.tar.gz) = 144890
+MD5 (clamsmtp-1.4.1.tar.gz) = 4eb6311f5f46bf76e9b7490247ba59ed
+SIZE (clamsmtp-1.4.1.tar.gz) = 144951
diff -ruN clamsmtp.orig/files/patch-configure clamsmtp/files/patch-configure
--- clamsmtp.orig/files/patch-configure	Wed Dec 31 21:00:00 1969
+++ clamsmtp/files/patch-configure	Mon Apr 18 10:48:05 2005
@@ -0,0 +1,11 @@
+--- configure.orig	Thu Apr 14 20:18:10 2005
++++ configure	Mon Apr 18 10:47:32 2005
+@@ -3156,7 +3156,7 @@
+ # which indicates that we try without any flags at all, and "pthread-config"
+ # which is a program returning the flags for the Pth emulation library.
+ 
+-acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
++acx_pthread_flags="pthreads none -Kthread -kthread -pthread -pthreads lthread -mthreads pthread --thread-safe -mt pthread-config"
+ 
+ # The ordering *is* (sometimes) important.  Some notes on the
+ # individual items follow:
--- clamsmtp.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: jylefort 
Responsible-Changed-When: Mon Apr 18 14:41:13 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80071 
State-Changed-From-To: open->closed 
State-Changed-By: clsung 
State-Changed-When: Wed Apr 20 07:48:45 GMT 2005 
State-Changed-Why:  
Committed, Thank you. 

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