From nobody@FreeBSD.org  Mon Jun 27 11:23:23 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 201B51065674
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 27 Jun 2011 11:23:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 10DE78FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 27 Jun 2011 11:23:23 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p5RBNMLs090119
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 27 Jun 2011 11:23:22 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p5RBNMQB090114;
	Mon, 27 Jun 2011 11:23:22 GMT
	(envelope-from nobody)
Message-Id: <201106271123.p5RBNMQB090114@red.freebsd.org>
Date: Mon, 27 Jun 2011 11:23:22 GMT
From: Glen Barber <gjb@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] irc/eggdrop: mark IGNORE on amd64 if WITH_SSL is defined
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         158338
>Category:       ports
>Synopsis:       [patch] irc/eggdrop: mark IGNORE on amd64 if WITH_SSL is defined
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 27 11:30:09 UTC 2011
>Closed-Date:    Mon Jun 27 19:40:17 UTC 2011
>Last-Modified:  Mon Jun 27 19:50:05 UTC 2011
>Originator:     Glen Barber
>Release:        8.2-STABLE r223023
>Organization:
>Environment:
FreeBSD orion 8.2-STABLE FreeBSD 8.2-STABLE #11 r223023: Sun Jun 12 19:29:24 EDT 2011     root@orion:/usr/obj/usr/src/sys/ORION  amd64
>Description:
irc/eggdrop segfaults when connecting to SSL-enabled IRC servers on 64-bit architectures.

The developers appear to be aware of the issue:

http://www.eggheads.org/news/2011/05/25/39

and recommend using the -devel version, which is not yet in the Ports Collection.

The attached patch marks irc/eggdrop as IGNORE if WITH_SSL is defined, and the system is amd64.



>How-To-Repeat:
Install irc/eggdrop on a 64-bit machine, and configure a bot to connect to an SSL-enabled server.
>Fix:
A workaround is to build irc/eggdrop in a i386 chroot environment.

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/irc/eggdrop/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- Makefile	17 Feb 2011 01:56:58 -0000	1.29
+++ Makefile	27 Jun 2011 11:15:27 -0000
@@ -38,6 +38,9 @@
 LICENSE=	GPLv2
 
 .if defined(WITH_SSL)
+. if ${ARCH} == "amd64"
+IGNORE=		ssl support is broken on amd64
+. endif
 EXTRA_PATCHES=	${WRKDIR}/eggdrop-1.6.20-ssl.patch
 
 CFLAGS+=	-DHAVE_OPENSSL


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jun 27 11:30:21 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158338 

From: Glen Barber <gjb@FreeBSD.org>
To: bug-followup@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc: beech@FreeBSD.org
Subject: Re: ports/158338: [patch] irc/eggdrop: mark IGNORE on amd64 if WITH_SSL
 is defined
Date: Mon, 27 Jun 2011 07:44:34 -0400

 On 6/27/11 7:30 AM, FreeBSD-gnats-submit@FreeBSD.org wrote:
 > The developers appear to be aware of the issue:
 >
 
 I should note that the link I referenced does not specifically mention
 64-bit architectures, but references "buggy patches" and SSL+IPv6.  The
 development branch of irc/eggdrop has native SSL support.
 
 -- 
 Glen Barber | gjb@FreeBSD.org
 FreeBSD Documentation Project

From: Glen Barber <gjb@FreeBSD.org>
To: bug-followup@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc: beech@FreeBSD.org
Subject: Re: ports/158338: [patch] irc/eggdrop: mark IGNORE on amd64 if WITH_SSL
 is defined
Date: Mon, 27 Jun 2011 15:16:57 -0400

 On 6/27/11 7:44 AM, Glen Barber wrote:
 > On 6/27/11 7:30 AM, FreeBSD-gnats-submit@FreeBSD.org wrote:
 >> The developers appear to be aware of the issue:
 >>
 > 
 > I should note that the link I referenced does not specifically mention
 > 64-bit architectures, but references "buggy patches" and SSL+IPv6.  The
 > development branch of irc/eggdrop has native SSL support.
 > 
 
 I'd also like to link to the response that was received from someone on
 their bugs@ list:
 
 http://lists.eggheads.org/pipermail/bugs/2011-June/001015.html
 
 I had initially intended on porting the -devel branch to FreeBSD - I
 doubt I'll bother with their community.
 
 -- 
 Glen Barber | gjb@FreeBSD.org
 FreeBSD Documentation Project
State-Changed-From-To: open->closed 
State-Changed-By: beech 
State-Changed-When: Mon Jun 27 19:40:02 UTC 2011 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158338 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/158338: commit references a PR
Date: Mon, 27 Jun 2011 19:39:34 +0000 (UTC)

 beech       2011-06-27 19:39:25 UTC
 
   FreeBSD ports repository
 
   Modified files:
     irc/eggdrop          Makefile 
   Log:
   - Mark IGNORE if WITH_SSL is defined, and the system is amd64
   
   PR:             ports/158338
   Submitted by:   Glen Barber <gjb@FreeBSD.org>
   
   Revision  Changes    Path
   1.30      +7 -4      ports/irc/eggdrop/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
