summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice van der Pot <griffon26@gentoo.org>2007-04-28 23:21:46 +0000
committerMaurice van der Pot <griffon26@gentoo.org>2007-04-28 23:21:46 +0000
commit7e33349cfa8ba9d875e520db7f89c7a16fece56e (patch)
tree80a3720c55a16b038389f30af74a424ac674acc1 /net-im/pymsn-t/files
parentdrop dodir before doenvd (diff)
downloadgentoo-2-7e33349cfa8ba9d875e520db7f89c7a16fece56e.tar.gz
gentoo-2-7e33349cfa8ba9d875e520db7f89c7a16fece56e.tar.bz2
gentoo-2-7e33349cfa8ba9d875e520db7f89c7a16fece56e.zip
Added pymsn-t 0.11.2 closing bug #140194.
(Portage version: 2.1.2.4)
Diffstat (limited to 'net-im/pymsn-t/files')
-rw-r--r--net-im/pymsn-t/files/digest-pymsn-t-0.11.23
-rw-r--r--net-im/pymsn-t/files/pymsn-t-0.11.2-initd23
-rw-r--r--net-im/pymsn-t/files/pymsn-t-0.11.2-twisted-2.5.patch15
3 files changed, 41 insertions, 0 deletions
diff --git a/net-im/pymsn-t/files/digest-pymsn-t-0.11.2 b/net-im/pymsn-t/files/digest-pymsn-t-0.11.2
new file mode 100644
index 000000000000..4ebd2e74060d
--- /dev/null
+++ b/net-im/pymsn-t/files/digest-pymsn-t-0.11.2
@@ -0,0 +1,3 @@
+MD5 855cb25e2254522ba98ba02d59fdd9b6 pymsnt-0.11.2.tar.gz 311947
+RMD160 f3b952832400a67407c9c9e713953f7bcae5fbfa pymsnt-0.11.2.tar.gz 311947
+SHA256 d0d7064f50133453d170008e075de2d3ec0138e593c5bc9ec4052cfb2fe28459 pymsnt-0.11.2.tar.gz 311947
diff --git a/net-im/pymsn-t/files/pymsn-t-0.11.2-initd b/net-im/pymsn-t/files/pymsn-t-0.11.2-initd
new file mode 100644
index 000000000000..6c1f444d4f92
--- /dev/null
+++ b/net-im/pymsn-t/files/pymsn-t-0.11.2-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/pymsn-t/files/pymsn-t-0.11.2-initd,v 1.1 2007/04/28 23:21:46 griffon26 Exp $
+
+depend() {
+ need net
+ use jabber-server
+}
+
+start() {
+ ebegin "Starting MSN Jabber Transport"
+ start-stop-daemon --start --pidfile /var/run/jabber/pymsn-t.pid --chuid jabber:jabber \
+ --exec /usr/bin/python /usr/lib/python2.4/site-packages/pymsn-t/pymsn-t.py -- \
+ -b -c /etc/jabber/pymsn-t.xml -l /var/log/jabber/pymsn-t.log
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping MSN Jabber Transport"
+ start-stop-daemon --stop --quiet --pidfile /var/run/jabber/pymsn-t.pid
+ eend $?
+}
diff --git a/net-im/pymsn-t/files/pymsn-t-0.11.2-twisted-2.5.patch b/net-im/pymsn-t/files/pymsn-t-0.11.2-twisted-2.5.patch
new file mode 100644
index 000000000000..76fbac8340bf
--- /dev/null
+++ b/net-im/pymsn-t/files/pymsn-t-0.11.2-twisted-2.5.patch
@@ -0,0 +1,15 @@
+diff -ruN pymsnt-0.11.2/src/main.py pymsnt-0.11.2-fixed/src/main.py
+--- pymsnt-0.11.2/src/main.py 2006-10-18 06:40:55.000000000 +0200
++++ pymsnt-0.11.2-fixed/src/main.py 2007-04-28 16:07:49.000000000 +0200
+@@ -390,7 +390,10 @@
+ # Set SIGHUP to reload the config file & close & open debug file
+ signal.signal(signal.SIGHUP, SIGHUPstuff)
+ # Load some scripts for PID and daemonising
+- from twisted.scripts import twistd
++ try:
++ from twisted.scripts import _twistd_unix as twistd
++ except:
++ from twisted.scripts import twistd
+
+
+ def main():