summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-05 15:47:07 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-05 15:47:07 +0000
commit73e5cc4715a3fb39cbd28b4244caa00576280f83 (patch)
tree6601bc222f5af50ed8c95b5a1a516b7ffcfeb9ba /net-misc
parentstable on sparc (Manifest recommit) (diff)
downloadgentoo-2-73e5cc4715a3fb39cbd28b4244caa00576280f83.tar.gz
gentoo-2-73e5cc4715a3fb39cbd28b4244caa00576280f83.tar.bz2
gentoo-2-73e5cc4715a3fb39cbd28b4244caa00576280f83.zip
initial ebuild #9367
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/midentd/ChangeLog8
-rw-r--r--net-misc/midentd/files/digest-midentd-2.3.11
-rw-r--r--net-misc/midentd/files/midentd.rc18
-rw-r--r--net-misc/midentd/midentd-2.3.1.ebuild34
4 files changed, 61 insertions, 0 deletions
diff --git a/net-misc/midentd/ChangeLog b/net-misc/midentd/ChangeLog
new file mode 100644
index 000000000000..ae690c395b12
--- /dev/null
+++ b/net-misc/midentd/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-misc/midentd
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/midentd/ChangeLog,v 1.1 2004/03/05 15:47:07 vapier Exp $
+
+*midentd-2.3.1 (05 Mar 2004)
+
+ 05 Mar 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Georgi Georgiev #9367.
diff --git a/net-misc/midentd/files/digest-midentd-2.3.1 b/net-misc/midentd/files/digest-midentd-2.3.1
new file mode 100644
index 000000000000..282110fa1437
--- /dev/null
+++ b/net-misc/midentd/files/digest-midentd-2.3.1
@@ -0,0 +1 @@
+MD5 84aca797c2569667a52fa9f5d4ac3e21 midentd-2.3.1.tar.gz 14298
diff --git a/net-misc/midentd/files/midentd.rc b/net-misc/midentd/files/midentd.rc
new file mode 100644
index 000000000000..9f8ebb2782fb
--- /dev/null
+++ b/net-misc/midentd/files/midentd.rc
@@ -0,0 +1,18 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/midentd/files/midentd.rc,v 1.1 2004/03/05 15:47:07 vapier Exp $
+
+start() {
+ ebegin "Starting midentd"
+ start-stop-daemon --start --quiet \
+ --pidfile /var/run/midentd.pid --exec /usr/sbin/midentd \
+ -- -u nobody -f
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping midentd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/midentd.pid
+ eend $?
+}
diff --git a/net-misc/midentd/midentd-2.3.1.ebuild b/net-misc/midentd/midentd-2.3.1.ebuild
new file mode 100644
index 000000000000..c7212590b35e
--- /dev/null
+++ b/net-misc/midentd/midentd-2.3.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/midentd/midentd-2.3.1.ebuild,v 1.1 2004/03/05 15:47:07 vapier Exp $
+
+DESCRIPTION="ident daemon with masquerading and fake replies support"
+HOMEPAGE="http://panorama.sth.ac.at/midentd/"
+SRC_URI="http://panorama.sth.ac.at/midentd/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND="dev-lang/perl"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i 's:/usr/local:/usr:' midentd.xinetd
+}
+
+src_install() {
+ dosbin midentd midentd.logcycle || die
+
+ insinto /etc/xinetd.d
+ doins midentd.xinetd
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/midentd.rc midentd
+
+ dodoc CHANGELOG README
+
+ dodir /var/log
+ touch ${D}/var/log/midentd.log
+ fowners nobody:nobody /var/log/midentd.log
+}