summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2005-04-18 11:35:36 +0000
committerGustavo Felisberto <humpback@gentoo.org>2005-04-18 11:35:36 +0000
commita3708feb9bc40b9efb72d94f53df9e09141b2434 (patch)
tree9a88d69af86f5d29ca9fa3912df88298dc934a1a /net-im
parentnet-im/pymsn-t needs testing before comming out (diff)
downloadhistorical-a3708feb9bc40b9efb72d94f53df9e09141b2434.tar.gz
historical-a3708feb9bc40b9efb72d94f53df9e09141b2434.tar.bz2
historical-a3708feb9bc40b9efb72d94f53df9e09141b2434.zip
initial import
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-im')
-rw-r--r--net-im/pymsn-t/ChangeLog11
-rw-r--r--net-im/pymsn-t/Manifest16
-rw-r--r--net-im/pymsn-t/files/digest-pymsn-t-0.9.21
-rw-r--r--net-im/pymsn-t/files/pymsn-t-0.9.2-arguments.patch10
-rw-r--r--net-im/pymsn-t/files/pymsn-t.initd20
-rw-r--r--net-im/pymsn-t/metadata.xml9
-rw-r--r--net-im/pymsn-t/pymsn-t-0.9.2.ebuild64
7 files changed, 131 insertions, 0 deletions
diff --git a/net-im/pymsn-t/ChangeLog b/net-im/pymsn-t/ChangeLog
new file mode 100644
index 000000000000..7cbbe328aec4
--- /dev/null
+++ b/net-im/pymsn-t/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-im/pymsn-t
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/ChangeLog,v 1.1 2005/04/18 11:35:36 humpback Exp $
+
+*pymsn-t-0.9.2 (18 Apr 2005)
+
+ 18 Apr 2005; Gustavo Felisberto <humpback@gentoo.org>;
+ +files/pymsn-t-0.9.2-arguments.patch, +files/pymsn-t.initd,
+ +pymsn-t-0.9.2.ebuild:
+ Initial import see bug #88597 for more info
+
diff --git a/net-im/pymsn-t/Manifest b/net-im/pymsn-t/Manifest
new file mode 100644
index 000000000000..21560220c802
--- /dev/null
+++ b/net-im/pymsn-t/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 44ddbc343931de2f3bfe01390ab72532 ChangeLog 424
+MD5 08d64f26d0872c7dfe0f37e7ea6a83c3 metadata.xml 301
+MD5 0baea5fcb8fa0681aa7d0f8c15da3803 pymsn-t-0.9.2.ebuild 1568
+MD5 a5d34b92f593910aa4e4e6efd01d3dbf files/digest-pymsn-t-0.9.2 63
+MD5 eccf7d429ba0a26d05d96e04376d203e files/pymsn-t-0.9.2-arguments.patch 256
+MD5 786423ba715473aa0fa09fc54b0725d0 files/pymsn-t.initd 405
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFCY5uS8zY1VwezZiERAszxAKCUpDJ28KLqJFtV+SWhgWZ8axmBBQCgifbU
+cfiqIbDv7QtmZ5BevRr1204=
+=fDvF
+-----END PGP SIGNATURE-----
diff --git a/net-im/pymsn-t/files/digest-pymsn-t-0.9.2 b/net-im/pymsn-t/files/digest-pymsn-t-0.9.2
new file mode 100644
index 000000000000..8e33fd78ff95
--- /dev/null
+++ b/net-im/pymsn-t/files/digest-pymsn-t-0.9.2
@@ -0,0 +1 @@
+MD5 28f97490014b8a9cd2f02f8d3eea894f PyMSNt-0.9.2.tar.gz 73114
diff --git a/net-im/pymsn-t/files/pymsn-t-0.9.2-arguments.patch b/net-im/pymsn-t/files/pymsn-t-0.9.2-arguments.patch
new file mode 100644
index 000000000000..8f388c6509e3
--- /dev/null
+++ b/net-im/pymsn-t/files/pymsn-t-0.9.2-arguments.patch
@@ -0,0 +1,10 @@
+--- PyMSNt-0.9.2/PyMSNt 2005-04-10 12:32:29.646079867 +0200
++++ PyMSNt-0.9.2/PyMSNt 2005-04-10 11:51:39.130483794 +0200
+@@ -1,6 +1,6 @@
+ #!/bin/bash
+
+ cd `dirname $0`/src
+-exec -a PyMSNt python main.py
++exec -a PyMSNt python main.py $*
+ cd `dirname $0`
+
diff --git a/net-im/pymsn-t/files/pymsn-t.initd b/net-im/pymsn-t/files/pymsn-t.initd
new file mode 100644
index 000000000000..9fb448a38616
--- /dev/null
+++ b/net-im/pymsn-t/files/pymsn-t.initd
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+ need jabber-server
+}
+
+start() {
+ ebegin "Starting MSN Jabber Transport"
+ cd /var/run/pymsn-t
+ start-stop-daemon --start --quiet --background --chuid pymsn-t:jabber \
+ --exec /usr/lib/pymsn-t/pymsn-t -- /etc/pymsn-t.xml
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping MSN Jabber Transport"
+ start-stop-daemon --stop --quiet --pidfile /var/run/pymsn-t/PyMSNt.pid
+ eend $?
+}
diff --git a/net-im/pymsn-t/metadata.xml b/net-im/pymsn-t/metadata.xml
new file mode 100644
index 000000000000..695a9f84512e
--- /dev/null
+++ b/net-im/pymsn-t/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-im</herd>
+<maintainer>
+ <email>humpback@gentoo.org</email>
+</maintainer>
+ <longdescription>New Python based jabber transport for MSN</longdescription>
+</pkgmetadata>
diff --git a/net-im/pymsn-t/pymsn-t-0.9.2.ebuild b/net-im/pymsn-t/pymsn-t-0.9.2.ebuild
new file mode 100644
index 000000000000..bdb66dcce5fd
--- /dev/null
+++ b/net-im/pymsn-t/pymsn-t-0.9.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/pymsn-t-0.9.2.ebuild,v 1.1 2005/04/18 11:35:36 humpback Exp $
+
+# Based on net-im/pyicq-t ebuild by Karl-Johan Karlsson
+inherit eutils
+
+MY_PN="PyMSNt"
+S=${WORKDIR}/${MY_PN}-${PV}
+DESCRIPTION="MSN transport for Jabber"
+HOMEPAGE="http://msn-transport.jabberstudio.org/"
+SRC_URI="http://msn-transport.jabberstudio.org/downloads/${MY_PN}-${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=dev-lang/python-2.3"
+RDEPEND="virtual/jabber-server
+ >=dev-python/twisted-1.1
+ <dev-python/twisted-2"
+IUSE=""
+
+src_unpack()
+{
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-arguments.patch
+}
+
+src_install()
+{
+ enewgroup jabber
+ enewuser pymsn-t -1 /bin/false /var/run/pymsn-t jabber
+
+ insinto /usr/lib/${PN}/src
+ doins src/*
+
+ dodir /var/log/pymsn-t
+
+ exeinto /usr/lib/${PN}
+ newexe PyMSNt pymsn-t
+
+ insinto /etc
+ newins config-example.xml pymsn-t.xml
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/pymsn-t.initd pymsn-t
+
+ dodir /var/spool/${PN}
+ fowners pymsn-t:jabber /var/spool/${PN}
+
+ dodir /var/log/${PN}
+ fowners pymsn-t:jabber /var/log/${PN}
+
+ dodir /var/run/${PN}
+ fowners pymsn-t:jabber /var/run/${PN}
+}
+
+pkg_postinst() {
+ einfo "A sample configuration file has been installed in /etc/pymsn-t.xml."
+ einfo "Please edit it, and the configuration of you Jabber server to match."
+ einfo "You also need to create a directory msn.yourdomain.com in"
+ einfo "/var/spool/pymsn-t/ and chown it to pymsn-t:jabber."
+}