diff options
author | Maurice van der Pot <griffon26@gentoo.org> | 2007-04-28 23:34:00 +0000 |
---|---|---|
committer | Maurice van der Pot <griffon26@gentoo.org> | 2007-04-28 23:34:00 +0000 |
commit | cf981b1ff67cea4b2b644bb428525dc706d56648 (patch) | |
tree | aa92e9203e9b720e3ac01621ba82e0ce93ca286e /net-im/pyicq-t/files | |
parent | also replace with newinit/newconfd (diff) | |
download | gentoo-2-cf981b1ff67cea4b2b644bb428525dc706d56648.tar.gz gentoo-2-cf981b1ff67cea4b2b644bb428525dc706d56648.tar.bz2 gentoo-2-cf981b1ff67cea4b2b644bb428525dc706d56648.zip |
Added pyicq-t 0.8 closing bug #88283.
(Portage version: 2.1.2.4)
Diffstat (limited to 'net-im/pyicq-t/files')
-rw-r--r-- | net-im/pyicq-t/files/digest-pyicq-t-0.8 | 3 | ||||
-rw-r--r-- | net-im/pyicq-t/files/pyicq-t-0.8-initd | 23 | ||||
-rw-r--r-- | net-im/pyicq-t/files/pyicq-t-0.8-twisted-2.5.patch | 15 |
3 files changed, 41 insertions, 0 deletions
diff --git a/net-im/pyicq-t/files/digest-pyicq-t-0.8 b/net-im/pyicq-t/files/digest-pyicq-t-0.8 new file mode 100644 index 000000000000..372563c9d169 --- /dev/null +++ b/net-im/pyicq-t/files/digest-pyicq-t-0.8 @@ -0,0 +1,3 @@ +MD5 0929aa4b726d8718e1b8c8cb900fa114 pyicq-t-0.8.tar.gz 163250 +RMD160 f21a3b1e0ccc088683acb1cc5fefdce20c9c15b5 pyicq-t-0.8.tar.gz 163250 +SHA256 ef914750f07ba74437230cd626a6248ff6a5d7b3fe777b2df3a8be8741c3f811 pyicq-t-0.8.tar.gz 163250 diff --git a/net-im/pyicq-t/files/pyicq-t-0.8-initd b/net-im/pyicq-t/files/pyicq-t-0.8-initd new file mode 100644 index 000000000000..29d8cb47d94d --- /dev/null +++ b/net-im/pyicq-t/files/pyicq-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/pyicq-t/files/pyicq-t-0.8-initd,v 1.1 2007/04/28 23:34:00 griffon26 Exp $ + +depend() { + need net + use jabber-server +} + +start() { + ebegin "Starting ICQ Jabber Transport" + start-stop-daemon --start --pidfile /var/run/jabber/pyicq-t.pid --chuid jabber:jabber \ + --exec /usr/bin/python /usr/lib/python2.4/site-packages/pyicq-t/pyicq-t.py -- \ + -b -c /etc/jabber/pyicq-t.xml -l /var/log/jabber/pyicq-t.log + eend $? +} + +stop() { + ebegin "Stopping ICQ Jabber Transport" + start-stop-daemon --stop --quiet --pidfile /var/run/jabber/pyicq-t.pid + eend $? +} diff --git a/net-im/pyicq-t/files/pyicq-t-0.8-twisted-2.5.patch b/net-im/pyicq-t/files/pyicq-t-0.8-twisted-2.5.patch new file mode 100644 index 000000000000..f38b73d13fd8 --- /dev/null +++ b/net-im/pyicq-t/files/pyicq-t-0.8-twisted-2.5.patch @@ -0,0 +1,15 @@ +diff -ruN pyicq-t-0.8/src/main.py pyicq-t-0.8-fixed/src/main.py +--- pyicq-t-0.8/src/main.py 2006-09-30 21:44:21.000000000 +0200 ++++ pyicq-t-0.8-fixed/src/main.py 2007-04-28 14:37:15.000000000 +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: |