summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-06-21 09:43:59 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-06-21 09:43:59 +0000
commitd7be9c6cf37f2de101a0ec7c853bbc17e152aec5 (patch)
treec8506544d0c8ac096b443d31dc1cccfd6e580726 /net-analyzer
parentForgot to add FONT_SUFFIX (Manifest recommit) (diff)
downloadgentoo-2-d7be9c6cf37f2de101a0ec7c853bbc17e152aec5.tar.gz
gentoo-2-d7be9c6cf37f2de101a0ec7c853bbc17e152aec5.tar.bz2
gentoo-2-d7be9c6cf37f2de101a0ec7c853bbc17e152aec5.zip
Initial import bug #49220
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/neti/ChangeLog11
-rw-r--r--net-analyzer/neti/Manifest3
-rw-r--r--net-analyzer/neti/files/digest-neti-1.011
-rw-r--r--net-analyzer/neti/files/neti-init21
-rw-r--r--net-analyzer/neti/metadata.xml12
-rw-r--r--net-analyzer/neti/neti-1.01.ebuild58
6 files changed, 106 insertions, 0 deletions
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 <dragonheart@gentoo.org> +metadata.xml,
+ +files/neti-init, +neti-1.01.ebuild:
+ Initial import thanks to Ben Thomasmail <ben@smallercircle.com> Dylan
+ Vanderhoof <llarian@llarian.net> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>dragonheart@gentoo.org</email>
+ <name>Daniel Black</name>
+ <description>A user ebuild that I felt obliged to include. Please take over if you want
+it</description>
+</maintainer>
+<longdescription></longdescription>
+</pkgmetadata>
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
+}