summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorChris Carlin (volkris) <ccarlin@physics.tamu.edu>2006-08-30 20:34:08 +0000
committerChris Carlin (volkris) <ccarlin@physics.tamu.edu>2006-08-30 20:34:08 +0000
commit61beb4c0598f80ea1837c98817ebf819a825f3ba (patch)
treea9c86f33dc6f7c6e0daf6080cc62bf905b1bf1b8 /net-im
parentAdding web useflag for new pyaim-t package (diff)
downloadsunrise-reviewed-61beb4c0598f80ea1837c98817ebf819a825f3ba.tar.gz
sunrise-reviewed-61beb4c0598f80ea1837c98817ebf819a825f3ba.tar.bz2
sunrise-reviewed-61beb4c0598f80ea1837c98817ebf819a825f3ba.zip
net-im/pyaim-t: New package for pyAIM-t (bug 123160) based on the contribution of Lars Strojny.
svn path=/sunrise/; revision=1059
Diffstat (limited to 'net-im')
-rw-r--r--net-im/pyaim-t/ChangeLog8
-rw-r--r--net-im/pyaim-t/Manifest20
-rw-r--r--net-im/pyaim-t/files/digest-pyaim-t-0.7c3
-rw-r--r--net-im/pyaim-t/files/pyaim-t-0.7c.initd26
-rw-r--r--net-im/pyaim-t/metadata.xml5
-rw-r--r--net-im/pyaim-t/pyaim-t-0.7c.ebuild51
6 files changed, 113 insertions, 0 deletions
diff --git a/net-im/pyaim-t/ChangeLog b/net-im/pyaim-t/ChangeLog
new file mode 100644
index 000000000..b4ca83351
--- /dev/null
+++ b/net-im/pyaim-t/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-im/pyaim-t
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 30 Aug 2006; Chris Carlin (volkris) <ccarlin@physics.tamu.edu>
+ +pyaim-t-0.7c.ebuild, +files/pyaim-t-0.7c.initd, +metadata.xml:
+ New package for pyAIM-t (bug 123160) based on the contribution of Lars Strojny.
+
diff --git a/net-im/pyaim-t/Manifest b/net-im/pyaim-t/Manifest
new file mode 100644
index 000000000..cf81a2cbb
--- /dev/null
+++ b/net-im/pyaim-t/Manifest
@@ -0,0 +1,20 @@
+AUX pyaim-t-0.7c.initd 642 RMD160 955c4a2d13f63b83a24afa2ff51892703908c470 SHA1 1c1559a2175ed20d6505563f1fdc400328c527b6 SHA256 be7c9fca48f58990be0b817da0ee69afa868a53f91ff5a863fa06cd754ead5b7
+MD5 ed0f2458b42480d21cfa38ab1fe31788 files/pyaim-t-0.7c.initd 642
+RMD160 955c4a2d13f63b83a24afa2ff51892703908c470 files/pyaim-t-0.7c.initd 642
+SHA256 be7c9fca48f58990be0b817da0ee69afa868a53f91ff5a863fa06cd754ead5b7 files/pyaim-t-0.7c.initd 642
+DIST pyaim-t-0.7c.tar.gz 145664 RMD160 7c6c7b80de3dddc76aa05cc40b568d47522288b5 SHA1 35d6054e7964f86a5d248e871dcb0c93e79b8136 SHA256 3fa8a83b01d5c36fcb6b348a45b7350b0378e6ee63903590f43eacfbf83f58c8
+EBUILD pyaim-t-0.7c.ebuild 1509 RMD160 680d49a767e626c39be40913b683134eab91ad9e SHA1 6f0535be74fea4ccd34be092870211e825745641 SHA256 ae301d3b613d0f3d7280bdb49478c31d5ae80d70b0c5e40a378bbc2eb9ba2626
+MD5 b2fb61e48ecf6521e45669058aa9fb44 pyaim-t-0.7c.ebuild 1509
+RMD160 680d49a767e626c39be40913b683134eab91ad9e pyaim-t-0.7c.ebuild 1509
+SHA256 ae301d3b613d0f3d7280bdb49478c31d5ae80d70b0c5e40a378bbc2eb9ba2626 pyaim-t-0.7c.ebuild 1509
+MISC ChangeLog 329 RMD160 4bc1f44a3546e7dc62f92f7a025a006767c2882d SHA1 4e6cde1ab38db3ef815a921fb5f2408aa02e5928 SHA256 8cd8e48663bb1623c399a70d4c91d56598ef1ba3bd001b1a5a8e10bb636cf692
+MD5 6f81187a53451fbc8f546155cc2412bb ChangeLog 329
+RMD160 4bc1f44a3546e7dc62f92f7a025a006767c2882d ChangeLog 329
+SHA256 8cd8e48663bb1623c399a70d4c91d56598ef1ba3bd001b1a5a8e10bb636cf692 ChangeLog 329
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 c2da9d2f5ee3bf7516e053f7bcbd8e40 files/digest-pyaim-t-0.7c 238
+RMD160 4ea1713c358c45438876c739dedd151173109478 files/digest-pyaim-t-0.7c 238
+SHA256 ed512121ae76866e6cae117b595620ddb39fa936d157a8de7bef5571044c5aa9 files/digest-pyaim-t-0.7c 238
diff --git a/net-im/pyaim-t/files/digest-pyaim-t-0.7c b/net-im/pyaim-t/files/digest-pyaim-t-0.7c
new file mode 100644
index 000000000..2325687f9
--- /dev/null
+++ b/net-im/pyaim-t/files/digest-pyaim-t-0.7c
@@ -0,0 +1,3 @@
+MD5 6e7be2bcbc18a5e72e36248fbcedaa13 pyaim-t-0.7c.tar.gz 145664
+RMD160 7c6c7b80de3dddc76aa05cc40b568d47522288b5 pyaim-t-0.7c.tar.gz 145664
+SHA256 3fa8a83b01d5c36fcb6b348a45b7350b0378e6ee63903590f43eacfbf83f58c8 pyaim-t-0.7c.tar.gz 145664
diff --git a/net-im/pyaim-t/files/pyaim-t-0.7c.initd b/net-im/pyaim-t/files/pyaim-t-0.7c.initd
new file mode 100644
index 000000000..4c849e984
--- /dev/null
+++ b/net-im/pyaim-t/files/pyaim-t-0.7c.initd
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2006 BreakMyGentoo.net
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+depend() {
+ need net
+ use jabber-server
+}
+
+start() {
+ ebegin "Starting AIM Jabber Transport"
+ start-stop-daemon --start --quiet --pidfile /var/run/jabber/pyaim-t.pid \
+ --background --chuid jabber:jabber \
+ --exec /usr/bin/python \
+ /usr/lib/PATH/site-packages/pyaim-t/pyaim-t.py -- \
+ -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/metadata.xml b/net-im/pyaim-t/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/net-im/pyaim-t/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/net-im/pyaim-t/pyaim-t-0.7c.ebuild b/net-im/pyaim-t/pyaim-t-0.7c.ebuild
new file mode 100644
index 000000000..35e3b646a
--- /dev/null
+++ b/net-im/pyaim-t/pyaim-t-0.7c.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils 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="web"
+NEED_PYTHON=2.3
+
+DEPEND=">=net-im/jabber-base-0.0"
+RDEPEND="${DEPEND}
+ >=dev-python/twisted-1.3.0
+ >=dev-python/twisted-words-0.1.0
+ >=dev-python/twisted-xish-0.1.0
+ >=dev-python/twisted-web-0.5.0
+ web? ( >=dev-python/nevow-0.4.1 )
+ >=dev-python/imaging-1.1"
+
+src_install() {
+ python_version
+ insinto /usr/lib/python${PYVER}/site-packages/${PN}/
+ doins -r tools src data
+ 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}/${P}.initd" ${PN}
+ dosed "s/PATH/python${PYVER}/" /etc/init.d/${PN}
+}
+
+pkg_postinst() {
+ 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."
+ elog "You also need to create a directory aim.yourjabberhostname.tld in"
+ elog "/var/spool/jabber and chown it to jabber:jabber."
+}