summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé María Alonso <nimiux@gentoo.org>2014-01-27 11:48:45 +0000
committerJosé María Alonso <nimiux@gentoo.org>2014-01-27 11:48:45 +0000
commitd4094c8c47fe69e51d601a8e8506a948d6853fb5 (patch)
tree04fabc1c05f7e177f676dd3b7c9c2a1194ab3f24 /net-irc/inspircd
parentRemove old development versions (diff)
downloadhistorical-d4094c8c47fe69e51d601a8e8506a948d6853fb5.tar.gz
historical-d4094c8c47fe69e51d601a8e8506a948d6853fb5.tar.bz2
historical-d4094c8c47fe69e51d601a8e8506a948d6853fb5.zip
Bump to version 2.0.15
Package-Manager: portage-2.2.7/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.15-fix-path-builds.patch208
-rw-r--r--net-irc/inspircd/files/inspircd-2.0.15-init39
-rw-r--r--net-irc/inspircd/inspircd-2.0.15.ebuild109
5 files changed, 375 insertions, 15 deletions
diff --git a/net-irc/inspircd/ChangeLog b/net-irc/inspircd/ChangeLog
index da7b34758cff..fa5ffa006e60 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.90 2014/01/08 06:36:46 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.91 2014/01/27 11:48:35 nimiux Exp $
+
+*inspircd-2.0.15 (27 Jan 2014)
+
+ 27 Jan 2014; Chema Alonso <nimiux@gentoo.org> +inspircd-2.0.15.ebuild,
+ +files/inspircd-2.0.15-fix-path-builds.patch, +files/inspircd-2.0.15-init:
+ Version bump
08 Jan 2014; Mike Frysinger <vapier@gentoo.org> inspircd-2.0.13.ebuild,
inspircd-2.0.14.ebuild:
diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest
index 43b89c53061e..4297f11d8a58 100644
--- a/net-irc/inspircd/Manifest
+++ b/net-irc/inspircd/Manifest
@@ -5,26 +5,24 @@ AUX inspircd-2.0.13-fix-path-builds.patch 7322 SHA256 7c598e53550f4a82de164dabe0
AUX inspircd-2.0.13-init 917 SHA256 1cb1d0496843db94862951dde7e661d2388dde8e061cfb8fd8363df8e106b785 SHA512 f33e02a0611c5088427d10bccf49b239dba59168184c64ca9658201ce370f4356ef8e80bc2d4d45f841627fbc89f8c11863c8a8ba25329e89fda4642ddea6e2e WHIRLPOOL 9dcd0ba963a57a51ea71f150385f7e5aed86b6c09850e35ccce75ea4f51882ed57d074af9d5f9d90797ebd9e7dd84d5a4bc5f4471eb4de1072749975ada1a120
AUX inspircd-2.0.14-fix-path-builds.patch 7327 SHA256 bd8abdf1e21f9dc42dbfb9e0006d332e77722b4b373d640b22d37c0fae79c9de SHA512 a23303599ade69c10bdfa9fcffa05a49728db8084801e330934d4566e07be399baa0111eeb55315d425ceee498429f653050c30c85802cce027eeb021fd20a14 WHIRLPOOL d54255b36b9df44f0b4336c9189a78da68ef8b848637ea1e4b4bb93d45f43c102512677e7833eb3f6a081b7505fe71c123302b61b32f72debbd5cf1ad929db9c
AUX inspircd-2.0.14-init 917 SHA256 43a9ddf664b87ebe4ad02afe9a56ed5fb10f3367b46c0bb96b49c6ded1d9217e SHA512 32a35102ef973a827599135fbb6bca5b461bfc4566384cde0d30d0b94ce7a1a942e7dccf6fe6a6fd0cd8c31d6eb55fecff52606ebd7ef46ca46f87f1df48da8b WHIRLPOOL b5c3845cc4405a7d9b8ea17c9d1d37bfecf9a0b963e5950c5151a6e21df792ab02871a2c5b17fc5b92853631d444bffa41c8efd84b9dfd503296f9acecbffb53
+AUX inspircd-2.0.15-fix-path-builds.patch 7327 SHA256 cd5cc3ce576702e752ecd4bae9aa07e6784ed03428eedf748c63ab119940007f SHA512 6edb2ce79a8bf7fceb697d7f37097f47f35a3c0df0b19e685713f26c73c109fc6a07dc8dda1f072a89d48f01d403b111fd4be18535b6d649ad28585fae05bdc0 WHIRLPOOL 7014dbcda3986fa806124dfc6e3d06823aaab2b821892bfab8874860cb83390b6d00334b0512dd42f44a05d34171ce6dad604d539bfe799dde67cf91afddd958
+AUX inspircd-2.0.15-init 917 SHA256 15faeb543973ae5bb2d97677b18d2604330327989e9abe264739665e8a1ba7d9 SHA512 b893c361a7022a9ba0f7ffb9d5e433f77ba1eb528a2a5b8d5eb7bc63b9ee010ef791573c5f3aa8dc938eb0b8b44bcccc73f32450e7cd3ead8c0388105af2c570 WHIRLPOOL c39ece92dba12f57b5ab712dae7cc4795dc5fa98d00857de43704ee41de2bcb8cb7e0cc44da4b71d32f0471ba85e0618a5177f240ed7587fed690001a082d45b
DIST inspircd-2.0.13.tar.gz 741208 SHA256 f0c3753b2c54ec7581dc31b0c99b343bd7431f87c89c1017239e2ce33a5c2fbe SHA512 d6901b706294b7c60e55fedb162f2e27d5200fac974f90fd8ba8175958f0c76e01c78b0ab52c4eb73e567dfbb83dba441e03279ec58c3759af0312729f4b235a WHIRLPOOL 7175993580630d6c42030e1bf9bd623aa10d117a2a3c96297de7370abe07dd382988ce1f9a920c6f50a7a2750a153868e415fdd39ad470c2110a140ea363ca63
DIST inspircd-2.0.14.tar.gz 742220 SHA256 c74138afd2cb5ea0e099ceeb8470327de2e92e18d51f63f1b3f11e6325e672dd SHA512 71b357d033d5eafa82998c53490abb4ba6c4127e2e3f7cc7c32e50610d665dfaf61e044fac35f42aa1c52527800c80021567ef410db41e067512ecefc104a8ef WHIRLPOOL 22b0a695b5765ff4e10d2fa8dfe8c9e990c91e3d063da69feedb92a9c90be73d5cd6f9936dc021115c21a097c2ca7940c547078e22581e88439f9e7e9b8388bc
+DIST inspircd-2.0.15.tar.gz 743719 SHA256 bb4fa81fcbec3861c9bf59f88d14348957bae42b240be85a03f4fac0cc2786ea SHA512 95a2dfbc6a98a4ced9068a0f79cf8439cf92867779b75b7aea33ddec45183d669e833e78eb0b826174f6350a65bc2e44f95473ef1b78ea26c8d74c4833610cc1 WHIRLPOOL b8a5baa7cdd837da969de949314fb8bf0461fa89249585d9bced135705479ea7755ed05ba5dbb748808e8b03fc514943ed576dbce5fa2538645948b03a907acd
EBUILD inspircd-2.0.13.ebuild 3074 SHA256 95e0f611c45ec21ba1431e1f8a7e35bd6c04a4e75d4fd1ef4320f0ce8c71a2d1 SHA512 326635442bcc79d390d40b4be86192d67655a6421ea4d03c47dfecd6370a8b129d1c34a002ec1a969be845392c3d1501540cac5693affd1728833b6bdeff2d8f WHIRLPOOL d7dca91d019403938d07547f36879e87aac63fe749a4501164e84fdba7014886de7df515353593cc79389ff5c326073b414022591b8e91b0d556b2fe10ae0b88
EBUILD inspircd-2.0.14.ebuild 3074 SHA256 febb173efde4408696995334e36124d8ef06d44f5e90a6e4bceb604d07b130bd SHA512 85c3ecdc29a730bc80c76ed85fde0adf26b8fbba5092a83e46738c3ac9dfd23207171f91e4004281a2e4aab5e236330477324a9ecd722a1fd235e4311a52eac9 WHIRLPOOL 3fdc112c8318377b090d5eeb3ea96c0e196b978de849d31c496275cec42e70c204e724df2ed95d405ae69d3ffed6f6b7bc5dc3ca6df4834b0a96153d6bf7e5e4
-MISC ChangeLog 15615 SHA256 16531cc5cff0dcac2753bbd18c3f0db14f96dadfca4c62a602a719ec5b154b35 SHA512 afb5a2555ce8b65327a300846e19a03cd2c37c30b31320d13d843dbc83ee063b745d6cf785a76f0afb0ee3c17c5684636fdbd3ae1c4d5352a120ba0bfc22c220 WHIRLPOOL 0e9b615ad29b44284e07e261ea9ad94ce2cf94303d62e448914d6f62ccfccbc9fdce4ba039f73f20bd4b2023d428c2a9c93280d13e515beede909d5630c23974
+EBUILD inspircd-2.0.15.ebuild 3076 SHA256 2bd68d206785687e8c5b304c8b237487173978dc48d896c28ca3aa02411c3573 SHA512 4044dd9269e5f5d261d846091be91c6fd067e8950455bcfd81c74c535beebbb1d3aabb2b2644aa21c18b78132686695705b5ed8155618a825465c5b7febef52f WHIRLPOOL 95d073221d8b5993fd6e945b0680207a7e656b6de21170fcd5c999f83a490eec8bff5af37553afb8ad2ab10bbac7dd631bb1f9b6fa60c2cd989df7de9e177060
+MISC ChangeLog 15813 SHA256 d1ff9b67a317d3c6a12bd139e78ef965c5499375599954b8929bf4dbd160061a SHA512 d997b9cd0d0591f8249aa3d8424d039f3dde8de6fe2ed14c6aa5c86f7b88d9403b4260c43beed01ab86f2162f415a529ebc03fa0367da1e79c3cc47221f5ffdf WHIRLPOOL 9dfaf4039a1974f50574e8aad8142f898c47d82e2fd8f98a3404e8b16766b12176e9ac4db67b3315168ca6608d45617143894f8ea66d4d5a87193a66f3b8be2d
MISC metadata.xml 1678 SHA256 e6f968762672f557e56e3738a12e9b12a6dc3adb603f5369cb65904601f0ae8a SHA512 b335ee15d2480b45b1d889d2036b045efd168586e4643a223bff5ceedf04b91fffafd6ea8ee7c46649769719529c3e6e972e8a5c761354847b6a161b48fbfa26 WHIRLPOOL ea6af77a612fb122cec0bcf75989d0366a4a054e1fe8826eeb4b9d2eed68b5a77206fef118ee72c9d43e447e0885a79d80f0503b0b2c4b76498feaa33b1ef606
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJSzPIGAAoJEPGu1DbS6WIATjwP/3HPdm9XfAFk1nxm3i2I45y4
-5wNc3IkKEIav1I543u8U/EH4o6u/5o+OHHCvn/xkhykdW14s6ggEGNef0gUkQHMd
-cM/tnMnCvedXc6kCt2jCaMdQfStU11gk4+6L4rXUJ6vCc62zW9okU6V6ZYcCD8Ga
-QKCfX+4vQ7F6sO9j7vHB2J08GltpwvwIyiwOH3L9yuos0x2JJI11u5MLnsDxY3bd
-A/Y4L60Ypn2FDOUuuX3u5KKhtC0eQ9sevNt5RUpf1W5icoOg+ZjDXHDiasfXoD8H
-1vbr+7fB0oZOz+W31bMGgf3qfn0q3BdVSV61fTj6NAgXeRsU7E4OVIiEEUWe6K0S
-Pu0smTyg5ZkNU29795pysGNRcr+L5aRVsYkATqQ80KWkWDR0n5TNlB/k0ina9NfV
-AldG432QsTeLM+rddTa9TpXCzpN12rCwREx6jNaTdxjIjTVd8bhMcHx6vi9FivvN
-IZiHtGIi9kqh+MMzK9l452QJwqd1OSDo6qoxPZ5ARY33ahdryMDDW4IYRhQ6v+Wq
-nO6XuRCXVYQYzV2bXaM1kE22WCmTvbCQ1ukfc+oJ9lToenF0pnhxy2eF/GPp2ciK
-t+nf87vSDyV8ACpd2V5x0WzdIjPgE2FvkYQ4NA8IizCV3SKoTAXHxHInc3SNtzsB
-egSDuKuku7Jc7rl21i2e
-=YDGN
+iQEcBAEBCAAGBQJS5kfMAAoJEA2sAkrWKOU2qAkH/3thirlHe0PgjZ36vTvSifQd
+QECmGpO3mhKiQNAUrtdWdEAPbBrOJb4eAOX+oBCmiPqStDNTp5vEU5+NZS+yMOs8
+Ct2Hvb7A8yMdI8dleduyFp5mSE9wwsDf+Zd8LPVFGs7GvXAV9xfDoeyIPxFQjxzi
+mQq/NKG8nkMGNDIuBXch9SlxzR1F4s99qb7eqqzrg1tdkO1hcDt6IqUfjZt9Hubh
+iORyfPUZ4PuEchGPSiKZAyy9Dr23KlFqYY+M+UzD+YvCP28/vtDIbC3o66X2GSCW
+aWJiQvnCIxj6jJa4WBY5agtIE1HaWHHdEd0jT0eiLkgcsEoCbmOtEJQzLj6n1ds=
+=+2BZ
-----END PGP SIGNATURE-----
diff --git a/net-irc/inspircd/files/inspircd-2.0.15-fix-path-builds.patch b/net-irc/inspircd/files/inspircd-2.0.15-fix-path-builds.patch
new file mode 100644
index 000000000000..bc6121d2dea6
--- /dev/null
+++ b/net-irc/inspircd/files/inspircd-2.0.15-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-01-21 14:13:25.000000000 +0100
++++ b/docs/conf/inspircd.conf.example 2014-01-27 12:07:50.189947703 +0100
+@@ -415,11 +415,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 -#-#-#-#-#-#-#-#-#-#
+ # #
+@@ -429,7 +429,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.
+@@ -475,7 +476,7 @@
+ # the default of 'inspircd.pid' is used. #
+ # #
+
+-#<pid file="/path/to/inspircd.pid">
++<pid file="/var/run/inspircd/inspircd.pid">
+
+ #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+ # #
+@@ -957,7 +958,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
+@@ -969,10 +970,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-01-21 14:13:25.000000000 +0100
++++ b/make/template/main.mk 2014-01-27 12:12:11.749946234 +0100
+@@ -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-01-21 14:13:25.000000000 +0100
++++ b/make/unit-cc.pl 2014-01-27 12:12:25.179946158 +0100
+@@ -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.15-init b/net-irc/inspircd/files/inspircd-2.0.15-init
new file mode 100644
index 000000000000..992da09f280b
--- /dev/null
+++ b/net-irc/inspircd/files/inspircd-2.0.15-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.15-init,v 1.1 2014/01/27 11:48:35 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.15.ebuild b/net-irc/inspircd/inspircd-2.0.15.ebuild
new file mode 100644
index 000000000000..d1e9d5a460f2
--- /dev/null
+++ b/net-irc/inspircd/inspircd-2.0.15.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.15.ebuild,v 1.1 2014/01/27 11:48:35 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 )
+ 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
+}