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
commitd16693ac6a2572d5740b4ba2efe7ef59a6647efa (patch)
treecba1504a365cc779fbda7e8668c0262884cbd743 /net-im/pyaim-t/files
parentRemove generation 1 ebuild and unneeded revision. (diff)
downloadgentoo-2-d16693ac6a2572d5740b4ba2efe7ef59a6647efa.tar.gz
gentoo-2-d16693ac6a2572d5740b4ba2efe7ef59a6647efa.tar.bz2
gentoo-2-d16693ac6a2572d5740b4ba2efe7ef59a6647efa.zip
Added net-im/pyaim-t 0.8a to the tree (closes bug #123160)
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-im/pyaim-t/files')
-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
3 files changed, 41 insertions, 0 deletions
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: