summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-06-12 13:38:27 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-06-12 13:38:27 +0000
commitdc8a2ba671357757bd4a07c4f327e696113969fa (patch)
tree2e3ac16a5262b8d2e814840fd8aab7e2760183e1 /net-irc/ngircd
parentKeyworded ~sparc wrt #181670 (diff)
downloadgentoo-2-dc8a2ba671357757bd4a07c4f327e696113969fa.tar.gz
gentoo-2-dc8a2ba671357757bd4a07c4f327e696113969fa.tar.bz2
gentoo-2-dc8a2ba671357757bd4a07c4f327e696113969fa.zip
Version bump, thanks to Marek Czernohous <mc at it42 dot de> in bug 181521
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-irc/ngircd')
-rw-r--r--net-irc/ngircd/ChangeLog7
-rw-r--r--net-irc/ngircd/files/digest-ngircd-0.10.23
-rw-r--r--net-irc/ngircd/ngircd-0.10.2.ebuild54
3 files changed, 63 insertions, 1 deletions
diff --git a/net-irc/ngircd/ChangeLog b/net-irc/ngircd/ChangeLog
index aa4d9851235e..49d52824b1df 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.26 2007/04/24 18:52:22 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ngircd/ChangeLog,v 1.27 2007/06/12 13:38:27 armin76 Exp $
+
+*ngircd-0.10.2 (12 Jun 2007)
+
+ 12 Jun 2007; Raúl Porcel <armin76@gentoo.org> +ngircd-0.10.2.ebuild:
+ Version bump, thanks to Marek Czernohous <mc at it42 dot de> in bug 181521
24 Apr 2007; Raúl Porcel <armin76@gentoo.org> -ngircd-0.8.3.ebuild:
old
diff --git a/net-irc/ngircd/files/digest-ngircd-0.10.2 b/net-irc/ngircd/files/digest-ngircd-0.10.2
new file mode 100644
index 000000000000..44fb3b2822bd
--- /dev/null
+++ b/net-irc/ngircd/files/digest-ngircd-0.10.2
@@ -0,0 +1,3 @@
+MD5 9468e2fb9c0bcc6d640f2e0e3cf2ca18 ngircd-0.10.2.tar.gz 311767
+RMD160 e047a1c7b58838087c2e1ed4ffc1244c76b5b401 ngircd-0.10.2.tar.gz 311767
+SHA256 fa7e17f16ee049b9be096f287e5bc45e6981228a156db137a79d987ae69af0f0 ngircd-0.10.2.tar.gz 311767
diff --git a/net-irc/ngircd/ngircd-0.10.2.ebuild b/net-irc/ngircd/ngircd-0.10.2.ebuild
new file mode 100644
index 000000000000..a2a48c02480c
--- /dev/null
+++ b/net-irc/ngircd/ngircd-0.10.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ngircd/ngircd-0.10.2.ebuild,v 1.1 2007/06/12 13:38:27 armin76 Exp $
+
+inherit eutils
+
+DESCRIPTION="A IRC server written from scratch."
+HOMEPAGE="http://ngircd.barton.de/"
+SRC_URI="mirror://berlios/${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
+}