summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-01-08 16:54:02 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-01-08 16:54:02 +0000
commit1daa86751732a348da64f009d4e428491321d7f6 (patch)
treebf158b1b98c95d2e213678d7684362f7db1093c0
parentinitial commit (diff)
downloadgentoo-2-1daa86751732a348da64f009d4e428491321d7f6.tar.gz
gentoo-2-1daa86751732a348da64f009d4e428491321d7f6.tar.bz2
gentoo-2-1daa86751732a348da64f009d4e428491321d7f6.zip
Version bump wrt #204834
(Portage version: 2.1.3.19)
-rw-r--r--net-irc/ngircd/ChangeLog9
-rw-r--r--net-irc/ngircd/files/digest-ngircd-0.10.43
-rw-r--r--net-irc/ngircd/ngircd-0.10.4.ebuild54
3 files changed, 64 insertions, 2 deletions
diff --git a/net-irc/ngircd/ChangeLog b/net-irc/ngircd/ChangeLog
index 4f702c63b5ff..ec3dab90584f 100644
--- a/net-irc/ngircd/ChangeLog
+++ b/net-irc/ngircd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-irc/ngircd
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ngircd/ChangeLog,v 1.33 2007/10/08 15:17:39 armin76 Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ngircd/ChangeLog,v 1.34 2008/01/08 16:54:01 armin76 Exp $
+
+*ngircd-0.10.4 (08 Jan 2008)
+
+ 08 Jan 2008; Raúl Porcel <armin76@gentoo.org> +ngircd-0.10.4.ebuild:
+ Version bump wrt #204834
08 Oct 2007; Raúl Porcel <armin76@gentoo.org> -ngircd-0.10.1.ebuild,
-ngircd-0.10.2.ebuild:
diff --git a/net-irc/ngircd/files/digest-ngircd-0.10.4 b/net-irc/ngircd/files/digest-ngircd-0.10.4
new file mode 100644
index 000000000000..1d85c70796e8
--- /dev/null
+++ b/net-irc/ngircd/files/digest-ngircd-0.10.4
@@ -0,0 +1,3 @@
+MD5 62d3320c461f8286da198baf3874a2ed ngircd-0.10.4.tar.gz 312054
+RMD160 31ecd597b14e5038259b43fd1b899268a4c3a350 ngircd-0.10.4.tar.gz 312054
+SHA256 6268d342d7854423e397928022c8191109315c2da30a3be52859f059fb289299 ngircd-0.10.4.tar.gz 312054
diff --git a/net-irc/ngircd/ngircd-0.10.4.ebuild b/net-irc/ngircd/ngircd-0.10.4.ebuild
new file mode 100644
index 000000000000..77d82d42e595
--- /dev/null
+++ b/net-irc/ngircd/ngircd-0.10.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ngircd/ngircd-0.10.4.ebuild,v 1.1 2008/01/08 16:54:01 armin76 Exp $
+
+inherit eutils
+
+DESCRIPTION="A IRC server written from scratch."
+HOMEPAGE="http://ngircd.barton.de/"
+SRC_URI="ftp://ftp.berlios.de/${PN}/${P}.tar.gz
+ ftp://ngircd.barton.de/pub//${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="zlib tcpd debug ident"
+RESTRICT="test"
+
+DEPEND="virtual/libc
+ zlib? ( sys-libs/zlib )
+ ident? ( net-libs/libident )
+ tcpd? ( sys-apps/tcp-wrappers )
+ >=sys-apps/sed-4"
+
+src_compile() {
+ econf \
+ --sysconfdir=/etc/ngircd \
+ $(use_with zlib) \
+ $(use_with tcpd tcp-wrappers) \
+ $(use_with ident ) \
+ $(use_enable debug) \
+ $(use_enable debug sniffer) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ sed -i \
+ -e "s:/usr/local/etc/ngircd.motd:/etc/ngircd/ngircd.motd:" \
+ -e "s:;ServerUID = 65534:ServerUID = ngircd:" \
+ -e "s:;ServerGID = 65534:ServerGID = nogroup:" \
+ doc/sample-ngircd.conf
+
+ make \
+ DESTDIR="${D}" \
+ docdir=/usr/share/doc/${PF} \
+ install || die "make install failed"
+
+ newinitd "${FILESDIR}"/ngircd.init.d ngircd
+}
+
+pkg_postinst() {
+ enewuser ngircd
+ chown ngircd "${ROOT}"/etc/ngircd/ngircd.conf
+}