head	1.6;
access;
symbols
	RELEASE_8_3_0:1.6
	RELEASE_9_0_0:1.6
	RELEASE_7_4_0:1.6
	RELEASE_8_2_0:1.6
	RELEASE_6_EOL:1.6
	RELEASE_8_1_0:1.6
	RELEASE_7_3_0:1.6
	RELEASE_8_0_0:1.6
	RELEASE_7_2_0:1.5
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.5
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1;
locks; strict;
comment	@# @;


1.6
date	2009.08.27.14.38.04;	author amdmi3;	state Exp;
branches;
next	1.5;

1.5
date	2007.01.31.14.09.55;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2006.07.10.16.22.04;	author se;	state Exp;
branches;
next	1.3;

1.3
date	2006.07.10.16.10.59;	author se;	state Exp;
branches;
next	1.2;

1.2
date	2006.06.25.10.15.37;	author se;	state Exp;
branches;
next	1.1;

1.1
date	2005.07.26.17.13.00;	author se;	state Exp;
branches;
next	;


desc
@@


1.6
log
@- Update to 0.7.1
- Pass maintainership to submitter
- While here, fix build WITH_GTK and fix some identation

PR:		138005
Submitted by:	Ayumi M <ayu@@commun.jp>
@
text
@--- configure.orig	2007-01-27 04:22:30.000000000 +0900
+++ configure	2009-08-19 22:35:11.000000000 +0900
@@@@ -3470,7 +3470,8 @@@@
 
 
 if test -n "$GCC"; then
-     CFLAGS="-O3 -Wall -g"
+#     CFLAGS="-O3 -Wall -g"
+:
 else
      { echo "$as_me:$LINENO: WARNING: Ouch!! Only gcc is supported..." >&5
 echo "$as_me: WARNING: Ouch!! Only gcc is supported..." >&2;}
@@@@ -4462,7 +4463,7 @@@@
           echo  $pcap_dir
           echo  $dir
           echo; echo please wipe out all unused pcap installations
-          exit
+#          exit
        else
           pcap_dir="$dir"
        fi
@@@@ -4636,64 +4637,8 @@@@
 
 fi
 
-
-
-{ echo "$as_me:$LINENO: checking for a complete set of libnet headers" >&5
-echo $ECHO_N "checking for a complete set of libnet headers... $ECHO_C" >&6; }
-
-possible_dirs="`eval echo -n ${includedir}` \
-	       /usr/include /usr/include/libnet \
-               /usr/local/include /usr/local/include/libnet \
-               /usr/share/include /usr/share/include/libnet"
-
-possible_libnet_config_dirs="/usr /usr/local /opt"
-
-
-# Check whether --with-libnet-includes was given.
-if test "${with_libnet_includes+set}" = set; then
-  withval=$with_libnet_includes; LIBNET_DIR=$withval LIBNET_CONFIG_DIR=$withval
-else
-  LIBNET_DIR=$possible_dirs LIBNET_CONFIG_DIR=$possible_libnet_config_dirs
-fi
-
-
-libnet_dir=""
-for dir in $LIBNET_DIR ; do
-    if test -d $dir -a -r "$dir/libnet.h" ; then
-       if test -n "$libnet_dir" -a "$libnet_dir" != "$dir"; then
-          echo
-          echo; echo more than one set found in:
-          echo  $libnet_dir
-          echo  $dir
-          echo; echo please wipe out all unused libnet installations
-          exit
-       else
-          libnet_dir="$dir"
-       fi
-    fi
-done
-
-for dir in $LIBNET_CONFIG_DIR ; do
-    if test -d $dir -a -r "$dir/bin/libnet-config" ; then
-       libnet_config_dir="$dir/bin"
-    fi
-done
-
-if test -z "$libnet_dir" ; then
-   echo no; echo !!! couldn\'t find a complete set of libnet headers
-   exit
-else
-   echo found $libnet_dir
-
-   LIBNET_INCLUDE="-I$libnet_dir"
-   LIBNET_LINK="-L`dirname $libnet_dir`/lib"
-   LIBNET_CONFIG="$libnet_config_dir/libnet-config"
-
-
-
-
-
-fi
+LIBNET_INCLUDE="`$LIBNET_CONFIG --cflags`"
+LIBNET_LINK=""
 
 if test "$LIBNET_LINK" != "-L/usr/lib" ; then
   LIBS="$LIBS $LIBNET_LINK"
