From d7be9c6cf37f2de101a0ec7c853bbc17e152aec5 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Mon, 21 Jun 2004 09:43:59 +0000 Subject: Initial import bug #49220 --- net-analyzer/neti/ChangeLog | 11 ++++++ net-analyzer/neti/Manifest | 3 ++ net-analyzer/neti/files/digest-neti-1.01 | 1 + net-analyzer/neti/files/neti-init | 21 ++++++++++++ net-analyzer/neti/metadata.xml | 12 +++++++ net-analyzer/neti/neti-1.01.ebuild | 58 ++++++++++++++++++++++++++++++++ 6 files changed, 106 insertions(+) create mode 100644 net-analyzer/neti/ChangeLog create mode 100644 net-analyzer/neti/Manifest create mode 100644 net-analyzer/neti/files/digest-neti-1.01 create mode 100644 net-analyzer/neti/files/neti-init create mode 100644 net-analyzer/neti/metadata.xml create mode 100644 net-analyzer/neti/neti-1.01.ebuild (limited to 'net-analyzer/neti') diff --git a/net-analyzer/neti/ChangeLog b/net-analyzer/neti/ChangeLog new file mode 100644 index 000000000000..7215dc6e6fc5 --- /dev/null +++ b/net-analyzer/neti/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-analyzer/neti +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/neti/ChangeLog,v 1.1 2004/06/21 09:43:59 dragonheart Exp $ + +*neti-1.01 (21 Jun 2004) + + 21 Jun 2004; Daniel Black +metadata.xml, + +files/neti-init, +neti-1.01.ebuild: + Initial import thanks to Ben Thomasmail Dylan + Vanderhoof in bug #49220 + diff --git a/net-analyzer/neti/Manifest b/net-analyzer/neti/Manifest new file mode 100644 index 000000000000..14ea1b8dd66a --- /dev/null +++ b/net-analyzer/neti/Manifest @@ -0,0 +1,3 @@ +MD5 be7f290f50fc5b041312164eb2163781 neti-1.01.ebuild 772 +MD5 8eb9608d83d2d180bb9731b4b811b5e2 files/neti-init 212 +MD5 68d7769784d731fd49d9283179d49dc6 files/digest-neti-1.01 61 diff --git a/net-analyzer/neti/files/digest-neti-1.01 b/net-analyzer/neti/files/digest-neti-1.01 new file mode 100644 index 000000000000..b816ccff245f --- /dev/null +++ b/net-analyzer/neti/files/digest-neti-1.01 @@ -0,0 +1 @@ +MD5 4f349c70fc499b6c06ae01516e6748bb neti-1.01.tar.gz 118884 diff --git a/net-analyzer/neti/files/neti-init b/net-analyzer/neti/files/neti-init new file mode 100644 index 000000000000..7b2bf56e3be6 --- /dev/null +++ b/net-analyzer/neti/files/neti-init @@ -0,0 +1,21 @@ +#!/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-analyzer/neti/files/neti-init,v 1.1 2004/06/21 09:43:59 dragonheart Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting netiathome" + start-stop-daemon --start --quiet --exec \ + /usr/bin/tethereal -iany -l -p -tad -V -R"udp||tcp||icmp||igmp" | neti + eend $? +} + +stop() { + ebegin "Stopping netiathome" + start-stop-daemon --stop --quiet --exec /usr/bin/tethereal + eend $? +} diff --git a/net-analyzer/neti/metadata.xml b/net-analyzer/neti/metadata.xml new file mode 100644 index 000000000000..b9fc2b9c6f11 --- /dev/null +++ b/net-analyzer/neti/metadata.xml @@ -0,0 +1,12 @@ + + + +no-herd + + dragonheart@gentoo.org + Daniel Black + A user ebuild that I felt obliged to include. Please take over if you want +it + + + diff --git a/net-analyzer/neti/neti-1.01.ebuild b/net-analyzer/neti/neti-1.01.ebuild new file mode 100644 index 000000000000..30cb502d052f --- /dev/null +++ b/net-analyzer/neti/neti-1.01.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/neti/neti-1.01.ebuild,v 1.1 2004/06/21 09:43:59 dragonheart Exp $ + +DESCRIPTION="NETI@Home research project from GATech" +HOMEPAGE="http://www.neti.gatech.edu" +SRC_URI="mirror://sourceforge/neti/${P}.tar.gz" +KEYWORDS="-*" +#KEYWORDS="~x86" +LICENSE="GPL-2" +SLOT="0" +RESTRICT="nomirror" + +IUSE="zlib java" + +RDEPEND="java? ( || ( >=virtual/jdk-1.2 >=virtual/jre-1.2 ) ) + net-libs/libpcap + net-analyzer/ethereal + virtual/glibc" + +DEPEND="java? ( >=virtual/jdk-1.2 ) + net-libs/libpcap + virtual/glibc + sys-devel/autoconf + sys-devel/automake + sys-devel/gcc" + +src_compile() { + econf \ + `use_with zlib` \ + || die "failed to configure" + + emake NETILogParse neti \ + || die "failed to make" + + if use java; + then + emake javadir=/usr/share/${PN} classjava.stamp + fi +} + +src_install() { + emake DESTDIR=${D} install-sbinPROGRAMS install-sbinSCRIPTS \ + install-sysconfDATA install-man || die "install failed" + + if use java; + then + emake javadir=/usr/share/${PN} \ + DESTDIR=${D} install-javaJAVA install-javaDATA || die "java install failed" + fi + + dobin /usr/bin + echo java -cp /usr/share/${PN} NETIMap > ${D}/usr/bin/NETIMap + fperms ugo+x /usr/bin/NETIMap + dodoc COPYING + exeinto /etc/init.d + newexe ${FILESDIR}/neti-init neti +} -- cgit v1.2.3-65-gdbad