Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2003 15:03:47 +0200 (CEST)
From:      "Herbert J. Skuhra" <herbert@bugat.at>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/57244: Patch enables SSL (gnutls) support for Gaim (Jabber plugin)	
Message-ID:  <20030926130347.9719D1FEC@freebsd2.rocks>
Resent-Message-ID: <200309261310.h8QDAJcG011658@freefall.freebsd.org>

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

>Number:         57244
>Category:       ports
>Synopsis:       Patch enables SSL (gnutls) support for Gaim (Jabber plugin)
>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:   Fri Sep 26 06:10:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Herbert J. Skuhra
>Release:        FreeBSD 5.1-RELEASE-p2 i386
>Organization:
BSD User Group Austria (www.bugat.at)	
>Environment:
System: FreeBSD freebsd2.rocks 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #2: Fri Sep 12 15:51:06 CEST 2003 herbert@freebsd2.rocks:/usr/obj/usr/src/sys/PC1 i386


	
>Description:
	Gaim 0.69 supports SSL through gnutls or nss. This patch enables gnutls.	Gnutls has to be compiled with CONFIGURE_ARGS=--with-included-libtasn1 !!!!(gnutls doesn't work when compiled against security/libtasn1)
	This patch also fixes the pkg-plist.

>How-To-Repeat:
	
>Fix:

------ patch ------

diff -ruN gaim.bak/Makefile gaim/Makefile
--- gaim.bak/Makefile	Fri Sep 26 14:38:13 2003
+++ gaim/Makefile	Fri Sep 26 14:42:56 2003
@@ -49,11 +49,16 @@
 CONFIGURE_ARGS+=	--disable-audio
 .endif
 
+.ifdef(WITH_GNUTLS)
+LIB_DEPENDS+=	gnutls.7:{PORTSDIR}/security/gnutls
+.endif
+
 pre-everything::
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "Gaim has the following tunable option(s):"
 	@${ECHO_MSG} "		WITHOUT_GTKSPELL	Turns off spell checking"
 	@${ECHO_MSG} "		WITHOUT_AUDIO		Disable audio support"
+	@${ECHO_MSG} "		WITH_GNUTLS		Enable SSL support (GNUTLS)"
 	@${ECHO_MSG} ""
 
 post-patch:
diff -ruN gaim.bak/pkg-plist gaim/pkg-plist
--- gaim.bak/pkg-plist	Fri Sep 26 14:38:13 2003
+++ gaim/pkg-plist	Fri Sep 26 14:57:14 2003
@@ -23,6 +23,7 @@
 lib/gaim/statenotify.so
 lib/gaim/ticker.so
 lib/gaim/timestamp.so
+lib/gaim/perl.so
 lib/libgaim-remote.a
 lib/libgaim-remote.so
 lib/libgaim-remote.so.0
@@ -305,5 +306,4 @@
 %%PERL:%%lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gaim/Gaim.bs
 %%PERL:%%lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gaim/.packlist
 %%PERL:%%lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Gaim.pm
-%%PERL:%%lib/gaim/perl.so
 %%PERL:%%@dirrm lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/auto/Gaim

------ end of patch ------
>Release-Note:
>Audit-Trail:
>Unformatted:



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