Hanno Böck commited on 2008-04-16 22:09:04
Zeige 3 geänderte Dateien mit 0 Einfügungen und 75 Löschungen.
... | ... |
@@ -1,3 +0,0 @@ |
1 |
-AUX pyirc-t-0.3.initd 573 RMD160 a8d1d75b3e8f07b772d6a61aa376fee713a8bdd5 SHA1 1ba6369a1f0a201d26f9f3f83267cdb2ebc60741 SHA256 083ef06db7757484b1ffb97485a050bbe4134c91a72aacdd89741a178877b735 |
|
2 |
-DIST irc-transport-0.3.tar.gz 22752 RMD160 c7b833bc1caa42752e1c1cbf2c9c4af9767cbe30 SHA1 9bc329472115b11ec4fd260f5d4661bec65345a4 SHA256 8dc4de9ca0f1445ed9023ee76e64de454f32c7e880f9ac37600fb1f81d2c46a4 |
|
3 |
-EBUILD pyirc-t-0.3.ebuild 1385 RMD160 52759c3a31c6b557d91b8fa9a6d834ca4372e181 SHA1 e1a7b53d837a163e425eec528d613ab9c7ee75aa SHA256 cbb3ac384d36185f910589f65831d48dadb4911c988d4893366f8b01f43bd602 |
... | ... |
@@ -1,23 +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 IRC Jabber Transport" |
|
13 |
- env PID=/var/run/jabber/pyirc-t.pid start-stop-daemon --start --quiet --background --name "pyirc-t" --chuid jabber:jabber \ |
|
14 |
- --exec /usr/bin/python \ |
|
15 |
- /usr/lib/PATH/site-packages/pyirc-t/irc.py |
|
16 |
- eend $? |
|
17 |
-} |
|
18 |
- |
|
19 |
-stop() { |
|
20 |
- ebegin "Stopping IRC Jabber Transport" |
|
21 |
- start-stop-daemon --stop --quiet --pidfile /var/run/jabber/pyirc-t.pid |
|
22 |
- eend $? |
|
23 |
-} |
... | ... |
@@ -1,49 +0,0 @@ |
1 |
-# Copyright 1999-2006 BreakMyGentoo.net |
|
2 |
-# Distributed under the terms of the GNU General Public License v2 |
|
3 |
-# $Header: $ |
|
4 |
- |
|
5 |
-inherit eutils python |
|
6 |
- |
|
7 |
-DESCRIPTION="New Python based jabber transport for IRC" |
|
8 |
-HOMEPAGE="http://xmpppy.sourceforge.net/irc/" |
|
9 |
-SRC_URI="mirror://sourceforge/xmpppy/irc-transport-${PV}.tar.gz" |
|
10 |
-LICENSE="GPL-2" |
|
11 |
-SLOT="0" |
|
12 |
-KEYWORDS="~amd64 ~x86" |
|
13 |
-S="${WORKDIR}/irc-transport-${PV}" |
|
14 |
- |
|
15 |
- |
|
16 |
-DEPEND=">=net-im/jabber-base-0.0 |
|
17 |
- >=dev-lang/python-2.3 |
|
18 |
- dev-python/python-irclib" |
|
19 |
- |
|
20 |
-RDEPEND=">=dev-python/xmpppy-0.3.1" |
|
21 |
-IUSE="" |
|
22 |
- |
|
23 |
-src_install() { |
|
24 |
- python_version |
|
25 |
- insinto /usr/lib/python${PYVER}/site-packages/${PN}/ |
|
26 |
- cp /usr/lib/python${PYVER}/site-packages/python-irclib/irclib.py ${D}/usr/lib/python${PYVER}/site-packages/${PN}/ |
|
27 |
- doins *.py |
|
28 |
- |
|
29 |
- insinto /etc/jabber |
|
30 |
- CFGFILE=jabber-irc.conf |
|
31 |
- newins transport.ini ${CFGFILE} |
|
32 |
- fperms 600 /etc/jabber/${CFGFILE} |
|
33 |
- fowners jabber:jabber /etc/jabber/${CFGFILE} |
|
34 |
- dosed \ |
|
35 |
- "s:;LogFile = ircerror.log:LogFile = /var/log/jabber/${PN}.log:" \ |
|
36 |
- /etc/jabber/${CFGFILE} |
|
37 |
- dosed \ |
|
38 |
- "s/;FatalErrors = true/FatalErrors = false/" \ |
|
39 |
- /etc/jabber/${CFGFILE} |
|
40 |
- |
|
41 |
- exeinto /etc/init.d |
|
42 |
- newexe ${FILESDIR}/${P}.initd ${PN} |
|
43 |
- dosed "s/PATH/python${PYVER}/" /etc/init.d/${PN} |
|
44 |
-} |
|
45 |
- |
|
46 |
-pkg_postinst() { |
|
47 |
- einfo "A sample configuration file has been installed in /etc/jabber/jabber-irc.conf." |
|
48 |
- einfo "Please edit it, and the configuration of your Jabber server to match." |
|
49 |
-} |
|
50 | 0 |