diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2005-04-18 11:35:36 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2005-04-18 11:35:36 +0000 |
commit | 3f3b81e147c5b43f6d562e7b61fdf5081b4eda3e (patch) | |
tree | 950e898bf5efc2bf8c904805718f3988108e951c /net-im/pymsn-t | |
parent | net-im/pymsn-t needs testing before comming out (diff) | |
download | gentoo-2-3f3b81e147c5b43f6d562e7b61fdf5081b4eda3e.tar.gz gentoo-2-3f3b81e147c5b43f6d562e7b61fdf5081b4eda3e.tar.bz2 gentoo-2-3f3b81e147c5b43f6d562e7b61fdf5081b4eda3e.zip |
initial import
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-im/pymsn-t')
-rw-r--r-- | net-im/pymsn-t/ChangeLog | 11 | ||||
-rw-r--r-- | net-im/pymsn-t/Manifest | 4 | ||||
-rw-r--r-- | net-im/pymsn-t/files/digest-pymsn-t-0.9.2 | 1 | ||||
-rw-r--r-- | net-im/pymsn-t/files/pymsn-t-0.9.2-arguments.patch | 10 | ||||
-rw-r--r-- | net-im/pymsn-t/files/pymsn-t.initd | 20 | ||||
-rw-r--r-- | net-im/pymsn-t/metadata.xml | 9 | ||||
-rw-r--r-- | net-im/pymsn-t/pymsn-t-0.9.2.ebuild | 64 |
7 files changed, 119 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..263481f5c937 --- /dev/null +++ b/net-im/pymsn-t/Manifest @@ -0,0 +1,4 @@ +MD5 de62d98b0f82c9a448a482b13215324c pymsn-t-0.9.2.ebuild 1462 +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 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." +} |