diff options
author | Maurice van der Pot <griffon26@gentoo.org> | 2007-06-04 20:50:16 +0000 |
---|---|---|
committer | Maurice van der Pot <griffon26@gentoo.org> | 2007-06-04 20:50:16 +0000 |
commit | 9850a318575918460b6d2d0057fd9d0ac47fdbb4 (patch) | |
tree | 0e6dda63e1d7d33272bf4e2f9a32526c1eec801d /net-im | |
parent | Fix lanman bug #178651 (diff) | |
download | gentoo-2-9850a318575918460b6d2d0057fd9d0ac47fdbb4.tar.gz gentoo-2-9850a318575918460b6d2d0057fd9d0ac47fdbb4.tar.bz2 gentoo-2-9850a318575918460b6d2d0057fd9d0ac47fdbb4.zip |
Added version 0.8a of pyicq-t and fixed init script to not use hard-coded path to pyicq-t.py
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/pyicq-t/ChangeLog | 9 | ||||
-rw-r--r-- | net-im/pyicq-t/files/digest-pyicq-t-0.8a | 3 | ||||
-rw-r--r-- | net-im/pyicq-t/files/pyicq-t-0.8-initd | 4 | ||||
-rw-r--r-- | net-im/pyicq-t/pyicq-t-0.8a.ebuild | 67 |
4 files changed, 80 insertions, 3 deletions
diff --git a/net-im/pyicq-t/ChangeLog b/net-im/pyicq-t/ChangeLog index f0aff71d102f..2cf03b17c5c5 100644 --- a/net-im/pyicq-t/ChangeLog +++ b/net-im/pyicq-t/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-im/pyicq-t # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/pyicq-t/ChangeLog,v 1.1 2007/04/28 23:34:00 griffon26 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/pyicq-t/ChangeLog,v 1.2 2007/06/04 20:50:16 griffon26 Exp $ + +*pyicq-t-0.8a (04 Jun 2007) + + 04 Jun 2007; Maurice van der Pot <griffon26@gentoo.org> + files/pyicq-t-0.8-initd, +pyicq-t-0.8a.ebuild: + Fixed init script to not use a hard-coded path to pyicq-t.py. + Added pyicq-t version 0.8a. *pyicq-t-0.8 (28 Apr 2007) diff --git a/net-im/pyicq-t/files/digest-pyicq-t-0.8a b/net-im/pyicq-t/files/digest-pyicq-t-0.8a new file mode 100644 index 000000000000..ad7df131e85b --- /dev/null +++ b/net-im/pyicq-t/files/digest-pyicq-t-0.8a @@ -0,0 +1,3 @@ +MD5 eb44605d5f952759e3cba19815d367d2 pyicq-t-0.8a.tar.gz 163112 +RMD160 5465ea279caf4a7f3024969060a42fb3ee79ad70 pyicq-t-0.8a.tar.gz 163112 +SHA256 e4312a289131a548307ebee87b1ace49d3a15ab378817078d7e1aa8e48f01083 pyicq-t-0.8a.tar.gz 163112 diff --git a/net-im/pyicq-t/files/pyicq-t-0.8-initd b/net-im/pyicq-t/files/pyicq-t-0.8-initd index 29d8cb47d94d..48234f758ea7 100644 --- a/net-im/pyicq-t/files/pyicq-t-0.8-initd +++ b/net-im/pyicq-t/files/pyicq-t-0.8-initd @@ -1,7 +1,7 @@ #!/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 $ +# $Header: /var/cvsroot/gentoo-x86/net-im/pyicq-t/files/pyicq-t-0.8-initd,v 1.2 2007/06/04 20:50:16 griffon26 Exp $ depend() { need net @@ -11,7 +11,7 @@ depend() { 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 -- \ + --exec /usr/bin/python INSPATH/pyicq-t.py -- \ -b -c /etc/jabber/pyicq-t.xml -l /var/log/jabber/pyicq-t.log eend $? } diff --git a/net-im/pyicq-t/pyicq-t-0.8a.ebuild b/net-im/pyicq-t/pyicq-t-0.8a.ebuild new file mode 100644 index 000000000000..fa83cf7c5232 --- /dev/null +++ b/net-im/pyicq-t/pyicq-t-0.8a.ebuild @@ -0,0 +1,67 @@ +# 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/pyicq-t-0.8a.ebuild,v 1.1 2007/06/04 20:50:16 griffon26 Exp $ + +NEED_PYTHON=2.3 + +inherit eutils multilib 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" +IUSE="webinterface" + +DEPEND="net-im/jabber-base" +RDEPEND="${DEPEND} + >=dev-python/twisted-2.2.0 + >=dev-python/twisted-words-0.1.0 + >=dev-python/twisted-web-0.5.0 + webinterface? ( >=dev-python/nevow-0.4.1 ) + >=dev-python/imaging-1.1" + +src_unpack() { + unpack ${A} && cd "${S}" || die "unpack failed" + + epatch "${FILESDIR}/${PN}-0.8-twisted-2.5.patch" +} + +src_install() { + local inspath + + python_version + inspath=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN} + insinto ${inspath} + doins -r data src tools + 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}/${PN}-0.8-initd" ${PN} + dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN} +} + +pkg_postinst() { + python_version + python_mod_optimize ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN} + + 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." +} + +pkg_postrm() { + python_version + python_mod_cleanup ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN} +} |