diff options
author | Chris Carlin (volkris) <ccarlin@physics.tamu.edu> | 2006-08-31 09:21:52 +0000 |
---|---|---|
committer | Chris Carlin (volkris) <ccarlin@physics.tamu.edu> | 2006-08-31 09:21:52 +0000 |
commit | 1f721dc4a6ce07ddb392a94f68158d983d37a8a7 (patch) | |
tree | 2fea178b5519ed92bdf268809c5e6048289db9f1 | |
parent | Adding web useflag for new pyicq-t package (diff) | |
download | sunrise-1f721dc4a6ce07ddb392a94f68158d983d37a8a7.tar.gz sunrise-1f721dc4a6ce07ddb392a94f68158d983d37a8a7.tar.bz2 sunrise-1f721dc4a6ce07ddb392a94f68158d983d37a8a7.zip |
net-im/pyicq-t: New package for pyICQ-t (bug 88283) based on the work of Lars Strojny.
svn path=/sunrise/; revision=1065
-rw-r--r-- | net-im/pyicq-t/ChangeLog | 8 | ||||
-rw-r--r-- | net-im/pyicq-t/Manifest | 20 | ||||
-rw-r--r-- | net-im/pyicq-t/files/digest-pyicq-t-0.7b | 3 | ||||
-rw-r--r-- | net-im/pyicq-t/files/pyicq-t-0.7b.initd | 27 | ||||
-rw-r--r-- | net-im/pyicq-t/metadata.xml | 5 | ||||
-rw-r--r-- | net-im/pyicq-t/pyicq-t-0.7b.ebuild | 53 |
6 files changed, 116 insertions, 0 deletions
diff --git a/net-im/pyicq-t/ChangeLog b/net-im/pyicq-t/ChangeLog new file mode 100644 index 000000000..3278806e9 --- /dev/null +++ b/net-im/pyicq-t/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-im/pyicq-t +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 31 Aug 2006; Chris Carlin (volkris) <ccarlin@physics.tamu.edu> + +pyicq-t-0.7b.ebuild, +files/pyicq-t-0.7b.initd, +metadata.xml: + New package for pyICQ-t (bug 88283) based on the work of Lars Strojny. + diff --git a/net-im/pyicq-t/Manifest b/net-im/pyicq-t/Manifest new file mode 100644 index 000000000..bfc4236d9 --- /dev/null +++ b/net-im/pyicq-t/Manifest @@ -0,0 +1,20 @@ +AUX pyicq-t-0.7b.initd 643 RMD160 cc98b696072363b49b0ee1047588c5883b18114b SHA1 80ff335723ff6e6767eb1185c5216df445300f3a SHA256 b534f7abc3d3f8a1cf0cdd39bb9f9d686d8f2783c73e022e44a58f2e813a9184 +MD5 c4dae1e184ea1e53b5e5b0af628a4d0e files/pyicq-t-0.7b.initd 643 +RMD160 cc98b696072363b49b0ee1047588c5883b18114b files/pyicq-t-0.7b.initd 643 +SHA256 b534f7abc3d3f8a1cf0cdd39bb9f9d686d8f2783c73e022e44a58f2e813a9184 files/pyicq-t-0.7b.initd 643 +DIST pyicq-t-0.7b.tar.gz 139959 RMD160 a20db2f92130bd0630301a4cabb104e77cc956ab SHA1 a41be6d1918a462e8c5939cf63721accad1a1720 SHA256 abb0827d4711d361fdbba64181e21ceb2325d336ce95c5c67e3b1b5bec3b4dd2 +EBUILD pyicq-t-0.7b.ebuild 1511 RMD160 c213ce5a5b2f8f320931f2397166f3d626d5c861 SHA1 866ae1c6576fb48409cae8d4f6b966afb8d57d60 SHA256 5b71a185d9cd3732955b29a4f3bf87f7f728fdc90423e0e0bc4a5cabd0b201ec +MD5 bf2f035d6878354d4832eeae20206e9c pyicq-t-0.7b.ebuild 1511 +RMD160 c213ce5a5b2f8f320931f2397166f3d626d5c861 pyicq-t-0.7b.ebuild 1511 +SHA256 5b71a185d9cd3732955b29a4f3bf87f7f728fdc90423e0e0bc4a5cabd0b201ec pyicq-t-0.7b.ebuild 1511 +MISC ChangeLog 320 RMD160 c14ee0c4c01d02e3bbe101a8022ac1ca5c74540b SHA1 bf9e7f5d9664adc6c32c63ad2594b40668003dbb SHA256 8d1d1d7c8d7ea31e1d3938c6bff57d96889df67673e6fea97265b2337a762e3e +MD5 35a429d9e39baad82e9ce3488d96e4f3 ChangeLog 320 +RMD160 c14ee0c4c01d02e3bbe101a8022ac1ca5c74540b ChangeLog 320 +SHA256 8d1d1d7c8d7ea31e1d3938c6bff57d96889df67673e6fea97265b2337a762e3e ChangeLog 320 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 +MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 +RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 +SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 +MD5 d0eabdbe02340dbd85c0f981aba907d7 files/digest-pyicq-t-0.7b 238 +RMD160 4468dbb82f3e1c73e967b211dec96a36a96731e1 files/digest-pyicq-t-0.7b 238 +SHA256 640243c5345761d0ace881f6741c37dc03351d289308be93a29b8230bbfbea83 files/digest-pyicq-t-0.7b 238 diff --git a/net-im/pyicq-t/files/digest-pyicq-t-0.7b b/net-im/pyicq-t/files/digest-pyicq-t-0.7b new file mode 100644 index 000000000..17d578c1e --- /dev/null +++ b/net-im/pyicq-t/files/digest-pyicq-t-0.7b @@ -0,0 +1,3 @@ +MD5 7de0df9311eb6923e6f59fdd914bb6ab pyicq-t-0.7b.tar.gz 139959 +RMD160 a20db2f92130bd0630301a4cabb104e77cc956ab pyicq-t-0.7b.tar.gz 139959 +SHA256 abb0827d4711d361fdbba64181e21ceb2325d336ce95c5c67e3b1b5bec3b4dd2 pyicq-t-0.7b.tar.gz 139959 diff --git a/net-im/pyicq-t/files/pyicq-t-0.7b.initd b/net-im/pyicq-t/files/pyicq-t-0.7b.initd new file mode 100644 index 000000000..bc9c79947 --- /dev/null +++ b/net-im/pyicq-t/files/pyicq-t-0.7b.initd @@ -0,0 +1,27 @@ +#!/sbin/runscript +# Copyright 1999-2006 BreakMyGentoo.net +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +depend() { + need net + use jabber-server +} + +start() { + ebegin "Starting ICQ Jabber Transport" + start-stop-daemon --start --quiet --pidfile /var/run/jabber/pyicq-t.pid \ + --background --chuid jabber:jabber \ + --exec /usr/bin/python \ + /usr/lib/PATH/site-packages/pyicq-t/pyicq-t.py -- \ + -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/metadata.xml b/net-im/pyicq-t/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/net-im/pyicq-t/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> diff --git a/net-im/pyicq-t/pyicq-t-0.7b.ebuild b/net-im/pyicq-t/pyicq-t-0.7b.ebuild new file mode 100644 index 000000000..ebfc76d71 --- /dev/null +++ b/net-im/pyicq-t/pyicq-t-0.7b.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils python + +DESCRIPTION="Python based jabber transport for ICQ" +HOMEPAGE="http://pyicq-t.blathersource.org/" +SRC_URI="http://www.blathersource.org/download.php/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +NEED_PYTHON=2.3 + +DEPEND=">=net-im/jabber-base-0.0" +RDEPEND="${DEPEND} + >=dev-python/twisted-1.3.0 + >=dev-python/twisted-words-0.1.0 + >=dev-python/twisted-xish-0.1.0 + >=dev-python/twisted-web-0.5.0 + web? ( >=dev-python/nevow-0.4.1 ) + >=dev-python/imaging-1.1" + +IUSE="web" + +src_install() { + python_version + insinto /usr/lib/python${PYVER}/site-packages/${PN}/ + doins -r tools src data + newins PyICQt.py ${PN}.py + + insinto /etc/jabber + newins config_example.xml ${PN}.xml + fperms 600 /etc/jabber/${PN}.xml + fowners jabber:jabber /etc/jabber/${PN}.xml + dosed \ + "s:<spooldir>[^\<]*</spooldir>:<spooldir>/var/spool/jabber/</spooldir>:" \ + /etc/jabber/${PN}.xml + dosed \ + "s:<pid>[^\<]*</pid>:<pid>/var/run/jabber/${PN}.pid</pid>:" \ + /etc/jabber/${PN}.xml + + newinitd "${FILESDIR}/${P}.initd" ${PN} + dosed "s/PATH/python${PYVER}/" /etc/init.d/${PN} +} + +pkg_postinst() { + elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml." + elog "Please edit it and the configuration of your Jabber server to match." + elog "You also need to create a directory icq.yourjabberhostname.tld in" + elog "/var/spool/jabber and chown it to jabber:jabber." +} |