diff options
author | Nathan Phillip Brink <binki@gentoo.org> | 2012-02-21 02:17:49 +0000 |
---|---|---|
committer | Nathan Phillip Brink <binki@gentoo.org> | 2012-02-21 02:17:49 +0000 |
commit | 743fafdf1aa81150098da0917bd0f34ed6744435 (patch) | |
tree | 7a7ab20ad0c9c61be86d859de77084105c3f76d5 /net-irc/unrealircd | |
parent | Drop old atheme-services-6.0.9 in favor of atheme-services-6.0.9-r1. (diff) | |
download | historical-743fafdf1aa81150098da0917bd0f34ed6744435.tar.gz historical-743fafdf1aa81150098da0917bd0f34ed6744435.tar.bz2 historical-743fafdf1aa81150098da0917bd0f34ed6744435.zip |
Drop old versions as bug #395579 (stabilization of 3.2.9) is resolved.
Package-Manager: portage-2.2.0_alpha84-r1/cvs/Linux x86_64
Diffstat (limited to 'net-irc/unrealircd')
-rw-r--r-- | net-irc/unrealircd/ChangeLog | 9 | ||||
-rw-r--r-- | net-irc/unrealircd/Manifest | 33 | ||||
-rw-r--r-- | net-irc/unrealircd/files/unrealircd-system-cares.patch | 134 | ||||
-rw-r--r-- | net-irc/unrealircd/files/unrealircd-system-tre.patch | 64 | ||||
-rw-r--r-- | net-irc/unrealircd/files/unrealircd.confd | 16 | ||||
-rw-r--r-- | net-irc/unrealircd/files/unrealircd.rc | 30 | ||||
-rw-r--r-- | net-irc/unrealircd/metadata.xml | 1 | ||||
-rw-r--r-- | net-irc/unrealircd/unrealircd-3.2.8.1-r1.ebuild | 163 | ||||
-rw-r--r-- | net-irc/unrealircd/unrealircd-3.2.8.1-r2.ebuild | 163 | ||||
-rw-r--r-- | net-irc/unrealircd/unrealircd-3.2.9_rc2.ebuild | 165 |
10 files changed, 25 insertions, 753 deletions
diff --git a/net-irc/unrealircd/ChangeLog b/net-irc/unrealircd/ChangeLog index d1a4b5e8f46c..2e2b5968dbb0 100644 --- a/net-irc/unrealircd/ChangeLog +++ b/net-irc/unrealircd/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-irc/unrealircd # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.94 2012/02/05 17:51:26 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.95 2012/02/21 02:17:45 binki Exp $ + + 21 Feb 2012; Nathan Phillip Brink <binki@gentoo.org> + -unrealircd-3.2.8.1-r1.ebuild, -unrealircd-3.2.8.1-r2.ebuild, + -unrealircd-3.2.9_rc2.ebuild, -files/unrealircd.confd, -files/unrealircd.rc, + -files/unrealircd-system-cares.patch, -files/unrealircd-system-tre.patch, + metadata.xml: + Drop old versions as bug #395579 (stabilization of 3.2.9) is resolved. 05 Feb 2012; Raúl Porcel <armin76@gentoo.org> unrealircd-3.2.8.1-r1.ebuild, unrealircd-3.2.8.1-r2.ebuild, unrealircd-3.2.9_rc2.ebuild, diff --git a/net-irc/unrealircd/Manifest b/net-irc/unrealircd/Manifest index ef1131d9e42e..9285709fd8de 100644 --- a/net-irc/unrealircd/Manifest +++ b/net-irc/unrealircd/Manifest @@ -1,26 +1,27 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 AUX unrealircd-3.2.9-disabled-stacked-extbans.patch 800 RMD160 d0b90b53988b8315764ed7253f5afe6b71e1781e SHA1 057ae0104cfb78b0841b8dc7afb55ac6bffe673c SHA256 b4005233ead9a7af056a4c33281ffcda3027cfd3af617e39b1de5438162863bc -AUX unrealircd-system-cares.patch 4850 RMD160 6bd9456bda2b1dc233cf7ad97c60c0ee11c1f99b SHA1 e9086146a7031b874e514eb2a22c06b5decb8adf SHA256 e3be39af381c12349355ed44c1bfac1a205a84728d006fd3de3cff0a564ee0d9 -AUX unrealircd-system-tre.patch 2265 RMD160 16324b6639585d3c62b763f9f0f36c233ed0bbf0 SHA1 df61297ad7dd136884ff78644bd2c98b2c794578 SHA256 2a5e958a19e6b85df1a2f30cc56443f8080a0b7f2c01e6765cfe6b758c16615d -AUX unrealircd.confd 499 RMD160 666439c6e992d3314f8694ba58e8f3e018421f1c SHA1 5cb49d7e9a79c7f8e0b2182dff47811a2f3fb885 SHA256 ae6ce779fae68c1380a7d37950c5ef3b695e434bb435dcdc0f6d3d2282f72582 AUX unrealircd.confd-r1 1339 RMD160 deda34776d96345bddf504923490dae831f74bca SHA1 87bb56e23a08b090d332edd8c128db58e5c92fb7 SHA256 d06a0d17b12171f7b83c8e9ab5ecb84ab5a98a0310b12f3eb969a5046a26f70a AUX unrealircd.initd 951 RMD160 1def6c57b0244ba3a6dbd0421961cc1619e832e7 SHA1 2802f5ef1ee20527783897b24e5e510166ff2043 SHA256 a94b9a6215544f3c9df0f196e96b3e039fa4a982d3bfb8c282ba80028ac3b8e6 -AUX unrealircd.rc 685 RMD160 7fd9dad3694d6b1df87a4fa20ec0cbebea9ab762 SHA1 0d7b2159868ef477e935989bbd05f43d58594429 SHA256 c4c6a22e360eda22762711e0068c775b4c54935dc41e62567e4047e4cb9bf41a -DIST Unreal3.2.8.1-notrojan.tar.gz 2866456 RMD160 c8e76239e33ba170743f2ddae6bc24782064f105 SHA1 363c3c995bb38cf601f409610ce1937a0002c419 SHA256 009add8da68b6fb66608d06302e59fa9fb994f901cbd92e6f4f10963f2077741 -DIST Unreal3.2.9-rc2.tar.gz 3063842 RMD160 594771f9ad9ee53108ecaf42e2368292b32d8f65 SHA1 de3e4b14f67ce11e54e3e79e9767e9ea8972a2b0 SHA256 d90acde15acbc2f190095aefcf8d3fc92ad340a249d26ff6d7054dac55326d6e DIST Unreal3.2.9.tar.gz 3064571 RMD160 fb910f2a87ee4fdfd5a2d293303b0085b7657352 SHA1 0bb9d84ce6e4a395fda86e7d6250b7016cfeb913 SHA256 3f581a331825d9179f5367ea6367dd0dc71c7ba615ac3c0134332086bee0e1d8 -EBUILD unrealircd-3.2.8.1-r1.ebuild 4796 RMD160 05378a72156b05f8808d55297bcdead51192e01d SHA1 b778046ed1d2029bfe1cc2efd68614f7ec009500 SHA256 0035f2eee6bfcbec456d6c90800387a5c6f3a5ab650eb0ca3b5e5edbd342ec5e -EBUILD unrealircd-3.2.8.1-r2.ebuild 4798 RMD160 6da78119a8dcda7def8c4248baf8bf768ae448f1 SHA1 6a8fcc8e6e0dce58a6362dc9b2efe7d880726c64 SHA256 b99729fa78c6c20b5ce23c93bb141eaa34f53f3a2b281b1470df726a9a595bee EBUILD unrealircd-3.2.9.ebuild 4681 RMD160 1fc806bcc6410f0cdf64e9f4a9f96d2f59ffff40 SHA1 d6e1cb844e2609f604e0b44c47491fa9204cd85f SHA256 e2085f407e91a9439a649d4d104f843157bafb4917fc523ce45725aac7bc1aed -EBUILD unrealircd-3.2.9_rc2.ebuild 4785 RMD160 b3f9a72b1efba89a981c29c14e74b37f893c53d7 SHA1 5bf9e3643d1b25761df67b0816391abbcc3890b8 SHA256 6a1a6924b978b685b32e89fd6930a1f4c62be66214c0eaecdeb2642532e595a7 -MISC ChangeLog 14121 RMD160 a47d1632f7f4c73274630d5c6f94085b69682fad SHA1 bed4da66aebb79713e70d007727f1db6c23676e6 SHA256 5f3345c034d6910c54395de3653cf1d36a5474c273a2f992ca4003d189fb6e2a -MISC metadata.xml 1151 RMD160 92c45764e66a24ee236204e4b69885fe0d66de96 SHA1 27bea15f83c37d715c23d13559d5c04af28eb52b SHA256 766c92c8b54936b0c5fbb3a99356eee32ff52dbfd56b82f548a070199cf9ac85 +MISC ChangeLog 14483 RMD160 d7a17ecc54a08dda0b2d5b3ee63adbaca041b650 SHA1 df4efdf6a0e917f7a865e92414f0bac1e599d5f3 SHA256 21dfc85d55bfb508ba276ed918c44cff7afd059dd36df5156f1738b07e6546ee +MISC metadata.xml 1107 RMD160 9599df48891445f442cf44b68e34ee80ddca73aa SHA1 c528163411edd5384d392ff4b3b13f9f21df43df SHA256 d4b8197e572fd775c6876f9809f6e183ca3a5146d3c0525166d1b008b15d8f87 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAk8uwaUACgkQuQc30/atMkBzhgCeO3OExtEWMCXGFbq5BldHpvPy -5LIAoK7O1jHxPvsJIb0sSMfNH/IOAE8A -=OOrm +iQIcBAEBCgAGBQJPQv7UAAoJEHQ6UuhrqBBQEKYP/iVmmLNmnJ64pI+jsfvRefT7 +HWSII4BzTiy3O3WL4YX/9/uvALuaJMOQU613badQrQ833gXMYr/EBc22yJkHtKra +XsrlVaMluRGYov8suKpqiqqtzxYcc1DAbaf0ZwMqx/dAWLQu9xJo23KJYCKc6x3W +KbfEUGWhfzGW+bxfREPaREku/we346k9Ogp5YcyBabLYsKdkBJ56qXuxHcRG4bfg +coSNX/x+z39AJ/3x3OixvGFmkctyjDZcansILBOHcN+9+CKvMfS5Cejo8z+VzIjx +BydAsAJ91qyxI6ZYdmh3IVLIO+g3anUD0JDOG+Q5nbP8WG4tk7b/T9Sqs+Q96qld +e03+EWGPNuWrkcI6d+IJXeZs9lQF+Fy0orFvYe0j+QVS443SU3FxDmEt3eOJudLS +S1zqdRkyW+dbEqpqwqEvqSBBWRW1DJ/OxJRxYvDeFjlqw1flEhYaQMbhqceowKqr +Jfm8wC7aBXAfn3Hh/gmvx+wRUWdi2tpJcvzAYY6wyVhQV8OLWdPpE+AX+KvCS3MO +c3W8m4VXxYk6RxaaiYshTpA1BV2YosDEetJUz1iONlKFCV7ju3T8tAd/umaRre8+ +3LuH00RHkSpqULSsLjrTe1OycyXDPWItBG7SYSs87cBv3lOGsa6z/U8HrJyxActk +r/TCtXRZrxH8jkBvmn6J +=PLRM -----END PGP SIGNATURE----- diff --git a/net-irc/unrealircd/files/unrealircd-system-cares.patch b/net-irc/unrealircd/files/unrealircd-system-cares.patch deleted file mode 100644 index 2e4d5f047051..000000000000 --- a/net-irc/unrealircd/files/unrealircd-system-cares.patch +++ /dev/null @@ -1,134 +0,0 @@ -Makes unrealircd-3.2.8 able to use a vanilla, system >=net-dns/c-ares-1.5.3 -Expects the unrealircd-system-tre.patch to be applied beforehand ---- autoconf/configure.in 2009-03-29 18:35:15.000000000 -0400 -+++ autoconf/configure.in 2009-03-29 18:45:54.000000000 -0400 -@@ -393,6 +393,7 @@ - AC_ARG_WITH(operoverride-verify, [AC_HELP_STRING([--with-operoverride-verify], [Require opers to invite themselves to +s/+p channels])], - AC_DEFINE(OPEROVERRIDE_VERIFY)) - AC_ARG_WITH(system-tre, [AC_HELP_STRING([--with-system-tre], [Use the system tre package instead of bundled, discovered using pkg-config])], [], [with_system_tre=no ]) -+AC_ARG_WITH(system-cares, [AC_HELP_STRING([--with-system-cares], [Use the system c-ares (at least version 1.5.3) package instead of bundled c-ares, discovered using pkg-config])], [], [with_system_cares=no ]) - CHECK_SSL - CHECK_ZLIB - CHECK_LIBCURL -@@ -462,6 +463,7 @@ - PKG_CHECK_MODULES([TRE], tre >= 0.7.5) - ]) - -+AS_IF([test "x$with_system_cares" = "xno"],[ - dnl REMEMBER TO CHANGE WITH A NEW C-ARES RELEASE! - cares_version="1.6.0" - AC_MSG_RESULT(extracting c-ares resolver library) -@@ -484,10 +486,9 @@ - $ac_cv_prog_MAKER || exit 1 - AC_MSG_RESULT(installing c-ares resolver library) - $ac_cv_prog_MAKER install || exit 1 --CARESINCDIR="$cur_dir/extras/c-ares/include" --AC_SUBST(CARESINCDIR) --CARESLIBDIR="-L../extras/c-ares/lib" --AC_SUBST(CARESLIBDIR) -+CARES_CFLAGS="$cur_dir/extras/c-ares/include" -+AC_SUBST(CARES_CFLAGS) -+CARES_LIBS="-L../extras/c-ares/lib" - - dnl Set default library parameters for when pkg-config is not available - CARESLIBSALT="-lcares" -@@ -504,15 +505,20 @@ - dnl from above. Also, if pkg-config returns an empty result (ex: on fbsd - dnl or older versions it might be missing --static) then also use defaults. - if test "x$ac_cv_path_PKGCONFIG" = "x" ; then -- CARESLIBS="$CARESLIBSALT" -+ CARES_LIBS="$CARES_LIBS $CARESLIBSALT" - else -- CARESLIBS="`$ac_cv_path_PKGCONFIG --static --libs libcares.pc`" -- if test "x$CARESLIBS" = "x" ; then -- CARESLIBS="$CARESLIBSALT" -+ CARES_LIBSPRE="$CARES_LIBS" -+ CARES_LIBS="$CARES_LIBS `$ac_cv_path_PKGCONFIG --static --libs libcares.pc`" -+ if test "$CARES_LIBS" = "$CARES_LIBSPRE " ; then -+ CARES_LIBS="$CARES_LIBS $CARESLIBSALT" - fi - fi --AC_SUBST(CARESLIBS) -+AC_SUBST(CARES_LIBS) - cd $cur_dir -+],[ -+dnl use pkg-config for system c-ares: -+PKG_CHECK_MODULES([CARES], libcares >= 1.5.3) -+]) - - - AC_OUTPUT(Makefile src/modules/Makefile unreal ircdcron/ircdchk) - - ---- Makefile.in 2009-03-29 18:35:15.000000000 -0400 -+++ Makefile.in 2009-03-29 18:48:03.000000000 -0400 -@@ -34,11 +34,11 @@ - # - - #XCFLAGS=-O -g -export-dynamic --IRCDLIBS=@IRCDLIBS@ @TRE_LIBS@ @CARESLIBS@ -+IRCDLIBS=@IRCDLIBS@ @TRE_LIBS@ @CARES_LIBS@ - CRYPTOLIB=@CRYPTOLIB@ - OPENSSLINCLUDES= - --XCFLAGS=@TRE_CFLAGS@ -I@CARESINCDIR@ @CARESLIBDIR@ @CFLAGS@ -+XCFLAGS=@TRE_CFLAGS@ -I@CARES_CFLAGS@ @CFLAGS@ - # - # use the following on MIPS: - #CFLAGS= -systype bsd43 -DSYSTYPE_BSD43 -I$(INCLUDEDIR) - ---- src/res.c (revision 333) -+++ src/res.c (working copy) -@@ -49,7 +49,7 @@ - #include <res.h> - - /* Prevent crashes due to invalid prototype/ABI */ --#if ARES_VERSION < 0x010600 -+#if ARES_VERSION < 0x010503 - #error "You have an old c-ares version on your system and/or Unreals c-ares failed to compile!" - #endif - -@@ -736,21 +736,35 @@ - } else - if (*param == 'i') /* INFORMATION */ - { -- struct ares_config_info inf; -+ struct ares_options inf; - int i; -+ int optmask; - -- ares_get_config(&inf, resolver_channel); -+ ares_save_options(resolver_channel, &inf, &optmask); - - sendtxtnumeric(sptr, "****** DNS Configuration Information ******"); - sendtxtnumeric(sptr, " c-ares version: %s",ares_version(NULL)); -- sendtxtnumeric(sptr, " timeout: %d", inf.timeout); -- sendtxtnumeric(sptr, " tries: %d", inf.tries); -- sendtxtnumeric(sptr, " # of servers: %d", inf.numservers); -- for (i = 0; i < inf.numservers; i++) -- sendtxtnumeric(sptr, " server #%d: %s", i+1, inf.servers[i] ? inf.servers[i] : "[???]"); -- -+ -+ if(optmask & ARES_OPT_TIMEOUTMS) -+ sendtxtnumeric(sptr, " timeout: %d", inf.timeout); -+ if(optmask & ARES_OPT_TRIES) -+ sendtxtnumeric(sptr, " tries: %d", inf.tries); -+ if(optmask & ARES_OPT_SERVERS) -+ { -+ sendtxtnumeric(sptr, " # of servers: %d", inf.nservers); -+ for (i = 0; i < inf.nservers; i++) -+ sendtxtnumeric(sptr, " server #%d: %s", i+1, inet_ntoa(inf.servers[i])); -+ } -+ if(optmask & ARES_OPT_DOMAINS) -+ { -+ sendtxtnumeric(sptr, " # of search domains: %d", inf.ndomains); -+ for (i = 0; i < inf.ndomains; i++) -+ sendtxtnumeric(sptr, " domain #%d: %s", i+1, inf.domains[i]); -+ } - /* TODO: free or get memleak ! */ - sendtxtnumeric(sptr, "****** End of DNS Configuration Info ******"); -+ -+ ares_destroy_options(&inf); - } else /* STATISTICS */ - { - sendtxtnumeric(sptr, "DNS CACHE Stats:"); diff --git a/net-irc/unrealircd/files/unrealircd-system-tre.patch b/net-irc/unrealircd/files/unrealircd-system-tre.patch deleted file mode 100644 index 272e92c1936e..000000000000 --- a/net-irc/unrealircd/files/unrealircd-system-tre.patch +++ /dev/null @@ -1,64 +0,0 @@ -diff -ru ./Makefile.in /var/tmp/portage/net-irc/unrealircd-3.2.8/work/Unreal3.2/Makefile.in ---- Makefile.in 2006-06-05 19:16:34.000000000 -0400 -+++ Makefile.in 2009-03-03 18:59:32.000000000 -0500 -@@ -34,11 +34,11 @@ - # - - #XCFLAGS=-O -g -export-dynamic --IRCDLIBS=@IRCDLIBS@ @TRELIBS@ @CARESLIBS@ -+IRCDLIBS=@IRCDLIBS@ @TRE_LIBS@ @CARESLIBS@ - CRYPTOLIB=@CRYPTOLIB@ - OPENSSLINCLUDES= - --XCFLAGS=-I@TREINCDIR@ -I@CARESINCDIR@ @CARESLIBDIR@ @CFLAGS@ -+XCFLAGS=@TRE_CFLAGS@ -I@CARESINCDIR@ @CARESLIBDIR@ @CFLAGS@ - # - # use the following on MIPS: - #CFLAGS= -systype bsd43 -DSYSTYPE_BSD43 -I$(INCLUDEDIR) -Only in /var/tmp/portage/net-irc/unrealircd-3.2.8/work/Unreal3.2: Makefile.in.~1.1.2.23.2.6.~ -diff -ru ./configure.in /var/tmp/portage/net-irc/unrealircd-3.2.8/work/Unreal3.2/configure.in ---- autoconf/configure.in 2009-02-01 11:43:33.000000000 -0500 -+++ autoconf/configure.in 2009-03-03 19:01:23.000000000 -0500 -@@ -392,6 +392,7 @@ - AC_DEFINE(DISABLE_USERMOD)) - AC_ARG_WITH(operoverride-verify, [AC_HELP_STRING([--with-operoverride-verify], [Require opers to invite themselves to +s/+p channels])], - AC_DEFINE(OPEROVERRIDE_VERIFY)) -+AC_ARG_WITH(system-tre, [AC_HELP_STRING([--with-system-tre], [Use the system tre package instead of bundled, discovered using pkg-config])], [], [with_system_tre=no ]) - CHECK_SSL - CHECK_ZLIB - CHECK_LIBCURL -@@ -424,6 +425,7 @@ - ;; - esac - -+AS_IF([test "x$with_system_tre" = "xno"],[ - dnl REMEMBER TO CHANGE WITH A NEW TRE RELEASE! - tre_version="0.7.5" - AC_MSG_RESULT(extracting TRE regex library) -@@ -446,16 +448,20 @@ - $ac_cv_prog_MAKER || exit 1 - AC_MSG_RESULT(installing TRE regex library) - $ac_cv_prog_MAKER install || exit 1 --TREINCDIR="$cur_dir/extras/regexp/include" --AC_SUBST(TREINCDIR) -+TRE_CFLAGS="-I$cur_dir/extras/regexp/include" -+AC_SUBST(TRE_CFLAGS) - if test "x$ac_cv_path_PKGCONFIG" = "x" ; then -- TRELIBS="-L../extras/regexp/lib -ltre" -+ TRE_LIBS="-L../extras/regexp/lib -ltre" - else -- TRELIBS=`$ac_cv_path_PKGCONFIG --libs tre.pc` -+ TRE_LIBS=`$ac_cv_path_PKGCONFIG --libs tre.pc` - fi --AC_SUBST(TRELIBS) -+AC_SUBST(TRE_LIBS) - cd $cur_dir -- -+],[ -+dnl use pkgconfig for tre: -+PKG_PROG_PKG_CONFIG(0.17) -+PKG_CHECK_MODULES([TRE], tre >= 0.7.5) -+]) - - dnl REMEMBER TO CHANGE WITH A NEW C-ARES RELEASE! - cares_version="1.6.0" diff --git a/net-irc/unrealircd/files/unrealircd.confd b/net-irc/unrealircd/files/unrealircd.confd deleted file mode 100644 index 922d9922abef..000000000000 --- a/net-irc/unrealircd/files/unrealircd.confd +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/files/unrealircd.confd,v 1.4 2004/07/24 00:17:37 swegener Exp $ - -# user to run unrealircd as -UNREALIRCD_USER="unrealircd" - -# extra options to pass to unrealircd ... -# useful if you want to specify conf files other -# than the default -# -# [-h servername] -# [-p portnumber] -# [-x loglevel] -# [-t] (to enable debug output) -UNREALIRCD_OPTS="" diff --git a/net-irc/unrealircd/files/unrealircd.rc b/net-irc/unrealircd/files/unrealircd.rc deleted file mode 100644 index 05414ac63a56..000000000000 --- a/net-irc/unrealircd/files/unrealircd.rc +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/files/unrealircd.rc,v 1.9 2011/12/21 18:25:03 binki Exp $ - -extra_started_commands="reload" - -depend() { - use dns net - provide ircd -} - -start() { - ebegin "Starting unrealircd" - start-stop-daemon --start --quiet --exec /usr/bin/unrealircd \ - --chuid ${UNREALIRCD_USER} -- ${UNREALIRCD_OPTS} &>/dev/null - eend $? -} - -stop() { - ebegin "Shutting down unrealircd" - start-stop-daemon --stop --quiet --exec /usr/bin/unrealircd - eend $? -} - -reload() { - ebegin "Re-Loading unrealircd" - killall -1 unrealircd - eend $? -} diff --git a/net-irc/unrealircd/metadata.xml b/net-irc/unrealircd/metadata.xml index 97d1a548145b..cae119bc1e85 100644 --- a/net-irc/unrealircd/metadata.xml +++ b/net-irc/unrealircd/metadata.xml @@ -8,7 +8,6 @@ </maintainer> <use> <flag name='extban-stacking'>Enable extended channel bans (such as +b ~c: and +b ~n:) to contain other extended bans instead of just hostmasks.</flag> - <flag name='hub'>Enable hub support</flag> <flag name='spoof'>Enable the spoof protection</flag> <flag name='prefixaq'>Enable chanadmin and chanowner prefixes</flag> <flag name='showlistmodes'>Support displaying channel modes during compilation</flag> diff --git a/net-irc/unrealircd/unrealircd-3.2.8.1-r1.ebuild b/net-irc/unrealircd/unrealircd-3.2.8.1-r1.ebuild deleted file mode 100644 index 70ac4333b832..000000000000 --- a/net-irc/unrealircd/unrealircd-3.2.8.1-r1.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.8.1-r1.ebuild,v 1.9 2012/02/05 17:51:26 armin76 Exp $ - -EAPI="2" - -inherit eutils autotools ssl-cert versionator multilib - -MY_P=Unreal${PV} - -DESCRIPTION="aimed to be an advanced (not easy) IRCd" -HOMEPAGE="http://www.unrealircd.com/" -SRC_URI="mirror://gentoo/${MY_P}-notrojan.tar.gz" -#SRC_URI="http://www.unrealircd.com/downloads/${MY_P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="amd64 ppc x86 ~x86-fbsd" -IUSE="curl +hub ipv6 +operoverride +spoof operoverride-verify +prefixaq -showlistmodes shunnotices ssl topicisnuhost +usermod zlib" - -RDEPEND="ssl? ( dev-libs/openssl ) - zlib? ( sys-libs/zlib ) - curl? ( net-misc/curl[ares] ) - dev-libs/tre - >=net-dns/c-ares-1.5.3" -DEPEND="${RDEPEND} - >=sys-apps/sed-4 - >=dev-util/pkgconfig-0.25" - -S="${WORKDIR}/Unreal$(get_version_component_range 1-2)" - -pkg_setup() { - enewuser unrealircd -} - -src_prepare() { - #QA check against bundled pkgs - rm extras/*.gz - - sed -i \ - -e "s:ircd\.pid:/var/run/unrealircd/ircd.pid:" \ - -e "s:ircd\.log:/var/log/unrealircd/ircd.log:" \ - -e "s:debug\.log:/var/log/unrealircd/debug.log:" \ - -e "s:ircd\.tune:/var/lib/unrealircd/ircd.tune:" \ - include/config.h \ - || die "sed failed" - - # http://bugs.unrealircd.org/view.php?id=3842 - epatch "${FILESDIR}"/unrealircd-system-tre.patch || die "epatch failed" - - epatch "${FILESDIR}"/unrealircd-system-cares.patch || die "epatch failed" - - mv autoconf/configure.in ./ || die - mv autoconf/aclocal.m4 ./acinclude.m4 || die - #can't call eautoreconf because aclocal's source files aren't even in unearlircd's svn! - eaclocal - eautoconf -} - -src_configure() { - local myconf="" - use curl && myconf="${myconf} --enable-libcurl=/usr" - use ipv6 && myconf="${myconf} --enable-inet6" - use zlib && myconf="${myconf} --enable-ziplinks" - use hub && myconf="${myconf} --enable-hub" - use ssl && myconf="${myconf} --enable-ssl" - use prefixaq && myconf="${myconf} --enable-prefixaq" - use spoof && myconf="${myconf} --enable-nospoof" - use showlistmodes && myconf="${myconf} --with-showlistmodes" - use topicisnuhost && myconf="${myconf} --with-topicisnuhost" - use shunnotices && myconf="${myconf} --with-shunnotices" - use operoverride || myconf="${myconf} --with-no-operoverride" - use operoverride-verify && myconf="${myconf} --with-operoverride-verify" - use usermod || myconf="${myconf} --with-disableusermod" - - econf \ - --with-listen=5 \ - --with-dpath="${D}"/etc/unrealircd \ - --with-spath=/usr/bin/unrealircd \ - --with-nick-history=2000 \ - --with-sendq=3000000 \ - --with-bufferpool=18 \ - --with-hostname=$(hostname -f) \ - --with-permissions=0600 \ - --with-fd-setsize=1024 \ - --with-system-cares \ - --with-system-tre \ - --enable-dynamic-linking \ - ${myconf} - - # Fix upstream poor autofoo - sed -i \ - -e "s:${D}::g" \ - include/setup.h \ - ircdcron/ircdchk \ - || die -} - -src_compile() { - emake MAKE=make IRCDDIR=/etc/unrealircd || die "emake failed" -} - -src_install() { - keepdir /var/{lib,log,run}/unrealircd - - newbin src/ircd unrealircd || die - - exeinto /usr/$(get_libdir)/unrealircd/modules - doexe src/modules/*.so || die - - dodir /etc/unrealircd - dosym /var/lib/unrealircd /etc/unrealircd/tmp || die - - insinto /etc/unrealircd - doins {badwords.*,help,spamfilter,dccallow}.conf || die - newins doc/example.conf unrealircd.conf || die - - insinto /etc/unrealircd/aliases - doins aliases/*.conf || die - insinto /etc/unrealircd/networks - doins networks/*.network || die - - sed -i \ - -e s:src/modules:/usr/$(get_libdir)/unrealircd/modules: \ - -e s:ircd\\.log:/var/log/unrealircd/ircd.log: \ - "${D}"/etc/unrealircd/unrealircd.conf \ - || die - - dodoc \ - Changes Donation Unreal.nfo networks/makenet \ - ircdcron/{ircd.cron,ircdchk} \ - || die "dodoc failed" - dohtml doc/*.html || die - - newinitd "${FILESDIR}"/unrealircd.rc unrealircd || die - newconfd "${FILESDIR}"/unrealircd.confd unrealircd - - fperms 700 /etc/unrealircd || die - chown -R unrealircd "${D}"/{etc,var/{lib,log,run}}/unrealircd ||die -} - -pkg_postinst() { - # Move docert call from scr_install() to install_cert in pkg_postinst for - # bug #201682 - if use ssl ; then - if [[ ! -f "${ROOT}"/etc/unrealircd/server.cert.key ]]; then - install_cert /etc/unrealircd/server.cert || die - chown unrealircd "${ROOT}"/etc/unrealircd/server.cert.* || die - ln -snf server.cert.key "${ROOT}"/etc/unrealircd/server.key.pem || die - fi - fi - - elog - elog "UnrealIRCd will not run until you've set up /etc/unrealircd/unrealircd.conf" - elog - elog "You can find example cron scripts here:" - elog " /usr/share/doc/${PF}/ircd.cron.gz" - elog " /usr/share/doc/${PF}/ircdchk.gz" - elog - elog "You can also use /etc/init.d/unrealircd to start at boot" - elog -} diff --git a/net-irc/unrealircd/unrealircd-3.2.8.1-r2.ebuild b/net-irc/unrealircd/unrealircd-3.2.8.1-r2.ebuild deleted file mode 100644 index 35a6975081a7..000000000000 --- a/net-irc/unrealircd/unrealircd-3.2.8.1-r2.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.8.1-r2.ebuild,v 1.3 2012/02/05 17:51:26 armin76 Exp $ - -EAPI=3 - -inherit eutils autotools ssl-cert versionator multilib - -MY_P=Unreal${PV} - -DESCRIPTION="aimed to be an advanced (not easy) IRCd" -HOMEPAGE="http://www.unrealircd.com/" -SRC_URI="mirror://gentoo/${MY_P}-notrojan.tar.gz" -#SRC_URI="http://www.unrealircd.com/downloads/${MY_P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux" -IUSE="curl +hub ipv6 +operoverride +spoof operoverride-verify +prefixaq -showlistmodes shunnotices ssl topicisnuhost +usermod zlib" - -RDEPEND="ssl? ( dev-libs/openssl ) - zlib? ( sys-libs/zlib ) - curl? ( net-misc/curl[ares] ) - dev-libs/tre - >=net-dns/c-ares-1.5.3" -DEPEND="${RDEPEND} - >=sys-apps/sed-4 - >=dev-util/pkgconfig-0.25" - -S="${WORKDIR}/Unreal$(get_version_component_range 1-2)" - -pkg_setup() { - enewuser unrealircd -} - -src_prepare() { - #QA check against bundled pkgs - rm extras/*.gz || die - - sed -i \ - -e "s:ircd\.pid:${EPREFIX}/var/run/unrealircd/ircd.pid:" \ - -e "s:ircd\.log:${EPREFIX}/var/log/unrealircd/ircd.log:" \ - -e "s:debug\.log:${EPREFIX}/var/log/unrealircd/debug.log:" \ - -e "s:ircd\.tune:${EPREFIX}/var/lib/unrealircd/ircd.tune:" \ - include/config.h \ - || die "sed failed" - - # http://bugs.unrealircd.org/view.php?id=3842 - epatch "${FILESDIR}"/unrealircd-system-tre.patch || die "epatch failed" - - epatch "${FILESDIR}"/unrealircd-system-cares.patch || die "epatch failed" - - mv autoconf/configure.in ./ || die - mv autoconf/aclocal.m4 ./acinclude.m4 || die - #can't call eautoreconf because aclocal's source files aren't even in unearlircd's svn! - eaclocal - eautoconf -} - -src_configure() { - local myconf=() - use curl && myconf+=(--enable-libcurl="${EPREFIX}"/usr) - use ipv6 && myconf+=(--enable-inet6) - use zlib && myconf+=(--enable-ziplinks="${EPREFIX}"/usr) - use hub && myconf+=(--enable-hub) - use ssl && myconf+=(--enable-ssl="${EPREFIX}"/usr) - use prefixaq && myconf+=(--enable-prefixaq) - use spoof && myconf+=(--enable-nospoof) - use showlistmodes && myconf+=(--with-showlistmodes) - use topicisnuhost && myconf+=(--with-topicisnuhost) - use shunnotices && myconf+=(--with-shunnotices) - use operoverride || myconf+=(--with-no-operoverride) - use operoverride-verify && myconf+=(--with-operoverride-verify) - use usermod || myconf+=(--with-disableusermod) - - econf \ - --with-listen=5 \ - --with-dpath="${ED}"/etc/unrealircd \ - --with-spath=/usr/bin/unrealircd \ - --with-nick-history=2000 \ - --with-sendq=3000000 \ - --with-bufferpool=18 \ - --with-hostname=$(hostname -f) \ - --with-permissions=0600 \ - --with-fd-setsize=1024 \ - --with-system-cares \ - --with-system-tre \ - --enable-dynamic-linking \ - "${myconf[@]}" - - # Fix upstream poor autofoo - sed -i \ - -e "s:${D%/}::g" \ - include/setup.h \ - ircdcron/ircdchk \ - || die -} - -src_compile() { - emake MAKE=make IRCDDIR=/etc/unrealircd || die "emake failed" -} - -src_install() { - keepdir /var/{lib,log,run}/unrealircd - - newbin src/ircd unrealircd || die - - exeinto /usr/$(get_libdir)/unrealircd/modules - doexe src/modules/*.so || die - - dodir /etc/unrealircd - dosym /var/lib/unrealircd /etc/unrealircd/tmp || die - - insinto /etc/unrealircd - doins {badwords.*,help,spamfilter,dccallow}.conf || die - newins doc/example.conf unrealircd.conf || die - - insinto /etc/unrealircd/aliases - doins aliases/*.conf || die - insinto /etc/unrealircd/networks - doins networks/*.network || die - - sed -i \ - -e s:src/modules:"${EPREFIX}"/usr/$(get_libdir)/unrealircd/modules: \ - -e s:ircd\\.log:"${EPREFIX}"/var/log/unrealircd/ircd.log: \ - "${ED}"/etc/unrealircd/unrealircd.conf \ - || die - - dodoc \ - Changes Donation Unreal.nfo networks/makenet \ - ircdcron/{ircd.cron,ircdchk} \ - || die "dodoc failed" - dohtml doc/*.html || die - - newinitd "${FILESDIR}"/unrealircd.rc unrealircd || die - newconfd "${FILESDIR}"/unrealircd.confd unrealircd - - fperms 700 /etc/unrealircd || die - fowners -R unrealircd /{etc,var/{lib,log,run}}/unrealircd || die -} - -pkg_postinst() { - # Move docert call from scr_install() to install_cert in pkg_postinst for - # bug #201682 - if use ssl ; then - if [[ ! -f "${EROOT}"/etc/unrealircd/server.cert.key ]]; then - install_cert /etc/unrealircd/server.cert - chown unrealircd "${EROOT}"/etc/unrealircd/server.cert.* - ln -snf server.cert.key "${EROOT}"/etc/unrealircd/server.key.pem - fi - fi - - elog - elog "UnrealIRCd will not run until you've set up /etc/unrealircd/unrealircd.conf" - elog - elog "You can find example cron scripts here:" - elog " /usr/share/doc/${PF}/ircd.cron.gz" - elog " /usr/share/doc/${PF}/ircdchk.gz" - elog - elog "You can also use /etc/init.d/unrealircd to start at boot" - elog -} diff --git a/net-irc/unrealircd/unrealircd-3.2.9_rc2.ebuild b/net-irc/unrealircd/unrealircd-3.2.9_rc2.ebuild deleted file mode 100644 index a404562f0f42..000000000000 --- a/net-irc/unrealircd/unrealircd-3.2.9_rc2.ebuild +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.9_rc2.ebuild,v 1.3 2012/02/05 17:51:26 armin76 Exp $ - -EAPI=4 - -inherit eutils ssl-cert versionator multilib - -MY_P=Unreal${PV/_/-} - -DESCRIPTION="An advanced Internet Relay Chat daemon" -HOMEPAGE="http://www.unrealircd.com/" -SRC_URI="http://www.unrealircd.com/downloads/${MY_P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux" -IUSE="curl ipv6 +extban-stacking +operoverride +spoof operoverride-verify +prefixaq - showlistmodes shunnotices ssl topicisnuhost +usermod zlib" - -RDEPEND="ssl? ( dev-libs/openssl ) - zlib? ( sys-libs/zlib ) - curl? ( net-misc/curl[ares] ) - dev-libs/tre - >=net-dns/c-ares-1.7" -DEPEND="${RDEPEND} - >=sys-apps/sed-4 - >=dev-util/pkgconfig-0.25" - -S=${WORKDIR}/Unreal$(get_version_component_range 1-2) - -pkg_setup() { - enewuser unrealircd -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-3.2.9-disabled-stacked-extbans.patch - - # QA check against bundled pkgs - rm extras/*.gz || die - - sed -i \ - -e "s:ircd\.pid:${EPREFIX}/var/run/unrealircd/ircd.pid:" \ - -e "s:ircd\.log:${EPREFIX}/var/log/unrealircd/ircd.log:" \ - -e "s:debug\.log:${EPREFIX}/var/log/unrealircd/debug.log:" \ - -e "s:ircd\.tune:${EPREFIX}/var/lib/unrealircd/ircd.tune:" \ - include/config.h \ - || die "sed failed" -} - -src_configure() { - econf \ - --with-listen=5 \ - --with-dpath="${EPREFRIX}"/etc/unrealircd \ - --with-spath="${EPREFIX}"/usr/bin/unrealircd \ - --with-nick-history=2000 \ - --with-sendq=3000000 \ - --with-bufferpool=18 \ - --with-permissions=0600 \ - --with-fd-setsize=1024 \ - --with-system-cares \ - --with-system-tre \ - --enable-dynamic-linking \ - $(use_enable curl libcurl "${EPREFIX}"/usr) \ - $(use_enable ipv6 inet6) \ - $(use_enable prefixaq) \ - $(use_enable spoof nospoof) \ - $(use_enable ssl ssl "${EPREFIX}"/usr) \ - $(use_enable zlib ziplinks "${EPREFIX}"/usr) \ - $(use_with showlistmodes) \ - $(use_with topicisnuhost) \ - $(use_with shunnotices) \ - $(use_with !operoverride no-operoverride) \ - $(use_with operoverride-verify) \ - $(use_with !usermod disableusermod) \ - $(use_with !extban-stacking disable-extendedban-stacking) -} - -src_install() { - keepdir /var/{lib,log,run}/unrealircd - - newbin src/ircd unrealircd - - exeinto /usr/$(get_libdir)/unrealircd/modules - doexe src/modules/*.so - - dodir /etc/unrealircd - dosym /var/lib/unrealircd /etc/unrealircd/tmp - - insinto /etc/unrealircd - doins {badwords.*,help,spamfilter,dccallow}.conf - newins doc/example.conf unrealircd.conf - - insinto /etc/unrealircd/aliases - doins aliases/*.conf - insinto /etc/unrealircd/networks - doins networks/*.network - - local so_suffix=so - [[ ${CHOST} == -*mingw* ]] && so_suffix=dll - sed -i \ - -e s:src/modules:"${EPREFIX}"/usr/$(get_libdir)/unrealircd/modules: \ - -e '/loadmodule.*\.'${so_suffix}'/s;^//;;' \ - -e s:ircd\\.log:"${EPREFIX}"/var/log/unrealircd/ircd.log: \ - "${ED}"/etc/unrealircd/unrealircd.conf \ - || die - - dodoc \ - Changes Donation Unreal.nfo networks/makenet \ - ircdcron/{ircd.cron,ircdchk} \ - || die "dodoc failed" - dohtml doc/*.html - - newinitd "${FILESDIR}"/unrealircd.initd unrealircd - newconfd "${FILESDIR}"/unrealircd.confd-r1 unrealircd - - fperms 700 /etc/unrealircd - fowners -R unrealircd /{etc,var/{lib,log,run}}/unrealircd -} - -pkg_postinst() { - # Move docert call from scr_install() to install_cert in pkg_postinst for - # bug #201682 - if use ssl ; then - if [[ ! -f "${EROOT}"/etc/unrealircd/server.cert.key ]]; then - install_cert /etc/unrealircd/server.cert - chown unrealircd "${EROOT}"/etc/unrealircd/server.cert.* - ln -snf server.cert.key "${EROOT}"/etc/unrealircd/server.key.pem - fi - fi - - local unrealircd_conf="${EROOT}"/etc/unrealircd/unrealircd.conf - # Fix up the default cloak keys. - if grep -qe '"and another one";$' "${unrealircd_conf}" && grep -qe '"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";$' "${unrealircd_conf}"; then - ebegin "Generating cloak-keys" - local keys=( - "$(unrealircd -k 2>&1 | sed -n -e 2p)" - "$(unrealircd -k 2>&1 | sed -n -e 2p)" - "$(unrealircd -k 2>&1 | sed -n -e 2p)" - ) - [[ -n ${keys[0]} || -n ${keys[1]} || -n ${keys[2]} ]] - eend $? - - ebegin "Substituting cloak-keys into ${unrealircd_conf}" - sed -i \ - -e '/cloak-keys/ { -n -s/"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";/"'"${keys[0]}"'";/ -n -s/"and another one";/"'"${keys[1]}"'";/ -n -s/"and another one";/"'"${keys[2]}"'";/ -}' \ - "${unrealircd_conf}" - eend $? - fi - - elog "UnrealIRCd will not run until you've set up /etc/unrealircd/unrealircd.conf" - elog - elog "You can find example cron scripts here:" - elog " /usr/share/doc/${PF}/ircd.cron.gz" - elog " /usr/share/doc/${PF}/ircdchk.gz" - elog - elog "You can also use /etc/init.d/unrealircd to start at boot" -} |