summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-07-20 11:41:58 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-07-20 11:41:58 +0000
commit609e4bbc7f8b7151cb34e30002beac512f9f3e24 (patch)
tree9fa01e82263a78894d7e781deb4fad9cb7083b97 /net-analyzer/neti
parentVersion bump. (diff)
downloadgentoo-2-609e4bbc7f8b7151cb34e30002beac512f9f3e24.tar.gz
gentoo-2-609e4bbc7f8b7151cb34e30002beac512f9f3e24.tar.bz2
gentoo-2-609e4bbc7f8b7151cb34e30002beac512f9f3e24.zip
neti-2.0 added and a wireshark version of neti-1.01
(Portage version: 2.1.1_pre3-r1)
Diffstat (limited to 'net-analyzer/neti')
-rw-r--r--net-analyzer/neti/ChangeLog14
-rw-r--r--net-analyzer/neti/files/digest-neti-1.01-r23
-rw-r--r--net-analyzer/neti/files/digest-neti-2.03
-rw-r--r--net-analyzer/neti/files/neti-init220
-rw-r--r--net-analyzer/neti/neti-1.01-r2.ebuild59
-rw-r--r--net-analyzer/neti/neti-2.0.ebuild47
6 files changed, 145 insertions, 1 deletions
diff --git a/net-analyzer/neti/ChangeLog b/net-analyzer/neti/ChangeLog
index 781cb9860d39..3c4c0a9122ce 100644
--- a/net-analyzer/neti/ChangeLog
+++ b/net-analyzer/neti/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for net-analyzer/neti
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/neti/ChangeLog,v 1.10 2006/04/27 21:37:11 antarus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/neti/ChangeLog,v 1.11 2006/07/20 11:41:58 dragonheart Exp $
+
+*neti-1.01-r2 (20 Jul 2006)
+
+ 20 Jul 2006; Daniel Black <dragonheart@gentoo.org> +files/neti-init2,
+ +neti-1.01-r2.ebuild, +neti-2.0.ebuild:
+ wireshark version of 1.01
+
+*neti-2.0 (20 Jul 2006)
+
+ 20 Jul 2006; Daniel Black <dragonheart@gentoo.org> +files/neti-init2,
+ +neti-2.0.ebuild:
+ version bump
27 Apr 2006; Alec Warner <antarus@gentoo.org> files/digest-neti-1.01-r1,
Manifest:
diff --git a/net-analyzer/neti/files/digest-neti-1.01-r2 b/net-analyzer/neti/files/digest-neti-1.01-r2
new file mode 100644
index 000000000000..108caa5aecce
--- /dev/null
+++ b/net-analyzer/neti/files/digest-neti-1.01-r2
@@ -0,0 +1,3 @@
+MD5 4f349c70fc499b6c06ae01516e6748bb neti-1.01.tar.gz 118884
+RMD160 d4026190fea41d8364b27437cd0802d1d09899b6 neti-1.01.tar.gz 118884
+SHA256 dce2fd1cddb1356bac823109a0c5991962c4bb7c356cfa7de11e1a92f4c2e016 neti-1.01.tar.gz 118884
diff --git a/net-analyzer/neti/files/digest-neti-2.0 b/net-analyzer/neti/files/digest-neti-2.0
new file mode 100644
index 000000000000..c5d0a6363437
--- /dev/null
+++ b/net-analyzer/neti/files/digest-neti-2.0
@@ -0,0 +1,3 @@
+MD5 6c5382ce80b1bbc7bb7ea5015bf2b9f3 neti-2.0.tar.gz 383442
+RMD160 89a11eaf14d2ef815c6f24a8aea0e58417b2f207 neti-2.0.tar.gz 383442
+SHA256 483f2955baa17a1143ea60ead4a6744f4802dbe8a8a55ad22bd9992322a6e867 neti-2.0.tar.gz 383442
diff --git a/net-analyzer/neti/files/neti-init2 b/net-analyzer/neti/files/neti-init2
new file mode 100644
index 000000000000..d6bfc5327463
--- /dev/null
+++ b/net-analyzer/neti/files/neti-init2
@@ -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-analyzer/neti/files/neti-init2,v 1.1 2006/07/20 11:41:58 dragonheart Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting netiathome"
+ start-stop-daemon --start --quiet --exec /usr/sbin/neti -- -D
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping netiathome"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/neti
+ eend $?
+}
diff --git a/net-analyzer/neti/neti-1.01-r2.ebuild b/net-analyzer/neti/neti-1.01-r2.ebuild
new file mode 100644
index 000000000000..c234e5c80388
--- /dev/null
+++ b/net-analyzer/neti/neti-1.01-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/neti/neti-1.01-r2.ebuild,v 1.1 2006/07/20 11:41:58 dragonheart Exp $
+
+DESCRIPTION="NETI@Home research project from GATech"
+HOMEPAGE="http://www.neti.gatech.edu"
+SRC_URI="mirror://sourceforge/neti/${P}.tar.gz"
+KEYWORDS="~ppc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="zlib java"
+
+RDEPEND="java? ( || ( >=virtual/jdk-1.2 >=virtual/jre-1.2 ) )
+ net-analyzer/wireshark
+ virtual/libc"
+
+DEPEND="java? ( >=virtual/jdk-1.2 )
+ net-libs/libpcap"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # start-stop-daemon asks for this
+ sed -i -e "1i\#\!/bin/sh" NETIStart || die "sed NETIStart failed"
+}
+
+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
+ sed -i -e s/ethereal/shark/g "${D}"/etc/init.d/neti "${D}"/usr/sbin/NETIStart
+}
diff --git a/net-analyzer/neti/neti-2.0.ebuild b/net-analyzer/neti/neti-2.0.ebuild
new file mode 100644
index 000000000000..e3b2ddebe170
--- /dev/null
+++ b/net-analyzer/neti/neti-2.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/neti/neti-2.0.ebuild,v 1.1 2006/07/20 11:41:58 dragonheart Exp $
+
+DESCRIPTION="NETI@Home research project from GATech"
+HOMEPAGE="http://www.neti.gatech.edu"
+SRC_URI="mirror://sourceforge/neti/${P}.tar.gz"
+KEYWORDS="~ppc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="zlib java"
+RDEPEND="java? ( || ( >=virtual/jdk-1.2 >=virtual/jre-1.2 ) )
+ virtual/libc"
+DEPEND="${RDEPEND}"
+RESTRICT="test"
+
+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-sysconfDATA install-man install-info || die "install failed"
+
+ if use java;
+ then
+ emake javadir=/usr/share/${PN} \
+ DESTDIR="${D}" install-javaJAVA install-javaDATA || die "java install failed"
+ dobin /usr/bin
+ echo cd /usr/share/${PN}\;java -cp /usr/share/${PN} NETIMap > "${D}"/usr/bin/NETIMap
+ fperms ugo+x /usr/bin/NETIMap
+ fi
+
+ dodoc README AUTHORS
+ exeinto /etc/init.d
+ newexe "${FILESDIR}"/neti-init2 neti
+}