@@@@ -4708,7 +4653,7 @@@@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lnet  $LIBS"
+LIBS="`$LIBNET_CONFIG --libs` $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@


1.5
log
@- Patch net/libnet* to versioned libraries and header files, so they can
  coexist

PR:		ports/103861
Submitted by:	alepulver
Tested by:	pointyhat
With hat:	portmgr
@
text
@d1 3
a3 3
--- ./configure.orig	Sun Jun 18 12:24:36 2006
+++ ./configure	Fri Sep 29 15:04:21 2006
@@@@ -2971,7 +2971,8 @@@@
d13 1
a13 1
@@@@ -3817,7 +3818,7 @@@@
d22 1
a22 1
@@@@ -3997,62 +3998,8 @@@@
d24 1
d26 4
a29 3
 
-echo "$as_me:$LINENO: checking for a complete set of libnet headers" >&5
-echo $ECHO_N "checking for a complete set of libnet headers... $ECHO_C" >&6
d39 1
a39 1
-# Check whether --with-libnet-includes or --without-libnet-includes was given.
d41 1
a41 2
-  withval="$with_libnet_includes"
-  LIBNET_DIR=$withval LIBNET_CONFIG_DIR=$withval
d44 2
a45 1
-fi;
d89 1
a89 1
@@@@ -4067,7 +4014,7 @@@@
@


1.4
log
@The configure script distributed with version 0.7 of yersinia checks
for multiple pcap.h files and aborts with an error message, if more
than one is actually present. This appears to be a pre-caution to
prevent building with pcap.h from one version and running with a
library belonging to another one ...

While I see the value of such a test, it prevents building on systems
before 5.0 (where it requires a port version of libpcap). After some
testing I'm quite confident, that the port will build correctly (i.e.
without version mismatch between header and library), if the port
version of libpcap is present.

The libpcap port is used instead of the system version, if present.
In that case, yersinia is statically linked with libpcap.

The problem was detected by jau at iki dot fi (Jukka A. Ukkonen).

PR:		99869
@
text
@d1 2
a2 2
--- configure~	Sun Jun 18 17:24:36 2006
+++ configure	Mon Jul 10 17:43:09 2006
d22 74
@


1.3
log
@There were many differences between 0.54 and 0.7 that I missed
during the upgrade of the port:

 - A gtk-2 enabled version is built unless configure is invoked
   with option --without-gtk (detected and reported by Pointyhat)

 - Several fixes seem to be no longer required and patch files
   can thus be removed

The port uses gtk if present, unless built with -DWITHOUT_GTK.
Building with gtk can be enforced via -DWITH_GTK (but this is
not the default for the package, because of the large dependency
list).
@
text
@d13 9
@


1.2
log
@Upgrade to version 0.7.
@
text
@d2 2
a3 2
+++ configure	Sun Jun 25 11:52:30 2006
@@@@ -2971,7 +2971,7 @@@@
d9 1
@


1.1
log
@New port: Yersinia

Yersinia is a layer 2 vulnerability scanner with support for the
following protocols:

- Cisco Discovery Protocol (CDP)
- Dynamic Host Configuration Protocol (DHCP)
- Dynamic Trunking Protocol (DTP)
- Hot Standby Router Protocol (HSRP)
- IEEE 802.1q
- Spanning Tree Protocol (STP, RSTP)
- Virtual Trunking Protocol (VTP)
@
text
@d1 3
a3 3
--- configure~	Tue May 24 21:38:11 2005
+++ configure	Sun Jul 24 13:04:08 2005
@@@@ -2908,7 +2908,7 @@@@
@

