From bb03dd842c33f2a469737a66d8e79a20270a6a77 Mon Sep 17 00:00:00 2001 From: Donny Davies Date: Tue, 23 Apr 2002 19:43:58 +0000 Subject: checked in nemesis. thanks to Alexander Gretencord for the contribution --- net-misc/nemesis/ChangeLog | 10 ++++++++ net-misc/nemesis/files/digest-nemesis-1.32 | 1 + net-misc/nemesis/files/nemesis-1.32-gentoo.diff | 33 +++++++++++++++++++++++++ net-misc/nemesis/nemesis-1.32.ebuild | 31 +++++++++++++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 net-misc/nemesis/ChangeLog create mode 100644 net-misc/nemesis/files/digest-nemesis-1.32 create mode 100644 net-misc/nemesis/files/nemesis-1.32-gentoo.diff create mode 100644 net-misc/nemesis/nemesis-1.32.ebuild 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 : + + Initial package, thanks goto Alexander Gretencord + 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 +# $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 +} -- cgit v1.2.3-65-gdbad