From mjl@luckie.org.nz  Wed Feb 22 03:28:44 2006
Return-Path: <mjl@luckie.org.nz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 71BF716A420
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Feb 2006 03:28:44 +0000 (GMT)
	(envelope-from mjl@luckie.org.nz)
Received: from grunt1.ihug.co.nz (grunt1.ihug.co.nz [203.109.254.41])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C0DC643D48
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Feb 2006 03:28:43 +0000 (GMT)
	(envelope-from mjl@luckie.org.nz)
Received: from 203-109-214-221.bliink.ihug.co.nz (lycra.luckie.org.nz) [203.109.214.221] 
	by grunt1.ihug.co.nz with esmtp (Exim 3.35 #1 (Debian))
	id 1FBkgD-0002qO-00; Wed, 22 Feb 2006 16:28:42 +1300
Received: from mjl by lycra.luckie.org.nz with local (Exim 4.60 (FreeBSD))
	(envelope-from <mjl@luckie.org.nz>)
	id 1FBkgD-000GPJ-FA; Wed, 22 Feb 2006 16:28:41 +1300
Message-Id: <E1FBkgD-000GPJ-FA@lycra.luckie.org.nz>
Date: Wed, 22 Feb 2006 16:28:41 +1300
From: Matthew Luckie <mjl@luckie.org.nz>
Reply-To: Matthew Luckie <mjl@luckie.org.nz>
To: FreeBSD-gnats-submit@freebsd.org
Cc: marcus@freebsd.org
Subject: [patch] polish/libgadu without openssl 
X-Send-Pr-Version: 3.113
X-GNATS-Notify: alex@BSDGuru.org

>Number:         93689
>Category:       ports
>Synopsis:       [patch] polish/libgadu without openssl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 22 03:30:06 GMT 2006
>Closed-Date:    Sun Apr 02 00:12:45 GMT 2006
>Last-Modified:  Sun Apr 02 00:12:45 GMT 2006
>Originator:     Matthew Luckie
>Release:        FreeBSD 4.11-RELEASE-p8 i386
>Organization:
University of Waikato
>Environment:
System: FreeBSD lycra.luckie.org.nz 4.11-RELEASE-p8 FreeBSD 4.11-RELEASE-p8 #1: Wed May 11 14:02:09 NZST 2005 root@lycra.luckie.org.nz:/files/freebsd_src/sys/compile/lycra i386
>Description:
	I have been playing with the gaim beta2 source for a little while
	and fixing minor bugs and so on.  One of the problems was the
	bundled version of libgadu which would not build on FreeBSD 4.X
	since the compiler in that release does not have va_copy.

	To cut a long story short the fix applied in gaim is to use a
	locally installed libgadu, rather than bundle their own.  The
	problem is that libgadu links against openssl, which causes
	openssl to be loaded into gaim's process space which is apparently
	an infringement on the GPL.  the patch checked into gaim checks
	if the local copy of libgadu is linked against openssl and refuses
	to link against it if it detects openssl.

	Disabling openssl is apparently not a big deal since the gadugadu
	servers apparently do not support SSL at this time.

	Full story here:

	https://sourceforge.net/tracker/?func=detail&atid=300235&aid=1424846&group_id=235
>How-To-Repeat:
	N/A
>Fix:

--- patch-libgadu-20051229_1 begins here ---
diff -uNr libgadu.orig/Makefile libgadu/Makefile
--- libgadu.orig/Makefile	Sun Jan 15 23:37:30 2006
+++ libgadu/Makefile	Wed Feb 22 16:02:48 2006
@@ -6,6 +6,7 @@
 
 PORTNAME=	libgadu
 PORTVERSION=	20051229
+PORTREVISION=	1
 CATEGORIES=	polish net
 MASTER_SITES=	http://bsdguru.org/distfiles/
 
@@ -18,7 +19,7 @@
 USE_AUTOTOOLS=		aclocal:15 autoheader:259 autoconf:259
 ACLOCAL_ARGS=		-I ${WRKSRC}/m4
 
-CONFIGURE_ARGS=		--enable-shared --disable-static
+CONFIGURE_ARGS=		--enable-shared --disable-static --without-openssl
 
 INSTALLS_SHLIB=		yes
 
--- patch-libgadu-20051229_1 ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Feb 22 03:36:20 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

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

From: Aleksander Fafula <alex@fafula.com>
To: bug-followup@FreeBSD.org, mjl@luckie.org.nz
Cc:  
Subject: Re: ports/93689: [patch] polish/libgadu without openssl
Date: Wed, 8 Mar 2006 08:59:04 +0100

 Hello. 
 
 I think this is a very good idea.
 
 It was promised by the vendor of commercial application (Gadu-Gadu)
 that their servers will start serving clients securely soon. It has not 
 happend so I agree with you it is a very good idea of disabling it.
 
 Thank you very much for your support!
 
 Aleksander Fafula
State-Changed-From-To: feedback->closed 
State-Changed-By: marcus 
State-Changed-When: Sun Apr 2 00:12:21 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

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