From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 26 14:30:06 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A10716A402 for ; Mon, 26 Feb 2007 14:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 55AA813C441 for ; Mon, 26 Feb 2007 14:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1QEU6ih021487 for ; Mon, 26 Feb 2007 14:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1QEU6I7021485; Mon, 26 Feb 2007 14:30:06 GMT (envelope-from gnats) Resent-Date: Mon, 26 Feb 2007 14:30:06 GMT Resent-Message-Id: <200702261430.l1QEU6I7021485@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Matuska Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76DD816A401 for ; Mon, 26 Feb 2007 14:20:14 +0000 (UTC) (envelope-from rebum@mail.vx.sk) Received: from mail.vx.sk (neo.vx.sk [88.198.35.14]) by mx1.freebsd.org (Postfix) with ESMTP id EDA0013C48D for ; Mon, 26 Feb 2007 14:20:13 +0000 (UTC) (envelope-from rebum@mail.vx.sk) Received: from localhost (localhost [127.0.0.1]) by mail.vx.sk (Postfix) with ESMTP id 8B8DF3F4D0 for ; Mon, 26 Feb 2007 15:20:10 +0100 (CET) Received: from mail.vx.sk ([127.0.0.1]) by localhost (mail.vx.sk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qrm087gp2yCV for ; Mon, 26 Feb 2007 15:20:00 +0100 (CET) Received: by mail.vx.sk (Postfix, from userid 1001) id 670173F46A; Mon, 26 Feb 2007 15:20:00 +0100 (CET) Message-Id: <20070226142000.670173F46A@mail.vx.sk> Date: Mon, 26 Feb 2007 15:20:00 +0100 (CET) From: Martin Matuska To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/109566: [UPDATE] net-im/jabber-yahoo X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 14:30:06 -0000 >Number: 109566 >Category: ports >Synopsis: [UPDATE] net-im/jabber-yahoo >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Feb 26 14:30:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Martin Matuska >Release: FreeBSD 6.2-RELEASE >Organization: >Environment: System: FreeBSD 6.2-RELEASE >Description: This update fixes compatibility with jabber-1.6.0 ( ports/109259 , latest followup ) and adds documentation. Update of jabberd has to be commited first. Patch: http://www.matuska.org/martin/freebsd/ports/patches/net-im_jabber-yahoo.patch .tar.gz of the port: http://www.matuska.org/martin/freebsd/ports/patches/net-im_jabber-yahoo.tar.gz SVN tree: http://www.matuska.org/martin/cgi/viewvc.cgi/ports/net-im/jabber-yahoo Tinderbox log: http://tinderbox.vx.sk/logs/6.2-FreeBSD-amd64/jabber-yahoo-2.3.2_2.log portlint -a: WARN: Makefile: only one MASTER_SITE configured. Consider adding additional mirrors. 0 fatal errors and 1 warning found. Link to jabber-patch 1.4.4->1.6.0 ( ports/109259 ): http://www.matuska.org/martin/freebsd/ports/patches/net-im_jabber.patch >How-To-Repeat: >Fix: diff -Nbur net-im/jabber-yahoo.orig/Makefile net-im/jabber-yahoo/Makefile --- net-im/jabber-yahoo.orig/Makefile Wed Feb 21 17:26:20 2007 +++ net-im/jabber-yahoo/Makefile Wed Feb 21 21:31:16 2007 @@ -6,7 +6,7 @@ PORTNAME= yahoo PORTVERSION= 2.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-im MASTER_SITES= http://files.jabberstudio.org/yahoo-transport-2/ PKGNAMEPREFIX= jabber- @@ -16,17 +16,53 @@ MAINTAINER= garga@FreeBSD.org COMMENT= Jabber Yahoo Transport module -BUILD_DEPENDS= ${LOCALBASE}/sbin/jabberd:${PORTSDIR}/net-im/jabber +LIB_DEPENDS= jabberd.1:${PORTSDIR}/net-im/jabber USE_GNOME= glib12 USE_GMAKE= yes USE_ICONV= yes WRKSRC= ${WRKDIR}/yahoo-transport-${PORTVERSION} -PLIST_FILES= lib/jabber/yahoo-transport.so etc/yahoo-jabber.xml.sample + +DOCSDIR= ${TARGETDIR}/share/doc/${PKGNAMEPREFIX}${PORTNAME} + +SUB_FILES+= README.jabberd14 pkg-message + +DOCS= CHANGES INSTALL LICENSE README jabber.xml yahoo-jabber.xml yahoo-jcr.xml + +.if !defined(NOPORTDOCS) +PKG_MESSAGE= ${WRKDIR}/pkg-message +.endif + +.include + +.if exists(${GLIB_CONFIG}) +GLIB_CFLAGS!= ${GLIB_CONFIG} --cflags +GLIB_LIBS!= ${GLIB_CONFIG} --libs +.endif + +CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/jabber \ + -I${LOCALBASE}/include/pth ${GLIB_CFLAGS} + +MAKE_ARGS+= MCFLAGS="-shared" \ + LDFLAGS="-L${LOCALBASE}/lib/pth -L${LOCALBASE}/lib/jabber" \ + LIBS="${GLIB_LIBS}" + +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" +CFLAGS+= -fPIC +.endif do-install: - ${INSTALL_DATA} ${WRKSRC}/yahoo-transport.so ${PREFIX}/lib/jabber/ - ${INSTALL_DATA} ${WRKSRC}/yahoo-jabber.xml ${PREFIX}/etc/yahoo-jabber.xml.sample + ${INSTALL_PROGRAM} ${WRKSRC}/yahoo-transport.so ${PREFIX}/lib/jabber/ + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for FILE in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE} +.endfor + @${INSTALL_DATA} ${WRKDIR}/README.jabberd14 ${DOCSDIR} + @${CAT} ${PKGMESSAGE} +.endif -.include +.include diff -Nbur net-im/jabber-yahoo.orig/files/README.jabberd14.in net-im/jabber-yahoo/files/README.jabberd14.in --- net-im/jabber-yahoo.orig/files/README.jabberd14.in Thu Jan 1 01:00:00 1970 +++ net-im/jabber-yahoo/files/README.jabberd14.in Wed Feb 21 17:22:27 2007 @@ -0,0 +1,62 @@ +The sample configuration file for jabberd14 may be located in: +%%TARGETDIR%%/etc/jabber.xml.sample + +Please make all necessary changes to your configuration file which may be: +%%TARGETDIR%%/etc/jabber.xml + +NOTE: if you want this service to be accessible from other servers, + change any 'yahoo.localhost' listed below to a fully qualified domain name! + Please make sure that your directives are _NOT_ in an XML comment: there + are many multi-line comments. + +To activate the YAHOO transport for your Jabber server, +add the following to your configuration file and adjust to your settings +(around line 921 in the sample configuration file): +------------------------------------------------------------------------------- + + + %%TARGETDIR%%/jabber/yahoo-transport.so + + + + + Yahoo! IM Gateway + + + + Enter your YAHOO! Messenger Username and Password to registe r with the gateway. + + + scs.yahoo.com + + + 5050 + + + CP1252 + + + + + + +------------------------------------------------------------------------------- +Add this section to the browse area of the jsm to advertise it to +your users (around line 382 of the sample config): +------------------------------------------------------------------------------- + + + jabber:iq:gateway + jabber:iq:register + jabber:iq:version + jabber:iq:time + + +------------------------------------------------------------------------------- +Be sure to restart your server after reconfiguring. diff -Nbur net-im/jabber-yahoo.orig/files/patch-Makefile net-im/jabber-yahoo/files/patch-Makefile --- net-im/jabber-yahoo.orig/files/patch-Makefile Wed Feb 21 17:26:20 2007 +++ net-im/jabber-yahoo/files/patch-Makefile Wed Feb 21 16:09:53 2007 @@ -1,16 +1,14 @@ ---- Makefile.orig Mon Sep 29 02:40:44 2003 -+++ Makefile Sat Jan 3 20:23:13 2004 -@@ -1,10 +1,10 @@ +--- Makefile.orig Fri Jun 25 18:33:56 2004 ++++ Makefile Wed Feb 21 15:09:38 2007 +@@ -1,11 +1,6 @@ - # $Id: Makefile,v 1.5 2003/09/29 00:40:44 pcurtis Exp $ + # $Id: Makefile,v 1.7 2004/06/25 18:33:56 pcurtis Exp $ -include ../platform-settings -+include ${PREFIX}/include/jabber/platform-settings - +- -CFLAGS:=$(CFLAGS) -I../jabberd `glib-config --cflags` -LIBS:=$(LIBS) `glib-config --libs glib` -+CFLAGS:=$(CFLAGS) -I${PREFIX}/include -I${PREFIX}/include/jabber `glib12-config --cflags` -+LIBS:=$(LIBS) `glib12-config --libs glib` -liconv - +- YAHOO_OBJECTS=yahoo-transport.o yahoo-session.o yahoo-phandler.o yahoo.o \ crypt.o gaim-sha.o yahoo-presence.o yahoo-server.o md5.o yahoo-message.o \ + yahoo-stats.o yahoo-composing.o yahoo-mail.o yahoo-auth.o diff -Nbur net-im/jabber-yahoo.orig/files/pkg-message.in net-im/jabber-yahoo/files/pkg-message.in --- net-im/jabber-yahoo.orig/files/pkg-message.in Thu Jan 1 01:00:00 1970 +++ net-im/jabber-yahoo/files/pkg-message.in Wed Feb 21 17:24:52 2007 @@ -0,0 +1,2 @@ +You can find a configuration example in: +%%DOCSDIR%%/README.jabberd14 diff -Nbur net-im/jabber-yahoo.orig/pkg-plist net-im/jabber-yahoo/pkg-plist --- net-im/jabber-yahoo.orig/pkg-plist Thu Jan 1 01:00:00 1970 +++ net-im/jabber-yahoo/pkg-plist Wed Feb 21 17:04:45 2007 @@ -0,0 +1,10 @@ +lib/jabber/yahoo-transport.so +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.jabberd14 +%%PORTDOCS%%%%DOCSDIR%%/jabber.xml +%%PORTDOCS%%%%DOCSDIR%%/yahoo-jabber.xml +%%PORTDOCS%%%%DOCSDIR%%/yahoo-jcr.xml +%%PORTDOCS%%@dirrm %%DOCSDIR%% >Release-Note: >Audit-Trail: >Unformatted: