summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-04-23 19:43:58 +0000
committerDonny Davies <woodchip@gentoo.org>2002-04-23 19:43:58 +0000
commitbb03dd842c33f2a469737a66d8e79a20270a6a77 (patch)
treef68fd1553cfde4631eecedb26373e06ea2171900
parentsmall fixes (diff)
downloadhistorical-bb03dd842c33f2a469737a66d8e79a20270a6a77.tar.gz
historical-bb03dd842c33f2a469737a66d8e79a20270a6a77.tar.bz2
historical-bb03dd842c33f2a469737a66d8e79a20270a6a77.zip
checked in nemesis. thanks to Alexander Gretencord <arutha@gmx.de> for the contribution
-rw-r--r--net-misc/nemesis/ChangeLog10
-rw-r--r--net-misc/nemesis/files/digest-nemesis-1.321
-rw-r--r--net-misc/nemesis/files/nemesis-1.32-gentoo.diff33
-rw-r--r--net-misc/nemesis/nemesis-1.32.ebuild31
4 files changed, 75 insertions, 0 deletions
diff --git a/net-misc/nemesis/ChangeLog b/net-misc/nemesis/ChangeLog
new file mode 100644
index 000000000000..08be50a2091b
--- /dev/null
+++ b/net-misc/nemesis/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-misc/nemesis
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nemesis/ChangeLog,v 1.1 2002/04/23 19:43:58 woodchip Exp $
+
+*nemesis-1.32.ebuild (23 Apr 2002)
+
+ 23 Apr 2002; Donny Davies <woodchip@gentoo.org> :
+
+ Initial package, thanks goto Alexander Gretencord <arutha@gmx.de>
+ for the contribution. Thanks Alexander! ;)
diff --git a/net-misc/nemesis/files/digest-nemesis-1.32 b/net-misc/nemesis/files/digest-nemesis-1.32
new file mode 100644
index 000000000000..f367295f0fe5
--- /dev/null
+++ b/net-misc/nemesis/files/digest-nemesis-1.32
@@ -0,0 +1 @@
+MD5 19e3e8eb6ff86c35580adf630e6df398 nemesis-1.32.tar.gz 57993
diff --git a/net-misc/nemesis/files/nemesis-1.32-gentoo.diff b/net-misc/nemesis/files/nemesis-1.32-gentoo.diff
new file mode 100644
index 000000000000..c67fe44b4598
--- /dev/null
+++ b/net-misc/nemesis/files/nemesis-1.32-gentoo.diff
@@ -0,0 +1,33 @@
+--- nemesis-1.32/Makefile.in Sun Jun 10 02:15:24 2001
++++ Makefile.in Thu Mar 21 19:50:35 2002
+@@ -12,6 +12,7 @@
+ srcdir = @srcdir@
+ VPATH = @srcdir@
+ prefix = @prefix@
++mandir = @mandir@
+
+ DEFINES += #-D__DEBUG
+
+@@ -93,14 +94,14 @@
+ $(INSTALL) -c -m 0755 $(RIP_TARGET) $(DESTDIR)$(prefix)/sbin
+ $(INSTALL) -c -m 0755 $(TCP_TARGET) $(DESTDIR)$(prefix)/sbin
+ $(INSTALL) -c -m 0755 $(UDP_TARGET) $(DESTDIR)$(prefix)/sbin
+- $(INSTALL) -c -m 0644 $(ARP_MAN) $(DESTDIR)$(prefix)/man/man1
+- $(INSTALL) -c -m 0644 $(DNS_MAN) $(DESTDIR)$(prefix)/man/man1
+- $(INSTALL) -c -m 0644 $(ICMP_MAN) $(DESTDIR)$(prefix)/man/man1
+- $(INSTALL) -c -m 0644 $(IGMP_MAN) $(DESTDIR)$(prefix)/man/man1
+- $(INSTALL) -c -m 0644 $(OSPF_MAN) $(DESTDIR)$(prefix)/man/man1
+- $(INSTALL) -c -m 0644 $(RIP_MAN) $(DESTDIR)$(prefix)/man/man1
+- $(INSTALL) -c -m 0644 $(TCP_MAN) $(DESTDIR)$(prefix)/man/man1
+- $(INSTALL) -c -m 0644 $(UDP_MAN) $(DESTDIR)$(prefix)/man/man1
++ $(INSTALL) -c -m 0644 $(ARP_MAN) $(DESTDIR)$(mandir)/man1
++ $(INSTALL) -c -m 0644 $(DNS_MAN) $(DESTDIR)$(mandir)/man1
++ $(INSTALL) -c -m 0644 $(ICMP_MAN) $(DESTDIR)$(mandir)/man1
++ $(INSTALL) -c -m 0644 $(IGMP_MAN) $(DESTDIR)$(mandir)/man1
++ $(INSTALL) -c -m 0644 $(OSPF_MAN) $(DESTDIR)$(mandir)/man1
++ $(INSTALL) -c -m 0644 $(RIP_MAN) $(DESTDIR)$(mandir)/man1
++ $(INSTALL) -c -m 0644 $(TCP_MAN) $(DESTDIR)$(mandir)/man1
++ $(INSTALL) -c -m 0644 $(UDP_MAN) $(DESTDIR)$(mandir)/man1
+
+ clean:
+ rm -f core *.core *.o $(ARP_TARGET) $(DNS_TARGET) \
diff --git a/net-misc/nemesis/nemesis-1.32.ebuild b/net-misc/nemesis/nemesis-1.32.ebuild
new file mode 100644
index 000000000000..bc9604d81103
--- /dev/null
+++ b/net-misc/nemesis/nemesis-1.32.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author: Alexander Gretencord <arutha@gmx.de>
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nemesis/nemesis-1.32.ebuild,v 1.1 2002/04/23 19:43:58 woodchip Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A commandline-based, portable human IP stack for UNIX/Linux"
+SRC_URI="http://jeff.wwti.com/nemesis/${P}.tar.gz"
+HOMEPAGE="http://jeff.wwti.com/nemesis/"
+
+RDEPEND="virtual/glibc >=net-libs/libpcap-0.6.2-r1"
+DEPEND="${RDEPEND} >=net-libs/libnet-1.0.2a"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.diff || die
+}
+
+src_compile() {
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --host=${CHOST} || die "bad ./configure"
+
+ emake || die "compile problem"
+}
+
+src_install () {
+ dodir /usr/sbin /usr/share/man/man1
+ make DESTDIR=${D} install || die
+}