Hanno Böck commited on 2008-04-21 13:23:30
Zeige 19 geänderte Dateien mit 0 Einfügungen und 366 Löschungen.
... | ... |
@@ -1,8 +0,0 @@ |
1 |
-DIST Object-MultiType-0.05.tar.gz 6629 RMD160 bae1241be2cbd6c673b7cc7558e348a7996639bf SHA1 dd9ed6c52517f9623e4064d055c392e30de2c2d6 SHA256 aa65390e0120dfe98e8a2c510a81adc5d3e42efa3e13d54e85467303d911bf31 |
|
2 |
-EBUILD Object-MultiType-0.05.ebuild 615 RMD160 5f7a3f8785be418570cf3c627076a40407cdf03a SHA1 03626583183cb434260e7de97be9d3edd8906e27 SHA256 ebeba0349f90ff12ccb841691ff1f752f8fd7cbaf71733ecf977b27e4efcd157 |
|
3 |
-MD5 2aea3d21094a530f7d2aa1c0303d7bdd Object-MultiType-0.05.ebuild 615 |
|
4 |
-RMD160 5f7a3f8785be418570cf3c627076a40407cdf03a Object-MultiType-0.05.ebuild 615 |
|
5 |
-SHA256 ebeba0349f90ff12ccb841691ff1f752f8fd7cbaf71733ecf977b27e4efcd157 Object-MultiType-0.05.ebuild 615 |
|
6 |
-MD5 f147e766e03021f0ea822b2fdc41511d files/digest-Object-MultiType-0.05 259 |
|
7 |
-RMD160 b9fa875dc4855064478cf746222d20a6be40dc3a files/digest-Object-MultiType-0.05 259 |
|
8 |
-SHA256 e81733c5344cd2de5a82e1ba94e76876b6a64b0a5fa03ca0973cde3e28c2e348 files/digest-Object-MultiType-0.05 259 |
... | ... |
@@ -1,17 +0,0 @@ |
1 |
-# Copyright 1999-2007 Gentoo Foundation |
|
2 |
-# Distributed under the terms of the GNU General Public License v2 |
|
3 |
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-Simple/XML-Simple-2.09.ebuild,v 1.11 2006/02/13 14:14:44 mcummings Exp $ |
|
4 |
- |
|
5 |
-inherit perl-module |
|
6 |
- |
|
7 |
-IUSE="" |
|
8 |
-DESCRIPTION="Object::MultiType - Perl Objects as Hash, Array and Scalar at the same time." |
|
9 |
-SRC_URI="http://www.cpan.org/modules/by-module/Object/${P}.tar.gz" |
|
10 |
-HOMEPAGE="http://www.cpan.org/modules/by-module/Object/${P}.readme" |
|
11 |
-SLOT="0" |
|
12 |
-LICENSE="|| ( Artistic GPL-2 )" |
|
13 |
-KEYWORDS="x86 amd64" |
|
14 |
- |
|
15 |
-DEPEND="${DEPEND} |
|
16 |
- virtual/perl-Storable |
|
17 |
- virtual/perl-Test-Simple" |
... | ... |
@@ -1,2 +0,0 @@ |
1 |
-DIST XML-Smart-1.6.tar.gz 36329 RMD160 b3fdf33939e4dda6427f2b6c744f8241500f856d SHA1 d1c5a68060c408282781a9af7dd90d26eea3a78c SHA256 7c25f03a152fce9bbfa61f34ca9082511ec71dcd8ead82b6453d78ef677f4b74 |
|
2 |
-EBUILD XML-Smart-1.6.ebuild 632 RMD160 4e612515fdfb0059dfec88e9e001b544e1d78f84 SHA1 0747a0a5d4a560d991e40e941d72c1f921640e3b SHA256 f25e4b55982a5c13d12b68daec191a090cb131963b026999d7262cd4ada41a17 |
... | ... |
@@ -1,18 +0,0 @@ |
1 |
-# Copyright 1999-2006 Gentoo Foundation |
|
2 |
-# Distributed under the terms of the GNU General Public License v2 |
|
3 |
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-Simple/XML-Simple-2.09.ebuild,v 1.11 2006/02/13 14:14:44 mcummings Exp $ |
|
4 |
- |
|
5 |
-inherit perl-module |
|
6 |
- |
|
7 |
-IUSE="" |
|
8 |
-DESCRIPTION="XML::Smart - A Smart, easy and powerful way to access/create XML files/data." |
|
9 |
-SRC_URI="http://www.cpan.org/modules/by-module/XML/${P}.tar.gz" |
|
10 |
-HOMEPAGE="http://www.cpan.org/modules/by-module/XML/${P}.readme" |
|
11 |
-SLOT="0" |
|
12 |
-LICENSE="|| ( Artistic GPL-2 )" |
|
13 |
-KEYWORDS="~x86 ~amd64" |
|
14 |
- |
|
15 |
-DEPEND="${DEPEND} |
|
16 |
- virtual/perl-Storable |
|
17 |
- virtual/perl-Test-Simple |
|
18 |
- dev-perl/XML-Stream" |
... | ... |
@@ -1,12 +0,0 @@ |
1 |
-# ChangeLog for net-im/aspsms-t |
|
2 |
-# Copyright 2005-2006 BreakMyGentoo.net; Distributed under the GPL v2 |
|
3 |
-# $Header: $ |
|
4 |
- |
|
5 |
-*aspsms-t-1.2.1.ebuild (10 Apr 2007) |
|
6 |
- 10 Apr 2007; Lars Strojny <lars@strojny.net> aspsms-t-1.2.1.ebuild: |
|
7 |
- Version bump |
|
8 |
- |
|
9 |
-*aspsms-t-1.0.1.ebuild (21 May 2005) |
|
10 |
- 21 May 2006; Lars Strojny <lars@strojny.net> ChangeLog: |
|
11 |
- Initial commit |
|
12 |
- |
... | ... |
@@ -1,16 +0,0 @@ |
1 |
-AUX aspsms-t-1.2.1.initd 461 RMD160 ff61baf74676fbc2594ee8f309678e395faf1042 SHA1 c0e6ee288315b029746232b21a579ea0f46d5ef0 SHA256 8afe36e4a9e3b39102e6ba618e2163bb10c2dd8dda1e1ebe567bc348ec14fe67 |
|
2 |
-MD5 38f23ffe95dacb689f97b8155939de0a files/aspsms-t-1.2.1.initd 461 |
|
3 |
-RMD160 ff61baf74676fbc2594ee8f309678e395faf1042 files/aspsms-t-1.2.1.initd 461 |
|
4 |
-SHA256 8afe36e4a9e3b39102e6ba618e2163bb10c2dd8dda1e1ebe567bc348ec14fe67 files/aspsms-t-1.2.1.initd 461 |
|
5 |
-DIST aspsms-t-1.2.1.tar.gz 386481 RMD160 5303107074f3590e2e8bc1ea3da41c74e9235812 SHA1 fea8653557731e13a94aa2af1927931e3ac28f03 SHA256 0bf40ba7def244189df99a7f7ed4e92d82f97b5a1f7b036bfdcc885f5583eff2 |
|
6 |
-EBUILD aspsms-t-1.2.1.ebuild 1781 RMD160 bf7f5fef621b55003e292edb41d681828a10dcc9 SHA1 edd46a36f27bfef4f1646108120c41b929471fb2 SHA256 85fc6abf064f2e12e257f17a9d8f3d9b2b2b1792c486551f18dbf9b3bc3db1d8 |
|
7 |
-MD5 54015fe20002bb0292ff2f60a5d67b2b aspsms-t-1.2.1.ebuild 1781 |
|
8 |
-RMD160 bf7f5fef621b55003e292edb41d681828a10dcc9 aspsms-t-1.2.1.ebuild 1781 |
|
9 |
-SHA256 85fc6abf064f2e12e257f17a9d8f3d9b2b2b1792c486551f18dbf9b3bc3db1d8 aspsms-t-1.2.1.ebuild 1781 |
|
10 |
-MISC ChangeLog 352 RMD160 3703f60bcc7c229bbb0160b7a82e4347efdd71a2 SHA1 6dee166e1c5a473db475e045ff23102623de6070 SHA256 5ec1d4b4fbaa1d7836663fd99b9d0c48c48b7054c0d6f2d63ab89a0db2951256 |
|
11 |
-MD5 0bdf3155b5902591be3b9410649a90c0 ChangeLog 352 |
|
12 |
-RMD160 3703f60bcc7c229bbb0160b7a82e4347efdd71a2 ChangeLog 352 |
|
13 |
-SHA256 5ec1d4b4fbaa1d7836663fd99b9d0c48c48b7054c0d6f2d63ab89a0db2951256 ChangeLog 352 |
|
14 |
-MD5 55d0e9af355b178f5e2a14e88f8b2eb6 files/digest-aspsms-t-1.2.1 244 |
|
15 |
-RMD160 51ea31bfd722591eeb08663d06f2ad665a7725ed files/digest-aspsms-t-1.2.1 244 |
|
16 |
-SHA256 bdee527abd7aa9785db94340d071ebfa8ba51ad66913a7d8448273d5ef7f0ac8 files/digest-aspsms-t-1.2.1 244 |
... | ... |
@@ -1,64 +0,0 @@ |
1 |
-# Copyright 1999-2006 Gentoo Foundation |
|
2 |
-# Distributed under the terms of the GNU General Public License v2 |
|
3 |
-# $Header: $ |
|
4 |
- |
|
5 |
- |
|
6 |
-DESCRIPTION="Jabber2SMS-gateway via aspsms.com" |
|
7 |
-HOMEPAGE="http://www.micressor.ch/content/projects/aspsms-t" |
|
8 |
-SRC_URI="http://svn.micressor.ch/public/${PN}/files/${P}.tar.gz" |
|
9 |
- |
|
10 |
-LICENSE="GPL-2" |
|
11 |
-SLOT="0" |
|
12 |
-KEYWORDS="~x86 ~amd64" |
|
13 |
-IUSE="doc" |
|
14 |
- |
|
15 |
-DEPEND="dev-lang/perl |
|
16 |
- net-im/jabber-base" |
|
17 |
- |
|
18 |
-RDEPEND="dev-perl/Object-MultiType |
|
19 |
- dev-perl/Authen-SASL |
|
20 |
- dev-perl/Digest-SHA1 |
|
21 |
- dev-perl/XML-Parser |
|
22 |
- dev-perl/XML-Smart |
|
23 |
- dev-perl/Net-Jabber" |
|
24 |
- |
|
25 |
-S=${WORKDIR}/${PN}_${PV} |
|
26 |
- |
|
27 |
-src_install() { |
|
28 |
- dodoc INSTALL COPYING ChangeLog || die |
|
29 |
- insinto /usr/doc/${PF} |
|
30 |
- doins ${PN}.pl aspsms.notification.pl || die |
|
31 |
- use doc && dodoc -r docs |
|
32 |
- |
|
33 |
- insinto /usr/lib/${PN} |
|
34 |
- doins -r ASPSMS config.pm Presence.pm Iq.pm aspsms-t.pl InMessage.pm || die |
|
35 |
- dosed "s:^use lib \"\./\";$:use lib \"/usr/lib/${PN}\";:" \ |
|
36 |
- /usr/lib/${PN}/${PN}.pl || die |
|
37 |
- |
|
38 |
- exeinto /usr/bin |
|
39 |
- echo "#! /bin/bash |
|
40 |
-perl /usr/lib/${PN}/${PN}.pl -c /etc/jabber/${PN}.xml >/dev/null" > ${PN} |
|
41 |
- doexe ${PN} |
|
42 |
- |
|
43 |
- insinto /etc/jabber |
|
44 |
- newins etc/aspsms.xml.dist ${PN}.xml || die |
|
45 |
- fperms 600 /etc/jabber/${PN}.xml || die |
|
46 |
- fowners jabber:jabber /etc/jabber/${PN}.xml || die |
|
47 |
- dosed "s:<spooldir>[^\<]*</spooldir>:<spooldir>/var/spool/jabber/sms.YOURHOST</spooldir>:" \ |
|
48 |
- /etc/jabber/${PN}.xml || die |
|
49 |
- |
|
50 |
- newins etc/fees.xml sms-fees.xml || die |
|
51 |
- newins etc/networks.xml sms-networks.xml || die |
|
52 |
- |
|
53 |
- dosed 's:\./etc/fees.xml:/etc/jabber/sms-fees.xml:' \ |
|
54 |
- /usr/lib/${PN}/config.pm || die |
|
55 |
- dosed 's:\./etc/networks.xml:/etc/jabber/sms-networks.xml:' \ |
|
56 |
- /usr/lib/${PN}/config.pm || die |
|
57 |
- |
|
58 |
- newinitd ${FILESDIR}/${P}.initd ${PN} || die |
|
59 |
-} |
|
60 |
- |
|
61 |
-pkg_postinst() { |
|
62 |
- einfo "Move /usr/doc/${P}/${PN/-t/}.notification.pl in your webroot" |
|
63 |
- einfo "and make it executable" |
|
64 |
-} |
... | ... |
@@ -1,24 +0,0 @@ |
1 |
-#!/sbin/runscript |
|
2 |
-# Copyright 1999-2006 BreakMyGentoo.net |
|
3 |
-# Distributed under the terms of the GNU General Public License v2 |
|
4 |
-# $Header: $ |
|
5 |
- |
|
6 |
-depend() { |
|
7 |
- need net |
|
8 |
- use jabber-server |
|
9 |
-} |
|
10 |
- |
|
11 |
-start() { |
|
12 |
- ebegin "Starting SMS Jabber Transport" |
|
13 |
- start-stop-daemon --start --chuid jabber:jabber \ |
|
14 |
- --background --name "aspsms-t" --exec \ |
|
15 |
- --chuid jabber:jabber \ |
|
16 |
- /usr/bin/aspsms-t |
|
17 |
- eend $? |
|
18 |
-} |
|
19 |
- |
|
20 |
-stop() { |
|
21 |
- ebegin "Stopping SMS Jabber Transport" |
|
22 |
- killall aspsms-t |
|
23 |
- eend $? |
|
24 |
-} |
... | ... |
@@ -1,3 +0,0 @@ |
1 |
-AUX pyyim-t-0.4-initd 535 RMD160 bf76cb332404d38602698835ef2e330e4bcfccbf SHA1 a64e26d9cd2e00fd858a485dd57ec427fbfcffe3 SHA256 f422c7510fd4bcfe4db8f1a59f35deba1118c9b854a7cd8422d1a32889fda2de |
|
2 |
-DIST yahoo-transport-0.4.tar.gz 101030 RMD160 18b56aa47ac78c885e623e70c8824a0ce73a9846 SHA1 a89efcd9f65c37626d5b1cf5a2ee4ab9af739340 SHA256 99f6866dab0b53dfa2ebb56839e86669d7b8f5c307fb5edcf7e84fc048993249 |
|
3 |
-EBUILD pyyim-t-0.4.ebuild 1706 RMD160 c311620d8e8f9590a5f65072e8e47d0d26c73043 SHA1 50b09e0139a48c1a34f5561eed6ad7b5da2d3370 SHA256 08e6581f7a02b3bb0ee4d65874c75306852328c2474faa9170d4500ef5d37933 |
... | ... |
@@ -1,22 +0,0 @@ |
1 |
-#!/sbin/runscript |
|
2 |
-# Copyright 1999-2008 Gentoo Foundation |
|
3 |
-# Distributed under the terms of the GNU General Public License v2 |
|
4 |
-# $Header: $ |
|
5 |
- |
|
6 |
-depend() { |
|
7 |
- need net |
|
8 |
- use jabber-server |
|
9 |
-} |
|
10 |
- |
|
11 |
-start() { |
|
12 |
- ebegin "Starting YIM Jabber Transport" |
|
13 |
- start-stop-daemon --start --quiet --background --pidfile /var/run/jabber/pyyim-t.pid --chuid jabber:jabber \ |
|
14 |
- --exec /usr/bin/python INSPATH/yahoo.py |
|
15 |
- eend $? |
|
16 |
-} |
|
17 |
- |
|
18 |
-stop() { |
|
19 |
- ebegin "Stopping YIM Jabber Transport" |
|
20 |
- start-stop-daemon --stop --quiet --pidfile /var/run/jabber/pyyim-t.pid |
|
21 |
- eend $? |
|
22 |
-} |
... | ... |
@@ -1,62 +0,0 @@ |
1 |
-# Copyright 1999-2008 Gentoo Foundation |
|
2 |
-# Distributed under the terms of the GNU General Public License v2 |
|
3 |
-# $Header: $ |
|
4 |
- |
|
5 |
-NEED_PYTHON=2.3 |
|
6 |
- |
|
7 |
-inherit eutils multilib python |
|
8 |
- |
|
9 |
-DESCRIPTION="Python based jabber transport for YIM" |
|
10 |
-HOMEPAGE="http://xmpppy.sourceforge.net/yahoo/" |
|
11 |
-SRC_URI="mirror://sourceforge/xmpppy/yahoo-transport-${PV}.tar.gz" |
|
12 |
- |
|
13 |
-LICENSE="GPL-2" |
|
14 |
-SLOT="0" |
|
15 |
-KEYWORDS="~amd64 ~x86" |
|
16 |
-IUSE="" |
|
17 |
- |
|
18 |
-DEPEND="net-im/jabber-base" |
|
19 |
-RDEPEND="${DEPEND} |
|
20 |
- >=dev-python/imaging-1.1 |
|
21 |
- >=dev-python/twisted-2.2.0 |
|
22 |
- >=dev-python/twisted-words-0.1.0 |
|
23 |
- >=dev-python/twisted-web-0.5.0 |
|
24 |
- >=dev-python/xmpppy-0.4.1" |
|
25 |
- |
|
26 |
-src_install() { |
|
27 |
- local inspath |
|
28 |
- |
|
29 |
- python_version |
|
30 |
- inspath=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN} |
|
31 |
- insinto ${inspath} |
|
32 |
- doins -r yahoo-transport-${PV}/curphoo |
|
33 |
- doins yahoo-transport-${PV}/*.py |
|
34 |
- |
|
35 |
- insinto /etc/jabber |
|
36 |
- newins yahoo-transport-${PV}/config_example.xml ${PN}.xml |
|
37 |
- fperms 600 /etc/jabber/${PN}.xml |
|
38 |
- fowners jabber:jabber /etc/jabber/${PN}.xml |
|
39 |
- dosed \ |
|
40 |
- "s:<spooldir>[^\<]*</spooldir>:<spooldir>/var/spool/jabber</spooldir>:" \ |
|
41 |
- /etc/jabber/${PN}.xml |
|
42 |
- dosed \ |
|
43 |
- "s:<pid>[^\<]*</pid>:<pid>/var/run/jabber/${PN}.pid</pid>:" \ |
|
44 |
- /etc/jabber/${PN}.xml |
|
45 |
- dosym /etc/jabber/${PN}.xml /etc/pyyimt.conf.xml |
|
46 |
- |
|
47 |
- newinitd "${FILESDIR}/${PN}-${PV}-initd" ${PN} |
|
48 |
- dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN} |
|
49 |
-} |
|
50 |
- |
|
51 |
-pkg_postinst() { |
|
52 |
- python_version |
|
53 |
- python_mod_optimize "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN}" |
|
54 |
- |
|
55 |
- elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml." |
|
56 |
- elog "Please edit it and the configuration of your Jabber server to match." |
|
57 |
-} |
|
58 |
- |
|
59 |
-pkg_postrm() { |
|
60 |
- python_version |
|
61 |
- python_mod_cleanup "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN}" |
|
62 |
-} |
... | ... |
@@ -1,20 +0,0 @@ |
1 |
-AUX config.ini 275 RMD160 1ddf6a42e3ad2965d7b4bd5050a05365cb31d22f SHA1 c86d6dbbc8a6dddcd4f08df6bff9603e0b9050d9 SHA256 cc8f5cb64a9baa4d10f32353f83d6f3023270d9cbb48d4563c9420150ef190e1 |
|
2 |
-MD5 62f007c94a28ffc04c09cd3d57e3d34d files/config.ini 275 |
|
3 |
-RMD160 1ddf6a42e3ad2965d7b4bd5050a05365cb31d22f files/config.ini 275 |
|
4 |
-SHA256 cc8f5cb64a9baa4d10f32353f83d6f3023270d9cbb48d4563c9420150ef190e1 files/config.ini 275 |
|
5 |
-AUX xmpppy-yahoo.initd 530 RMD160 ab1572469014ae529f192c499c82afbc94ad3797 SHA1 a1d52e625ad6b27c98f94622d2ee7d9e7b36aab9 SHA256 808e860f52bf2a6d0b65b078a25f8bee4a370c2802c9f112a74f4845a8a4d233 |
|
6 |
-MD5 da296ff0c4ad7e07b4fe73f24bbf3d16 files/xmpppy-yahoo.initd 530 |
|
7 |
-RMD160 ab1572469014ae529f192c499c82afbc94ad3797 files/xmpppy-yahoo.initd 530 |
|
8 |
-SHA256 808e860f52bf2a6d0b65b078a25f8bee4a370c2802c9f112a74f4845a8a4d233 files/xmpppy-yahoo.initd 530 |
|
9 |
-DIST yahoo-transport-0.3.tar.gz 84448 RMD160 a3305e6a2d2d2f440cef0ac7c361d7e72780708f SHA1 5f7260bf5edb39e5bb7e53d78348ff09d9b1eb81 SHA256 f763fad54ace3c72dc8bd049df3c7b96a53909813764d0b2d455c754026142c6 |
|
10 |
-EBUILD xmpppy-yahoo-0.3.ebuild 1163 RMD160 ee48f33209928d4bec7658697188d7fc15e86f3b SHA1 288bb16013e724f0bcceaa30d5e32bc1407bb60a SHA256 ec6c83642d79a126c9b2c860d8b39e8cc33835d84517eb7635f3e5148d827def |
|
11 |
-MD5 db0a1e54d4e0a78d086932f142653810 xmpppy-yahoo-0.3.ebuild 1163 |
|
12 |
-RMD160 ee48f33209928d4bec7658697188d7fc15e86f3b xmpppy-yahoo-0.3.ebuild 1163 |
|
13 |
-SHA256 ec6c83642d79a126c9b2c860d8b39e8cc33835d84517eb7635f3e5148d827def xmpppy-yahoo-0.3.ebuild 1163 |
|
14 |
-MISC ChangeLog 197 RMD160 4f54d70217af7cff87bc12fc5d00f6d40fb18712 SHA1 c5f22d49933b565d16a1254bf2e840fd51257135 SHA256 398ffa904069c45c4ab77f6a352bcb1312085be9dfae66048d43fb0fc015ef9d |
|
15 |
-MD5 2e5d2734d08128a5f85288671fd1836f ChangeLog 197 |
|
16 |
-RMD160 4f54d70217af7cff87bc12fc5d00f6d40fb18712 ChangeLog 197 |
|
17 |
-SHA256 398ffa904069c45c4ab77f6a352bcb1312085be9dfae66048d43fb0fc015ef9d ChangeLog 197 |
|
18 |
-MD5 999e489ea47a36cf6ac8ace0100947f8 files/digest-xmpppy-yahoo-0.3 256 |
|
19 |
-RMD160 8ec0d87660d4ec3aa23c5a3632486aeb0eecfef8 files/digest-xmpppy-yahoo-0.3 256 |
|
20 |
-SHA256 819e6f8393ef695746eb8033d23292b3dcde3b0f21077bfa89ad015c5970ecf3 files/digest-xmpppy-yahoo-0.3 256 |
... | ... |
@@ -1,10 +0,0 @@ |
1 |
-[yahoo] |
|
2 |
-Server = 127.0.0.1 |
|
3 |
-Hostname = yahoo.localhost |
|
4 |
-Port = 9001 |
|
5 |
-Secret = secret |
|
6 |
-;ServerUser = username ;For jabberd2 connection |
|
7 |
-UserFile = /var/spool/jabber/yahoo.localhost/user.dbm |
|
8 |
-LocalAddress = host.example.net |
|
9 |
-LogFile = /var/log/jabber/pyyahoo-t.log |
|
10 |
-FatalErrors = true |
... | ... |
@@ -1,22 +0,0 @@ |
1 |
-#!/sbin/runscript |
|
2 |
-# Copyright 2004-2006 BreakMyGentoo.net |
|
3 |
-# Distributed under the terms of the GNU General Public License v2 |
|
4 |
-# $Header: $ |
|
5 |
- |
|
6 |
-depend() { |
|
7 |
- need jabber-server |
|
8 |
-} |
|
9 |
- |
|
10 |
-start() { |
|
11 |
- einfo "Starting Yahoo Jabber-transport" |
|
12 |
- start-stop-daemon --start --chuid jabber:jabber --background \ |
|
13 |
- --name="xmpppy-yahoo" --exec /usr/bin/PATH \ |
|
14 |
- /usr/lib/PATH/site-packages/xmpppy-yahoo/yahoo.py |
|
15 |
- eend $? |
|
16 |
-} |
|
17 |
- |
|
18 |
-stop() { |
|
19 |
- einfo "Stopping Yahoo Jabber-transport" |
|
20 |
- kill $(ps uax | grep ^jabber | grep yahoo | awk -F " " '{print $2}') |
|
21 |
- eend $? |
|
22 |
-} |
... | ... |
@@ -1,50 +0,0 @@ |
1 |
-# Copyright 1999-2006 Gentoo Foundation |
|
2 |
-# Distributed under the terms of the GNU General Public License v2 |
|
3 |
-# $Header: $ |
|
4 |
- |
|
5 |
- |
|
6 |
-inherit python |
|
7 |
- |
|
8 |
-MY_PN="yahoo-transport" |
|
9 |
-MY_P=${MY_PN}-${PV} |
|
10 |
-MY_LIB=${PN/-yahoo/} |
|
11 |
- |
|
12 |
-DESCRIPTION="An xmpppy based version of a jabber-transport for the Yahoo's IM-network" |
|
13 |
-HOMEPAGE="http://xmpppy.sourceforge.net/" |
|
14 |
- |
|
15 |
-SRC_URI="mirror://sourceforge/${MY_LIB}/${MY_P}.tar.gz" |
|
16 |
- |
|
17 |
-LICENSE="" |
|
18 |
-SLOT="0" |
|
19 |
-KEYWORDS="~x86 ~amd64" |
|
20 |
-IUSE="" |
|
21 |
- |
|
22 |
-DEPEND=">=dev-lang/python-2.3 |
|
23 |
- net-im/jabber-base |
|
24 |
- dev-python/dnspython" |
|
25 |
-RDEPEND=">=dev-python/xmpppy-0.3" |
|
26 |
-RESTRICT="nomirror" |
|
27 |
- |
|
28 |
-S=${WORKDIR}/${MY_P} |
|
29 |
- |
|
30 |
-src_unpack() { |
|
31 |
- unpack ${A} |
|
32 |
- find -name "CVS" -type d -exec rm -rf {} \; 2> /dev/null |
|
33 |
-} |
|
34 |
- |
|
35 |
-src_install() { |
|
36 |
- python_version |
|
37 |
- insinto /usr/lib/python${PYVER}/site-packages/${PN}/ |
|
38 |
- doins -r curphoo |
|
39 |
- doins *.py |
|
40 |
- dosed "s:/etc/jabber/jabber-yahoo.conf:/etc/jabber/xmpppy-yahoo.ini:" \ |
|
41 |
- /usr/lib/python${PYVER}/site-packages/${PN}/yahoo.py |
|
42 |
- |
|
43 |
- insinto /etc/jabber |
|
44 |
- newins ${FILESDIR}/config.ini ${PN}.ini |
|
45 |
- fperms 600 /etc/jabber/${PN}.ini |
|
46 |
- fowners jabber:jabber /etc/jabber/${PN}.ini |
|
47 |
- |
|
48 |
- newinitd ${FILESDIR}/${PN}.initd ${PN} |
|
49 |
- dosed "s/PATH/python${PYVER}/g" /etc/init.d/${PN} |
|
50 |
-} |
|
51 | 0 |