Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2006 14:13:22 -0700 (PDT)
From:      Derek Kulinski <takeda@takeda.tk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/98768: [NEW PORT] net-im/jabber-pyaim-transport: Python AIM-Transport for Jabber
Message-ID:  <200606092113.k59LDMu8077027@chinatsu.takeda.tk>
Resent-Message-ID: <200606092120.k59LKEgc068530@freefall.freebsd.org>

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

>Number:         98768
>Category:       ports
>Synopsis:       [NEW PORT] net-im/jabber-pyaim-transport: Python AIM-Transport for Jabber
>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 Jun 09 21:20:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Derek Kulinski
>Release:        FreeBSD 6.1-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD chinatsu.takeda.tk 6.1-RELEASE-p1 FreeBSD 6.1-RELEASE-p1 #1: Thu Jun  1 18:12:55 PDT
>Description:
PyAIMt is an AIM transport for Jabber written entirely in Python, and using
the Twisted framework. It uses the OSCAR protocol to communicate with AOL's
servers and should work with any Jabber implementation available.

Author:	Daniel Henninger <jadestorm@nc.rr.com>
WWW:	http://pyaim-t.blathersource.org/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- jabber-pyaim-transport-0.7d.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	jabber-pyaim
#	jabber-pyaim/pkg-descr
#	jabber-pyaim/Makefile
#	jabber-pyaim/pkg-plist
#	jabber-pyaim/distinfo
#	jabber-pyaim/files
#	jabber-pyaim/files/jabber-pyaim-transport.sh.in
#
echo c - jabber-pyaim
mkdir -p jabber-pyaim > /dev/null 2>&1
echo x - jabber-pyaim/pkg-descr
sed 's/^X//' >jabber-pyaim/pkg-descr << 'END-of-jabber-pyaim/pkg-descr'
XPyAIMt is an AIM transport for Jabber written entirely in Python, and using
Xthe Twisted framework. It uses the OSCAR protocol to communicate with AOL's
Xservers and should work with any Jabber implementation available.
X
XAuthor:	Daniel Henninger <jadestorm@nc.rr.com>
XWWW:	http://pyaim-t.blathersource.org/
END-of-jabber-pyaim/pkg-descr
echo x - jabber-pyaim/Makefile
sed 's/^X//' >jabber-pyaim/Makefile << 'END-of-jabber-pyaim/Makefile'
X# New ports collection makefile for:	Jabber Python AIM Transport
X# Date created:		2006-06-06
X# Whom:			Derek Kulinski <takeda@takeda.tk>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pyaim
XPORTVERSION=	0.7d
XCATEGORIES=	net-im
XMASTER_SITES=	http://www.blathersource.org/download.php/${PORTNAME}-t/
XPKGNAMEPREFIX=	jabber-
XPKGNAMESUFFIX=	-transport
XDISTNAME=	${PORTNAME}-t-${PORTVERSION}
XDIST_SUBDIR=	jabber
X
XMAINTAINER=	takeda@takeda.tk
XCOMMENT=	Python AIM-Transport for Jabber
X
XRUN_DEPENDS=	${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twisted
X
XOPTIONS=	EJABBERD "Use transport with ejabberd" off
X
XNO_BUILD=	yes
XUSE_PYTHON=	yes
XUSE_RC_SUBR=	jabber-pyaim-transport.sh
X
XSUB_LIST=	PYTHON_CMD=${PYTHON_CMD}
X
XINST_DIR=	${PREFIX}/lib/jabber/${PORTNAME}
X
XPORTDOCS=	COPYING README NEWS AUTHORS INSTALL
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_EJABBERD)
XJABBER_USER?=	ejabberd
XSUB_LIST+=	JABBER_REQUIRE=ejabberd
X.else
XJABBER_USER?=	jabber
XSUB_LIST+=	JABBER_REQUIRE=jabberd
X.endif
X
XSUB_LIST+=	JABBER_USER=${JABBER_USER}
X
Xpost-patch:
X	@${REINPLACE_CMD} -i "" -e '/spooldir/s|\.\.|/var/spool/jabber|' \
X		-e 's|\.\./PyAIMt.pid|/var/jabberd/pid/PyAIMt.pid|' \
X		${WRKSRC}/config_example.xml
X	@${REINPLACE_CMD} -i "" -e 's|spooldir = "\.\."|spooldir = "/var/spool/jabber"|g' \
X		-e 's|pid = ""|pid = "/var/jabberd/pid/PyAIMt.pid"|g' \
X		${WRKSRC}/src/config.py
X	@${REINPLACE_CMD} -i "" 's|"config\.xml"|"${PREFIX}/etc/jabber-pyaim.xml"|' \
X		${WRKSRC}/src/main.py
X	@${REINPLACE_CMD} -i "" 's|/usr/bin/env python|${PYTHON_CMD}|' \
X		${WRKSRC}/PyAIMt.py
X
Xdo-install:
X	${MKDIR} ${INST_DIR}/src ${INST_DIR}/data
X	${INSTALL_SCRIPT} ${WRKSRC}/PyAIMt.py ${INST_DIR}
X	@${CP} -Rv ${WRKSRC}/data/* ${INST_DIR}/data/
X	@${CP} -Rv ${WRKSRC}/src/* ${INST_DIR}/src/
X	${MKDIR} ${EXAMPLESDIR}/etc
X	${INSTALL_DATA} ${WRKSRC}/config_example.xml ${EXAMPLESDIR}/etc/jabber-pyaim.xml
X	@[ -f ${PREFIX}/etc/jabber-pyaim.xml ] || ${CP} -v ${EXAMPLESDIR}/etc/jabber-pyaim.xml ${PREFIX}/etc/jabber-pyaim.xml
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for portdoc in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${portdoc} ${DOCSDIR}/
X.endfor
X	${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${INST_DIR}/src
X.endif
X
Xpost-install:
X	@${ECHO_CMD}
X	@${ECHO_CMD} "**************************************************************************************"
X	@${ECHO_CMD} "Remember to edit ${PREFIX}/etc/jabber-pyaim.xml to suit your needs."
X	@${ECHO_CMD} "Follow the setup instructions at: http://wiki.blathersource.org/wiki/index.php/PyAIMt."
X	@${ECHO_CMD} "**************************************************************************************"
X	@${ECHO_CMD}
X
X.include <bsd.port.post.mk>
END-of-jabber-pyaim/Makefile
echo x - jabber-pyaim/pkg-plist
sed 's/^X//' >jabber-pyaim/pkg-plist << 'END-of-jabber-pyaim/pkg-plist'
X@comment $FreeBSD$
X@unexec if cmp -s %D/%%EXAMPLESDIR%%/etc/jabber-pyaim.xml %D/etc/jabber-pyaim.xml; then rm -f %D/etc/jabber-pyaim.xml; fi
X%%EXAMPLESDIR%%/etc/jabber-pyaim.xml
X@exec [ -f %D/etc/jabber-pyaim.xml ] || cp %B/%f %D/etc/jabber-pyaim.xml
Xlib/jabber/pyaim/PyAIMt.py
Xlib/jabber/pyaim/data/defaultAIMAvatar.png
Xlib/jabber/pyaim/data/defaultICQAvatar.png
Xlib/jabber/pyaim/data/www/css/style.css
Xlib/jabber/pyaim/data/www/images/pyaim.png
Xlib/jabber/pyaim/data/www/template.html
Xlib/jabber/pyaim/src/avatar.py
Xlib/jabber/pyaim/src/avatar.pyc
Xlib/jabber/pyaim/src/bool.py
Xlib/jabber/pyaim/src/bool.pyc
Xlib/jabber/pyaim/src/config.py
Xlib/jabber/pyaim/src/config.pyc
Xlib/jabber/pyaim/src/contact.py
Xlib/jabber/pyaim/src/contact.pyc
Xlib/jabber/pyaim/src/daemonize.py
Xlib/jabber/pyaim/src/daemonize.pyc
Xlib/jabber/pyaim/src/debug.py
Xlib/jabber/pyaim/src/debug.pyc
Xlib/jabber/pyaim/src/disco.py
Xlib/jabber/pyaim/src/disco.pyc
Xlib/jabber/pyaim/src/globals.py
Xlib/jabber/pyaim/src/globals.pyc
Xlib/jabber/pyaim/src/groupchat.py
Xlib/jabber/pyaim/src/groupchat.pyc
Xlib/jabber/pyaim/src/imgmanip.py
Xlib/jabber/pyaim/src/imgmanip.pyc
Xlib/jabber/pyaim/src/jabw.py
Xlib/jabber/pyaim/src/jabw.pyc
Xlib/jabber/pyaim/src/lang.py
Xlib/jabber/pyaim/src/lang.pyc
Xlib/jabber/pyaim/src/langs/__init__.py
Xlib/jabber/pyaim/src/langs/__init__.pyc
Xlib/jabber/pyaim/src/langs/cs.py
Xlib/jabber/pyaim/src/langs/cs.pyc
Xlib/jabber/pyaim/src/langs/de.py
Xlib/jabber/pyaim/src/langs/de.pyc
Xlib/jabber/pyaim/src/langs/en.py
Xlib/jabber/pyaim/src/langs/en.pyc
Xlib/jabber/pyaim/src/langs/fr.py
Xlib/jabber/pyaim/src/langs/fr.pyc
Xlib/jabber/pyaim/src/langs/nl.py
Xlib/jabber/pyaim/src/langs/nl.pyc
Xlib/jabber/pyaim/src/langs/pl.py
Xlib/jabber/pyaim/src/langs/pl.pyc
Xlib/jabber/pyaim/src/langs/ru.py
Xlib/jabber/pyaim/src/langs/ru.pyc
Xlib/jabber/pyaim/src/legacy/__init__.py
Xlib/jabber/pyaim/src/legacy/__init__.pyc
Xlib/jabber/pyaim/src/legacy/aimt.py
Xlib/jabber/pyaim/src/legacy/aimt.pyc
Xlib/jabber/pyaim/src/legacy/glue.py
Xlib/jabber/pyaim/src/legacy/glue.pyc
Xlib/jabber/pyaim/src/legacy/legacyiq.py
Xlib/jabber/pyaim/src/legacy/legacyiq.pyc
Xlib/jabber/pyaim/src/legacy/legacylist.py
Xlib/jabber/pyaim/src/legacy/legacylist.pyc
Xlib/jabber/pyaim/src/main.py
Xlib/jabber/pyaim/src/main.pyc
Xlib/jabber/pyaim/src/misciq.py
Xlib/jabber/pyaim/src/misciq.pyc
Xlib/jabber/pyaim/src/register.py
Xlib/jabber/pyaim/src/register.pyc
Xlib/jabber/pyaim/src/sasl.py
Xlib/jabber/pyaim/src/sasl.pyc
Xlib/jabber/pyaim/src/session.py
Xlib/jabber/pyaim/src/session.pyc
Xlib/jabber/pyaim/src/tlib/__init__.py
Xlib/jabber/pyaim/src/tlib/__init__.pyc
Xlib/jabber/pyaim/src/tlib/countrycodes.py
Xlib/jabber/pyaim/src/tlib/countrycodes.pyc
Xlib/jabber/pyaim/src/tlib/domish.py
Xlib/jabber/pyaim/src/tlib/domish.pyc
Xlib/jabber/pyaim/src/tlib/jabber/__init__.py
Xlib/jabber/pyaim/src/tlib/jabber/__init__.pyc
Xlib/jabber/pyaim/src/tlib/jabber/client.py
Xlib/jabber/pyaim/src/tlib/jabber/client.pyc
Xlib/jabber/pyaim/src/tlib/jabber/component.py
Xlib/jabber/pyaim/src/tlib/jabber/component.pyc
Xlib/jabber/pyaim/src/tlib/jabber/jid.py
Xlib/jabber/pyaim/src/tlib/jabber/jid.pyc
Xlib/jabber/pyaim/src/tlib/jabber/jstrports.py
Xlib/jabber/pyaim/src/tlib/jabber/jstrports.pyc
Xlib/jabber/pyaim/src/tlib/jabber/xmpp_stringprep.py
Xlib/jabber/pyaim/src/tlib/jabber/xmpp_stringprep.pyc
Xlib/jabber/pyaim/src/tlib/oscar.py
Xlib/jabber/pyaim/src/tlib/oscar.pyc
Xlib/jabber/pyaim/src/tlib/scheduler.py
Xlib/jabber/pyaim/src/tlib/scheduler.pyc
Xlib/jabber/pyaim/src/tlib/socks5.py
Xlib/jabber/pyaim/src/tlib/socks5.pyc
Xlib/jabber/pyaim/src/tlib/sockserror.py
Xlib/jabber/pyaim/src/tlib/sockserror.pyc
Xlib/jabber/pyaim/src/tlib/twistwrap.py
Xlib/jabber/pyaim/src/tlib/twistwrap.pyc
Xlib/jabber/pyaim/src/tlib/xmlstream.py
Xlib/jabber/pyaim/src/tlib/xmlstream.pyc
Xlib/jabber/pyaim/src/utils.py
Xlib/jabber/pyaim/src/utils.pyc
Xlib/jabber/pyaim/src/web/__init__.py
Xlib/jabber/pyaim/src/web/__init__.pyc
Xlib/jabber/pyaim/src/web/handler.py
Xlib/jabber/pyaim/src/web/handler.pyc
Xlib/jabber/pyaim/src/web/xmppcred.py
Xlib/jabber/pyaim/src/web/xmppcred.pyc
Xlib/jabber/pyaim/src/xdb/__init__.py
Xlib/jabber/pyaim/src/xdb/__init__.pyc
Xlib/jabber/pyaim/src/xdb/legacyaimtransport.py
Xlib/jabber/pyaim/src/xdb/legacyaimtransport.pyc
Xlib/jabber/pyaim/src/xdb/mysql.py
Xlib/jabber/pyaim/src/xdb/mysql.pyc
Xlib/jabber/pyaim/src/xdb/template.py
Xlib/jabber/pyaim/src/xdb/template.pyc
Xlib/jabber/pyaim/src/xdb/xmlfiles.py
Xlib/jabber/pyaim/src/xdb/xmlfiles.pyc
Xlib/jabber/pyaim/src/xmlconfig.py
Xlib/jabber/pyaim/src/xmlconfig.pyc
X@dirrm lib/jabber/pyaim/src/xdb
X@dirrm lib/jabber/pyaim/src/web
X@dirrm lib/jabber/pyaim/src/tlib/jabber
X@dirrm lib/jabber/pyaim/src/tlib
X@dirrm lib/jabber/pyaim/src/legacy
X@dirrm lib/jabber/pyaim/src/langs
X@dirrm lib/jabber/pyaim/src
X@dirrm lib/jabber/pyaim/data/www/images
X@dirrm lib/jabber/pyaim/data/www/css
X@dirrm lib/jabber/pyaim/data/www
X@dirrm lib/jabber/pyaim/data
X@dirrm lib/jabber/pyaim
X@dirrmtry lib/jabber
X@dirrm %%EXAMPLESDIR%%/etc
X@dirrm %%EXAMPLESDIR%%
END-of-jabber-pyaim/pkg-plist
echo x - jabber-pyaim/distinfo
sed 's/^X//' >jabber-pyaim/distinfo << 'END-of-jabber-pyaim/distinfo'
XMD5 (jabber/pyaim-t-0.7d.tar.gz) = 99b593a2a1dc7cc6281dad4a4d8fb5e1
XSHA256 (jabber/pyaim-t-0.7d.tar.gz) = 768b038f51548ce9f87932d74d98f4cd68f9412775e3b1a4345775857592d122
XSIZE (jabber/pyaim-t-0.7d.tar.gz) = 144842
END-of-jabber-pyaim/distinfo
echo c - jabber-pyaim/files
mkdir -p jabber-pyaim/files > /dev/null 2>&1
echo x - jabber-pyaim/files/jabber-pyaim-transport.sh.in
sed 's/^X//' >jabber-pyaim/files/jabber-pyaim-transport.sh.in << 'END-of-jabber-pyaim/files/jabber-pyaim-transport.sh.in'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X# PROVIDE: jabber_pyaim
X# REQUIRE: DAEMON %%JABBER_REQUIRE%%
X# BEFORE: LOGIN
X# KEYWORD: shutdown
X#
X# Define these jabber_pyaim_* variables in one of these files:
X#       /etc/rc.conf
X#       /etc/rc.conf.local
X#
X
X. %%RC_SUBR%%
X
Xname="jabber_pyaim"
Xrcvar=`set_rcvar`
X
Xload_rc_config $name
X
X: ${jabber_pyaim_enable="NO"}
X: ${jabber_pyaim_dir="%%PREFIX%%/lib/jabber/pyaim"}
X: ${jabber_pyaim_piddir="/var/jabberd/pid"}
X: ${jabber_pyaim_user="%%JABBER_USER%%"}
X
Xpidfile="${jabber_pyaim_piddir}/PyAIMt.pid"
Xcommand_interpreter="%%PYTHON_CMD%%"
Xcommand_args="-b -o pid=${pidfile}"
Xcommand="${jabber_pyaim_dir}/PyAIMt.py"
X
Xrun_rc_command "$1"
END-of-jabber-pyaim/files/jabber-pyaim-transport.sh.in
exit
--- jabber-pyaim-transport-0.7d.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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