diff options
author | José María Alonso <nimiux@gentoo.org> | 2013-05-11 19:34:15 +0000 |
---|---|---|
committer | José María Alonso <nimiux@gentoo.org> | 2013-05-11 19:34:15 +0000 |
commit | 05fa4c7bc7f23446399e66230a90392f739f719c (patch) | |
tree | a66c509599de6a392a524e045ca75d6a627101aa /net-irc | |
parent | Pull in sys-fs/udisks:2 instead of :0 (diff) | |
download | historical-05fa4c7bc7f23446399e66230a90392f739f719c.tar.gz historical-05fa4c7bc7f23446399e66230a90392f739f719c.tar.bz2 historical-05fa4c7bc7f23446399e66230a90392f739f719c.zip |
Revision bump
Package-Manager: portage-2.1.11.62/cvs/Linux x86_64
Manifest-Sign-Key: 0xD628E536
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/inspircd/ChangeLog | 8 | ||||
-rw-r--r-- | net-irc/inspircd/Manifest | 28 | ||||
-rw-r--r-- | net-irc/inspircd/files/inspircd-2.0.12-fix-path-builds.patch | 208 | ||||
-rw-r--r-- | net-irc/inspircd/files/inspircd-2.0.12-init | 39 | ||||
-rw-r--r-- | net-irc/inspircd/inspircd-2.0.12.ebuild | 101 |
5 files changed, 368 insertions, 16 deletions
diff --git a/net-irc/inspircd/ChangeLog b/net-irc/inspircd/ChangeLog index a8889559ab1b..a4c50450e1e4 100644 --- a/net-irc/inspircd/ChangeLog +++ b/net-irc/inspircd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-irc/inspircd # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.77 2013/05/10 09:42:39 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.78 2013/05/11 19:34:01 nimiux Exp $ + +*inspircd-2.0.12 (11 May 2013) + + 11 May 2013; Chema Alonso <nimiux@gentoo.org> +inspircd-2.0.12.ebuild, + +files/inspircd-2.0.12-fix-path-builds.patch, +files/inspircd-2.0.12-init: + Revision bump 10 May 2013; Agostino Sarubbo <ago@gentoo.org> inspircd-2.0.11.ebuild: Stable for x86, wrt bug #469200 diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest index 8bd3a353cb84..f21e318899be 100644 --- a/net-irc/inspircd/Manifest +++ b/net-irc/inspircd/Manifest @@ -1,31 +1,29 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX inspircd-2.0.10-fix-path-builds.patch 7231 SHA256 00bd6ab4a9cd823d33513eb339396d9e47e3c024b8f43ab613a37cc1fee1e291 SHA512 0a759d3b55b23dc8f4054b9a4554c8d68395a187be3853881445663f831e86fc1098866d0800c939054b6899f4bacf3dac16e076e01278b57a9335ca4e5b2884 WHIRLPOOL 7d45470db91a1871e9dc17f178b1439d00f2e063f3399c8a9c957ec39c43218a8ed9637d2f2731d1f1f272acb6e0007e704a40182ede568a45a41da6ea626a5e AUX inspircd-2.0.10-init 917 SHA256 6b0b81e69b156f5a8d85c2ae47ea904032de65584ee304342e5715c29710c368 SHA512 0c2be8690bcdfed10d645f73c615df16c952f4692e7bd7146a241d094b96dc55bfe128a62c1322880528d4113d8bf18cfa560392eaf95b52209eafc62100bbdb WHIRLPOOL 10953ecad02340adbf746a388e0e9d61ab32940707c84973d8581dd4f20fa677a8a1d80e332ae8d821e75e8c25029ba4aec32045d127743ab3d0fa7a888d0723 AUX inspircd-2.0.11-fix-path-builds.patch 7320 SHA256 7706d0596a166456318ce3a7d8e213c633b3ff16bb304b24bf91e4b9f2757348 SHA512 fe3b6568290eed3bc960ebcfe85baa1424269a0484c2930b8a839d59e636d9920e907cd588c9eeb4a1636a5b85d696a23b1840d8d77394ad53a1b64653a038eb WHIRLPOOL 508af4e527c933689876b34b482097e26897d057a144c1b45b24a6ed50b3ddd6bc996bb733ed8ebbd2d96a0847fec2cbbcdb5a149da44c8986753039b88d868d AUX inspircd-2.0.11-init 917 SHA256 93e3c8a96ae88f78ccd1ed42f897b0ee357f2cfdb19112d7c48a83055aacd50c SHA512 618067eb690bdc9459ee7399e96a38351526f0eee3e26b78401e2dc93a8cb9e13fe0134825089581c19698781edbc390120c4d0bb810a9ea128ec340263dc967 WHIRLPOOL 2751cca3d339507c4e0235a1450ed9f44971fae16f581a7f2205480239c16e83d226c7458d17ae690dbff44699827625271f7dd13b082e8fbd19dbb61aa6f7ec +AUX inspircd-2.0.12-fix-path-builds.patch 7322 SHA256 acfc5f50fb638134c4c639a3d8f97810afb9aaa350430f7991a83fd033509cb4 SHA512 c178ab5711ff7e9d5ab32b9fa956d18e4694b4a54cde7beb7f7b47a58ebe0218b9c518568c420ad4ff012fda2f74bff5ca4706d440218e768ad83d9f0afaae46 WHIRLPOOL 195f888c6d6c0f152dc93b19eb4a840fa413ea42768893b744c243a1d5bf2326280de4c4fc2bc1974ed3b4d861a30c00f551d69515e4edffe51e36550f25da64 +AUX inspircd-2.0.12-init 917 SHA256 525668a23ac1a6afdd260fdd9762b6b634bfa09d4dc8e8cec4f5e412c165a3ac SHA512 547b206e1998aaf54a12f9cd69d966f94b7d03f1ff9c9d59dee02f39f8cb1a131722e5efc36eb0e6a8a7bcaff2e70a7aa86e152a51c6382a9e5bf9d369476b75 WHIRLPOOL 9b4d9a1bbfe6e7d50f77eaea24570c05a19fad0a584dbca64e88a60af2eb04747f814392e55e6fc4aa3edb945e6bdf1d39e49b77d2b5dc0b5f1b4d71b2a16174 DIST inspircd-2.0.10.tar.gz 739126 SHA256 1f805a318677270a7bbf6a5abaeee5427e863a749ae69f16879014ff99a11f59 SHA512 fedff2e023066cedaa3ac5144aeff1ffc0930445cafcea1ebbed0946392cfa9a9ac42057151c70a8184af4d01d45f451c9b8d0481b7336f118e3e298875c9c27 WHIRLPOOL d6440e7e1db51518d9713a7df475984293be96e88a6ff00920617874bde5be54bafeeecc5e04a74e605efbdf812df13d99eccaee148a5e07efe730584091277f DIST inspircd-2.0.11.tar.gz 739153 SHA256 6b01e347d2383306291af45dddbe30783fb4d889a523f82f54f4bee36560af7f SHA512 a9978361f8a3a76f4732407020f17207c32527ef70b6c89a8b99d40a0a5068487258f54800155cabc9250d9539f85218b6237a397b259d03b0814f0ff3baf222 WHIRLPOOL 9191019fad3a3d807ae58c7bcb5410d3be1fc07de90e567ec0a177816c1fd63824cca943d4c216895ef131e2113c9683010cd7691c965ece75c48f2477027568 +DIST inspircd-2.0.12.tar.gz 740630 SHA256 82963045f72238ae94277a31d9174104290329cf52261b624dd96511849dfad3 SHA512 c03069f1399e8cc23a35d7e58664882fcd0e832a114ce1f26ddd4b8c600b88171180e2212e5eff4fe5a64dc52602f7d251d787c5a724d2dda8496b450426aaff WHIRLPOOL e6088b1d7852b549e8bb4a4387744c451075394c7126435aeafc3c358384d48450fdb4c1ba45e00e9956d1a8fce7fd20193ecb8cbea9eeb2c6e7af4b5577f33d EBUILD inspircd-2.0.10-r1.ebuild 2839 SHA256 4b08d362fdd1b118a20bb148e921d49cee58513ef8826ad1d406824579264dc4 SHA512 8cd17db30d6e27f9f082ef20797d269f7428c6a4393aad90586a7321762ac14a0c18faa202756aab98de7e83430f387cafb49a75ea9d2cecb2892c3e86fcb549 WHIRLPOOL bef854d995bc248b1816f12fcef5ecece45d7426b60aa7d6ae0e4731238cef09d65a1a4dd4b8bb8c60466a19b7eaccb7210d5e78105ca0f82133981361c8a42e EBUILD inspircd-2.0.10.ebuild 2824 SHA256 5942ce639595ddc186352c8a1df5111258fb2310285c204ddeb88b541aba4a69 SHA512 d2ab27c78b3c73cd37c23dc7b6dfeec2adee184d0cbc7e7b5560b03d7b292929e16d0c9c030cfb0e67ac0d5ed496c6b2a033a5b1209f4e590ecae5d4cd9743fe WHIRLPOOL be8f38f224440582d532a7e91a2f5cce3a02ffd5f70ae93cd43120553e2bbd87c38e0cca83327d7d82f13eb6cee749d82f357b78d7fcecf10b1133740512ac34 EBUILD inspircd-2.0.11.ebuild 2836 SHA256 b97d8741ea92df75061cc9f090f0375b93951e0fa3bab84f2db0c5b679aef2ae SHA512 3e915e0bb0289922b5cbc68746a50b47c1c6a9e6440dd7eb2201db2120d6292b9eab0872ab745ed13ad9eb15201538a42b1af725511601b71380edc08162d83a WHIRLPOOL 00bceb747d6fc92bee6ee7d54d19a26e79ccf07236be2e9279881817d4ee828d99740beee4daa56ab2f1e26a8c067e2da47b8eb4779096be742ea0b975aaf2d0 -MISC ChangeLog 13578 SHA256 f2c227c53492e793b8ad9dc101bdd4f33871ded90649de6f5c8b5c84d1c40373 SHA512 8e8fb7c52762d511d476bdf59bc6ff672828e3d7e99febd59c506dc8e6253d54ff5f055fd54e876fcd74cee512ba0973111c443d3da7c2decfe3bfa9fc7d74ca WHIRLPOOL 3a8d98eebc2935cd272b6c54bd32a19cc5168f46bea3542c1c72c0fe9f7e8a84057320fefbf4b756bc45dec66785661ac29da5c56703721508d20eee8adbe852 +EBUILD inspircd-2.0.12.ebuild 2841 SHA256 29029c634b6a5266336e7e298f9ca9c1921a09cf8f7e448d56c3080d5a4e934f SHA512 33bf893caccb0f153a44f4d0bd6aa4c7fb96441f3e6aa56ab50d3946f251055a015f6083a7426f8f988d3f04d216f0159373086316941b39bebc01d3ccd5db0d WHIRLPOOL 9137a00a5954f6ca90a4266e73f24874d89805cd9b0a4cda818af7add27cc03aeb0c06fb1fac5049dd656e47da7d55c15c80b127fc4cad5e6b08cbb22d9984af +MISC ChangeLog 13780 SHA256 dbb141706be74f48cd96766cdcd861fdd6d013deca8f4db35cc58928e1facfbd SHA512 d12cca9ddf070eaf3dcf01ccb3e5e87a08b2fb5086cb2f503006a0f863f55996a4d98f8c0a564519a2f300dccdd7e3fdd4c88f483cfca6c3606f4969a6068df4 WHIRLPOOL b11c776a44e9f5aa545b9f210044d9e13bde3eb6f94b26cd3385cf1c2b9e8368df2a00d355b541ea333a966ea8c4f2f18475c58cb04c3137a95f525ddf667b07 MISC metadata.xml 1678 SHA256 e6f968762672f557e56e3738a12e9b12a6dc3adb603f5369cb65904601f0ae8a SHA512 b335ee15d2480b45b1d889d2036b045efd168586e4643a223bff5ceedf04b91fffafd6ea8ee7c46649769719529c3e6e972e8a5c761354847b6a161b48fbfa26 WHIRLPOOL ea6af77a612fb122cec0bcf75989d0366a4a054e1fe8826eeb4b9d2eed68b5a77206fef118ee72c9d43e447e0885a79d80f0503b0b2c4b76498feaa33b1ef606 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCgAGBQJRjN0sAAoJELp701BxlEWfLOMP+wQzWROhFThvc9O0mNV6u+gE -GjVucLuwKvINS9LcNkbja8BDfYSEX0geOU7aetec5EGtMoBT12tlY08loOE1gBRV -sgGJyDPuD3K9WZMhDsVR87UY0JvxLXS2/5p0Zlk28wDPJ7CtkCZFOeu5y8w2zHFj -pvynuiIH3LR7kFP2jLte/3aJO3mxyHxdKB18Af3IvM1bDEl61WvDBuaWBRAOX8tC -wHaDPB8ZsFDK80QRlTK/V+8ivQIeeX0vlqFmC3yLsSrLfVPQwdV1XmXHZJ1f7+o3 -7hLJ7lix+j0y8UyeJlvdpowpX9BKxv1Nj5w54lTStrwSeSpLmhG9Xm42IHo3RTq7 -o44v+f3u9SiMJGwP+++PpcaHOWfk/oLsfZPaQY8ICcB/2+yHx3G22asZ3D7YonRw -uW+jhqtVJFq9HEcaKuQtfDcGSSVN7cgh3GMroO5PJ9nPJvcgW5WYWoKA6GTNt2Vt -o4jMaad9c2/hdQynotAGLmO03zYTr/5W/1/L4AMwmqLVHsdvXiBlg4oKCC7pprvC -vW/pJv5hwRIGinRk9eda2dBblOvM8hCARSreKbKr5b+Wef67RTtRy4BEwGPk8uIS -CiEC6OYQt1Hqe0uNuHqWISAIihFPh3lW1iIO/B+bnLjvYSqTPV8jzWzyXeDxNzX+ -UvZqniV7wh3oI/yTPWra -=Byfc +iQEcBAEBCAAGBQJRjp0wAAoJEA2sAkrWKOU2sRoIAIExejCl+WD8Qd7cLHCiU+6v ++7NXkVNYpphedh6sN24QIqwhwJicXWZzSLTjfobQ2YxErEP336IKiFRnRHa4/YXj +V25oBfMjqp1SYs7lxdbZmjU8f1oRF13YjN1U+V+HrkGopzZtA5HydkcDr6WTLcd0 +ZAR9forSa5o3BV4Pqwvu/l343DxaAMbj1QFB5kvlUe0dYllkS0ueBdbJ1awnrrui +Qjjt8m03TGsiPxpvL/W5CLn7AzDZpPgFjkqq4oU2FQRczgaW0GqIm6rNSGsaKqtX +vyMtWQ0C2D3qEakqoyrll0EESQDkDHbT6bTJPKgxlwKbxd350rE9k9P1f+Z93PM= +=ZHff -----END PGP SIGNATURE----- diff --git a/net-irc/inspircd/files/inspircd-2.0.12-fix-path-builds.patch b/net-irc/inspircd/files/inspircd-2.0.12-fix-path-builds.patch new file mode 100644 index 000000000000..48d0c29af67a --- /dev/null +++ b/net-irc/inspircd/files/inspircd-2.0.12-fix-path-builds.patch @@ -0,0 +1,208 @@ +diff -Nur a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example +--- a/docs/conf/inspircd.conf.example 2013-04-24 19:55:01.000000000 +0200 ++++ b/docs/conf/inspircd.conf.example 2013-05-11 20:33:07.789999907 +0200 +@@ -416,11 +416,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 -#-#-#-#-#-#-#-#-#-# + # # +@@ -430,7 +430,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. +@@ -476,7 +477,7 @@ + # the default of 'inspircd.pid' is used. # + # # + +-#<pid file="/path/to/inspircd.pid"> ++<pid file="/var/run/inspircd/inspircd.pid"> + + #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-# + # # +@@ -959,7 +960,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 +@@ -971,10 +972,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 -Nur a/make/template/main.mk b/make/template/main.mk +--- a/make/template/main.mk 2013-04-24 19:55:01.000000000 +0200 ++++ b/make/template/main.mk 2013-05-11 20:47:28.299999884 +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 -Nur a/make/unit-cc.pl b/make/unit-cc.pl +--- a/make/unit-cc.pl 2013-04-24 19:55:01.000000000 +0200 ++++ b/make/unit-cc.pl 2013-05-11 20:28:45.869999914 +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.12-init b/net-irc/inspircd/files/inspircd-2.0.12-init new file mode 100644 index 000000000000..a4057e302368 --- /dev/null +++ b/net-irc/inspircd/files/inspircd-2.0.12-init @@ -0,0 +1,39 @@ +#!/sbin/runscript +# Copyright 1999-2013 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.12-init,v 1.1 2013/05/11 19:34:01 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.12.ebuild b/net-irc/inspircd/inspircd-2.0.12.ebuild new file mode 100644 index 000000000000..7ab21cd59b33 --- /dev/null +++ b/net-irc/inspircd/inspircd-2.0.12.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/inspircd-2.0.12.ebuild,v 1.1 2013/05/11 19:34:01 nimiux Exp $ + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +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="" + + use geoip && extras="${extras}m_geoip.cpp," + 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 tre && extras="${extras}m_regex_tre.cpp," + + 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" \ + $(use_enable ssl openssl) $(use_enable gnutls) \ + $(use_enable ipv6) +} + +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 +} |