pkgsrc/net/nemesis/patches/patch-aa
agc 6e8bb3dd55 Initial import of nemesis-1.32 into the NetBSD Packages Collection.
nemesis is a command-line UNIX network packet injection suite.

supported protocols: TCP, UDP, ICMP, ARP/RARP, IGMP, DNS,
                     RIP, and OSPF

"Nemesis attacks directed through fragrouter could be a most
powerful combination for the system auditor to find security
problems that could then be reported to the vendor(s), etc."
	- Curt Wilson in Global Incident Analysis Center Detects Report
		(SANS Institute - Nov 2000)

Provided in PR 14021 by xs@nitric.net.

Munged slightly by me to use buildlink functionality, and to use the
correct link time invocations for ELF binaries.
2001-10-11 15:37:55 +00:00

15 lines
563 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2001/10/11 15:37:55 agc Exp $
Make sure that ELF libs are linked into the binary properly
--- Makefile.in.orig Sun Jun 10 01:15:24 2001
+++ Makefile.in Thu Oct 11 16:30:18 2001
@@ -39,7 +39,7 @@
#
DEFINES += @OS_S_DEFINES@ `libnet-config --defines`
CFLAGS = @CFLAGS@ -I@prefix@/include
-LIBS = -L@prefix@/lib -lnet -lpcap @ADDITIONAL_LIBS@
+LIBS = -L@prefix@/lib -Wl,-R@prefix@/lib -lnet `libnet-config --libs` -lpcap @ADDITIONAL_LIBS@
ARP_OBJ = nemesis-arp.o nemesis-proto_arp.o
DNS_OBJ = nemesis-dns.o nemesis-proto_dns.o