summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Phillip Brink <binki@gentoo.org>2012-02-21 02:17:49 +0000
committerNathan Phillip Brink <binki@gentoo.org>2012-02-21 02:17:49 +0000
commit769c9dc57d1e1097a904076771cc75fdcfa0ea4a (patch)
tree6de3d8e5282910653acf508ed40bc8d4d6eeb959 /net-irc
parentDrop old atheme-services-6.0.9 in favor of atheme-services-6.0.9-r1. (diff)
downloadgentoo-2-769c9dc57d1e1097a904076771cc75fdcfa0ea4a.tar.gz
gentoo-2-769c9dc57d1e1097a904076771cc75fdcfa0ea4a.tar.bz2
gentoo-2-769c9dc57d1e1097a904076771cc75fdcfa0ea4a.zip
Drop old versions as bug #395579 (stabilization of 3.2.9) is resolved.
(Portage version: 2.2.0_alpha84-r1/cvs/Linux x86_64)
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/unrealircd/ChangeLog9
-rw-r--r--net-irc/unrealircd/files/unrealircd-system-cares.patch134
-rw-r--r--net-irc/unrealircd/files/unrealircd-system-tre.patch64
-rw-r--r--net-irc/unrealircd/files/unrealircd.confd16
-rw-r--r--net-irc/unrealircd/files/unrealircd.rc30
-rw-r--r--net-irc/unrealircd/metadata.xml1
-rw-r--r--net-irc/unrealircd/unrealircd-3.2.8.1-r1.ebuild163
-rw-r--r--net-irc/unrealircd/unrealircd-3.2.8.1-r2.ebuild163
-rw-r--r--net-irc/unrealircd/unrealircd-3.2.9_rc2.ebuild165
9 files changed, 8 insertions, 737 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/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"
-}