summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé María Alonso <nimiux@gentoo.org>2014-08-09 10:17:45 +0000
committerJosé María Alonso <nimiux@gentoo.org>2014-08-09 10:17:45 +0000
commit67af5addc8a2b036cd3a5a31b03b3cbb01b23477 (patch)
tree187638bb1f6fd664edcd0443f016e584e021d362 /net-irc/inspircd
parentStable for HPPA (bug #516934). (diff)
downloadhistorical-67af5addc8a2b036cd3a5a31b03b3cbb01b23477.tar.gz
historical-67af5addc8a2b036cd3a5a31b03b3cbb01b23477.tar.bz2
historical-67af5addc8a2b036cd3a5a31b03b3cbb01b23477.zip
Version bump
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xD628E536
Diffstat (limited to 'net-irc/inspircd')
-rw-r--r--net-irc/inspircd/ChangeLog8
-rw-r--r--net-irc/inspircd/Manifest26
-rw-r--r--net-irc/inspircd/files/inspircd-2.0.17-fix-path-builds.patch208
-rw-r--r--net-irc/inspircd/files/inspircd-2.0.17-init39
-rw-r--r--net-irc/inspircd/inspircd-2.0.17.ebuild109
5 files changed, 375 insertions, 15 deletions
diff --git a/net-irc/inspircd/ChangeLog b/net-irc/inspircd/ChangeLog
index 657c5efbaaef..221292fb3026 100644
--- a/net-irc/inspircd/ChangeLog
+++ b/net-irc/inspircd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/inspircd
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.98 2014/07/27 10:44:19 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.99 2014/08/09 10:17:36 nimiux Exp $
+
+*inspircd-2.0.17 (09 Aug 2014)
+
+ 09 Aug 2014; Chema Alonso <nimiux@gentoo.org> +inspircd-2.0.17.ebuild,
+ +files/inspircd-2.0.17-fix-path-builds.patch, +files/inspircd-2.0.17-init:
+ Bump
26 Jul 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> inspircd-2.0.16.ebuild:
x86 stable wrt bug #513138
diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest
index a21fc704e086..0fdcbfd4a622 100644
--- a/net-irc/inspircd/Manifest
+++ b/net-irc/inspircd/Manifest
@@ -5,26 +5,24 @@ AUX inspircd-2.0.15-fix-path-builds.patch 7327 SHA256 cd5cc3ce576702e752ecd4bae9
AUX inspircd-2.0.15-init 917 SHA256 15faeb543973ae5bb2d97677b18d2604330327989e9abe264739665e8a1ba7d9 SHA512 b893c361a7022a9ba0f7ffb9d5e433f77ba1eb528a2a5b8d5eb7bc63b9ee010ef791573c5f3aa8dc938eb0b8b44bcccc73f32450e7cd3ead8c0388105af2c570 WHIRLPOOL c39ece92dba12f57b5ab712dae7cc4795dc5fa98d00857de43704ee41de2bcb8cb7e0cc44da4b71d32f0471ba85e0618a5177f240ed7587fed690001a082d45b
AUX inspircd-2.0.16-fix-path-builds.patch 7327 SHA256 a0f3b3faf5856fb8c9173eed094b9c84f00e5c98fe81b7e86e1ab4f6f0a538d1 SHA512 c0888c2e7ca19ec55e5b46773c318b4e3deff1f7bb32750ecc1eebf690fddf86a2723c8f0c0baafcb3eaa169cd09627e3adce522e0d187fb256b5c8b2f86f841 WHIRLPOOL d3aae69f6f3d79f095c4c00a4dfc31f18df9201bf629104cb466327c8352d1acbc73c45f920259fb18a5e06d54c64cc3bcfc4464d600ac1d22bddd5386922d2f
AUX inspircd-2.0.16-init 917 SHA256 96441bda464d7386713e51ab1f7639c86d21740c432083d8fe9c8aeba12b3c03 SHA512 0e06b8005206957d59876de5f64c4dd8f0130f6d7a398ac27fcce9d92f31332142d15ee1cce1b59efdf84d69ae9d3d8f5780445d9afe8c75cfe84f79c4e01209 WHIRLPOOL b12c9f9a571b83fb40beed975caaef22062b554e57c227cbb3b58937ca4f50cbb75b2d636dae02653dd58c595b78a87b55ab22d6e742e11de0dd514c26cc8e32
+AUX inspircd-2.0.17-fix-path-builds.patch 7327 SHA256 3acf41b68df22b3eb9c4d43d2cdefbf959305043f9d858467238a4b7f4e965d6 SHA512 d4885ff135962f2f900fe241dc50dfd11deb54174f8a607a0397860603b5d884560b3d53a86dc21fc05807b5cd4cae77acb2e7011ec9852195f8ab3708dd72d6 WHIRLPOOL d34a23a0ca0f8b8ea0733070ebc05e701c6367bc52efa860fbc8e93321f997350dff65423b81b59f260d79f556129899faebdd69fd870cfac5fab89bb61c37b5
+AUX inspircd-2.0.17-init 917 SHA256 0af10d7958baf20126ec4f30446dfa5fcc6da30f9edeeaa20b2ebe657b1a5e3b SHA512 f89970de9f1663b52d5c8b156515ffa5c20d9f690cde0913ca0591385f71c988a6fdbfc07f042520bd174807e1556bafc1a87bdf0b55a6616e0fcb2465b89e2d WHIRLPOOL 393a2503ee509bf984625b17997eb8d85b28ebab1b7c0486243233aeda4deabbd3883d7478ca5042abec0841a66afdba1c1dfe81a0317c596e11b9a13f392c14
DIST inspircd-2.0.15.tar.gz 743719 SHA256 bb4fa81fcbec3861c9bf59f88d14348957bae42b240be85a03f4fac0cc2786ea SHA512 95a2dfbc6a98a4ced9068a0f79cf8439cf92867779b75b7aea33ddec45183d669e833e78eb0b826174f6350a65bc2e44f95473ef1b78ea26c8d74c4833610cc1 WHIRLPOOL b8a5baa7cdd837da969de949314fb8bf0461fa89249585d9bced135705479ea7755ed05ba5dbb748808e8b03fc514943ed576dbce5fa2538645948b03a907acd
DIST inspircd-2.0.16.tar.gz 743739 SHA256 557caf236e5dadada4295abb45208186aa5e3ca68edd3cc639776a5b4f280e03 SHA512 979e0e815221d9a494eadb656aee26c0090e4e117d9f56e5f18043ed19a175263e8232fe52443310f3b7cedcc54bd493e534aed936535f0ce1635090dd7a5201 WHIRLPOOL bf1104f4ccb5422c7b5124c7b4c625bab5debf34197f8f909296f7ea6fe7e2633a698fb817b398adc25267112830d89003f3655d14e9bfab5e184ccd4f30cec6
+DIST inspircd-2.0.17.tar.gz 744743 SHA256 a5d42a6568df341b67a386f93dc92ccb8e1d1308c19ea2deb4c5424b11c6dde8 SHA512 4eddc927a682794cad1e85a747eefd269aa0c6c88a373e1c38902ff689f5c02da44b31e7ec1dc1f97c08c5cc7cc26be62b32a0831ca2d53f81c5662394325a5e WHIRLPOOL af7dae1282a442332badb6254dcf10bec63a55a7dcf717c7246389ff47f051b453d5ff47edc2e635c2cbd22bafc7d6109c3c63f67dbe714e1f054c60e0905522
EBUILD inspircd-2.0.15.ebuild 3073 SHA256 b39d5b235b41a9ef60accf8b4b448e3d5fbde33e5af058f719d4296ac6e19cf1 SHA512 5c40de56c1c396f09a5aa58f635d8e2a42cba54efac222b3b10fa20ee5152d9433e132d13a010469a9cec391b58d405a3a32fba19f2dc2ec4b9bd294455b9432 WHIRLPOOL 95b9846d68864ba877c94692035a0660fa8885b314184cde89e857c625d5d214b3f2d5aa3368a986b12ca3f20a9af89b39c8f4ab905c3374b865339e68f21c06
EBUILD inspircd-2.0.16.ebuild 3080 SHA256 76d2bfe58da9a0e874da58b22463d2ff87ac1cb4c6e52efc550181b79bc8be38 SHA512 e5aadf4f8f7f9dec385066fdf2026e4358dd3bb0e5a5a173927a9b784a9b633a4f7ab41fb616695f08b06f0f5c3e8b44b49eee8ab1ace26e7e7b1a8c386438a7 WHIRLPOOL 6b0587bf6c858fbf9443330a87c658b582386f7e39c1a40dcf92e7463a46d7660a8ccba744cb164cc08294086a9fa7b56f4c44b112a2264867b9091ed4b32ce7
-MISC ChangeLog 16869 SHA256 11d08d6cd6cd554ef0e42487d6e3180fd407f2fd164d61f6e8a3ad9c3eacae61 SHA512 c9cc423b5fe3d03fabeb1dfa30d16a01f66f7f55195ab545b6f717b3c614642b7b00683674d76709528cec3614f8f2f7e0911fec9621775cbaf760541b616e21 WHIRLPOOL 05c08651cbb81661e70bd3865f23b3bc66028bd47545d443c0252f36fda672e47a9f23a53500a5c457634f23c8dffd49f92c08240fe58ffa71c8d145b1f26352
+EBUILD inspircd-2.0.17.ebuild 3078 SHA256 60ecfc7660304bfbe1fd54370063d8ed073445299def05a5ab83047dc1de868a SHA512 8dda05cbe3fd9180818a960dd79bfd6da0aace8615206a1e5fc1d4e195317aa98136d242a6b8e47927b332720c25c969ef50f9725f215676df736395474e4cbd WHIRLPOOL 420d92aec26cc49b97f3024c8e92642153ef09580a4d15d3c0e5037dc86e719e8e54c9d39f91f83348bcb0ab88ff73ea7bda66634301f383ec9dfa04a9c4ce1d
+MISC ChangeLog 17055 SHA256 dd234c68b531767e40cfc842519747ebb48b3ee0d4930db4c3f43ab128a76133 SHA512 66ad7a2dd1f9c201f07b961b58f3aa1a9868b13eaa156cb6603e5ed65f1e74f404dbc8f9c9ae421b69a03bc6b58d8d594580191ff5122927684a572209a323ec WHIRLPOOL b3401dcfee30f61486ec9b4cec87954fc9e5a497abd5daf494df6b1e2d1b7d8685fc28a695e933061b6a5d79037c5a641d91b047c5958745730cc47b6b664f4b
MISC metadata.xml 1678 SHA256 e6f968762672f557e56e3738a12e9b12a6dc3adb603f5369cb65904601f0ae8a SHA512 b335ee15d2480b45b1d889d2036b045efd168586e4643a223bff5ceedf04b91fffafd6ea8ee7c46649769719529c3e6e972e8a5c761354847b6a161b48fbfa26 WHIRLPOOL ea6af77a612fb122cec0bcf75989d0366a4a054e1fe8826eeb4b9d2eed68b5a77206fef118ee72c9d43e447e0885a79d80f0503b0b2c4b76498feaa33b1ef606
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJT1BhMAAoJEE8aJVXqcZkdQKwQALi3GD57yEOrhimMG/qbjuYL
-SSouM59WGrE/O3nEwNfZWrmLFxVIApM30JyYViZw+F+g57Bp4+q9hLmjkAI8m07a
-CEcOs8WTfkoR3JwD4Gs2edYL9PyDTzYR5eawFGDCl8UxhLBAVn8K5xLJj9lGLH2E
-Ny6tyUe6Mxe5W3DGFXGQSKs6kwOmha1WXJ24+muajA0oJNItN+6b6hueTbWSzJhA
-QK4I0lub3Ce3BFYQ/LOaaH6H7syWYWeep5x1Nwx5eEbIjwWP/aYavhF4m98Hlg6j
-GBTnHoXZfSLHk4R28aTPAGG5Q/3//UIdw9qolpAjAu3KE8WI6rRjUvfDmMkPzy8o
-RDkttHy5e8kn8k+z2jwge2z4VhgX8PLDvxpl3k0JyS6runLmSTEmsE5rPWEb9bzt
-mG/9aeq8Qj0+3Nv9a6IZ7e5ROkPH8pEAuej6YZkU5362lE73SfpMJCVPE5WKKGcP
-kvOMD6AZiDy++8qfucMS8GE/I/QXSvjLBmvLZOPi3UDdCqf4JSwQWnXOhw9Ulrxw
-LUPThbgg/8pOJRax3C1xiMRDBPP2hNVTEr0hLjjY8t7GlS/iMmNE5Hud20MkIIQT
-eGVsygc9G1mVnJCJzXGbWTGmHe0QUDlrTpuT7HH37a9cRLjEF98XxGGbWa4yjI2A
-8Ae6SAZ6rUcKImXOH7bR
-=44vb
+iQEcBAEBCAAGBQJT5fWNAAoJEA2sAkrWKOU213QH/3AN//Z4TEc1MXx5N4LVyqUs
+knyer8cIupHVwKMWxjE5GyPH7TQbqJze5ZWy0VIr78UhPLB66A9+FtJvsoNt7N+8
+qSP3CUQ4Ywb23w+1PCmpXAm1t+5j+j/6SXGS2Ou02F5VnPLFSUiA8nSGqdJoUL0L
+2o6JaEA90l5K1ZaVDVYBj4A0PVRiYqEspIm80bZtwXe5FAft8VsSv0ihMSB572Of
+V6cJiCM5HvgK5JYza7JFR7cJ4bbuZmnX4B3vYJec2N/ZVi88XDeFiOCy/A0y3TME
+VI+3Ib/VPBX+SGICTMRiCZjea/XfRhYGko7fMSFt1OwHJpNqWQTMqhz2qhXS6Ug=
+=+XUT
-----END PGP SIGNATURE-----
diff --git a/net-irc/inspircd/files/inspircd-2.0.17-fix-path-builds.patch b/net-irc/inspircd/files/inspircd-2.0.17-fix-path-builds.patch
new file mode 100644
index 000000000000..a4e12bbda61f
--- /dev/null
+++ b/net-irc/inspircd/files/inspircd-2.0.17-fix-path-builds.patch
@@ -0,0 +1,208 @@
+diff -Nuar a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example
+--- a/docs/conf/inspircd.conf.example 2014-07-24 14:24:00.000000000 +0200
++++ b/docs/conf/inspircd.conf.example 2014-08-09 10:21:01.439999954 +0200
+@@ -412,11 +412,11 @@
+
+ # This file has all the information about oper classes, types and o:lines.
+ # You *MUST* edit it.
+-<include file="conf/examples/opers.conf.example">
++<include file="/etc/inspircd/opers.conf.example">
+
+ # This file has all the information about server links and ulined servers.
+ # You *MUST* edit it if you intend to link servers.
+-<include file="conf/examples/links.conf.example">
++<include file="/etc/inspircd/links.conf.example">
+
+ #-#-#-#-#-#-#-#-#-#- MISCELLANEOUS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
+ # #
+@@ -426,7 +426,8 @@
+ # motd - displayed on connect and when a user executes /MOTD
+ # rules - displayed when the user executes /RULES
+ # Modules can also define their own files
+-<files motd="conf/examples/motd.txt.example" rules="conf/examples/rules.txt.example">
++<files motd="/etc/inspircd/motd.txt.example"
++ rules="/etc/inspircd/rules.txt.example">
+
+ # Example of an executable file include. Note this will be read on rehash,
+ # not when the command is run.
+@@ -472,7 +473,7 @@
+ # the default of 'inspircd.pid' is used. #
+ # #
+
+-#<pid file="/path/to/inspircd.pid">
++<pid file="/var/run/inspircd/inspircd.pid">
+
+ #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+ # #
+@@ -953,7 +954,7 @@
+ # provide almost all the features of InspIRCd. :) #
+ # #
+ # The default does nothing -- we include it for simplicity for you. #
+-<include file="conf/examples/modules.conf.example">
++<include file="/etc/inspircd/modules.conf.example">
+
+ # Here are some pre-built modules.conf files that closely match the
+ # default configurations of some popular IRCd's. You still may want to
+@@ -965,10 +966,10 @@
+ # recommended that you make your own modules file based on modules.conf.example.
+
+ # Settings similar to UnrealIRCd defaults.
+-#<include file="conf/examples/modules/unrealircd.conf.example">
++#<include file="/etc/inspircd/modules/unrealircd.conf.example">
+
+ # Settings similar to Charybdis IRCd defaults.
+-#<include file="conf/examples/modules/charybdis.conf.example">
++#<include file="/etc/inspircd/modules/charybdis.conf.example">
+
+
+ #########################################################################
+diff -Nuar a/make/template/main.mk b/make/template/main.mk
+--- a/make/template/main.mk 2014-07-24 14:24:00.000000000 +0200
++++ b/make/template/main.mk 2014-08-09 10:24:59.039999948 +0200
+@@ -34,7 +34,7 @@
+ SYSTEM = @SYSTEM@
+ BUILDPATH = @BUILD_DIR@
+ SOCKETENGINE = @SOCKETENGINE@
+-CXXFLAGS = -pipe -fPIC -DPIC
++MYCXXFLAGS = -pipe -fPIC -DPIC
+ LDLIBS = -pthread -lstdc++
+ LDFLAGS =
+ CORELDFLAGS = -rdynamic -L. $(LDFLAGS)
+@@ -51,9 +51,9 @@
+ INSTMODE_LIB = 0644
+
+ @IFEQ $(CC) icc
+- CXXFLAGS += -Wshadow
++ MYCXXFLAGS += -Wshadow
+ @ELSE
+- CXXFLAGS += -pedantic -Woverloaded-virtual -Wshadow -Wformat=2 -Wmissing-format-attribute -Wall
++ MYCXXFLAGS += -pedantic -Woverloaded-virtual -Wshadow -Wformat=2 -Wmissing-format-attribute -Wall
+ @ENDIF
+
+
+@@ -75,41 +75,41 @@
+ INSTALL = ginstall
+ @ENDIF
+ @IFEQ $(SYSTEM) darwin
+- CXXFLAGS += -DDARWIN -frtti
++ MYCXXFLAGS += -DDARWIN -frtti
+ LDLIBS += -ldl
+ CORELDFLAGS = -dynamic -bind_at_load -L. $(LDFLAGS)
+ PICLDFLAGS = -fPIC -shared -twolevel_namespace -undefined dynamic_lookup $(LDFLAGS)
+ @ENDIF
+ @IFEQ $(SYSTEM) interix
+- CXXFLAGS += -D_ALL_SOURCE -I/usr/local/include
++ MYCXXFLAGS += -D_ALL_SOURCE -I/usr/local/include
+ @ENDIF
+
+-@IFNDEF D
+- D=0
++@IFNDEF DEBUGLEVEL
++ DEBUGLEVEL=0
+ @ENDIF
+
+ DBGOK=0
+-@IFEQ $(D) 0
+- CXXFLAGS += -O2
++@IFEQ $(DEBUGLEVEL) 0
++ MYCXXFLAGS += -O2
+ @IFEQ $(CC) gcc
+- CXXFLAGS += -g1
++ MYCXXFLAGS += -g1
+ @ENDIF
+ HEADER = std-header
+ DBGOK=1
+ @ENDIF
+-@IFEQ $(D) 1
+- CXXFLAGS += -O0 -g3 -Werror
++@IFEQ $(DEBUGLEVEL) 1
++ MYCXXFLAGS += -O0 -g3 -Werror
+ HEADER = debug-header
+ DBGOK=1
+ @ENDIF
+-@IFEQ $(D) 2
+- CXXFLAGS += -O2 -g3
++@IFEQ $(DEBUGLEVEL) 2
++ MYCXXFLAGS += -O2 -g3
+ HEADER = debug-header
+ DBGOK=1
+ @ENDIF
+ FOOTER = finishmessage
+
+-CXXFLAGS += -Iinclude
++MYCXXFLAGS += -Iinclude
+
+ @GNU_ONLY MAKEFLAGS += --no-print-directory
+
+@@ -128,10 +128,11 @@
+ @ENDIF
+
+ @IFDEF PURE_STATIC
+- CXXFLAGS += -DPURE_STATIC
++ MYCXXFLAGS += -DPURE_STATIC
+ @ENDIF
+
+-@DO_EXPORT RUNCC RUNLD CXXFLAGS LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS
++MYCXXFLAGS += $(CXXFLAGS)
++@DO_EXPORT RUNCC RUNLD MYCXXFLAGS LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS
+ @DO_EXPORT SOURCEPATH BUILDPATH PURE_STATIC SPLIT_CC
+
+ # Default target
+@@ -144,10 +145,10 @@
+ @GNU_ONLY TARGET = modules/$(M:.so=).so
+ @ENDIF
+
+-@IFDEF T
++@IFDEF TGT
+ HEADER =
+ FOOTER = target
+- TARGET = $(T)
++ TARGET = $(TGT)
+ @ENDIF
+
+ @IFEQ $(DBGOK) 0
+@@ -222,8 +223,8 @@
+ @-$(INSTALL) -d -o $(INSTUID) -m $(INSTMODE_DIR) $(BASE)/data
+ @-$(INSTALL) -d -o $(INSTUID) -m $(INSTMODE_DIR) $(BASE)/logs
+ @-$(INSTALL) -d -m $(INSTMODE_DIR) $(BINPATH)
+- @-$(INSTALL) -d -m $(INSTMODE_DIR) $(CONPATH)/examples/aliases
+- @-$(INSTALL) -d -m $(INSTMODE_DIR) $(CONPATH)/examples/modules
++ @-$(INSTALL) -d -m $(INSTMODE_DIR) $(CONPATH)/aliases
++ @-$(INSTALL) -d -m $(INSTMODE_DIR) $(CONPATH)/modules
+ @-$(INSTALL) -d -m $(INSTMODE_DIR) $(MODPATH)
+ [ $(BUILDPATH)/bin/ -ef $(BINPATH) ] || $(INSTALL) -m $(INSTMODE_BIN) $(BUILDPATH)/bin/inspircd $(BINPATH)
+ @IFNDEF PURE_STATIC
+@@ -231,9 +232,9 @@
+ @ENDIF
+ -$(INSTALL) -m $(INSTMODE_BIN) @STARTSCRIPT@ $(BASE) 2>/dev/null
+ -$(INSTALL) -m $(INSTMODE_LIB) tools/gdbargs $(BASE)/.gdbargs 2>/dev/null
+- -$(INSTALL) -m $(INSTMODE_LIB) docs/conf/*.example $(CONPATH)/examples
+- -$(INSTALL) -m $(INSTMODE_LIB) docs/conf/aliases/*.example $(CONPATH)/examples/aliases
+- -$(INSTALL) -m $(INSTMODE_LIB) docs/conf/modules/*.example $(CONPATH)/examples/modules
++ -$(INSTALL) -m $(INSTMODE_LIB) docs/conf/*.example $(CONPATH)
++ -$(INSTALL) -m $(INSTMODE_LIB) docs/conf/aliases/*.example $(CONPATH)/aliases
++ -$(INSTALL) -m $(INSTMODE_LIB) docs/conf/modules/*.example $(CONPATH)/modules
+ @echo ""
+ @echo "*************************************"
+ @echo "* INSTALL COMPLETE! *"
+@@ -246,7 +247,7 @@
+ @echo ' Data:' $(DATPATH)
+ @echo 'To start the ircd, run:' $(BASE)/inspircd start
+ @echo 'Remember to create your config file:' $(CONPATH)/inspircd.conf
+- @echo 'Examples are available at:' $(CONPATH)/examples/
++ @echo 'Examples are available at:' $(CONPATH)
+
+ @GNU_ONLY RCS_FILES = $(wildcard .git/index src/version.sh)
+ @BSD_ONLY RCS_FILES = src/version.sh
+diff -Nuar a/make/unit-cc.pl b/make/unit-cc.pl
+--- a/make/unit-cc.pl 2014-07-24 14:24:00.000000000 +0200
++++ b/make/unit-cc.pl 2014-08-09 10:25:15.089999947 +0200
+@@ -97,7 +97,7 @@
+ my $libs = '';
+ my $binary = $ENV{RUNCC};
+ if ($do_compile) {
+- $flags = $ENV{CXXFLAGS};
++ $flags = $ENV{MYCXXFLAGS};
+ $flags =~ s/ -pedantic// if nopedantic($file);
+ $flags .= ' ' . getcompilerflags($file);
+
diff --git a/net-irc/inspircd/files/inspircd-2.0.17-init b/net-irc/inspircd/files/inspircd-2.0.17-init
new file mode 100644
index 000000000000..f0904fcf051d
--- /dev/null
+++ b/net-irc/inspircd/files/inspircd-2.0.17-init
@@ -0,0 +1,39 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/files/inspircd-2.0.17-init,v 1.1 2014/08/09 10:17:36 nimiux Exp $
+
+extra_commands="rehash version"
+
+depend() {
+ need net
+ provide ircd
+}
+
+start() {
+ ebegin "Starting InspIRCd"
+ checkpath -d -m 0750 -o inspircd:inspircd /var/run/inspircd
+ start-stop-daemon --start --quiet --user inspircd \
+ --exec /usr/bin/inspircd -- \
+ --config /etc/inspircd/inspircd.conf \
+ --logfile /var/log/inspircd/ircd.log
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping InspIRCd"
+ start-stop-daemon --stop --quiet --exec /usr/bin/inspircd
+ eend $?
+}
+
+rehash() {
+ ebegin "Rehashing InspIRCd"
+ /usr/lib/inspircd/inspircd.launcher/inspircd rehash
+ eend $?
+}
+
+version() {
+ ebegin "Retrieve InspIRCd version"
+ /usr/lib/inspircd/inspircd.launcher/inspircd version
+ eend $?
+}
diff --git a/net-irc/inspircd/inspircd-2.0.17.ebuild b/net-irc/inspircd/inspircd-2.0.17.ebuild
new file mode 100644
index 000000000000..b2ae2e535a4f
--- /dev/null
+++ b/net-irc/inspircd/inspircd-2.0.17.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/inspircd-2.0.17.ebuild,v 1.1 2014/08/09 10:17:36 nimiux Exp $
+
+EAPI=5
+
+inherit eutils multilib toolchain-funcs user
+
+DESCRIPTION="Inspire IRCd - The Stable, High-Performance Modular IRCd"
+HOMEPAGE="http://inspircd.github.com/"
+SRC_URI="http://www.github.com/inspircd/inspircd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="geoip gnutls ipv6 ldap mysql pcre posix postgres sqlite ssl tre"
+
+RDEPEND="
+ dev-lang/perl
+ ssl? ( dev-libs/openssl )
+ geoip? ( dev-libs/geoip )
+ gnutls? ( net-libs/gnutls dev-libs/libgcrypt:0 )
+ ldap? ( net-nds/openldap )
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql-server )
+ pcre? ( dev-libs/libpcre )
+ sqlite? ( >=dev-db/sqlite-3.0 )
+ tre? ( dev-libs/tre )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+ # Patch the inspircd launcher with the inspircd user
+ sed -i -e "s/@UID@/${PN}/" "${S}/make/template/${PN}" || die
+
+ epatch "${FILESDIR}/${P}-fix-path-builds.patch"
+}
+
+src_configure() {
+ local extras=""
+ local essl="--enable-openssl"
+ local egnutls="--enable-gnutls"
+ local dipv6="--disable-ipv6"
+
+ use geoip && extras="${extras}m_geoip.cpp,"
+ use gnutls && extras="${extras}m_ssl_gnutls.cpp,"
+ use ipv6 && dipv6=""
+ use ldap && extras="${extras}m_ldapauth.cpp,m_ldapoper.cpp,"
+ use mysql && extras="${extras}m_mysql.cpp,"
+ use pcre && extras="${extras}m_regex_pcre.cpp,"
+ use posix && extras="${extras}m_regex_posix.cpp,"
+ use postgres && extras="${extras}m_pgsql.cpp,"
+ use sqlite && extras="${extras}m_sqlite3.cpp,"
+ use ssl && extras="${extras}m_ssl_openssl.cpp,"
+ use tre && extras="${extras}m_regex_tre.cpp,"
+
+ use !ssl && essl=""
+ use !gnutls && egnutls=""
+
+ if [ -n "${extras}" ]; then
+ ./configure --disable-interactive --enable-extras=${extras}
+ fi
+
+ ./configure \
+ --with-cc="$(tc-getCXX)" \
+ --disable-interactive \
+ --prefix="/usr/$(get_libdir)/${PN}" \
+ --config-dir="/etc/${PN}" \
+ --data-dir="/var/lib/${PN}/data" \
+ --log-dir="/var/log/${PN}" \
+ --binary-dir="/usr/bin" \
+ --module-dir="/usr/$(get_libdir)/${PN}/modules" \
+ ${essl} ${egnutls} ${dipv6} || die
+}
+
+src_compile() {
+ emake V=1 LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}"
+}
+
+src_install() {
+ emake INSTUID=${PN} \
+ BINPATH="${D}/usr/bin" \
+ BASE="${D}/usr/$(get_libdir)/${PN}/inspircd.launcher" \
+ MODPATH="${D}/usr/$(get_libdir)/${PN}/modules/" \
+ CONPATH="${D}/etc/${PN}" install
+
+ insinto "/usr/include/${PN}"
+ doins include/*
+
+ diropts -o"${PN}" -g"${PN}" -m0700
+ dodir "/var/lib/${PN}"
+ dodir "/var/lib/${PN}/data"
+
+ newinitd "${FILESDIR}/${P}-init" "${PN}"
+ keepdir "/var/log/${PN}"/
+}
+
+pkg_postinst() {
+ elog "Before starting ${PN} the first time, you should create"
+ elog "the /etc/${PN}/${PN}.conf file."
+ elog "You can find example configuration files under /etc/${PN}"
+ elog "Read the ${PN}.conf.example file carefully before "
+ elog "(re)starting the service."
+ elog
+}