ports/93689: [patch] polish/libgadu without openssl

Matthew Luckie mjl at luckie.org.nz
Wed Feb 22 03:30:08 UTC 2006


>Number:         93689
>Category:       ports
>Synopsis:       [patch] polish/libgadu without openssl
>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:   Wed Feb 22 03:30:06 GMT 2006
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list