1 |
griffon26 08/09/23 20:17:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pymsn-t-0.11.3-r2.ebuild |
5 |
Log: |
6 |
Add some patches to pymsn-t for bug #238085 |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.16 net-im/pymsn-t/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pymsn-t/ChangeLog?rev=1.16&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pymsn-t/ChangeLog?rev=1.16&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pymsn-t/ChangeLog?r1=1.15&r2=1.16 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-im/pymsn-t/ChangeLog,v |
19 |
retrieving revision 1.15 |
20 |
retrieving revision 1.16 |
21 |
diff -u -r1.15 -r1.16 |
22 |
--- ChangeLog 17 Sep 2008 21:23:55 -0000 1.15 |
23 |
+++ ChangeLog 23 Sep 2008 20:17:38 -0000 1.16 |
24 |
@@ -1,6 +1,15 @@ |
25 |
# ChangeLog for net-im/pymsn-t |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/ChangeLog,v 1.15 2008/09/17 21:23:55 maekke Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/ChangeLog,v 1.16 2008/09/23 20:17:38 griffon26 Exp $ |
29 |
+ |
30 |
+*pymsn-t-0.11.3-r2 (23 Sep 2008) |
31 |
+ |
32 |
+ 23 Sep 2008; Maurice van der Pot <griffon26@g.o> |
33 |
+ +files/pymsn-t-0.11.3-delete-reactor.patch, |
34 |
+ +files/pymsn-t-0.11.3-remove-pid.patch, |
35 |
+ +files/pymsn-t-0.11.3-unexpected-xfr.patch, +pymsn-t-0.11.3-r2.ebuild: |
36 |
+ Added some patches provided by Dennis Schridde <lindevel@×××.net> that a.o. |
37 |
+ fix an error when connecting (see bug #238085). |
38 |
|
39 |
17 Sep 2008; Markus Meier <maekke@g.o> pymsn-t-0.11.3-r1.ebuild: |
40 |
amd64/x86 stable, bug #237886 |
41 |
|
42 |
|
43 |
|
44 |
1.1 net-im/pymsn-t/pymsn-t-0.11.3-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11.3-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11.3-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: pymsn-t-0.11.3-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11.3-r2.ebuild,v 1.1 2008/09/23 20:17:38 griffon26 Exp $ |
54 |
|
55 |
NEED_PYTHON=2.3 |
56 |
|
57 |
inherit eutils multilib python |
58 |
|
59 |
MY_PN="pymsnt" |
60 |
S=${WORKDIR}/${MY_PN}-${PV} |
61 |
DESCRIPTION="Python based jabber transport for MSN" |
62 |
HOMEPAGE="http://msn-transport.jabberstudio.org/" |
63 |
SRC_URI="http://msn-transport.jabberstudio.org/tarballs/${MY_PN}-${PV}.tar.gz" |
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~ppc ~x86" |
67 |
IUSE="" |
68 |
|
69 |
DEPEND="net-im/jabber-base" |
70 |
RDEPEND="${DEPEND} |
71 |
>=dev-python/twisted-2.5.0 |
72 |
>=dev-python/twisted-words-0.5.0 |
73 |
>=dev-python/twisted-web-0.7.0 |
74 |
>=dev-python/imaging-1.1" |
75 |
|
76 |
src_unpack() { |
77 |
unpack ${A} && cd "${S}" || die "unpack failed" |
78 |
epatch "${FILESDIR}/${P}-protocol-version.patch" |
79 |
epatch "${FILESDIR}/${P}-unexpected-xfr.patch" |
80 |
epatch "${FILESDIR}/${P}-remove-pid.patch" |
81 |
epatch "${FILESDIR}/${P}-delete-reactor.patch" |
82 |
} |
83 |
|
84 |
src_install() { |
85 |
local inspath |
86 |
|
87 |
python_version |
88 |
inspath=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN} |
89 |
insinto ${inspath} |
90 |
doins -r data src |
91 |
newins PyMSNt.py ${PN}.py |
92 |
|
93 |
insinto /etc/jabber |
94 |
newins config-example.xml ${PN}.xml |
95 |
fperms 600 /etc/jabber/${PN}.xml |
96 |
fowners jabber:jabber /etc/jabber/${PN}.xml |
97 |
dosed \ |
98 |
"s:<!-- <spooldir>[^\<]*</spooldir> -->:<spooldir>/var/spool/jabber</spooldir>:" \ |
99 |
/etc/jabber/${PN}.xml |
100 |
dosed \ |
101 |
"s:<pid>[^\<]*</pid>:<pid>/var/run/jabber/${PN}.pid</pid>:" \ |
102 |
/etc/jabber/${PN}.xml |
103 |
dosed \ |
104 |
"s:<host>[^\<]*</host>:<host>example.org</host>:" \ |
105 |
/etc/jabber/${PN}.xml |
106 |
dosed \ |
107 |
"s:<jid>msn</jid>:<jid>msn.example.org</jid>:" \ |
108 |
/etc/jabber/${PN}.xml |
109 |
|
110 |
newinitd "${FILESDIR}/${PN}-0.11.2-initd" ${PN} |
111 |
dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN} |
112 |
} |
113 |
|
114 |
pkg_postinst() { |
115 |
python_version |
116 |
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN} |
117 |
|
118 |
elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml." |
119 |
elog "Please edit it and the configuration of your Jabber server to match." |
120 |
} |
121 |
|
122 |
pkg_postrm() { |
123 |
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/${PN} |
124 |
} |