summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2006-09-25 07:39:03 +0000
committerMarkus Ullmann <jokey@gentoo.org>2006-09-25 07:39:03 +0000
commit7a6fd471b673cba6893e8f14b5b57b0fb12c9169 (patch)
tree191622725bc2c79983aafc7de1d494bd2b2a488a /net-irc/irc-server
parentStable on ppc64; bug #149013 (diff)
downloadgentoo-2-7a6fd471b673cba6893e8f14b5b57b0fb12c9169.tar.gz
gentoo-2-7a6fd471b673cba6893e8f14b5b57b0fb12c9169.tar.bz2
gentoo-2-7a6fd471b673cba6893e8f14b5b57b0fb12c9169.zip
use_with -> use_enable to fix bug #147132
(Portage version: 2.1.2_pre1-r1)
Diffstat (limited to 'net-irc/irc-server')
-rw-r--r--net-irc/irc-server/ChangeLog10
-rw-r--r--net-irc/irc-server/files/digest-irc-server-2.10.3_p32
-rw-r--r--net-irc/irc-server/files/digest-irc-server-2.11.1_p1-r13
-rw-r--r--net-irc/irc-server/irc-server-2.11.1_p1-r1.ebuild101
4 files changed, 114 insertions, 2 deletions
diff --git a/net-irc/irc-server/ChangeLog b/net-irc/irc-server/ChangeLog
index 23d582db98b2..47fe45918fbd 100644
--- a/net-irc/irc-server/ChangeLog
+++ b/net-irc/irc-server/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/irc-server
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/irc-server/ChangeLog,v 1.10 2005/09/02 15:10:50 swegener Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irc-server/ChangeLog,v 1.11 2006/09/25 07:39:03 jokey Exp $
+
+*irc-server-2.11.1_p1-r1 (25 Sep 2006)
+
+ 25 Sep 2006; <jokey@gentoo.org> -irc-server-2.11.1_p1.ebuild,
+ +irc-server-2.11.1_p1-r1.ebuild:
+ use_with -> use_enable to fix bug #147132
*irc-server-2.11.1_p1 (02 Sep 2005)
diff --git a/net-irc/irc-server/files/digest-irc-server-2.10.3_p3 b/net-irc/irc-server/files/digest-irc-server-2.10.3_p3
index 9f651d97a3bf..61ba6ba7ec44 100644
--- a/net-irc/irc-server/files/digest-irc-server-2.10.3_p3
+++ b/net-irc/irc-server/files/digest-irc-server-2.10.3_p3
@@ -1 +1,3 @@
MD5 bec7916f39043609c528afac507a2e00 irc2.10.3p3.tgz 671722
+RMD160 9edf881443037fe500c2c6b32af7edf3c65168cd irc2.10.3p3.tgz 671722
+SHA256 563e1e5aa380765840e3c188f89a401ff2eeacb02ec8b6f0378a306b8d16d46c irc2.10.3p3.tgz 671722
diff --git a/net-irc/irc-server/files/digest-irc-server-2.11.1_p1-r1 b/net-irc/irc-server/files/digest-irc-server-2.11.1_p1-r1
new file mode 100644
index 000000000000..ccdef4d266a4
--- /dev/null
+++ b/net-irc/irc-server/files/digest-irc-server-2.11.1_p1-r1
@@ -0,0 +1,3 @@
+MD5 c5a2b3097a5fbeb91b39412730b02ab5 irc2.11.1p1.tgz 770458
+RMD160 c2e3fcc599c9a60821065020ca61d0cff8fed305 irc2.11.1p1.tgz 770458
+SHA256 29f83e82cd55f2e2f4362d95eae1da6b53dc1b7d05ff3f41be7b42e6dcbf2e1d irc2.11.1p1.tgz 770458
diff --git a/net-irc/irc-server/irc-server-2.11.1_p1-r1.ebuild b/net-irc/irc-server/irc-server-2.11.1_p1-r1.ebuild
new file mode 100644
index 000000000000..3b57e47d8d97
--- /dev/null
+++ b/net-irc/irc-server/irc-server-2.11.1_p1-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irc-server/irc-server-2.11.1_p1-r1.ebuild,v 1.1 2006/09/25 07:39:03 jokey Exp $
+
+inherit eutils versionator flag-o-matic
+
+MY_P=irc${PV/_/}
+
+DESCRIPTION="RFC compliant IRC server"
+HOMEPAGE="http://www.irc.org/"
+SRC_URI="ftp://ftp.irc.org/irc/server/${MY_P}.tgz
+ ftp://ftp.irc.org/irc/server/Old/irc$(get_version_component_range 1-2)/${MY_P}.tgz"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="zlib ipv6"
+
+RDEPEND="sys-libs/ncurses
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ sys-apps/sed
+ sys-apps/grep"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ enewgroup ircd
+ enewuser ircd -1 -1 -1 ircd
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/2.10.3_p3-gentoo.patch
+}
+
+src_compile () {
+ append-ldflags -lm
+
+ sed -i \
+ -e "s/^#undef\tOPER_KILL$/#define\tOPER_KILL/" \
+ -e "s/^#undef\tOPER_RESTART$/#define\tOPER_RESTART/" \
+ -e "s/^#undef TIMEDKLINES$/#define\tTIMEDKLINES\t60/" \
+ -e "s/^#undef\tR_LINES$/#define\tR_LINES/" \
+ -e "s/^#undef\tCRYPT_OPER_PASSWORD$/#define\tCRYPT_OPER_PASSWORD/" \
+ -e "s/^#undef\tCRYPT_LINK_PASSWORD$/#define\tCRYPT_LINK_PASSWORD/" \
+ -e "s/^#undef\tIRC_UID$/#define\tIRC_UID\t$IRCUID/" \
+ -e "s/^#undef\tIRC_GID$/#define\tIRC_GID\t$IRCGID/" \
+ -e "s/^#undef USE_SERVICES$/#define\tUSE_SERVICES/" \
+ "${S}"/config.h.dist
+
+ use zlib && sed -i -e "s/^#undef\tZIP_LINKS$/#define\tZIP_LINKS/" ${S}/config.h.dist
+
+ econf \
+ --sysconfdir=/etc/ircd \
+ --localstatedir=/var/run/ircd \
+ --mandir='${prefix}/share/man' \
+ $(use_with zlib) \
+ $(use_enable ipv6 ip6) \
+ || die "econf failed"
+
+ cd $(support/config.guess)
+ emake ircd iauth chkconf ircd-mkpasswd ircdwatch tkserv || die "emake failed"
+}
+
+src_install() {
+ cd $(support/config.guess)
+
+ make \
+ prefix=${D}/usr \
+ ircd_conf_dir=${D}/etc/ircd \
+ ircd_var_dir=${D}/var/run/ircd \
+ ircd_log_dir=${D}/var/log \
+ install-server \
+ install-tkserv \
+ || die "make install failed"
+
+ fowners ircd:ircd /var/run/ircd
+
+ cd ../doc
+ dodoc \
+ *-New alt-irc-faq Authors BUGS ChangeLog Etiquette example.conf \
+ iauth-internals.txt INSTALL.appendix INSTALL.* LICENSE \
+ m4macros README RELEASE* rfc* SERVICE*
+
+ docinto Juped
+ dodoc Juped/Advertisement Juped/ChangeLog.* Juped/INSTALL
+
+ docinto Juped/US-Admin
+ dodoc Juped/US-Admin/Networking
+
+ docinto Nets
+ dodoc Nets/IRCNet
+
+ docinto Nets/Europe
+ dodoc Nets/Europe/*
+
+ newinitd "${FILESDIR}"/ircd.rc ircd
+}