the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: nemesis
Version: 1.4
Revision: 23
Maintainer: Zra Jiraratana
#
Conflicts: ettercap-ssl-gtk
BuildDepends: fink (>= 0.24.12), libnet1.0 (>= 1.0.2a-101)
Depends: libnet1.0-shlibs (>= 1.0.2a-101)
PatchFile: %n.patch
PatchFile-MD5: 5a49c32edbf64ad864c8272a9d606f8c
PatchScript: sed 's|@PREFIX@|%p|' < %{PatchFile} | patch -p1
Source: http://www.packetfactory.net/projects/nemesis/nemesis-%vbeta3.tar.gz
Source-MD5: 6409bddf2d54cc9400028f491d342aea
ConfigureParams: --prefix=%p --with-libnet-include=%p
#
License: GPL
Homepage: http://www.packetfactory.net/projects/nemesis/
#
Description: Packet Injection
DescDetail: <<
Nemesis is a command-line network packet injection utility for
UNIX-like and Windows systems. You might think of it as an EZ-bake
packet oven or a manually controlled IP stack.
With Nemesis, it is possible to generate and transmit
packets from the command line or from within a shell script.
<<
DescPackaging: <<
As of nemesis-1.4-22, will *only* build with libnet1.0 (1.0.2a) not libnet1.1
<<
diff -Naur nemesis-1.4beta3/configure nemesis-1.4beta3-patch/configure
--- nemesis-1.4beta3/configure Thu May 29 09:44:55 2003
+++ nemesis-1.4beta3-patch/configure Mon Nov 1 23:15:39 2004
@@ -178,7 +178,7 @@
includedir='${prefix}/include'
oldincludedir='/usr/include'
infodir='${prefix}/info'
-mandir='${prefix}/man'
+mandir='${prefix}/share/man'
# Identity of this package.
PACKAGE_NAME=
@@ -2689,8 +2689,8 @@
#define MACOS 1
EOF
- LIBS="${LIBS} -L/sw/lib"
- CPPFLAGS="${CPPFLAGS} -I/sw/include"
+ LIBS="${LIBS} -L@PREFIX@/lib"
+ CPPFLAGS="${CPPFLAGS} -I@PREFIX@/include"
;;
*)
@@ -2705,7 +2705,7 @@
CFLAGS="${CFLAGS} -funroll-loops -fomit-frame-pointer -pipe"
if test `libnet-config --cflags | wc -c` = "1"; then
- CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/sw/include"
+ CPPFLAGS="${CPPFLAGS} -I@PREFIX@/include"
LIBNET_CONFIG_BROKEN_CFLAGS=yes
else
CPPFLAGS="${CPPFLAGS} `libnet-config --cflags`"
@@ -2716,7 +2716,7 @@
echo "$as_me: WARNING: libnet-config --libs is broken on your system. If you" >&2;}
{ echo "$as_me:2717: WARNING: are using a precompiled package please notify the maintainer." >&5
echo "$as_me: WARNING: are using a precompiled package please notify the maintainer." >&2;}
- LIBS="${LIBS} -L/usr/local/lib -L/sw/lib"
+ LIBS="${LIBS} -L@PREFIX@/lib"
else
LIBS="${LIBS} `libnet-config --libs | sed s/\-lnet//`"
fi
@@ -3615,7 +3615,7 @@
if test -n "$with_libnet_includes" -a "$with_libnet_includes" != "no"; then
libnet_dir="${with_libnet_includes}"
else
- libnet_dir="/usr/include /usr/local/include /sw/include"
+ libnet_dir="@PREFIX@/include"
fi
else
libnet_dir=`libnet-config --cflags | cut -dI -f2`