aboutsummaryrefslogtreecommitdiffstats
path: root/net/nemesis
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-01-29 22:20:37 +0800
committersf <sf@FreeBSD.org>2001-01-29 22:20:37 +0800
commit8f3a61882dd8cce9a234e56cbf4bca91568293e3 (patch)
treee730cccfaa1e74ce917dbb555d2f734f4bbf39b9 /net/nemesis
parent81dd0dd5d74c392621b9473334753f2a7b2cb19d (diff)
downloadfreebsd-ports-gnome-8f3a61882dd8cce9a234e56cbf4bca91568293e3.tar.gz
freebsd-ports-gnome-8f3a61882dd8cce9a234e56cbf4bca91568293e3.tar.zst
freebsd-ports-gnome-8f3a61882dd8cce9a234e56cbf4bca91568293e3.zip
update to 1.2.
PR: 24674 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'net/nemesis')
-rw-r--r--net/nemesis/Makefile15
-rw-r--r--net/nemesis/distinfo2
-rw-r--r--net/nemesis/files/patch-aa52
-rw-r--r--net/nemesis/files/patch-configure11
-rw-r--r--net/nemesis/pkg-descr2
5 files changed, 62 insertions, 20 deletions
diff --git a/net/nemesis/Makefile b/net/nemesis/Makefile
index 26d92b90428d..0d77ee3f4ba5 100644
--- a/net/nemesis/Makefile
+++ b/net/nemesis/Makefile
@@ -6,19 +6,20 @@
#
PORTNAME= nemesis
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= net security
-MASTER_SITES= http://celerity.bartoli.org/nemesis/ \
- http://www.packetfactory.net/Projects/nemesis/ \
- http://www.nol.net/~halogen/
+MASTER_SITES= http://www.packetninja.net/nemesis/
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
-WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
-MAN1= nemesis-arp.1 nemesis-dns.1 nemesis-icmp.1 nemesis-igmp.1
-MAN1+= nemesis-ospf.1 nemesis-rip.1 nemesis-tcp.1 nemesis-udp.1
+CONFIGURE_ENV= CCOPTS="${CFLAGS}" \
+ CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib" \
+
+MAN1= nemesis-arp.1 nemesis-dns.1 nemesis-icmp.1 nemesis-igmp.1 \
+ nemesis-ospf.1 nemesis-rip.1 nemesis-tcp.1 nemesis-udp.1
.include <bsd.port.mk>
diff --git a/net/nemesis/distinfo b/net/nemesis/distinfo
index 5a9a2ef6671f..f86ad9dea2e4 100644
--- a/net/nemesis/distinfo
+++ b/net/nemesis/distinfo
@@ -1 +1 @@
-MD5 (nemesis-1.1.tar.gz) = 5c777f73900663f17df8da296aefc4c5
+MD5 (nemesis-1.2.tar.gz) = 2cbea648d14be173cb64f9375c70425a
diff --git a/net/nemesis/files/patch-aa b/net/nemesis/files/patch-aa
new file mode 100644
index 000000000000..8a43125610e6
--- /dev/null
+++ b/net/nemesis/files/patch-aa
@@ -0,0 +1,52 @@
+--- Makefile.in.orig Sun Dec 31 10:49:50 2000
++++ Makefile.in Thu Jan 25 20:31:53 2001
+@@ -34,6 +34,8 @@
+ UDP_MAN = nemesis-udp.1
+
+ INSTALL = @INSTALL@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_DATA = @INSTALL_DATA@
+
+ # Compiler
+ #
+@@ -84,23 +86,23 @@
+ strip $(TCP_TARGET)
+ strip $(UDP_TARGET)
+
+-install: nemesis strip
+- $(INSTALL) -c -m 0755 $(ARP_TARGET) $(DESTDIR)$(prefix)/sbin
+- $(INSTALL) -c -m 0755 $(DNS_TARGET) $(DESTDIR)$(prefix)/sbin
+- $(INSTALL) -c -m 0755 $(ICMP_TARGET) $(DESTDIR)$(prefix)/sbin
+- $(INSTALL) -c -m 0755 $(IGMP_TARGET) $(DESTDIR)$(prefix)/sbin
+- $(INSTALL) -c -m 0755 $(OSPF_TARGET) $(DESTDIR)$(prefix)/sbin
+- $(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: all
++ $(INSTALL_PROGRAM) $(ARP_TARGET) $(DESTDIR)$(prefix)/sbin
++ $(INSTALL_PROGRAM) $(DNS_TARGET) $(DESTDIR)$(prefix)/sbin
++ $(INSTALL_PROGRAM) $(ICMP_TARGET) $(DESTDIR)$(prefix)/sbin
++ $(INSTALL_PROGRAM) $(IGMP_TARGET) $(DESTDIR)$(prefix)/sbin
++ $(INSTALL_PROGRAM) $(OSPF_TARGET) $(DESTDIR)$(prefix)/sbin
++ $(INSTALL_PROGRAM) $(RIP_TARGET) $(DESTDIR)$(prefix)/sbin
++ $(INSTALL_PROGRAM) $(TCP_TARGET) $(DESTDIR)$(prefix)/sbin
++ $(INSTALL_PROGRAM) $(UDP_TARGET) $(DESTDIR)$(prefix)/sbin
++ $(INSTALL_DATA) $(ARP_MAN) $(DESTDIR)$(prefix)/man/man1
++ $(INSTALL_DATA) $(DNS_MAN) $(DESTDIR)$(prefix)/man/man1
++ $(INSTALL_DATA) $(ICMP_MAN) $(DESTDIR)$(prefix)/man/man1
++ $(INSTALL_DATA) $(IGMP_MAN) $(DESTDIR)$(prefix)/man/man1
++ $(INSTALL_DATA) $(OSPF_MAN) $(DESTDIR)$(prefix)/man/man1
++ $(INSTALL_DATA) $(RIP_MAN) $(DESTDIR)$(prefix)/man/man1
++ $(INSTALL_DATA) $(TCP_MAN) $(DESTDIR)$(prefix)/man/man1
++ $(INSTALL_DATA) $(UDP_MAN) $(DESTDIR)$(prefix)/man/man1
+
+ clean:
+ rm -f core *.core *.o $(ARP_TARGET) $(DNS_TARGET) \
diff --git a/net/nemesis/files/patch-configure b/net/nemesis/files/patch-configure
deleted file mode 100644
index 84d5fe932aec..000000000000
--- a/net/nemesis/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Fri Jun 23 19:38:00 2000
-+++ configure Fri Jul 7 11:46:04 2000
-@@ -639,7 +639,7 @@
-
- if test -z "${CFLAGS}"; then
- if test -z "${CCOPTS}"; then
-- CCOPTS='-O3 -funroll-loops -fomit-frame-pointer -pipe'
-+ CCOPTS='-O -funroll-loops -fomit-frame-pointer -pipe'
- fi
- CFLAGS="$CCOPTS"
- fi
diff --git a/net/nemesis/pkg-descr b/net/nemesis/pkg-descr
index 233df21b4338..8104e4378b5f 100644
--- a/net/nemesis/pkg-descr
+++ b/net/nemesis/pkg-descr
@@ -19,4 +19,4 @@ injected on either Layer 2 or Layer 3.
In other words, who-has the mac address of 10.10.15.1, tell 10.11.30.5
- assuming 00:01:02:03:04:05 is the source mac address of our 'ne0' device.
-WWW: http://celerity.bartoli.org/nemesis/
+WWW: http://www.packetninja.net/nemesis/