1 |
commit: 9a3ef0f437b79e999cf350c3532f6e9d919351d5 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 19:19:26 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 22:21:47 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a3ef0f4 |
7 |
|
8 |
net-im/mu-conference: remove old ebuilds |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-im/mu-conference/mu-conference-0.7.ebuild | 86 ----------------------- |
13 |
net-im/mu-conference/mu-conference-0.8-r1.ebuild | 88 ------------------------ |
14 |
net-im/mu-conference/mu-conference-0.8.81.ebuild | 86 ----------------------- |
15 |
3 files changed, 260 deletions(-) |
16 |
|
17 |
diff --git a/net-im/mu-conference/mu-conference-0.7.ebuild b/net-im/mu-conference/mu-conference-0.7.ebuild |
18 |
deleted file mode 100644 |
19 |
index 5b3d350..0000000 |
20 |
--- a/net-im/mu-conference/mu-conference-0.7.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,86 +0,0 @@ |
23 |
-# Copyright 1999-2015 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Id$ |
26 |
- |
27 |
-inherit eutils |
28 |
- |
29 |
-DESCRIPTION="Multi-User Chat for jabberd" |
30 |
-HOMEPAGE="https://gna.org/projects/mu-conference/" |
31 |
-SRC_URI="http://download.gna.org/mu-conference/${PN}_${PV}.tar.gz" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-KEYWORDS="~amd64 ~ppc ~sparc x86" |
35 |
-SLOT="0" |
36 |
- |
37 |
-DEPEND=" |
38 |
- dev-libs/expat |
39 |
- >=dev-libs/glib-2 |
40 |
- net-dns/libidn |
41 |
- net-im/jabberd2 |
42 |
- mysql? ( virtual/mysql )" |
43 |
-RDEPEND="${DEPEND}" |
44 |
-IUSE="mysql" |
45 |
- |
46 |
-S="${WORKDIR}/${PN}_${PV}" |
47 |
- |
48 |
-src_unpack() { |
49 |
- unpack ${A} |
50 |
- cd "${S}" |
51 |
- |
52 |
- # Fix missing header in src/conference_user.c in order to |
53 |
- # make emerge happy and avoid QA notice. |
54 |
- sed -i "/conference.h/ i #define _XOPEN_SOURCE" src/conference_user.c || die |
55 |
- |
56 |
- if use mysql; then |
57 |
- sed -i '/^CFLAGS/ a CFLAGS:=$(CFLAGS) -DHAVE_MYSQL' src/Makefile || die |
58 |
- else |
59 |
- # Makefile is broken. Should not always link against mysql |
60 |
- sed -i 's/`mysql_config --libs`//' src/Makefile || die |
61 |
- fi |
62 |
-} |
63 |
- |
64 |
-src_compile() { |
65 |
- emake || die |
66 |
-} |
67 |
- |
68 |
-src_install() { |
69 |
- dobin src/mu-conference |
70 |
- fowners jabber:jabber /usr/bin/mu-conference |
71 |
- fperms 750 /usr/bin/mu-conference |
72 |
- |
73 |
- newinitd "${FILESDIR}/${P}".init mu-conference |
74 |
- |
75 |
- dodoc ChangeLog FAQ mu-conference.sql README |
76 |
- docinto scripts |
77 |
- dodoc scripts/* |
78 |
- |
79 |
- for i in log spool; do |
80 |
- dodir /var/${i}/jabber/mu-conference |
81 |
- keepdir /var/${i}/jabber/mu-conference |
82 |
- fowners jabber:jabber /var/${i}/jabber/mu-conference |
83 |
- fperms 770 /var/${i}/jabber/mu-conference |
84 |
- done |
85 |
- |
86 |
- insinto /etc/jabber |
87 |
- newins muc-default.xml mu-conference.xml |
88 |
- doins style.css |
89 |
- |
90 |
- cd "${D}/etc/jabber/" || die |
91 |
- sed -i \ |
92 |
- -e 's,./spool/chat.localhost,/var/spool/jabber/mu-conference,g' \ |
93 |
- -e 's,./syslogs,/var/log/jabber,g' \ |
94 |
- -e 's,./logs,/var/log/jabber/mu-conference,g' \ |
95 |
- -e 's,./mu-conference.pid,/var/run/jabber/mu-conference.pid,g' \ |
96 |
- -e "s,../style.css,/etc/jabber/style.css,g" \ |
97 |
- -e "s,7009,5347,g" \ |
98 |
- mu-conference.xml || die "sed failed" |
99 |
-} |
100 |
- |
101 |
-pkg_postinst() { |
102 |
- echo |
103 |
- elog "For jabberd-2 connection:" |
104 |
- elog "1. Make sure that the ip and port in /etc/jabber/mu-conference.xml" |
105 |
- elog " match the address of your jabberd router." |
106 |
- elog "2. Set a common secret in mu-conference.xml and router.xml" |
107 |
- echo |
108 |
-} |
109 |
|
110 |
diff --git a/net-im/mu-conference/mu-conference-0.8-r1.ebuild b/net-im/mu-conference/mu-conference-0.8-r1.ebuild |
111 |
deleted file mode 100644 |
112 |
index 6d2b4f7..0000000 |
113 |
--- a/net-im/mu-conference/mu-conference-0.8-r1.ebuild |
114 |
+++ /dev/null |
115 |
@@ -1,88 +0,0 @@ |
116 |
-# Copyright 1999-2015 Gentoo Foundation |
117 |
-# Distributed under the terms of the GNU General Public License v2 |
118 |
-# $Id$ |
119 |
- |
120 |
-EAPI=5 |
121 |
- |
122 |
-inherit toolchain-funcs |
123 |
- |
124 |
-DESCRIPTION="Multi-User Chat for jabberd" |
125 |
-HOMEPAGE="https://gna.org/projects/mu-conference/" |
126 |
-SRC_URI="http://download.gna.org/mu-conference/${PN}_${PV}.tar.gz" |
127 |
- |
128 |
-LICENSE="GPL-2" |
129 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
130 |
-SLOT="0" |
131 |
-IUSE="mysql" |
132 |
- |
133 |
-RDEPEND=" |
134 |
- dev-libs/expat |
135 |
- >=dev-libs/glib-2:2 |
136 |
- net-dns/libidn |
137 |
- net-im/jabberd2 |
138 |
- mysql? ( virtual/mysql )" |
139 |
-DEPEND="${RDEPEND} |
140 |
- virtual/pkgconfig" |
141 |
- |
142 |
-S=${WORKDIR}/${PN}_${PV} |
143 |
- |
144 |
-src_prepare() { |
145 |
- # Fix missing header in src/conference_user.c in order to |
146 |
- # make emerge happy and avoid QA notice. |
147 |
- sed -i -e "/conference.h/ i #define _XOPEN_SOURCE" src/conference_user.c || die |
148 |
- |
149 |
- if use mysql; then |
150 |
- sed -i -e '/^CFLAGS/ a CFLAGS:=$(CFLAGS) -DHAVE_MYSQL' \ |
151 |
- -e '/^LIBS/ a LIBS:=$(LIBS) `mysql_config --libs`' src/Makefile || die |
152 |
- fi |
153 |
- sed -i -e 's/^CC:=/CC?=/' -e 's/$(MCFLAGS)/$(MCFLAGS) $(LDFLAGS)/'\ |
154 |
- -e 's/LDFLAGS:=-L./LDFLAGS:=$(LDFLAGS) -L./'\ |
155 |
- -e 's/$(LDFLAGS) $(LIBS)/$(LIBS)/' src/Makefile || die |
156 |
- sed -i -e 's/-O2//' src/{,jabberd,jcomp}/Makefile || die |
157 |
- sed -i -e 's/CC=/CC?=/' src/{jabberd,jcomp}/Makefile || die |
158 |
- sed -i -e 's/ar/$(AR)/' -e 's/ranlib/$(RANLIB)/' src/jabberd/Makefile || die |
159 |
- sed -i -e 's/gcc -g/$(CC) -g/' src/jcomp/Makefile || die |
160 |
- tc-export CC AR RANLIB |
161 |
-} |
162 |
- |
163 |
-src_install() { |
164 |
- dobin src/mu-conference |
165 |
- fowners jabber:jabber /usr/bin/mu-conference |
166 |
- fperms 750 /usr/bin/mu-conference |
167 |
- |
168 |
- newinitd "${FILESDIR}/${PN}"-0.7.init mu-conference |
169 |
- |
170 |
- dodoc ChangeLog FAQ mu-conference.sql README README.sql |
171 |
- docinto scripts |
172 |
- dodoc scripts/* |
173 |
- |
174 |
- local i |
175 |
- for i in log spool; do |
176 |
- dodir /var/${i}/jabber/mu-conference |
177 |
- keepdir /var/${i}/jabber/mu-conference |
178 |
- fowners jabber:jabber /var/${i}/jabber/mu-conference |
179 |
- fperms 770 /var/${i}/jabber/mu-conference |
180 |
- done |
181 |
- |
182 |
- insinto /etc/jabber |
183 |
- newins muc-default.xml mu-conference.xml |
184 |
- doins style.css |
185 |
- |
186 |
- sed -i \ |
187 |
- -e 's,./spool/chat.localhost,/var/spool/jabber/mu-conference,g' \ |
188 |
- -e 's,./syslogs,/var/log/jabber,g' \ |
189 |
- -e 's,./logs,/var/log/jabber/mu-conference,g' \ |
190 |
- -e 's,./mu-conference.pid,/var/run/jabber/mu-conference.pid,g' \ |
191 |
- -e "s,../style.css,/etc/jabber/style.css,g" \ |
192 |
- -e "s,7009,5347,g" \ |
193 |
- "${D}"/etc/jabber/mu-conference.xml || die "sed failed" |
194 |
-} |
195 |
- |
196 |
-pkg_postinst() { |
197 |
- echo |
198 |
- elog "For jabberd-2 connection:" |
199 |
- elog "1. Make sure that the ip and port in /etc/jabber/mu-conference.xml" |
200 |
- elog " match the address of your jabberd router." |
201 |
- elog "2. Set a common secret in mu-conference.xml and router.xml" |
202 |
- echo |
203 |
-} |
204 |
|
205 |
diff --git a/net-im/mu-conference/mu-conference-0.8.81.ebuild b/net-im/mu-conference/mu-conference-0.8.81.ebuild |
206 |
deleted file mode 100644 |
207 |
index 4580ec7..0000000 |
208 |
--- a/net-im/mu-conference/mu-conference-0.8.81.ebuild |
209 |
+++ /dev/null |
210 |
@@ -1,86 +0,0 @@ |
211 |
-# Copyright 1999-2015 Gentoo Foundation |
212 |
-# Distributed under the terms of the GNU General Public License v2 |
213 |
-# $Id$ |
214 |
- |
215 |
-EAPI=5 |
216 |
- |
217 |
-inherit toolchain-funcs |
218 |
- |
219 |
-DESCRIPTION="Multi-User Chat for jabberd" |
220 |
-HOMEPAGE="https://gna.org/projects/mu-conference/" |
221 |
-SRC_URI="http://download.gna.org/mu-conference/${P}.tar.gz" |
222 |
- |
223 |
-LICENSE="GPL-2" |
224 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
225 |
-SLOT="0" |
226 |
-IUSE="mysql" |
227 |
- |
228 |
-RDEPEND=" |
229 |
- dev-libs/expat |
230 |
- >=dev-libs/glib-2:2 |
231 |
- net-dns/libidn |
232 |
- net-im/jabberd2 |
233 |
- mysql? ( virtual/mysql )" |
234 |
-DEPEND="${RDEPEND} |
235 |
- virtual/pkgconfig" |
236 |
- |
237 |
-src_prepare() { |
238 |
- # Fix missing header in src/conference_user.c in order to |
239 |
- # make emerge happy and avoid QA notice. |
240 |
- sed -i -e "/conference.h/ i #define _XOPEN_SOURCE" src/conference_user.c || die |
241 |
- |
242 |
- if use mysql; then |
243 |
- sed -i -e '/^CFLAGS/ a CFLAGS:=$(CFLAGS) -DHAVE_MYSQL' \ |
244 |
- -e '/^LIBS/ a LIBS:=$(LIBS) `mysql_config --libs`' src/Makefile || die |
245 |
- fi |
246 |
- sed -i -e 's/^CC:=/CC?=/' -e 's/$(MCFLAGS)/$(MCFLAGS) $(LDFLAGS)/'\ |
247 |
- -e 's/LDFLAGS:=-L./LDFLAGS:=$(LDFLAGS) -L./'\ |
248 |
- -e 's/$(LDFLAGS) $(LIBS)/$(LIBS)/' src/Makefile || die |
249 |
- sed -i -e 's/-O2//' src/{,jabberd,jcomp}/Makefile || die |
250 |
- sed -i -e 's/CC=/CC?=/' src/{jabberd,jcomp}/Makefile || die |
251 |
- sed -i -e 's/ar/$(AR)/' -e 's/ranlib/$(RANLIB)/' src/jabberd/Makefile || die |
252 |
- sed -i -e 's/gcc -g/$(CC) -g/' src/jcomp/Makefile || die |
253 |
- tc-export CC AR RANLIB |
254 |
-} |
255 |
- |
256 |
-src_install() { |
257 |
- dobin src/mu-conference |
258 |
- fowners jabber:jabber /usr/bin/mu-conference |
259 |
- fperms 750 /usr/bin/mu-conference |
260 |
- |
261 |
- newinitd "${FILESDIR}/${PN}"-0.7.init mu-conference |
262 |
- |
263 |
- dodoc ChangeLog FAQ mu-conference.sql README README.sql |
264 |
- docinto scripts |
265 |
- dodoc scripts/* |
266 |
- |
267 |
- local i |
268 |
- for i in log spool; do |
269 |
- dodir /var/${i}/jabber/mu-conference |
270 |
- keepdir /var/${i}/jabber/mu-conference |
271 |
- fowners jabber:jabber /var/${i}/jabber/mu-conference |
272 |
- fperms 770 /var/${i}/jabber/mu-conference |
273 |
- done |
274 |
- |
275 |
- insinto /etc/jabber |
276 |
- newins muc-default.xml mu-conference.xml |
277 |
- doins style.css |
278 |
- |
279 |
- sed -i \ |
280 |
- -e 's,./spool/chat.localhost,/var/spool/jabber/mu-conference,g' \ |
281 |
- -e 's,./syslogs,/var/log/jabber,g' \ |
282 |
- -e 's,./logs,/var/log/jabber/mu-conference,g' \ |
283 |
- -e 's,./mu-conference.pid,/var/run/jabber/mu-conference.pid,g' \ |
284 |
- -e "s,../style.css,/etc/jabber/style.css,g" \ |
285 |
- -e "s,7009,5347,g" \ |
286 |
- "${D}"/etc/jabber/mu-conference.xml || die "sed failed" |
287 |
-} |
288 |
- |
289 |
-pkg_postinst() { |
290 |
- echo |
291 |
- elog "For jabberd-2 connection:" |
292 |
- elog "1. Make sure that the ip and port in /etc/jabber/mu-conference.xml" |
293 |
- elog " match the address of your jabberd router." |
294 |
- elog "2. Set a common secret in mu-conference.xml and router.xml" |
295 |
- echo |
296 |
-} |