summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-07-08 22:59:54 +0000
committerSven Wegener <swegener@gentoo.org>2004-07-08 22:59:54 +0000
commitb5619b0e4b52a86225788e07dc7407dc4355e315 (patch)
tree53c03379e0bd9f3c2618b59e42113b3e23bce1fd /net-irc/ngircd
parentx86 stable (Manifest recommit) (diff)
downloadgentoo-2-b5619b0e4b52a86225788e07dc7407dc4355e315.tar.gz
gentoo-2-b5619b0e4b52a86225788e07dc7407dc4355e315.tar.bz2
gentoo-2-b5619b0e4b52a86225788e07dc7407dc4355e315.zip
Version bump and added init script.
Diffstat (limited to 'net-irc/ngircd')
-rw-r--r--net-irc/ngircd/ChangeLog8
-rw-r--r--net-irc/ngircd/Manifest3
-rw-r--r--net-irc/ngircd/files/digest-ngircd-0.8.01
-rw-r--r--net-irc/ngircd/files/ngircd.init.d20
-rw-r--r--net-irc/ngircd/ngircd-0.8.0.ebuild53
5 files changed, 84 insertions, 1 deletions
diff --git a/net-irc/ngircd/ChangeLog b/net-irc/ngircd/ChangeLog
index 26c6a9750416..33e410090be7 100644
--- a/net-irc/ngircd/ChangeLog
+++ b/net-irc/ngircd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/ngircd
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ngircd/ChangeLog,v 1.5 2004/07/01 22:22:34 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ngircd/ChangeLog,v 1.6 2004/07/08 22:59:53 swegener Exp $
+
+*ngircd-0.8.0 (09 Jul 2004)
+
+ 09 Jul 2004; Sven Wegener <swegener@gentoo.org> +files/ngircd.init.d,
+ +ngircd-0.8.0.ebuild:
+ Version bump and added init script.
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> ngircd-0.7.7.ebuild:
virtual/glibc -> virtual/libc
diff --git a/net-irc/ngircd/Manifest b/net-irc/ngircd/Manifest
index f960ac4fd683..f3c3b809888c 100644
--- a/net-irc/ngircd/Manifest
+++ b/net-irc/ngircd/Manifest
@@ -1,4 +1,7 @@
MD5 be67e159a467d9ae615e4f769aad2593 ChangeLog 644
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
MD5 cc4f05db0de7388e163e196fe7dee193 ngircd-0.7.7.ebuild 621
+MD5 9fc3a6691cc343a45e2661fafae50bf7 ngircd-0.8.0.ebuild 1287
MD5 a3a523dfbf1853555c797713c5c45866 files/digest-ngircd-0.7.7 64
+MD5 c3a876cce91e393df2aff937add2b823 files/ngircd.init.d 423
+MD5 ebc2472c14cff12e0907bbdfafab981a files/digest-ngircd-0.8.0 64
diff --git a/net-irc/ngircd/files/digest-ngircd-0.8.0 b/net-irc/ngircd/files/digest-ngircd-0.8.0
new file mode 100644
index 000000000000..544a8ed5f475
--- /dev/null
+++ b/net-irc/ngircd/files/digest-ngircd-0.8.0
@@ -0,0 +1 @@
+MD5 192f946154c8b9b877f02f367029bc96 ngircd-0.8.0.tar.gz 266818
diff --git a/net-irc/ngircd/files/ngircd.init.d b/net-irc/ngircd/files/ngircd.init.d
new file mode 100644
index 000000000000..0e8617fa3678
--- /dev/null
+++ b/net-irc/ngircd/files/ngircd.init.d
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ngircd/files/ngircd.init.d,v 1.1 2004/07/08 22:59:54 swegener Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting ngIRCd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/ngircd
+ eend $? "Failed to start ngIRCd"
+}
+
+stop() {
+ ebegin "Stopping ngIRCd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/ngircd
+ eend $? "Failed to stop ngIRCd"
+}
diff --git a/net-irc/ngircd/ngircd-0.8.0.ebuild b/net-irc/ngircd/ngircd-0.8.0.ebuild
new file mode 100644
index 000000000000..e87df9a946eb
--- /dev/null
+++ b/net-irc/ngircd/ngircd-0.8.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ngircd/ngircd-0.8.0.ebuild,v 1.1 2004/07/08 22:59:53 swegener Exp $
+
+inherit eutils
+
+DESCRIPTION="A IRC server written from scratch."
+HOMEPAGE="http://arthur.ath.cx/~alex/ngircd/"
+SRC_URI="ftp://download.berlios.de/pub/ngircd/${P}.tar.gz
+ ftp://arthur.ath.cx/pub/Users/alex/ngircd/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+
+IUSE="zlib tcpd debug"
+
+RDEPEND="virtual/libc
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_compile() {
+ econf \
+ --sysconfdir=/etc/ngircd \
+ $(use_with zlib) \
+ $(use_with tcpd tcp-wrappers) \
+ $(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"
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/ngircd.init.d ngircd
+}
+
+pkg_postinst() {
+ enewuser ngircd
+ chown ngircd ${ROOT}/etc/ngircd/ngircd.conf
+}