Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2011 11:23:22 GMT
From:      Glen Barber <gjb@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/158338: [patch] irc/eggdrop: mark IGNORE on amd64 if WITH_SSL is defined
Message-ID:  <201106271123.p5RBNMQB090114@red.freebsd.org>
Resent-Message-ID: <201106271130.p5RBUACa092626@freefall.freebsd.org>

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

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 27 11:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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