summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice van der Pot <griffon26@gentoo.org>2007-06-08 16:52:42 +0000
committerMaurice van der Pot <griffon26@gentoo.org>2007-06-08 16:52:42 +0000
commit4c3a2fd98044752be6cd0b57f9c7a17924faaa51 (patch)
tree67533fcb8c4a2b2a1aee01935c26b1fd53a28fd5 /net-im/pyaim-t
parentRemove generation 1 ebuild and unneeded revision. (diff)
downloadhistorical-4c3a2fd98044752be6cd0b57f9c7a17924faaa51.tar.gz
historical-4c3a2fd98044752be6cd0b57f9c7a17924faaa51.tar.bz2
historical-4c3a2fd98044752be6cd0b57f9c7a17924faaa51.zip
Added net-im/pyaim-t 0.8a to the tree (closes bug #123160)
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'net-im/pyaim-t')
-rw-r--r--net-im/pyaim-t/ChangeLog12
-rw-r--r--net-im/pyaim-t/Manifest34
-rw-r--r--net-im/pyaim-t/files/digest-pyaim-t-0.8a3
-rw-r--r--net-im/pyaim-t/files/pyaim-t-0.8-initd23
-rw-r--r--net-im/pyaim-t/files/pyaim-t-0.8-twisted-2.5.patch15
-rw-r--r--net-im/pyaim-t/metadata.xml15
-rw-r--r--net-im/pyaim-t/pyaim-t-0.8a.ebuild67
7 files changed, 169 insertions, 0 deletions
diff --git a/net-im/pyaim-t/ChangeLog b/net-im/pyaim-t/ChangeLog
new file mode 100644
index 000000000000..03932611b387
--- /dev/null
+++ b/net-im/pyaim-t/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for net-im/pyaim-t
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/pyaim-t/ChangeLog,v 1.1 2007/06/08 16:52:42 griffon26 Exp $
+
+*pyaim-t-0.8a (04 Jun 2007)
+
+ 04 Jun 2007; Maurice van der Pot <griffon26@gentoo.org>
+ +files/pyaim-t-0.8-initd, +files/pyaim-t-0.8-twisted-2.5.patch,
+ +metadata.xml, +pyaim-t-0.8a.ebuild:
+ Initial import of pyaim-t into portage as requested by Chris Carlin
+ <carlin@jlab.org> (closes bug #123160).
+
diff --git a/net-im/pyaim-t/Manifest b/net-im/pyaim-t/Manifest
new file mode 100644
index 000000000000..8ed3941b661d
--- /dev/null
+++ b/net-im/pyaim-t/Manifest
@@ -0,0 +1,34 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX pyaim-t-0.8-initd 680 RMD160 0552cbe45e11d0f3d348475a41dd02bd245737b7 SHA1 c19759a00fabcc773d538c72d7236f920f28af44 SHA256 e9a1a81dc1c0d1ddd4e42be46925e3b1f6eb79592abd37b4041281432ce929d6
+MD5 ffef2219c2ab0fbd1c42d7f851607989 files/pyaim-t-0.8-initd 680
+RMD160 0552cbe45e11d0f3d348475a41dd02bd245737b7 files/pyaim-t-0.8-initd 680
+SHA256 e9a1a81dc1c0d1ddd4e42be46925e3b1f6eb79592abd37b4041281432ce929d6 files/pyaim-t-0.8-initd 680
+AUX pyaim-t-0.8-twisted-2.5.patch 842 RMD160 23b346c4ae86c8964d4dadf0e3164a48e534e580 SHA1 8e17c0ea5222c62add7b52e399eca8469de8e691 SHA256 a60ccb8af20b8144f6c4540a2567ccec9cc326cddef67ac22b3776a5dbac6dad
+MD5 e5a3a4a22869bef7ad9df7951eec641b files/pyaim-t-0.8-twisted-2.5.patch 842
+RMD160 23b346c4ae86c8964d4dadf0e3164a48e534e580 files/pyaim-t-0.8-twisted-2.5.patch 842
+SHA256 a60ccb8af20b8144f6c4540a2567ccec9cc326cddef67ac22b3776a5dbac6dad files/pyaim-t-0.8-twisted-2.5.patch 842
+DIST pyaim-t-0.8a.tar.gz 165035 RMD160 ddc6485dc481cd97f1db3ceaa485387ba4669e56 SHA1 ef98a3a161e151706ad80481aefc3c14eb01c9f8 SHA256 93508f5f3b0fce5bca040fd2c393cac7bcb9dffeffa2ade7683a48e314fdf12f
+EBUILD pyaim-t-0.8a.ebuild 1845 RMD160 1ceef01dfbe9df5c84cb885b177c1a7ffa1c6f1c SHA1 6f269d50355a4cf2eb1d858b1b54b8cd0c479e81 SHA256 efe0cfea9f2df91fbda101a70efd6da993138e2db5cf07e1deb9ec5f162beb38
+MD5 0d9eb0792acb92ff597460be65639475 pyaim-t-0.8a.ebuild 1845
+RMD160 1ceef01dfbe9df5c84cb885b177c1a7ffa1c6f1c pyaim-t-0.8a.ebuild 1845
+SHA256 efe0cfea9f2df91fbda101a70efd6da993138e2db5cf07e1deb9ec5f162beb38 pyaim-t-0.8a.ebuild 1845
+MISC ChangeLog 509 RMD160 df255b86e111f40c91baca0525791bbf6afd6520 SHA1 aa083f0466e03046315a458cef491427e9cfecd8 SHA256 09fd8feab7e80d9a5ecb1b78c08e4e9d4a238e513954e7437f47df4c67269912
+MD5 ecd840d8e33c5c060c93b716c2f0c6a9 ChangeLog 509
+RMD160 df255b86e111f40c91baca0525791bbf6afd6520 ChangeLog 509
+SHA256 09fd8feab7e80d9a5ecb1b78c08e4e9d4a238e513954e7437f47df4c67269912 ChangeLog 509
+MISC metadata.xml 467 RMD160 b122636d21a6a1cda9942fdb2a0a85934d3b65f0 SHA1 70b73a7d65fc398fedcc1d4903d917fcafb93d52 SHA256 bc8f5ebc7e937c76f9c64d1f7c7234fdc8335f8aa67ceb301fd0c226b24f132f
+MD5 785ec294db831a41e8f4de35179b2e38 metadata.xml 467
+RMD160 b122636d21a6a1cda9942fdb2a0a85934d3b65f0 metadata.xml 467
+SHA256 bc8f5ebc7e937c76f9c64d1f7c7234fdc8335f8aa67ceb301fd0c226b24f132f metadata.xml 467
+MD5 27080289ae70224235cd699a64d54b1d files/digest-pyaim-t-0.8a 238
+RMD160 7275a11baefad6ebcef6c961634f159970b6f82e files/digest-pyaim-t-0.8a 238
+SHA256 b04e0d38105fafc0a82ce7283e4fd24c28a14e06f2f34f37d99ac508c14ee12d files/digest-pyaim-t-0.8a 238
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.4 (GNU/Linux)
+
+iD8DBQFGaYnvMGnpIbeahxwRAm55AKCFrjxkLkcVfKrsXYqd29rhIpT2BACgk9Ec
+JFCfo7aAeVSyqkHzBkfFoRg=
+=R2tC
+-----END PGP SIGNATURE-----
diff --git a/net-im/pyaim-t/files/digest-pyaim-t-0.8a b/net-im/pyaim-t/files/digest-pyaim-t-0.8a
new file mode 100644
index 000000000000..ac359bf83f28
--- /dev/null
+++ b/net-im/pyaim-t/files/digest-pyaim-t-0.8a
@@ -0,0 +1,3 @@
+MD5 913ad86d0fa7015d9d3eb9cd65206b98 pyaim-t-0.8a.tar.gz 165035
+RMD160 ddc6485dc481cd97f1db3ceaa485387ba4669e56 pyaim-t-0.8a.tar.gz 165035
+SHA256 93508f5f3b0fce5bca040fd2c393cac7bcb9dffeffa2ade7683a48e314fdf12f pyaim-t-0.8a.tar.gz 165035
diff --git a/net-im/pyaim-t/files/pyaim-t-0.8-initd b/net-im/pyaim-t/files/pyaim-t-0.8-initd
new file mode 100644
index 000000000000..634dc94659a2
--- /dev/null
+++ b/net-im/pyaim-t/files/pyaim-t-0.8-initd
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/pyaim-t/files/pyaim-t-0.8-initd,v 1.1 2007/06/08 16:52:42 griffon26 Exp $
+
+depend() {
+ need net
+ use jabber-server
+}
+
+start() {
+ ebegin "Starting AIM Jabber Transport"
+ start-stop-daemon --start --pidfile /var/run/jabber/pyaim-t.pid --chuid jabber:jabber \
+ --exec /usr/bin/python INSPATH/pyaim-t.py -- \
+ -b -c /etc/jabber/pyaim-t.xml -l /var/log/jabber/pyaim-t.log
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping AIM Jabber Transport"
+ start-stop-daemon --stop --quiet --pidfile /var/run/jabber/pyaim-t.pid
+ eend $?
+}
diff --git a/net-im/pyaim-t/files/pyaim-t-0.8-twisted-2.5.patch b/net-im/pyaim-t/files/pyaim-t-0.8-twisted-2.5.patch
new file mode 100644
index 000000000000..bd0a24f7f8e8
--- /dev/null
+++ b/net-im/pyaim-t/files/pyaim-t-0.8-twisted-2.5.patch
@@ -0,0 +1,15 @@
+diff -ruN pyaim-t-0.8a/src/main.py pyaim-t-0.8a-fixed/src/main.py
+--- pyaim-t-0.8a/src/main.py 2007-03-26 04:23:32.000000000 +0200
++++ pyaim-t-0.8a-fixed/src/main.py 2007-06-04 22:09:34.569889294 +0200
+@@ -89,7 +89,10 @@
+ import signal
+ signal.signal(signal.SIGHUP, reloadConfig)
+ # Load scripts for PID and daemonizing
+- from twisted.scripts import twistd
++ try:
++ from twisted.scripts import _twistd_unix as twistd
++ except:
++ from twisted.scripts import twistd
+
+ selectWarning = "Unable to install any good reactors (kqueue, cf, epoll, poll).\nWe fell back to using select. You may have scalability problems.\nThis reactor will not support more than 1024 connections +at a time. You may silence this message by choosing 'select' or 'default' as your reactor in the transport config."
+ if config.reactor and len(config.reactor) > 0:
diff --git a/net-im/pyaim-t/metadata.xml b/net-im/pyaim-t/metadata.xml
new file mode 100644
index 000000000000..9f70ca00148e
--- /dev/null
+++ b/net-im/pyaim-t/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-im</herd>
+<maintainer>
+ <email>carlin@jlab.org</email>
+ <name>Chris Carlin</name>
+ <description>Proxy maintainer</description>
+</maintainer>
+<maintainer>
+ <email>griffon26@gentoo.org</email>
+ <name>Maurice van der Pot</name>
+</maintainer>
+ <longdescription>Python based jabber transport for AIM</longdescription>
+</pkgmetadata>
diff --git a/net-im/pyaim-t/pyaim-t-0.8a.ebuild b/net-im/pyaim-t/pyaim-t-0.8a.ebuild
new file mode 100644
index 000000000000..dcd0dfab43ae
--- /dev/null
+++ b/net-im/pyaim-t/pyaim-t-0.8a.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/pyaim-t/pyaim-t-0.8a.ebuild,v 1.1 2007/06/08 16:52:42 griffon26 Exp $
+
+NEED_PYTHON=2.3
+
+inherit eutils multilib python
+
+DESCRIPTION="Python based jabber transport for AIM"
+HOMEPAGE="http://pyaim-t.blathersource.org/"
+SRC_URI="http://www.blathersource.org/download.php/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="webinterface"
+
+DEPEND="net-im/jabber-base"
+RDEPEND="${DEPEND}
+ >=dev-python/twisted-2.2.0
+ >=dev-python/twisted-words-0.1.0
+ >=dev-python/twisted-web-0.5.0
+ webinterface? ( >=dev-python/nevow-0.4.1 )
+ >=dev-python/imaging-1.1"
+
+src_unpack() {
+ unpack ${A} && cd "${S}" || die "unpack failed"
+
+ epatch "${FILESDIR}/${PN}-0.8-twisted-2.5.patch"
+}
+
+src_install() {
+ local inspath
+
+ python_version
+ inspath=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+ insinto ${inspath}
+ doins -r data src tools
+ newins PyAIMt.py ${PN}.py
+
+ insinto /etc/jabber
+ newins config_example.xml ${PN}.xml
+ fperms 600 /etc/jabber/${PN}.xml
+ fowners jabber:jabber /etc/jabber/${PN}.xml
+ dosed \
+ "s:<spooldir>[^\<]*</spooldir>:<spooldir>/var/spool/jabber</spooldir>:" \
+ /etc/jabber/${PN}.xml
+ dosed \
+ "s:<pid>[^\<]*</pid>:<pid>/var/run/jabber/${PN}.pid</pid>:" \
+ /etc/jabber/${PN}.xml
+
+ newinitd "${FILESDIR}/${PN}-0.8-initd" ${PN}
+ dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN}
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+
+ elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml."
+ elog "Please edit it and the configuration of your Jabber server to match."
+}
+
+pkg_postrm() {
+ python_version
+ python_mod_cleanup ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+}