1 |
commit: 62aa8b0d32d1957aa1426baaaeabdcf8b28e9c90 |
2 |
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 24 02:05:19 2015 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 24 02:06:02 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62aa8b0d |
7 |
|
8 |
net-irc/inspircd: cleanup wrt bug #545034 |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
net-irc/inspircd/Manifest | 1 - |
13 |
.../files/inspircd-2.0.18-fix-path-builds.patch | 208 --------------------- |
14 |
net-irc/inspircd/files/inspircd-2.0.18-init | 39 ---- |
15 |
net-irc/inspircd/inspircd-2.0.18.ebuild | 109 ----------- |
16 |
4 files changed, 357 deletions(-) |
17 |
|
18 |
diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest |
19 |
index e319fcd..46b960a 100644 |
20 |
--- a/net-irc/inspircd/Manifest |
21 |
+++ b/net-irc/inspircd/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST inspircd-2.0.18.tar.gz 747846 SHA256 45168ed075e66b379cdb9bae01652a23a33304817363e519fcbb1a194783295d SHA512 64e5d71da5d96afd1261b2a771f27f0c38b505812753a636c51d604f6166ab8a49106ae2da8291ecd86f894d2cfea63e9fcb105efdd7ce137bdf083235db7021 WHIRLPOOL c86846a170705590ae8b44023feb3adaa636c7af1d9e33a0cf560b1ebe5cc14740636c82e8c65e0f12357d9863ef36a66f0efa6aa20d2780bcef5ddd53888a6b |
24 |
DIST inspircd-2.0.20.tar.gz 728970 SHA256 5156e2da5da4cfa377705ecd633aee41cdcd785d12627497d55cab5f70dd686f SHA512 85463f7df379e5c7e190b4cc7ea67a80d5c4e5799c68abf2329e8204239dbed7258d11c97e5138039a8002f18ca0bd75ffc5c362b02cc27170adaf8cda6acc7e WHIRLPOOL 7eb8d3ca23c203431794ac18e65037e696638f54a0df8f2efbf590e87017e31f7a4f37926352cb4a613e6d58fb0d76ebf44a78ca6d39d093d66b46b57330b541 |
25 |
|
26 |
diff --git a/net-irc/inspircd/files/inspircd-2.0.18-fix-path-builds.patch b/net-irc/inspircd/files/inspircd-2.0.18-fix-path-builds.patch |
27 |
deleted file mode 100644 |
28 |
index 065ff2c..0000000 |
29 |
--- a/net-irc/inspircd/files/inspircd-2.0.18-fix-path-builds.patch |
30 |
+++ /dev/null |
31 |
@@ -1,208 +0,0 @@ |
32 |
-diff -Nuar a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example |
33 |
---- a/docs/conf/inspircd.conf.example 2014-10-26 18:05:40.000000000 +0100 |
34 |
-+++ b/docs/conf/inspircd.conf.example 2014-10-27 15:03:54.039999807 +0100 |
35 |
-@@ -412,11 +412,11 @@ |
36 |
- |
37 |
- # This file has all the information about oper classes, types and o:lines. |
38 |
- # You *MUST* edit it. |
39 |
--<include file="conf/examples/opers.conf.example"> |
40 |
-+<include file="/etc/inspircd/opers.conf.example"> |
41 |
- |
42 |
- # This file has all the information about server links and ulined servers. |
43 |
- # You *MUST* edit it if you intend to link servers. |
44 |
--<include file="conf/examples/links.conf.example"> |
45 |
-+<include file="/etc/inspircd/links.conf.example"> |
46 |
- |
47 |
- #-#-#-#-#-#-#-#-#-#- MISCELLANEOUS CONFIGURATION -#-#-#-#-#-#-#-#-#-# |
48 |
- # # |
49 |
-@@ -426,7 +426,8 @@ |
50 |
- # motd - displayed on connect and when a user executes /MOTD |
51 |
- # rules - displayed when the user executes /RULES |
52 |
- # Modules can also define their own files |
53 |
--<files motd="conf/examples/motd.txt.example" rules="conf/examples/rules.txt.example"> |
54 |
-+<files motd="/etc/inspircd/motd.txt.example" |
55 |
-+ rules="/etc/inspircd/rules.txt.example"> |
56 |
- |
57 |
- # Example of an executable file include. Note this will be read on rehash, |
58 |
- # not when the command is run. |
59 |
-@@ -472,7 +473,7 @@ |
60 |
- # the default of 'inspircd.pid' is used. # |
61 |
- # # |
62 |
- |
63 |
--#<pid file="/path/to/inspircd.pid"> |
64 |
-+<pid file="/var/run/inspircd/inspircd.pid"> |
65 |
- |
66 |
- #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-# |
67 |
- # # |
68 |
-@@ -953,7 +954,7 @@ |
69 |
- # provide almost all the features of InspIRCd. :) # |
70 |
- # # |
71 |
- # The default does nothing -- we include it for simplicity for you. # |
72 |
--<include file="conf/examples/modules.conf.example"> |
73 |
-+<include file="/etc/inspircd/modules.conf.example"> |
74 |
- |
75 |
- # Here are some pre-built modules.conf files that closely match the |
76 |
- # default configurations of some popular IRCd's. You still may want to |
77 |
-@@ -965,10 +966,10 @@ |
78 |
- # recommended that you make your own modules file based on modules.conf.example. |
79 |
- |
80 |
- # Settings similar to UnrealIRCd defaults. |
81 |
--#<include file="conf/examples/modules/unrealircd.conf.example"> |
82 |
-+#<include file="/etc/inspircd/modules/unrealircd.conf.example"> |
83 |
- |
84 |
- # Settings similar to Charybdis IRCd defaults. |
85 |
--#<include file="conf/examples/modules/charybdis.conf.example"> |
86 |
-+#<include file="/etc/inspircd/modules/charybdis.conf.example"> |
87 |
- |
88 |
- |
89 |
- ######################################################################### |
90 |
-diff -Nuar a/make/template/main.mk b/make/template/main.mk |
91 |
---- a/make/template/main.mk 2014-10-26 18:05:40.000000000 +0100 |
92 |
-+++ b/make/template/main.mk 2014-10-27 15:08:05.289999800 +0100 |
93 |
-@@ -34,7 +34,7 @@ |
94 |
- SYSTEM = @SYSTEM@ |
95 |
- BUILDPATH = @BUILD_DIR@ |
96 |
- SOCKETENGINE = @SOCKETENGINE@ |
97 |
--CXXFLAGS = -pipe -fPIC -DPIC |
98 |
-+MYCXXFLAGS = -pipe -fPIC -DPIC |
99 |
- LDLIBS = -pthread -lstdc++ |
100 |
- LDFLAGS = |
101 |
- CORELDFLAGS = -rdynamic -L. $(LDFLAGS) |
102 |
-@@ -51,9 +51,9 @@ |
103 |
- INSTMODE_LIB = 0644 |
104 |
- |
105 |
- @IFEQ $(CC) icpc |
106 |
-- CXXFLAGS += -Wshadow |
107 |
-+ MYCXXFLAGS += -Wshadow |
108 |
- @ELSE |
109 |
-- CXXFLAGS += -pedantic -Woverloaded-virtual -Wshadow -Wformat=2 -Wmissing-format-attribute -Wall |
110 |
-+ MYCXXFLAGS += -pedantic -Woverloaded-virtual -Wshadow -Wformat=2 -Wmissing-format-attribute -Wall |
111 |
- @ENDIF |
112 |
- |
113 |
- |
114 |
-@@ -75,41 +75,41 @@ |
115 |
- INSTALL = ginstall |
116 |
- @ENDIF |
117 |
- @IFEQ $(SYSTEM) darwin |
118 |
-- CXXFLAGS += -DDARWIN -frtti |
119 |
-+ MYCXXFLAGS += -DDARWIN -frtti |
120 |
- LDLIBS += -ldl |
121 |
- CORELDFLAGS = -dynamic -bind_at_load -L. $(LDFLAGS) |
122 |
- PICLDFLAGS = -fPIC -shared -twolevel_namespace -undefined dynamic_lookup $(LDFLAGS) |
123 |
- @ENDIF |
124 |
- @IFEQ $(SYSTEM) interix |
125 |
-- CXXFLAGS += -D_ALL_SOURCE -I/usr/local/include |
126 |
-+ MYCXXFLAGS += -D_ALL_SOURCE -I/usr/local/include |
127 |
- @ENDIF |
128 |
- |
129 |
--@IFNDEF D |
130 |
-- D=0 |
131 |
-+@IFNDEF DEBUGLEVEL |
132 |
-+ DEBUGLEVEL=0 |
133 |
- @ENDIF |
134 |
- |
135 |
- DBGOK=0 |
136 |
--@IFEQ $(D) 0 |
137 |
-- CXXFLAGS += -O2 |
138 |
-+@IFEQ $(DEBUGLEVEL) 0 |
139 |
-+ MYCXXFLAGS += -O2 |
140 |
- @IFEQ $(CC) g++ |
141 |
-- CXXFLAGS += -g1 |
142 |
-+ MYCXXFLAGS += -g1 |
143 |
- @ENDIF |
144 |
- HEADER = std-header |
145 |
- DBGOK=1 |
146 |
- @ENDIF |
147 |
--@IFEQ $(D) 1 |
148 |
-- CXXFLAGS += -O0 -g3 -Werror |
149 |
-+@IFEQ $(DEBUGLEVEL) 1 |
150 |
-+ MYCXXFLAGS += -O0 -g3 -Werror |
151 |
- HEADER = debug-header |
152 |
- DBGOK=1 |
153 |
- @ENDIF |
154 |
--@IFEQ $(D) 2 |
155 |
-- CXXFLAGS += -O2 -g3 |
156 |
-+@IFEQ $(DEBUGLEVEL) 2 |
157 |
-+ MYCXXFLAGS += -O2 -g3 |
158 |
- HEADER = debug-header |
159 |
- DBGOK=1 |
160 |
- @ENDIF |
161 |
- FOOTER = finishmessage |
162 |
- |
163 |
--CXXFLAGS += -Iinclude |
164 |
-+MYCXXFLAGS += -Iinclude |
165 |
- |
166 |
- @GNU_ONLY MAKEFLAGS += --no-print-directory |
167 |
- |
168 |
-@@ -128,10 +128,11 @@ |
169 |
- @ENDIF |
170 |
- |
171 |
- @IFDEF PURE_STATIC |
172 |
-- CXXFLAGS += -DPURE_STATIC |
173 |
-+ MYCXXFLAGS += -DPURE_STATIC |
174 |
- @ENDIF |
175 |
- |
176 |
--@DO_EXPORT RUNCC RUNLD CXXFLAGS LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS |
177 |
-+MYCXXFLAGS += $(CXXFLAGS) |
178 |
-+@DO_EXPORT RUNCC RUNLD MYCXXFLAGS LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS |
179 |
- @DO_EXPORT SOURCEPATH BUILDPATH PURE_STATIC SPLIT_CC |
180 |
- |
181 |
- # Default target |
182 |
-@@ -144,10 +145,10 @@ |
183 |
- @GNU_ONLY TARGET = modules/$(M:.so=).so |
184 |
- @ENDIF |
185 |
- |
186 |
--@IFDEF T |
187 |
-+@IFDEF TGT |
188 |
- HEADER = |
189 |
- FOOTER = target |
190 |
-- TARGET = $(T) |
191 |
-+ TARGET = $(TGT) |
192 |
- @ENDIF |
193 |
- |
194 |
- @IFEQ $(DBGOK) 0 |
195 |
-@@ -222,8 +223,8 @@ |
196 |
- @-$(INSTALL) -d -o $(INSTUID) -m $(INSTMODE_DIR) $(BASE)/data |
197 |
- @-$(INSTALL) -d -o $(INSTUID) -m $(INSTMODE_DIR) $(BASE)/logs |
198 |
- @-$(INSTALL) -d -m $(INSTMODE_DIR) $(BINPATH) |
199 |
-- @-$(INSTALL) -d -m $(INSTMODE_DIR) $(CONPATH)/examples/aliases |
200 |
-- @-$(INSTALL) -d -m $(INSTMODE_DIR) $(CONPATH)/examples/modules |
201 |
-+ @-$(INSTALL) -d -m $(INSTMODE_DIR) $(CONPATH)/aliases |
202 |
-+ @-$(INSTALL) -d -m $(INSTMODE_DIR) $(CONPATH)/modules |
203 |
- @-$(INSTALL) -d -m $(INSTMODE_DIR) $(MODPATH) |
204 |
- [ $(BUILDPATH)/bin/ -ef $(BINPATH) ] || $(INSTALL) -m $(INSTMODE_BIN) $(BUILDPATH)/bin/inspircd $(BINPATH) |
205 |
- @IFNDEF PURE_STATIC |
206 |
-@@ -231,9 +232,9 @@ |
207 |
- @ENDIF |
208 |
- -$(INSTALL) -m $(INSTMODE_BIN) @STARTSCRIPT@ $(BASE) 2>/dev/null |
209 |
- -$(INSTALL) -m $(INSTMODE_LIB) tools/gdbargs $(BASE)/.gdbargs 2>/dev/null |
210 |
-- -$(INSTALL) -m $(INSTMODE_LIB) docs/conf/*.example $(CONPATH)/examples |
211 |
-- -$(INSTALL) -m $(INSTMODE_LIB) docs/conf/aliases/*.example $(CONPATH)/examples/aliases |
212 |
-- -$(INSTALL) -m $(INSTMODE_LIB) docs/conf/modules/*.example $(CONPATH)/examples/modules |
213 |
-+ -$(INSTALL) -m $(INSTMODE_LIB) docs/conf/*.example $(CONPATH) |
214 |
-+ -$(INSTALL) -m $(INSTMODE_LIB) docs/conf/aliases/*.example $(CONPATH)/aliases |
215 |
-+ -$(INSTALL) -m $(INSTMODE_LIB) docs/conf/modules/*.example $(CONPATH)/modules |
216 |
- @echo "" |
217 |
- @echo "*************************************" |
218 |
- @echo "* INSTALL COMPLETE! *" |
219 |
-@@ -246,7 +247,7 @@ |
220 |
- @echo ' Data:' $(DATPATH) |
221 |
- @echo 'To start the ircd, run:' $(BASE)/inspircd start |
222 |
- @echo 'Remember to create your config file:' $(CONPATH)/inspircd.conf |
223 |
-- @echo 'Examples are available at:' $(CONPATH)/examples/ |
224 |
-+ @echo 'Examples are available at:' $(CONPATH) |
225 |
- |
226 |
- @GNU_ONLY RCS_FILES = $(wildcard .git/index src/version.sh) |
227 |
- @BSD_ONLY RCS_FILES = src/version.sh |
228 |
-diff -Nuar a/make/unit-cc.pl b/make/unit-cc.pl |
229 |
---- a/make/unit-cc.pl 2014-10-26 18:05:40.000000000 +0100 |
230 |
-+++ b/make/unit-cc.pl 2014-10-27 15:08:33.819999800 +0100 |
231 |
-@@ -113,7 +113,7 @@ |
232 |
- my $libs = ''; |
233 |
- my $binary = $ENV{RUNCC}; |
234 |
- if ($do_compile) { |
235 |
-- $flags = $ENV{CXXFLAGS}; |
236 |
-+ $flags = $ENV{MYCXXFLAGS}; |
237 |
- $flags =~ s/ -pedantic// if nopedantic($file); |
238 |
- $flags .= ' ' . getcompilerflags($file); |
239 |
- |
240 |
|
241 |
diff --git a/net-irc/inspircd/files/inspircd-2.0.18-init b/net-irc/inspircd/files/inspircd-2.0.18-init |
242 |
deleted file mode 100644 |
243 |
index 9c81a6b..0000000 |
244 |
--- a/net-irc/inspircd/files/inspircd-2.0.18-init |
245 |
+++ /dev/null |
246 |
@@ -1,39 +0,0 @@ |
247 |
-#!/sbin/runscript |
248 |
-# Copyright 1999-2014 Gentoo Foundation |
249 |
-# Distributed under the terms of the GNU General Public License v2 |
250 |
-# $Id$ |
251 |
- |
252 |
-extra_commands="rehash version" |
253 |
- |
254 |
-depend() { |
255 |
- need net |
256 |
- provide ircd |
257 |
-} |
258 |
- |
259 |
-start() { |
260 |
- ebegin "Starting InspIRCd" |
261 |
- checkpath -d -m 0750 -o inspircd:inspircd /var/run/inspircd |
262 |
- start-stop-daemon --start --quiet --user inspircd \ |
263 |
- --exec /usr/bin/inspircd -- \ |
264 |
- --config /etc/inspircd/inspircd.conf \ |
265 |
- --logfile /var/log/inspircd/ircd.log |
266 |
- eend $? |
267 |
-} |
268 |
- |
269 |
-stop() { |
270 |
- ebegin "Stopping InspIRCd" |
271 |
- start-stop-daemon --stop --quiet --exec /usr/bin/inspircd |
272 |
- eend $? |
273 |
-} |
274 |
- |
275 |
-rehash() { |
276 |
- ebegin "Rehashing InspIRCd" |
277 |
- /usr/lib/inspircd/inspircd.launcher/inspircd rehash |
278 |
- eend $? |
279 |
-} |
280 |
- |
281 |
-version() { |
282 |
- ebegin "Retrieve InspIRCd version" |
283 |
- /usr/lib/inspircd/inspircd.launcher/inspircd version |
284 |
- eend $? |
285 |
-} |
286 |
|
287 |
diff --git a/net-irc/inspircd/inspircd-2.0.18.ebuild b/net-irc/inspircd/inspircd-2.0.18.ebuild |
288 |
deleted file mode 100644 |
289 |
index abeae92..0000000 |
290 |
--- a/net-irc/inspircd/inspircd-2.0.18.ebuild |
291 |
+++ /dev/null |
292 |
@@ -1,109 +0,0 @@ |
293 |
-# Copyright 1999-2015 Gentoo Foundation |
294 |
-# Distributed under the terms of the GNU General Public License v2 |
295 |
-# $Id$ |
296 |
- |
297 |
-EAPI=5 |
298 |
- |
299 |
-inherit eutils multilib toolchain-funcs user |
300 |
- |
301 |
-DESCRIPTION="Inspire IRCd - The Stable, High-Performance Modular IRCd" |
302 |
-HOMEPAGE="https://inspircd.github.com/" |
303 |
-SRC_URI="https://www.github.com/inspircd/inspircd/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
304 |
- |
305 |
-LICENSE="GPL-2" |
306 |
-SLOT="0" |
307 |
-KEYWORDS="amd64 x86" |
308 |
-IUSE="geoip gnutls ipv6 ldap mysql pcre posix postgres sqlite ssl tre" |
309 |
- |
310 |
-RDEPEND=" |
311 |
- dev-lang/perl |
312 |
- ssl? ( dev-libs/openssl ) |
313 |
- geoip? ( dev-libs/geoip ) |
314 |
- gnutls? ( net-libs/gnutls dev-libs/libgcrypt:0 ) |
315 |
- ldap? ( net-nds/openldap ) |
316 |
- mysql? ( virtual/mysql ) |
317 |
- postgres? ( dev-db/postgresql ) |
318 |
- pcre? ( dev-libs/libpcre ) |
319 |
- sqlite? ( >=dev-db/sqlite-3.0 ) |
320 |
- tre? ( dev-libs/tre )" |
321 |
-DEPEND="${RDEPEND}" |
322 |
- |
323 |
-pkg_setup() { |
324 |
- enewgroup ${PN} |
325 |
- enewuser ${PN} -1 -1 -1 ${PN} |
326 |
-} |
327 |
- |
328 |
-src_prepare() { |
329 |
- # Patch the inspircd launcher with the inspircd user |
330 |
- sed -i -e "s/@UID@/${PN}/" "${S}/make/template/${PN}" || die |
331 |
- |
332 |
- epatch "${FILESDIR}/${P}-fix-path-builds.patch" |
333 |
-} |
334 |
- |
335 |
-src_configure() { |
336 |
- local extras="" |
337 |
- local essl="--enable-openssl" |
338 |
- local egnutls="--enable-gnutls" |
339 |
- local dipv6="--disable-ipv6" |
340 |
- |
341 |
- use geoip && extras="${extras}m_geoip.cpp," |
342 |
- use gnutls && extras="${extras}m_ssl_gnutls.cpp," |
343 |
- use ipv6 && dipv6="" |
344 |
- use ldap && extras="${extras}m_ldapauth.cpp,m_ldapoper.cpp," |
345 |
- use mysql && extras="${extras}m_mysql.cpp," |
346 |
- use pcre && extras="${extras}m_regex_pcre.cpp," |
347 |
- use posix && extras="${extras}m_regex_posix.cpp," |
348 |
- use postgres && extras="${extras}m_pgsql.cpp," |
349 |
- use sqlite && extras="${extras}m_sqlite3.cpp," |
350 |
- use ssl && extras="${extras}m_ssl_openssl.cpp," |
351 |
- use tre && extras="${extras}m_regex_tre.cpp," |
352 |
- |
353 |
- use !ssl && essl="" |
354 |
- use !gnutls && egnutls="" |
355 |
- |
356 |
- if [ -n "${extras}" ]; then |
357 |
- ./configure --disable-interactive --enable-extras=${extras} |
358 |
- fi |
359 |
- |
360 |
- ./configure \ |
361 |
- --with-cc="$(tc-getCXX)" \ |
362 |
- --disable-interactive \ |
363 |
- --prefix="/usr/$(get_libdir)/${PN}" \ |
364 |
- --config-dir="/etc/${PN}" \ |
365 |
- --data-dir="/var/lib/${PN}/data" \ |
366 |
- --log-dir="/var/log/${PN}" \ |
367 |
- --binary-dir="/usr/bin" \ |
368 |
- --module-dir="/usr/$(get_libdir)/${PN}/modules" \ |
369 |
- ${essl} ${egnutls} ${dipv6} || die |
370 |
-} |
371 |
- |
372 |
-src_compile() { |
373 |
- emake V=1 LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" |
374 |
-} |
375 |
- |
376 |
-src_install() { |
377 |
- emake INSTUID=${PN} \ |
378 |
- BINPATH="${D}/usr/bin" \ |
379 |
- BASE="${D}/usr/$(get_libdir)/${PN}/inspircd.launcher" \ |
380 |
- MODPATH="${D}/usr/$(get_libdir)/${PN}/modules/" \ |
381 |
- CONPATH="${D}/etc/${PN}" install |
382 |
- |
383 |
- insinto "/usr/include/${PN}" |
384 |
- doins include/* |
385 |
- |
386 |
- diropts -o"${PN}" -g"${PN}" -m0700 |
387 |
- dodir "/var/lib/${PN}" |
388 |
- dodir "/var/lib/${PN}/data" |
389 |
- |
390 |
- newinitd "${FILESDIR}/${P}-init" "${PN}" |
391 |
- keepdir "/var/log/${PN}"/ |
392 |
-} |
393 |
- |
394 |
-pkg_postinst() { |
395 |
- elog "Before starting ${PN} the first time, you should create" |
396 |
- elog "the /etc/${PN}/${PN}.conf file." |
397 |
- elog "You can find example configuration files under /etc/${PN}" |
398 |
- elog "Read the ${PN}.conf.example file carefully before " |
399 |
- elog "(re)starting the service." |
400 |
- elog |
401 |
-} |