1 |
patrick 09/03/01 12:17:46 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mu-conference-0.7.ebuild |
5 |
Log: |
6 |
Bump to 0.7. Fixes #118113. Added ~sparc and ~amd64 keywords. Ebuild modifications by Marko Durkovic and Aiko Barz. |
7 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.22 net-im/mu-conference/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mu-conference/ChangeLog?rev=1.22&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mu-conference/ChangeLog?rev=1.22&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mu-conference/ChangeLog?r1=1.21&r2=1.22 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-im/mu-conference/ChangeLog,v |
19 |
retrieving revision 1.21 |
20 |
retrieving revision 1.22 |
21 |
diff -u -r1.21 -r1.22 |
22 |
--- ChangeLog 8 Jan 2008 08:30:42 -0000 1.21 |
23 |
+++ ChangeLog 1 Mar 2009 12:17:45 -0000 1.22 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for net-im/mu-conference |
26 |
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-im/mu-conference/ChangeLog,v 1.21 2008/01/08 08:30:42 nelchael Exp $ |
28 |
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-im/mu-conference/ChangeLog,v 1.22 2009/03/01 12:17:45 patrick Exp $ |
30 |
+ |
31 |
+*mu-conference-0.7 (01 Mar 2009) |
32 |
+ |
33 |
+ 01 Mar 2009; Patrick Lauer <patrick@g.o> |
34 |
+ +files/mu-conference-0.7.init, +mu-conference-0.7.ebuild: |
35 |
+ Bump to 0.7. Fixes #118113. Added ~sparc and ~amd64 keywords. Ebuild |
36 |
+ modifications by Marko Durkovic and Aiko Barz. |
37 |
|
38 |
08 Jan 2008; Krzysiek Pawlik <nelchael@g.o> |
39 |
mu-conference-0.6.0-r1.ebuild, mu-conference-0.6.0-r2.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-im/mu-conference/mu-conference-0.7.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mu-conference/mu-conference-0.7.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mu-conference/mu-conference-0.7.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: mu-conference-0.7.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-im/mu-conference/mu-conference-0.7.ebuild,v 1.1 2009/03/01 12:17:46 patrick Exp $ |
53 |
|
54 |
inherit eutils |
55 |
|
56 |
DESCRIPTION="Multi-User Chat for jabberd" |
57 |
HOMEPAGE="https://gna.org/projects/mu-conference/" |
58 |
SRC_URI="http://download.gna.org/mu-conference/${PN}_${PV}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
62 |
SLOT="0" |
63 |
|
64 |
DEPEND="dev-libs/expat |
65 |
>=dev-libs/glib-2 |
66 |
net-dns/libidn |
67 |
|| ( net-im/jabberd net-im/jabberd2 ) |
68 |
mysql? ( virtual/mysql )" |
69 |
RDEPEND="${DEPEND}" |
70 |
IUSE="mysql" |
71 |
|
72 |
|
73 |
S="${WORKDIR}/${PN}_${PV}" |
74 |
|
75 |
src_unpack() { |
76 |
unpack ${A} |
77 |
cd "${S}" |
78 |
|
79 |
# Fix missing header in src/conference_user.c in order to |
80 |
# make emerge happy and avoid QA notice. |
81 |
sed -i "/conference.h/ i #define _XOPEN_SOURCE" src/conference_user.c |
82 |
|
83 |
if use mysql; then |
84 |
sed -i '/^CFLAGS/ a CFLAGS:=$(CFLAGS) -DHAVE_MYSQL' src/Makefile |
85 |
else |
86 |
# Makefile is broken. Should not always link against mysql |
87 |
sed -i 's/`mysql_config --libs`//' src/Makefile |
88 |
fi |
89 |
} |
90 |
|
91 |
src_compile() { |
92 |
emake || die |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
exeinto /usr/bin |
97 |
doexe src/mu-conference |
98 |
fowners jabber:jabber /usr/bin/mu-conference |
99 |
fperms 750 /usr/bin/mu-conference |
100 |
|
101 |
newinitd "${FILESDIR}/${P}".init mu-conference |
102 |
|
103 |
dodoc ChangeLog FAQ mu-conference.sql README |
104 |
docinto scripts |
105 |
dodoc scripts/* |
106 |
|
107 |
for i in log spool; do |
108 |
dodir /var/${i}/jabber/mu-conference |
109 |
keepdir /var/${i}/jabber/mu-conference |
110 |
fowners jabber:jabber /var/${i}/jabber/mu-conference |
111 |
fperms 770 /var/${i}/jabber/mu-conference |
112 |
done |
113 |
|
114 |
insinto /etc/jabber |
115 |
newins muc-default.xml mu-conference.xml |
116 |
doins style.css |
117 |
|
118 |
cd "${D}/etc/jabber/" |
119 |
sed -i \ |
120 |
-e 's,./spool/chat.localhost,/var/spool/jabber/mu-conference,g' \ |
121 |
-e 's,./syslogs,/var/log/jabber,g' \ |
122 |
-e 's,./logs,/var/log/jabber/mu-conference,g' \ |
123 |
-e 's,./mu-conference.pid,/var/run/jabber/mu-conference.pid,g' \ |
124 |
-e "s,../style.css,/etc/jabber/style.css,g" \ |
125 |
-e "s,7009,5347,g" \ |
126 |
mu-conference.xml || die "sed failed" |
127 |
} |
128 |
|
129 |
pkg_postinst() { |
130 |
elog |
131 |
elog "For jabberd-2 connection:" |
132 |
elog "1. Make sure that the ip and port in /etc/jabber/mu-conference.xml" |
133 |
elog " match the address of your jabberd router." |
134 |
elog "2. Set a common secret in mu-conference.xml and router.xml" |
135 |
elog |
136 |
} |