add nemesis port
This commit is contained in:
parent
21e01d652b
commit
6ca67e9b9b
27
net/nemesis/Makefile
Normal file
27
net/nemesis/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2000/03/26 21:06:33 jeremy Exp $
|
||||
|
||||
DISTNAME= nemesis-1.0
|
||||
CATEGORIES= net
|
||||
NEED_VERSION= 1.230
|
||||
MASTER_SITES= http://www.packetfactory.net/Projects/nemesis/ \
|
||||
http://celerity.bartoli.org/projects/ \
|
||||
http://www.nol.net/~halogen/
|
||||
|
||||
MAINTAINER= halogen@nol.net
|
||||
FAKE= Yes
|
||||
HAS_CONFIGURE= Yes
|
||||
CONFIGURE_ARGS= --with-net-lib=${LOCALBASE}/lib \
|
||||
--with-net-inc=${LOCALBASE}/include
|
||||
|
||||
BUILD_DEPENDS= ${PREFIX}/lib/libnet.a::net/libnet
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
# pretty much stolen from espie@, he used this in zsh-devel
|
||||
post-configure:
|
||||
@perl -pi.bak -e 's,= ${PREFIX},= \$${DESTDIR}${PREFIX},' ${WRKBUILD}/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/nemesis/files/md5
Normal file
3
net/nemesis/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (nemesis-1.0.tar.gz) = f9f65e5c432116aff1288dbf8121b773
|
||||
RMD160 (nemesis-1.0.tar.gz) = a6345d914fcdf61de6fb8010c9d2086051f98b9d
|
||||
SHA1 (nemesis-1.0.tar.gz) = a691cecdd48706e3497b9c531b2b0f2cb28295ec
|
10
net/nemesis/patches/patch-aa
Normal file
10
net/nemesis/patches/patch-aa
Normal file
@ -0,0 +1,10 @@
|
||||
--- configure.orig Sat Mar 4 13:05:40 2000
|
||||
+++ configure Sat Mar 4 13:11:31 2000
|
||||
@@ -1022,6 +1022,7 @@
|
||||
if test "${with_net_inc+set}" = set; then
|
||||
withval="$with_net_inc"
|
||||
CFLAGS="${CFLAGS} -I${withval}"
|
||||
+ CPPFLAGS="${CPPFLAGS} `libnet-config --defines` -I${withval}"
|
||||
fi
|
||||
|
||||
|
1
net/nemesis/pkg/COMMENT
Normal file
1
net/nemesis/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
Command line arbitrary packet builder
|
5
net/nemesis/pkg/DESCR
Normal file
5
net/nemesis/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
Nemesis is a command line, portable "human IP stack". It can be
|
||||
useful for easy injection of packet streams from simple shell
|
||||
scripts. It supports 8 protocols (ARP, DNS, ICMP, IGMP, OSPF,
|
||||
RIP, TCP, UDP), and packets can be injected on either Layer 2 or
|
||||
Layer 3.
|
16
net/nemesis/pkg/PLIST
Normal file
16
net/nemesis/pkg/PLIST
Normal file
@ -0,0 +1,16 @@
|
||||
sbin/nemesis-arp
|
||||
sbin/nemesis-dns
|
||||
sbin/nemesis-icmp
|
||||
sbin/nemesis-igmp
|
||||
sbin/nemesis-ospf
|
||||
sbin/nemesis-rip
|
||||
sbin/nemesis-tcp
|
||||
sbin/nemesis-udp
|
||||
man/man1/nemesis-arp.1
|
||||
man/man1/nemesis-dns.1
|
||||
man/man1/nemesis-icmp.1
|
||||
man/man1/nemesis-igmp.1
|
||||
man/man1/nemesis-ospf.1
|
||||
man/man1/nemesis-rip.1
|
||||
man/man1/nemesis-tcp.1
|
||||
man/man1/nemesis-udp.1
|
Loading…
x
Reference in New Issue
Block a user