head	1.10;
access;
symbols
	pkgsrc-2013Q2:1.10.0.32
	pkgsrc-2013Q2-base:1.10
	pkgsrc-2012Q4:1.10.0.30
	pkgsrc-2012Q4-base:1.10
	pkgsrc-2011Q4:1.10.0.28
	pkgsrc-2011Q4-base:1.10
	pkgsrc-2011Q2:1.10.0.26
	pkgsrc-2011Q2-base:1.10
	pkgsrc-2009Q4:1.10.0.24
	pkgsrc-2009Q4-base:1.10
	pkgsrc-2008Q4:1.10.0.22
	pkgsrc-2008Q4-base:1.10
	pkgsrc-2008Q3:1.10.0.20
	pkgsrc-2008Q3-base:1.10
	cube-native-xorg:1.10.0.18
	cube-native-xorg-base:1.10
	pkgsrc-2008Q2:1.10.0.16
	pkgsrc-2008Q2-base:1.10
	pkgsrc-2008Q1:1.10.0.14
	pkgsrc-2008Q1-base:1.10
	pkgsrc-2007Q4:1.10.0.12
	pkgsrc-2007Q4-base:1.10
	pkgsrc-2007Q3:1.10.0.10
	pkgsrc-2007Q3-base:1.10
	pkgsrc-2007Q2:1.10.0.8
	pkgsrc-2007Q2-base:1.10
	pkgsrc-2007Q1:1.10.0.6
	pkgsrc-2007Q1-base:1.10
	pkgsrc-2006Q4:1.10.0.4
	pkgsrc-2006Q4-base:1.10
	pkgsrc-2006Q3:1.10.0.2
	pkgsrc-2006Q3-base:1.10
	pkgsrc-2006Q2:1.9.0.2
	pkgsrc-2006Q2-base:1.9
	pkgsrc-2006Q1:1.8.0.2
	pkgsrc-2006Q1-base:1.8
	pkgsrc-2005Q4:1.7.0.2
	pkgsrc-2005Q4-base:1.7
	pkgsrc-2005Q3:1.5.0.2
	pkgsrc-2005Q3-base:1.5
	pkgsrc-2005Q2:1.4.0.4
	pkgsrc-2005Q2-base:1.4
	pkgsrc-2005Q1:1.4.0.2
	pkgsrc-2005Q1-base:1.4
	pkgsrc-2004Q4:1.2.0.10
	pkgsrc-2004Q4-base:1.2
	pkgsrc-2004Q3:1.2.0.8
	pkgsrc-2004Q3-base:1.2
	pkgsrc-2004Q2:1.2.0.6
	pkgsrc-2004Q2-base:1.2
	pkgsrc-2004Q1:1.2.0.4
	pkgsrc-2004Q1-base:1.2
	pkgsrc-2003Q4:1.2.0.2
	pkgsrc-2003Q4-base:1.2
	netbsd-1-6-1:1.1.0.2;
locks; strict;
comment	@# @;


1.10
date	2006.07.22.08.12.56;	author tron;	state dead;
branches;
next	1.9;

1.9
date	2006.06.20.20.34.57;	author joerg;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2006.01.02.22.34.34;	author salo;	state dead;
branches;
next	1.7;

1.7
date	2005.11.01.20.09.50;	author frueauf;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	2005.10.20.17.19.19;	author drochner;	state dead;
branches;
next	1.5;

1.5
date	2005.07.27.16.44.43;	author drochner;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2005.03.14.15.09.28;	author salo;	state dead;
branches
	1.4.4.1;
next	1.3;

1.3
date	2005.03.10.10.05.32;	author tron;	state Exp;
branches;
next	1.2;

1.2
date	2003.09.16.21.01.16;	author xtraeme;	state dead;
branches
	1.2.10.1;
next	1.1;

1.1
date	2003.05.05.16.49.51;	author salo;	state Exp;
branches
	1.1.2.1;
next	;

1.9.2.1
date	2006.07.22.16.14.33;	author salo;	state dead;
branches;
next	;

1.7.2.1
date	2006.01.03.01.09.28;	author seb;	state dead;
branches;
next	;

1.5.2.1
date	2005.10.25.11.05.43;	author salo;	state dead;
branches;
next	1.5.2.2;

1.5.2.2
date	2005.11.03.13.27.30;	author salo;	state Exp;
branches;
next	;

1.4.4.1
date	2005.07.29.07.24.39;	author snj;	state Exp;
branches;
next	;

1.2.10.1
date	2005.03.10.12.07.17;	author salo;	state Exp;
branches;
next	1.2.10.2;

1.2.10.2
date	2005.03.14.21.35.41;	author snj;	state dead;
branches;
next	;

1.1.2.1
date	2003.05.05.16.49.51;	author grant;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2003.06.19.00.03.19;	author grant;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Remove "ethereal" package which has been superseded by "wireshark".

Approved by frueauf@@.
@
text
@$NetBSD: patch-ab,v 1.9 2006/06/20 20:34:57 joerg Exp $

--- configure.orig	2006-06-20 17:53:05.000000000 +0000
+++ configure
@@@@ -3774,13 +3774,13 @@@@ darwin* | rhapsody*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
-freebsd* | kfreebsd*-gnu)
+freebsd* | kfreebsd*-gnu | dragonfly*)
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     case $host_cpu in
     i*86 )
       # Not sure whether the presence of OpenBSD here was a mistake.
       # Let's accept both of them until this is cleared up.
-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
       lt_cv_file_magic_cmd=/usr/bin/file
       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
       ;;
@@@@ -7227,7 +7227,7 @@@@ if test -z "$aix_libpath"; then aix_libp
       ;;
 
     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
-    freebsd* | kfreebsd*-gnu)
+    freebsd* | kfreebsd*-gnu | dragonfly*)
       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
       hardcode_libdir_flag_spec='-R$libdir'
       hardcode_direct=yes
@@@@ -7805,7 +7805,7 @@@@ kfreebsd*-gnu)
   dynamic_linker='GNU ld.so'
   ;;
 
-freebsd*)
+freebsd* | dragonfly*)
   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
   version_type=freebsd-$objformat
   case $version_type in
@@@@ -10206,7 +10206,7 @@@@ if test -z "$aix_libpath"; then aix_libp
   freebsd-elf*)
     archive_cmds_need_lc_CXX=no
     ;;
-  freebsd* | kfreebsd*-gnu)
+  freebsd* | kfreebsd*-gnu | dragonfly*)
     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
     # conventions
     ld_shlibs_CXX=yes
@@@@ -10913,7 +10913,7 @@@@ echo $ECHO_N "checking for $compiler opt
 	    ;;
 	esac
 	;;
-      freebsd* | kfreebsd*-gnu)
+      freebsd* | kfreebsd*-gnu | dragonfly*)
 	# FreeBSD uses GNU C++
 	;;
       hpux9* | hpux10* | hpux11*)
@@@@ -11524,7 +11524,7 @@@@ kfreebsd*-gnu)
   dynamic_linker='GNU ld.so'
   ;;
 
-freebsd*)
+freebsd* | dragonfly*)
   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
   version_type=freebsd-$objformat
   case $version_type in
@@@@ -14116,7 +14116,7 @@@@ if test -z "$aix_libpath"; then aix_libp
       ;;
 
     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
-    freebsd* | kfreebsd*-gnu)
+    freebsd* | kfreebsd*-gnu | dragonfly*)
       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
       hardcode_libdir_flag_spec_F77='-R$libdir'
       hardcode_direct_F77=yes
@@@@ -14694,7 +14694,7 @@@@ kfreebsd*-gnu)
   dynamic_linker='GNU ld.so'
   ;;
 
-freebsd*)
+freebsd* | dragonfly*)
   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
   version_type=freebsd-$objformat
   case $version_type in
@@@@ -16484,7 +16484,7 @@@@ if test -z "$aix_libpath"; then aix_libp
       ;;
 
     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
-    freebsd* | kfreebsd*-gnu)
+    freebsd* | kfreebsd*-gnu | dragonfly*)
       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
       hardcode_libdir_flag_spec_GCJ='-R$libdir'
       hardcode_direct_GCJ=yes
@@@@ -17062,7 +17062,7 @@@@ kfreebsd*-gnu)
   dynamic_linker='GNU ld.so'
   ;;
 
-freebsd*)
+freebsd* | dragonfly*)
   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
   version_type=freebsd-$objformat
   case $version_type in
@


1.9
log
@Patch libtool fragment to support DragonFly.
@
text
@d1 1
a1 1
$NetBSD$
@


1.9.2.1
log
@Pullup ticket 1744 - requested by tron
replace ethereal with wireshark

Revisions pulled up:
- pkgsrc/net/Makefile				1.628, 1.629
- pkgsrc/net/wireshark/DESCR			1.1, 1.2
- pkgsrc/net/wireshark/Makefile			1.1
- pkgsrc/net/wireshark/PLIST			1.1, 1.2
- pkgsrc/net/wireshark/distinfo			1.1
- pkgsrc/net/wireshark/patches/patch-aa		1.1
- pkgsrc/net/wireshark/patches/patch-ab		1.1
- pkgsrc/net/ethereal/DESCR			removed
- pkgsrc/net/ethereal/Makefile			removed
- pkgsrc/net/ethereal/PLIST			removed
- pkgsrc/net/ethereal/distinfo			removed
- pkgsrc/net/ethereal/patches/patch-aa		removed
- pkgsrc/net/ethereal/patches/patch-ab		removed

   Module Name:		pkgsrc
   Committed By:	tron
   Date:		Fri Jul 21 14:27:53 UTC 2006

   Modified Files:
   	pkgsrc/net: Makefile
   	pkgsrc/net/ethereal: Makefile
   Added Files:
   	pkgsrc/net/wireshark: DESCR Makefile PLIST distinfo
   	pkgsrc/net/wireshark/patches: patch-aa patch-ab

   Log Message:
   Add new "wireshark" package.
   Wireshark is a network protocol analyzer and the successor of "ethereal".

   Changes since "ethereal" version 0.99.0:
   - The GSM BSSMAP dissector could crash. Versions affected:
     0.10.11.
   - The ANSI MAP dissector was vulnerable to a format string
     overflow. Versions affected: 0.10.0.
   - The Checkpoint FW-1 dissector was vulnerable to a format
     string overflow. Versions affected: 0.10.10.
   - The MQ dissector was vulnerable to a format string overflow.
     Versions affected: 0.10.4.
   - The XML dissector was vulnerable to a format string overflow.
     Versions affected: 0.10.13.
   - The MOUNT dissector could attempt to allocate large amounts of
     memory. Versions affected: 0.9.4.
   - The NCP NMAS and NDPS dissectors were susceptible to
     off-by-one errors. Versions affected: 0.9.7.
   - The NTP dissector was vulnerable to a format string overflow.
     Versions affected: 0.10.13.
   - The SSH dissector was vulnerable to an infinite loop. Versions
     affected: 0.9.10.
   - The NFS dissector may have been susceptible to a buffer
     overflow. Versions affected: 0.8.16.
   - The "Follow TCP Stream" dialog now wraps long lines.
   - Problems with ring buffers under 0.99.0 have been fixed.
   - It was possible for Wireshark to crash when closing the
     capture information dialog. This has been fixed.
   - It was possible for Wireshark to crash when using the "Find"
     feature. This has been fixed.
   - Wireshark could crash if an interface was removed while
     viewing the interface list. This has been fixed.
   - Multicast stream analysis (Statistics->Multicast Streams) has
     been added. It lets you determine burst size, output buffer
     size, and losses for multicast data.
   - TCP reassembly has been updated and improved.
   - Expert analysis has been updated and improved.
   - SCSI service response time statistics have been added.
   - You can now find next/previous marked frames.
   - The LDAP and SNMP dissectors have been completely rewriten.
   - The SMB dissector now tracks filenames and share names.
---
   Module Name:		pkgsrc
   Committed By:	tron
   Date:		Fri Jul 21 14:39:33 UTC 2006

   Modified Files:
   	pkgsrc/net/wireshark: DESCR

   Log Message:
   It's called "wireshark" now, not "ethereal".
---
   Module Name:		pkgsrc
   Committed By:	salo
   Date:		Fri Jul 21 14:53:00 UTC 2006

   Modified Files:
   	pkgsrc/net/wireshark: PLIST

   Log Message:
   sort.
---
   Module Name:		pkgsrc
   Committed By:	tron
   Date:		Sat Jul 22 08:12:56 UTC 2006

   Modified Files:
   	pkgsrc/net: Makefile
   Removed Files:
   	pkgsrc/net/ethereal: DESCR Makefile PLIST distinfo
   	pkgsrc/net/ethereal/patches: patch-aa patch-ab

   Log Message:
   Remove "ethereal" package which has been superseded by "wireshark".

   Approved by frueauf@@.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.9 2006/06/20 20:34:57 joerg Exp $
@


1.8
log
@Update to version 0.10.14

Bug Fixes

Three security vulnerabilities have been fixed since the previous
release (fixed in pkgsrc via patches):

 - The IRC dissector could go into an infinite loop.
 - iDefense found a buffer overflow in the OSPF dissector.

and

 - The GTP dissector could go into an infinite loop.

New and Updated Features

The following features are new (or have been significantly updated)
since the last release:

 - The Windows installer now ships with GTK+ 2.6 instead of GTK+ 2.4.
   This should fix several long-standing bugs.
 - If you're loading a saved capture file and press "Cancel", Ethereal
   will now display the packets read up to that point. In previous
   versions, Ethereal would abort the attempt completely and clear the
   packet list.  This means that if you're loding a huge capture file,
   you can stop loading in the middle and still be able to analyze part
   of the file.
 - The maximum number of files allowed in a ring buffer has been increased
   from 1024 to 10,000.
 - OID to name resolution has been improved.
 - TCP graphs now handle upper and lower bounds better.

New Protocol Support

3Com Netjack200, CDT, CIGI, DAP, DISP, DOP, DSP, FTBP, MS NLB, NBAP, NCP
SSS, NCS, NHRP, P_Mul, RNSAP, SMB2, STANAG 5066, TIPC, UDP-Lite, X.501

Updated Protocol Support

ACSE, AIM, ALCAP, AMR, ANSI MAP, BER, BitTorrent, BOOTP, CAMEL, CMP,
CMS, COPS, CRMF, DCCP, DCERPC (DCERPC, DSSETUP, INITSHUTDOWN, NT,
WINREG), DEC DNA RT, DNP, DTP, eDonkey, ENIP, ESS, Etheric, FC-DNS,
FC-FZS, FMIPv6, GRE, GSM A, GSM MAP, GTP, H.225, H.235, H.245, H.248,
H.263, H.450, IAPP, IEEE 802.11, INAP, IP, IPv6, IRC, ISIS LSP, ISUP,
IUUP, Juniper, LLDP, M3UA, MIP, MIPv6, Modbus/TCP, MTP3, NCP, NDPS, NDS,
NEMO, NMAS, NTLMSSP, OSPF, PER, PN-DCP, PPP CHAP, PPPoE, PVFS2, Q.931,
RADIUS, RANAP, RDT, RLOGIN, RMT, ROS, RTCP, RTP, RTSE, S4406, SCCP,
SCTP, SES, SIP, SMB, SNDCP, SRVLOC, STUN, T.38, UMA, WINS Replication,
X.411, X.420, X.509

New and Updated Capture File Support

DOS Sniffer, Endace ERF, HP-UX nettl, IBM iSeries traces, Tektronix K12
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.7 2005/11/01 20:09:50 frueauf Exp $
d3 93
a95 20
Fixes security issue published at http://secunia.com/advisories/17370/.
Diff taken from http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/net-analyzer/ethereal/files/ethereal-0.10.13-fix-irc-loop-DoS-CVE-2005-3313.diff?hideattic=1

--- epan/dissectors/packet-irc.c	2005/09/23 21:33:02	15985
+++ epan/dissectors/packet-irc.c	2005/10/24 02:35:43	16290
@@@@ -86,6 +86,17 @@@@
 			 * Find the end of the line.
 			 */
 			linelen = tvb_find_line_end(tvb, offset, -1, &next_offset, FALSE);
+			if (next_offset == offset) {
+				/*
+				 * XXX - we really want the "show data a
+				 * line at a time" loops in various
+				 * dissectors to do reassembly and to
+				 * throw an exception if there's no
+				 * line ending in the current packet
+				 * and we're not doing reassembly.
+				 */
+				break;
+			}
d97 5
a101 2
 			if (linelen != 0)
 			{
@


1.7
log
@Add patch for security issue published at http://secunia.com/product/1228/
taken from http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/net-analyzer/ethereal/files/ethereal-0.10.13-fix-irc-loop-DoS-CVE-2005-3313.diff?hideattic=1

Also bump version to 0.10.13nb1.
@
text
@d1 1
a1 1
$NetBSD$
@


1.7.2.1
log
@Pullup ticket 995 - requested by Lubomir Sedlacik
update net/ethereal, including security fixes

Revisions pulled up:
- pkgsrc/net/ethereal/Makefile                                1.123
- pkgsrc/net/ethereal/PLIST                                   1.24
- pkgsrc/net/ethereal/distinfo                                1.49
- pkgsrc/net/ethereal/patches/patch-ab                        removed
- pkgsrc/net/ethereal/patches/patch-ac                        removed
- pkgsrc/net/ethereal/patches/patch-ad                        removed
- pkgsrc/net/ethereal/patches/patch-ae                        removed

   Module Name:	pkgsrc
   Committed By:	salo
   Date:		Mon Jan  2 22:34:34 UTC 2006

   Modified Files:
   	pkgsrc/net/ethereal: Makefile PLIST distinfo
   Removed Files:
   	pkgsrc/net/ethereal/patches: patch-ab patch-ac patch-ad patch-ae

   Log Message:
   Update to version 0.10.14

   Bug Fixes

   Three security vulnerabilities have been fixed since the previous
   release (fixed in pkgsrc via patches):

    - The IRC dissector could go into an infinite loop.
    - iDefense found a buffer overflow in the OSPF dissector.

   and

    - The GTP dissector could go into an infinite loop.

   New and Updated Features

   The following features are new (or have been significantly updated)
   since the last release:

    - The Windows installer now ships with GTK+ 2.6 instead of GTK+ 2.4.
      This should fix several long-standing bugs.
    - If you're loading a saved capture file and press "Cancel", Ethereal
      will now display the packets read up to that point. In previous
      versions, Ethereal would abort the attempt completely and clear the
      packet list.  This means that if you're loding a huge capture file,
      you can stop loading in the middle and still be able to analyze part
      of the file.
    - The maximum number of files allowed in a ring buffer has been increased
      from 1024 to 10,000.
    - OID to name resolution has been improved.
    - TCP graphs now handle upper and lower bounds better.

   New Protocol Support

   3Com Netjack200, CDT, CIGI, DAP, DISP, DOP, DSP, FTBP, MS NLB, NBAP, NCP
   SSS, NCS, NHRP, P_Mul, RNSAP, SMB2, STANAG 5066, TIPC, UDP-Lite, X.501

   Updated Protocol Support

   ACSE, AIM, ALCAP, AMR, ANSI MAP, BER, BitTorrent, BOOTP, CAMEL, CMP,
   CMS, COPS, CRMF, DCCP, DCERPC (DCERPC, DSSETUP, INITSHUTDOWN, NT,
   WINREG), DEC DNA RT, DNP, DTP, eDonkey, ENIP, ESS, Etheric, FC-DNS,
   FC-FZS, FMIPv6, GRE, GSM A, GSM MAP, GTP, H.225, H.235, H.245, H.248,
   H.263, H.450, IAPP, IEEE 802.11, INAP, IP, IPv6, IRC, ISIS LSP, ISUP,
   IUUP, Juniper, LLDP, M3UA, MIP, MIPv6, Modbus/TCP, MTP3, NCP, NDPS, NDS,
   NEMO, NMAS, NTLMSSP, OSPF, PER, PN-DCP, PPP CHAP, PPPoE, PVFS2, Q.931,
   RADIUS, RANAP, RDT, RLOGIN, RMT, ROS, RTCP, RTP, RTSE, S4406, SCCP,
   SCTP, SES, SIP, SMB, SNDCP, SRVLOC, STUN, T.38, UMA, WINS Replication,
   X.411, X.420, X.509

   New and Updated Capture File Support

   DOS Sniffer, Endace ERF, HP-UX nettl, IBM iSeries traces, Tektronix K12
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.7 2005/11/01 20:09:50 frueauf Exp $
@


1.6
log
@update to ethereal-0.10.13
This fixes a number of memory leaks, crashes and buffer overflows
in protocol dissectors, see
http://www.ethereal.com/appnotes/enpa-sa-00021.html
for details.
other changes:
-nanosecond timestamp resolution possible
-memory managment has been greatly improved
-can now save gzip-compressed capture files
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.5 2005/07/27 16:44:43 drochner Exp $
d3 20
a22 33
--- epan/radius_dict.l.orig	2005-07-26 21:26:46.000000000 +0200
+++ epan/radius_dict.l
@@@@ -65,7 +65,7 @@@@
 	static gchar* attr_vendor = NULL;
 	static gchar* vendor_name = NULL;
 	static gchar* value_repr = NULL;
-	static gboolean encrypt = FALSE;
+	static gboolean encryptflg = FALSE;
 	static gboolean has_tag = FALSE;
 	static gchar* current_vendor = NULL;
 	
@@@@ -97,7 +97,7 @@@@
 <VENDOR_W_NAME>[0-9]+   { add_vendor(vendor_name,strtol(yytext,NULL,10)); BEGIN OUT; }
 <VENDOR_W_NAME>0x[0-9a-f]+   { add_vendor(vendor_name,strtol(yytext,NULL,16)); BEGIN OUT; }
 
-<ATTR>[0-9a-z_-]+					{ attr_name = g_strdup(yytext); encrypt = FALSE; has_tag = FALSE; BEGIN ATTR_W_NAME; }
+<ATTR>[0-9a-z_-]+					{ attr_name = g_strdup(yytext); encryptflg = FALSE; has_tag = FALSE; BEGIN ATTR_W_NAME; }
 <ATTR_W_NAME>[0-9]+					{ attr_id = g_strdup(yytext);  BEGIN ATTR_W_ID;}
 <ATTR_W_NAME>0x[0-9a-f]+			{ attr_id = g_strdup_printf("%u",(int)strtoul(yytext,NULL,16)); BEGIN ATTR_W_ID;}
 <ATTR_W_ID>integer					{ attr_type = radius_integer;  BEGIN ATTR_W_TYPE; }
@@@@ -109,11 +109,11 @@@@
 <ATTR_W_ID>ifid						{ attr_type = radius_ifid;  BEGIN ATTR_W_TYPE; }
 <ATTR_W_ID>[0-9a-z_-]+				{ attr_type = radius_octets;  BEGIN ATTR_W_TYPE; }
 <ATTR_W_TYPE>has_tag[,]?			{ has_tag = TRUE; attr_vendor = NULL;  BEGIN ATTR_W_VENDOR; }
-<ATTR_W_TYPE>encrypt=1[,]?			{ encrypt=TRUE;  attr_vendor = NULL;  BEGIN ATTR_W_VENDOR; }
+<ATTR_W_TYPE>encrypt=1[,]?			{ encryptflg=TRUE;  attr_vendor = NULL;  BEGIN ATTR_W_VENDOR; }
 <ATTR_W_TYPE>[,0-9a-z_-]+=([^\n]+)	{ /* ignore other parameters */  attr_vendor = NULL;  BEGIN ATTR_W_VENDOR; }
-<ATTR_W_TYPE>[0-9a-z_-]+			{ attr_vendor = g_strdup(yytext);  add_attribute(attr_name,attr_id,attr_type,attr_vendor,encrypt,has_tag); attr_vendor = NULL;  BEGIN OUT; }
-<ATTR_W_TYPE>\n						{ add_attribute(attr_name,attr_id,attr_type,current_vendor ? g_strdup(current_vendor) : NULL ,encrypt,has_tag); linenums[include_stack_ptr]++;  BEGIN OUT; }
-<ATTR_W_VENDOR>\n					{ add_attribute(attr_name,attr_id,attr_type,attr_vendor,encrypt,has_tag); linenums[include_stack_ptr]++; BEGIN OUT; };
+<ATTR_W_TYPE>[0-9a-z_-]+			{ attr_vendor = g_strdup(yytext);  add_attribute(attr_name,attr_id,attr_type,attr_vendor,encryptflg,has_tag); attr_vendor = NULL;  BEGIN OUT; }
+<ATTR_W_TYPE>\n						{ add_attribute(attr_name,attr_id,attr_type,current_vendor ? g_strdup(current_vendor) : NULL ,encryptflg,has_tag); linenums[include_stack_ptr]++;  BEGIN OUT; }
+<ATTR_W_VENDOR>\n					{ add_attribute(attr_name,attr_id,attr_type,attr_vendor,encryptflg,has_tag); linenums[include_stack_ptr]++; BEGIN OUT; };
d24 2
a25 2
 <VALUE>[0-9a-z-]+					{ attr_name = g_strdup(yytext); BEGIN VALUE_W_ATTR; }
 <VALUE_W_ATTR>[^[:blank:]]+			{ value_repr = g_strdup(yytext); BEGIN VALUE_W_NAME; }
@


1.5
log
@update to 0.10.12
This fixes many security problems in protocol dissectors.
other changes:
-RADIUS dictionaries are now included.
-A lot of documentation was updated
-Some command line parameters have changed
-A "File/File Set" submenu was added to better handle multiple files
-Flow graphs can now be created for any protocol.
-Memory management has been greatly improved.
-JXTA has been added to the conversations menu.
-When compiled with MIT/Heimdal Kerberos AND if keytab files are provided
-TCP Sequence graphs should now work for all captures and all encapsulation types
-new and updated protocol support
@
text
@d1 1
a1 1
$NetBSD$
@


1.5.2.1
log
@Pullup ticket 851 - requested by Matthias Drochner
security update for ethereal

Revisions pulled up:
- pkgsrc/net/ethereal/Makefile			1.116
- pkgsrc/net/ethereal/PLIST			1.23
- pkgsrc/net/ethereal/distinfo			1.43
- pkgsrc/net/ethereal/patches/patch-ab		removed
- pkgsrc/net/ethereal/patches/patch-ac		removed

   Module Name:		pkgsrc
   Committed By:	drochner
   Date:		Thu Oct 20 17:19:19 UTC 2005

   Modified Files:
   	pkgsrc/net/ethereal: Makefile PLIST distinfo
   Removed Files:
   	pkgsrc/net/ethereal/patches: patch-ab patch-ac

   Log Message:
   update to ethereal-0.10.13
   This fixes a number of memory leaks, crashes and buffer overflows
   in protocol dissectors, see
   http://www.ethereal.com/appnotes/enpa-sa-00021.html
   for details.
   other changes:
   -nanosecond timestamp resolution possible
   -memory managment has been greatly improved
   -can now save gzip-compressed capture files
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.5 2005/07/27 16:44:43 drochner Exp $
@


1.5.2.2
log
@Pullup ticket 882 - requested by Adrian Portelli
security fix for ethereal

Revisions pulled up:
- pkgsrc/net/ethereal/Makefile			1.117, 1.118
- pkgsrc/net/ethereal/distinfo			1.44, 1.45
- pkgsrc/net/ethereal/patches/patch-ab		1.7

   Module Name:		pkgsrc
   Committed By:	salo
   Date:		Tue Oct 25 11:32:04 UTC 2005

   Modified Files:
   	pkgsrc/net/ethereal: Makefile distinfo

   Log Message:
   Use tar.bz2 archive again, it's 2MB smaller.
---
   Module Name:		pkgsrc
   Committed By:	frueauf
   Date:		Tue Nov  1 20:09:50 UTC 2005

   Modified Files:
   	pkgsrc/net/ethereal: Makefile
   Added Files:
   	pkgsrc/net/ethereal/patches: patch-ab

   Log Message:
   Add patch for security issue published at http://secunia.com/product/1228/
   taken from
   http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/net-analyzer/ethereal/files/ethereal-0.10.13-fix-irc-loop-DoS-CVE-2005-3313.diff?hideattic=1

   Also bump version to 0.10.13nb1.
---
   Module Name:		pkgsrc
   Committed By:	frueauf
   Date:		Tue Nov  1 20:28:56 UTC 2005

   Modified Files:
   	pkgsrc/net/ethereal: distinfo

   Log Message:
   Update for new patch-ab.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.7 2005/11/01 20:09:50 frueauf Exp $
d3 33
a35 20
Fixes security issue published at http://secunia.com/advisories/17370/.
Diff taken from http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/net-analyzer/ethereal/files/ethereal-0.10.13-fix-irc-loop-DoS-CVE-2005-3313.diff?hideattic=1

--- epan/dissectors/packet-irc.c	2005/09/23 21:33:02	15985
+++ epan/dissectors/packet-irc.c	2005/10/24 02:35:43	16290
@@@@ -86,6 +86,17 @@@@
 			 * Find the end of the line.
 			 */
 			linelen = tvb_find_line_end(tvb, offset, -1, &next_offset, FALSE);
+			if (next_offset == offset) {
+				/*
+				 * XXX - we really want the "show data a
+				 * line at a time" loops in various
+				 * dissectors to do reassembly and to
+				 * throw an exception if there's no
+				 * line ending in the current packet
+				 * and we're not doing reassembly.
+				 */
+				break;
+			}
d37 2
a38 2
 			if (linelen != 0)
 			{
@


1.4
log
@Update to version 0.10.10

This release fixes three security and stability-related issues:

- Matevz Pustisek discovered a buffer overflow in the Etheric dissector.
  (CAN-2005-0704)
- The GPRS-LLC dissector could crash if the "ignore cipher bit" option was
  enabled. (CAN-2005-0705)
- Diego Giago discovered a buffer overflow in the 3GPP2 A11 dissector. This
  flaw was later reported by Leon Juranic. (CAN-2005-0699)
- Leon Juranic discovered a buffer overflow in the IAPP dissector.
- A bug in the JXTA dissector could make Ethereal crash.
- A bug in the sFlow dissector could make Ethereal crash.

Everyone is encouraged to upgrade.

New and updated features:
=========================
- Tree view item context menus now let you browse to the display filter
  reference and wiki pages for a particular protocol.
- Online help has been expanded.
- VoIP call analysis (including nifty connection diagrams) has been added.
- GSS-API decryption has been greatly enhanced.

New protocol support:
=====================
AgentX, BUDB, DTP, G.723, IDP, INAP, KINK, Realplayer Data Protocol, Retix
Spanning Tree Protocol, RTCP-XR, XML, XNS, SPP

Updated protocol support:
=========================
3GPP2 A11, ACSE, AMR, ATM, BER, BSSGP, BUTC, CDP, CLNP, CoSine L2, DAAP,
DCE/RPC, DCOM, DIAMETER, DNP, DNS, Etheric, FCP, FW-1, Gnutella, GPRS, GSM A,
GSM MAP, H.225, H.245, H.248, H.450, HTTP, IAX2, ICQ, IEEE 802.11, IEEE 802.3
Slow Protocols, IP, iSCSI, ISUP, Juniper, JXTA, Kerberos, L2TP, LDAP, MIP,
MPLS, NDMP, NSIP, NTP, OSPF, OXID, PostgreSQL, RADIUS, RDT, Redback, RMCP,
RTP, RTSP, SCSI, SCTP, SDP, SPNEGO, SSL, STUN, TCAP, TCP, TZSP

New and updated capture file support:
=====================================
DBS Etherwatch, Lucent/Ascend, Nettl, Tcpdump (Redback)
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.3 2005/03/10 10:05:32 tron Exp $
d3 14
a16 5
--- epan/dissectors/packet-3g-a11.c.orig	2005-01-18 02:39:50.000000000 +0000
+++ epan/dissectors/packet-3g-a11.c	2005-03-10 09:32:18.000000000 +0000
@@@@ -312,7 +312,7 @@@@
 };
 #define NUM_ATTR (sizeof(attrs)/sizeof(struct radius_attribute))
d18 18
a35 2
-#define MAX_STRVAL 16
+#define MAX_STRVAL 256
d37 2
a38 2
 #define RADIUS_VENDOR_SPECIFIC 26
 #define SKIP_HDR_LEN 6
@


1.4.4.1
log
@Pullup ticket 632 - requested by Matthias Drochner
security update for ethereal

Revisions pulled up:
- pkgsrc/net/ethereal/Makefile		1.113
- pkgsrc/net/ethereal/PLIST		1.22
- pkgsrc/net/ethereal/distinfo		1.40
- pkgsrc/net/ethereal/patches/patch-ab	1.5

    Module Name:    pkgsrc
    Committed By:   drochner
    Date:           Wed Jul 27 16:44:43 UTC 2005

    Modified Files:
            pkgsrc/net/ethereal: Makefile PLIST distinfo
    Added Files:
            pkgsrc/net/ethereal/patches: patch-ab

    Log Message:
    update to 0.10.12
    This fixes many security problems in protocol dissectors.
    other changes:
    -RADIUS dictionaries are now included.
    -A lot of documentation was updated
    -Some command line parameters have changed
    -A "File/File Set" submenu was added to better handle multiple files
    -Flow graphs can now be created for any protocol.
    -Memory management has been greatly improved.
    -JXTA has been added to the conversations menu.
    -When compiled with MIT/Heimdal Kerberos AND if keytab files are provided
    -TCP Sequence graphs should now work for all captures and all encapsulation
    types
    -new and updated protocol support
@
text
@d1 1
a1 1
$NetBSD$
d3 5
a7 14
--- epan/radius_dict.l.orig	2005-07-26 21:26:46.000000000 +0200
+++ epan/radius_dict.l
@@@@ -65,7 +65,7 @@@@
 	static gchar* attr_vendor = NULL;
 	static gchar* vendor_name = NULL;
 	static gchar* value_repr = NULL;
-	static gboolean encrypt = FALSE;
+	static gboolean encryptflg = FALSE;
 	static gboolean has_tag = FALSE;
 	static gchar* current_vendor = NULL;
 	
@@@@ -97,7 +97,7 @@@@
 <VENDOR_W_NAME>[0-9]+   { add_vendor(vendor_name,strtol(yytext,NULL,10)); BEGIN OUT; }
 <VENDOR_W_NAME>0x[0-9a-f]+   { add_vendor(vendor_name,strtol(yytext,NULL,16)); BEGIN OUT; }
d9 2
a10 18
-<ATTR>[0-9a-z_-]+					{ attr_name = g_strdup(yytext); encrypt = FALSE; has_tag = FALSE; BEGIN ATTR_W_NAME; }
+<ATTR>[0-9a-z_-]+					{ attr_name = g_strdup(yytext); encryptflg = FALSE; has_tag = FALSE; BEGIN ATTR_W_NAME; }
 <ATTR_W_NAME>[0-9]+					{ attr_id = g_strdup(yytext);  BEGIN ATTR_W_ID;}
 <ATTR_W_NAME>0x[0-9a-f]+			{ attr_id = g_strdup_printf("%u",(int)strtoul(yytext,NULL,16)); BEGIN ATTR_W_ID;}
 <ATTR_W_ID>integer					{ attr_type = radius_integer;  BEGIN ATTR_W_TYPE; }
@@@@ -109,11 +109,11 @@@@
 <ATTR_W_ID>ifid						{ attr_type = radius_ifid;  BEGIN ATTR_W_TYPE; }
 <ATTR_W_ID>[0-9a-z_-]+				{ attr_type = radius_octets;  BEGIN ATTR_W_TYPE; }
 <ATTR_W_TYPE>has_tag[,]?			{ has_tag = TRUE; attr_vendor = NULL;  BEGIN ATTR_W_VENDOR; }
-<ATTR_W_TYPE>encrypt=1[,]?			{ encrypt=TRUE;  attr_vendor = NULL;  BEGIN ATTR_W_VENDOR; }
+<ATTR_W_TYPE>encrypt=1[,]?			{ encryptflg=TRUE;  attr_vendor = NULL;  BEGIN ATTR_W_VENDOR; }
 <ATTR_W_TYPE>[,0-9a-z_-]+=([^\n]+)	{ /* ignore other parameters */  attr_vendor = NULL;  BEGIN ATTR_W_VENDOR; }
-<ATTR_W_TYPE>[0-9a-z_-]+			{ attr_vendor = g_strdup(yytext);  add_attribute(attr_name,attr_id,attr_type,attr_vendor,encrypt,has_tag); attr_vendor = NULL;  BEGIN OUT; }
-<ATTR_W_TYPE>\n						{ add_attribute(attr_name,attr_id,attr_type,current_vendor ? g_strdup(current_vendor) : NULL ,encrypt,has_tag); linenums[include_stack_ptr]++;  BEGIN OUT; }
-<ATTR_W_VENDOR>\n					{ add_attribute(attr_name,attr_id,attr_type,attr_vendor,encrypt,has_tag); linenums[include_stack_ptr]++; BEGIN OUT; };
+<ATTR_W_TYPE>[0-9a-z_-]+			{ attr_vendor = g_strdup(yytext);  add_attribute(attr_name,attr_id,attr_type,attr_vendor,encryptflg,has_tag); attr_vendor = NULL;  BEGIN OUT; }
+<ATTR_W_TYPE>\n						{ add_attribute(attr_name,attr_id,attr_type,current_vendor ? g_strdup(current_vendor) : NULL ,encryptflg,has_tag); linenums[include_stack_ptr]++;  BEGIN OUT; }
+<ATTR_W_VENDOR>\n					{ add_attribute(attr_name,attr_id,attr_type,attr_vendor,encryptflg,has_tag); linenums[include_stack_ptr]++; BEGIN OUT; };
d12 2
a13 2
 <VALUE>[0-9a-z-]+					{ attr_name = g_strdup(yytext); BEGIN VALUE_W_ATTR; }
 <VALUE_W_ATTR>[^[:blank:]]+			{ value_repr = g_strdup(yytext); BEGIN VALUE_W_NAME; }
@


1.3
log
@Fix security vulnerability in dissector for CDMA2000 A11 packets.
Bump package revision.
@
text
@d1 1
a1 1
$NetBSD$
@


1.2
log
@Updated to 0.9.15.

Patch provided by Adrian Portelli <adrianp@@stindustries.net> in PR
pkg/22751.

Changes:

New and updated features

  Many often-requested features have been added with this release.  If
  you're running an older version of Ethereal you may want to have a look.

  Conversation List (aka "top talker") support has been added to Ethereal
  and Tethereal.  Protocol statistics in general have been updated.

  Searching capture files has been improved even more -- a new "contains"
  display filter operator that searches for strings in PDUs has been
  added.  The Find dialog now supports case-insensitive searches, hex data
  searches, and more.

  An H.225 dissector has been added.  It can automatically recognize RTP
  and RTCP conversations.

  A preference file has been added for disabled protocols.

  Color filters may now be imported and exported from within Ethereal.

  A new column type has been added for cumulative bytes.


New protocols

  GPRS BSSGP, GPRS NS, H.225, H.263, LWAPP, Laplink, Q.933, STUN


Updated protocols

  ArtNet, BOOTP/DHCP, DCE/RPC, DCERPCSTAT, DHCPv6, DOCSIS, ENIP, Ethernet,
  FCIP, Frame Relay, H.245, HTTP, IPsec, iSCSI, LDAP, LWRES, M2UA, M3UA,
  MEGACO, MTP3, NCP, NDPS, NFS, NTLMSSP, PPTP, Q.931, RPC, SAMR, SCCP,
  SCTP, SIP, SMB, SMPP, SNA, SNMP, SRVLOC, SUA, TCP, TDS, UCD, UDP, WSP,


Updated capture file support

  Support for Accellent 5Views and Endace ERF capture files was added.
  CheckPoint FW-1 and Novell LANalyzer support has been enhanced.

Changes in pkgsrc:

o Now it uses GTK2 by default
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.1 2003/05/05 16:49:51 salo Exp $
d3 5
a7 5
--- plugins/docsis/Makefile.in.orig	2003-05-02 03:11:01.000000000 +0200
+++ plugins/docsis/Makefile.in	2003-05-05 18:09:07.000000000 +0200
@@@@ -179,7 +179,7 @@@@
 # add them here.
 LIBS = 
d9 2
a10 2
-docsis_la_DEPENDENCIES = packet-docsis-static.o packet-bpkmattr-static.o packet-dsarsp-static.o packet-macmgmt-static.o packet-rngrsp-static.o packet-bpkmreq-static.o packet-dscack-static.o packet-map-static.o packet-tlv-static.o packet-bpkmrsp-static.o packet-dscreq-static.o packet-regack-static.o packet-uccreq-static.o packet-dscrsp-static.o packet-regreq-static.o packet-uccrsp-static.o packet-dsaack-static.o packet-dsdreq-static.o packet-regrsp-static.o packet-ucd-static.o packet-dsareq-static.o packet-dsdrsp-static.o packet-rngreq-static.o packet-vendor-static.o
+@@ENABLE_STATIC_TRUE@@docsis_la_DEPENDENCIES = packet-docsis-static.o packet-bpkmattr-static.o packet-dsarsp-static.o packet-macmgmt-static.o packet-rngrsp-static.o packet-bpkmreq-static.o packet-dscack-static.o packet-map-static.o packet-tlv-static.o packet-bpkmrsp-static.o packet-dscreq-static.o packet-regack-static.o packet-uccreq-static.o packet-dscrsp-static.o packet-regreq-static.o packet-uccrsp-static.o packet-dsaack-static.o packet-dsdreq-static.o packet-regrsp-static.o packet-ucd-static.o packet-dsareq-static.o packet-dsdrsp-static.o packet-rngreq-static.o packet-vendor-static.o
d12 2
a13 128
 CLEANFILES = \
 	docsis \
@@@@ -498,77 +498,77 @@@@
 	uninstall-am uninstall-info-am uninstall-pluginLTLIBRARIES
 
 
-packet-docsis-static.o:	packet-docsis.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-docsis-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-docsis.c 
+@@ENABLE_STATIC_TRUE@@packet-docsis-static.o:	packet-docsis.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-docsis-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-docsis.c 
 
-packet-bpkmattr-static.o: packet-bpkmattr.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-bpkmattr-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmattr.c
+@@ENABLE_STATIC_TRUE@@packet-bpkmattr-static.o: packet-bpkmattr.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILe) -c -o packet-bpkmattr-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmattr.c
 
-packet-dsarsp-static.o:	packet-dsarsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dsarsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsarsp.c
+@@ENABLE_STATIC_TRUE@@packet-dsarsp-static.o:	packet-dsarsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dsarsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsarsp.c
 
-packet-macmgmt-static.o:	packet-macmgmt.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-macmgmt-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-macmgmt.c
+@@ENABLE_STATIC_TRUE@@packet-macmgmt-static.o:	packet-macmgmt.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-macmgmt-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-macmgmt.c
 
-packet-rngrsp-static.o:	packet-rngrsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-rngrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-rngrsp.c
+@@ENABLE_STATIC_TRUE@@packet-rngrsp-static.o:	packet-rngrsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-rngrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-rngrsp.c
 
-packet-bpkmreq-static.o:	packet-bpkmreq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-bpkmreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmreq.c
+@@ENABLE_STATIC_TRUE@@packet-bpkmreq-static.o:	packet-bpkmreq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-bpkmreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmreq.c
 
-packet-dscack-static.o:	packet-dscack.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dscack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscack.c
+@@ENABLE_STATIC_TRUE@@packet-dscack-static.o:	packet-dscack.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dscack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscack.c
 
-packet-map-static.o:	packet-map.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-map-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-map.c
+@@ENABLE_STATIC_TRUE@@packet-map-static.o:	packet-map.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-map-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-map.c
 
-packet-tlv-static.o:	packet-tlv.c packet-tlv.h moduleinfo.h
-	$(LTCOMPILE) -c -o packet-tlv-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-tlv.c
+@@ENABLE_STATIC_TRUE@@packet-tlv-static.o:	packet-tlv.c packet-tlv.h moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-tlv-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-tlv.c
 
-packet-bpkmrsp-static.o:	packet-bpkmrsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-bpkmrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmrsp.c
+@@ENABLE_STATIC_TRUE@@packet-bpkmrsp-static.o:	packet-bpkmrsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-bpkmrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmrsp.c
 
-packet-dscreq-static.o:	packet-dscreq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dscreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscreq.c
+@@ENABLE_STATIC_TRUE@@packet-dscreq-static.o:	packet-dscreq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dscreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscreq.c
 
-packet-regack-static.o:	packet-regack.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-regack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regack.c
+@@ENABLE_STATIC_TRUE@@packet-regack-static.o:	packet-regack.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-regack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regack.c
 
-packet-uccreq-static.o:	packet-uccreq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-uccreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-uccreq.c
+@@ENABLE_STATIC_TRUE@@packet-uccreq-static.o:	packet-uccreq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-uccreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-uccreq.c
 
-packet-dscrsp-static.o:	packet-dscrsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dscrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscrsp.c
+@@ENABLE_STATIC_TRUE@@packet-dscrsp-static.o:	packet-dscrsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dscrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscrsp.c
 
-packet-regreq-static.o:	packet-regreq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-regreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regreq.c
+@@ENABLE_STATIC_TRUE@@packet-regreq-static.o:	packet-regreq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-regreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regreq.c
 
-packet-uccrsp-static.o:	packet-uccrsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-uccrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-uccrsp.c
+@@ENABLE_STATIC_TRUE@@packet-uccrsp-static.o:	packet-uccrsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-uccrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-uccrsp.c
 
-packet-dsaack-static.o:	packet-dsaack.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dsaack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsaack.c
+@@ENABLE_STATIC_TRUE@@packet-dsaack-static.o:	packet-dsaack.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dsaack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsaack.c
 
-packet-dsdreq-static.o:	packet-dsdreq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dsdreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsdreq.c
+@@ENABLE_STATIC_TRUE@@packet-dsdreq-static.o:	packet-dsdreq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dsdreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsdreq.c
 
-packet-regrsp-static.o:	packet-regrsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-regrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regrsp.c
+@@ENABLE_STATIC_TRUE@@packet-regrsp-static.o:	packet-regrsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-regrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regrsp.c
 
-packet-ucd-static.o:	packet-ucd.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-ucd-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-ucd.c
+@@ENABLE_STATIC_TRUE@@packet-ucd-static.o:	packet-ucd.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-ucd-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-ucd.c
 
-packet-dsareq-static.o:	packet-dsareq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dsareq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsareq.c
+@@ENABLE_STATIC_TRUE@@packet-dsareq-static.o:	packet-dsareq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dsareq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsareq.c
 
-packet-dsdrsp-static.o:	packet-dsdrsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dsdrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsdrsp.c
+@@ENABLE_STATIC_TRUE@@packet-dsdrsp-static.o:	packet-dsdrsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dsdrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsdrsp.c
 
-packet-rngreq-static.o:	packet-rngreq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-rngreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-rngreq.c
+@@ENABLE_STATIC_TRUE@@packet-rngreq-static.o:	packet-rngreq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-rngreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-rngreq.c
 
-packet-vendor-static.o:	packet-vendor.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-vendor-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-vendor.c
+@@ENABLE_STATIC_TRUE@@packet-vendor-static.o:	packet-vendor.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-vendor-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-vendor.c
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
@


1.2.10.1
log
@Pullup ticket 347 - requested by Matthias Scheler
security fix for ethereal

Revisions pulled up:
- pkgsrc/net/ethereal/Makefile		1.103
- pkgsrc/net/ethereal/distinfo		1.33, 1.35
- pkgsrc/net/ethereal/patches/patch-aa	1.11
- pkgsrc/net/ethereal/patches/patch-ab	1.3

   Module Name:		pkgsrc
   Committed By:	salo
   Date:		Mon Jan 31 22:53:54 UTC 2005

   Modified Files:
   	pkgsrc/net/ethereal: distinfo
   Added Files:
   	pkgsrc/net/ethereal/patches: patch-aa

   Log Message:
   Remove attributes in prototype for unnamed pointers.
   ethereal svn version is laready fixed.

   From PR pkg/29065 by Greg A. Woods.
---
   Module Name:		pkgsrc
   Committed By:	tron
   Date:		Thu Mar 10 10:05:33 UTC 2005

   Modified Files:
   	pkgsrc/net/ethereal: Makefile distinfo
   Added Files:
   	pkgsrc/net/ethereal/patches: patch-ab

   Log Message:
   Fix security vulernability in dissector for CDMA2000 A11 packets.
   Bump package revision.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.3 2005/03/10 10:05:32 tron Exp $
d3 5
a7 5
--- epan/dissectors/packet-3g-a11.c.orig	2005-01-18 02:39:50.000000000 +0000
+++ epan/dissectors/packet-3g-a11.c	2005-03-10 09:32:18.000000000 +0000
@@@@ -312,7 +312,7 @@@@
 };
 #define NUM_ATTR (sizeof(attrs)/sizeof(struct radius_attribute))
d9 2
a10 2
-#define MAX_STRVAL 16
+#define MAX_STRVAL 256
d12 128
a139 2
 #define RADIUS_VENDOR_SPECIFIC 26
 #define SKIP_HDR_LEN 6
@


1.2.10.2
log
@Pullup ticket 357 - requested by Lubomir Sedlacik
security fix for ethereal

Revisions pulled up:
- pkgsrc/net/ethereal/Makefile		1.104,1.105
- pkgsrc/net/ethereal/PLIST		1.20
- pkgsrc/net/ethereal/distinfo		1.36
- pkgsrc/net/ethereal/patches/patch-aa	removed
- pkgsrc/net/ethereal/patches/patch-ab	removed


   Module Name:    pkgsrc
   Committed By:   salo
   Date:           Mon Mar 14 15:09:28 UTC 2005

   Modified Files:
           pkgsrc/net/ethereal: Makefile PLIST distinfo
   Removed Files:
           pkgsrc/net/ethereal/patches: patch-aa patch-ab

   Log Message:
   Update to version 0.10.10

   This release fixes three security and stability-related issues:

   - Matevz Pustisek discovered a buffer overflow in the Etheric dissector.
     (CAN-2005-0704)
   - The GPRS-LLC dissector could crash if the "ignore cipher bit" option was
     enabled. (CAN-2005-0705)
   - Diego Giago discovered a buffer overflow in the 3GPP2 A11 dissector. This
     flaw was later reported by Leon Juranic. (CAN-2005-0699)
   - Leon Juranic discovered a buffer overflow in the IAPP dissector.
   - A bug in the JXTA dissector could make Ethereal crash.
   - A bug in the sFlow dissector could make Ethereal crash.

   Everyone is encouraged to upgrade.

   New and updated features:
   =========================
   - Tree view item context menus now let you browse to the display filter
     reference and wiki pages for a particular protocol.
   - Online help has been expanded.
   - VoIP call analysis (including nifty connection diagrams) has been added.
   - GSS-API decryption has been greatly enhanced.

   New protocol support:
   =====================
   AgentX, BUDB, DTP, G.723, IDP, INAP, KINK, Realplayer Data Protocol, Retix
   Spanning Tree Protocol, RTCP-XR, XML, XNS, SPP

   Updated protocol support:
   =========================
   3GPP2 A11, ACSE, AMR, ATM, BER, BSSGP, BUTC, CDP, CLNP, CoSine L2, DAAP,
   DCE/RPC, DCOM, DIAMETER, DNP, DNS, Etheric, FCP, FW-1, Gnutella, GPRS, GSM A,
   GSM MAP, H.225, H.245, H.248, H.450, HTTP, IAX2, ICQ, IEEE 802.11, IEEE 802.3
   Slow Protocols, IP, iSCSI, ISUP, Juniper, JXTA, Kerberos, L2TP, LDAP, MIP,
   MPLS, NDMP, NSIP, NTP, OSPF, OXID, PostgreSQL, RADIUS, RDT, Redback, RMCP,
   RTP, RTSP, SCSI, SCTP, SDP, SPNEGO, SSL, STUN, TCAP, TCP, TZSP

   New and updated capture file support:
   =====================================
   DBS Etherwatch, Lucent/Ascend, Nettl, Tcpdump (Redback)

   ---

   Module Name:    pkgsrc
   Committed By:   tron
   Date:           Mon Mar 14 15:34:57 UTC 2005

   Modified Files:
           pkgsrc/net/ethereal: Makefile

   Log Message:
   Remove unnecessary "post-patch" target".
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.2.10.1 2005/03/10 12:07:17 salo Exp $
@


1.1
log
@Updated to version 0.9.12.

This release fixes several off-by-one and integer overflow errors
discovered by Timo Sirainen.  See the following url for more details:

  http://www.ethereal.com/appnotes/enpa-sa-00009.html

Changes:

- don't build and install static plugins anymore
- use .tar.bz2 distfile
- add more MASTER_SITES (also add one for older distfiles)
- sync DESC with the new description on HOMEPAGE

- TCP sequence number analysis received a few improvements.
- General packet reassembly has been improved.
- The "Follow TCP Stream" window now allows you to filter out
  the current stream.
- The Vines code received significant updates.
- Several enhancements were made to the text2pcap utility.
- New protocols:
  ArtNET, IPX WAN, Intel ANS, iSNS, NLSP, WKSSVC
- Updated protocols:
  802.11 ACAP, AFP, AIM, AJP, ASAP, BGP, CLNP, CPHA, DCE/RPC, DSI, EAP,
  IP, IPMI, IPX, IPv6, ISIS, ISUP, IUA, Kerberos, LDAP, M2PA, M2TP, M2UA,
  M3UA, MGCP, MTP2, MTP3, MTP3MG, Modbus/TCP, NDMP, NDPS, NFS, NLSP, PGM,
  Q.931, RANAP, RPC, RSVP, SCCP, SCCPMG, SCTP, SMB, SNMP, SPX, SSH, SUA,
  TCP, Telnet, Vines, WBXML, WSP, WTP
- Updated capture file support:
  Netxray

Based on a patch by Quentin Garnier via PR pkg/21431.
@
text
@d1 1
a1 1
$NetBSD$
@


1.1.2.1
log
@file patch-ab was added on branch netbsd-1-6-1 on 2003-06-19 00:03:19 +0000
@
text
@d1 139
@


1.1.2.2
log
@Create new file from rev 1.1 (requested by salo in ticket #1280):

Updated to version 0.9.12.

This release fixes several off-by-one and integer overflow errors
discovered by Timo Sirainen.  See the following url for more details:

  http://www.ethereal.com/appnotes/enpa-sa-00009.html
@
text
@a0 139
$NetBSD: patch-ab,v 1.1.2.1 2003/06/19 00:03:19 grant Exp $

--- plugins/docsis/Makefile.in.orig	2003-05-02 03:11:01.000000000 +0200
+++ plugins/docsis/Makefile.in	2003-05-05 18:09:07.000000000 +0200
@@@@ -179,7 +179,7 @@@@
 # add them here.
 LIBS = 
 
-docsis_la_DEPENDENCIES = packet-docsis-static.o packet-bpkmattr-static.o packet-dsarsp-static.o packet-macmgmt-static.o packet-rngrsp-static.o packet-bpkmreq-static.o packet-dscack-static.o packet-map-static.o packet-tlv-static.o packet-bpkmrsp-static.o packet-dscreq-static.o packet-regack-static.o packet-uccreq-static.o packet-dscrsp-static.o packet-regreq-static.o packet-uccrsp-static.o packet-dsaack-static.o packet-dsdreq-static.o packet-regrsp-static.o packet-ucd-static.o packet-dsareq-static.o packet-dsdrsp-static.o packet-rngreq-static.o packet-vendor-static.o
+@@ENABLE_STATIC_TRUE@@docsis_la_DEPENDENCIES = packet-docsis-static.o packet-bpkmattr-static.o packet-dsarsp-static.o packet-macmgmt-static.o packet-rngrsp-static.o packet-bpkmreq-static.o packet-dscack-static.o packet-map-static.o packet-tlv-static.o packet-bpkmrsp-static.o packet-dscreq-static.o packet-regack-static.o packet-uccreq-static.o packet-dscrsp-static.o packet-regreq-static.o packet-uccrsp-static.o packet-dsaack-static.o packet-dsdreq-static.o packet-regrsp-static.o packet-ucd-static.o packet-dsareq-static.o packet-dsdrsp-static.o packet-rngreq-static.o packet-vendor-static.o
 
 CLEANFILES = \
 	docsis \
@@@@ -498,77 +498,77 @@@@
 	uninstall-am uninstall-info-am uninstall-pluginLTLIBRARIES
 
 
-packet-docsis-static.o:	packet-docsis.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-docsis-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-docsis.c 
+@@ENABLE_STATIC_TRUE@@packet-docsis-static.o:	packet-docsis.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-docsis-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-docsis.c 
 
-packet-bpkmattr-static.o: packet-bpkmattr.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-bpkmattr-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmattr.c
+@@ENABLE_STATIC_TRUE@@packet-bpkmattr-static.o: packet-bpkmattr.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILe) -c -o packet-bpkmattr-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmattr.c
 
-packet-dsarsp-static.o:	packet-dsarsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dsarsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsarsp.c
+@@ENABLE_STATIC_TRUE@@packet-dsarsp-static.o:	packet-dsarsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dsarsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsarsp.c
 
-packet-macmgmt-static.o:	packet-macmgmt.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-macmgmt-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-macmgmt.c
+@@ENABLE_STATIC_TRUE@@packet-macmgmt-static.o:	packet-macmgmt.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-macmgmt-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-macmgmt.c
 
-packet-rngrsp-static.o:	packet-rngrsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-rngrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-rngrsp.c
+@@ENABLE_STATIC_TRUE@@packet-rngrsp-static.o:	packet-rngrsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-rngrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-rngrsp.c
 
-packet-bpkmreq-static.o:	packet-bpkmreq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-bpkmreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmreq.c
+@@ENABLE_STATIC_TRUE@@packet-bpkmreq-static.o:	packet-bpkmreq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-bpkmreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmreq.c
 
-packet-dscack-static.o:	packet-dscack.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dscack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscack.c
+@@ENABLE_STATIC_TRUE@@packet-dscack-static.o:	packet-dscack.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dscack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscack.c
 
-packet-map-static.o:	packet-map.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-map-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-map.c
+@@ENABLE_STATIC_TRUE@@packet-map-static.o:	packet-map.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-map-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-map.c
 
-packet-tlv-static.o:	packet-tlv.c packet-tlv.h moduleinfo.h
-	$(LTCOMPILE) -c -o packet-tlv-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-tlv.c
+@@ENABLE_STATIC_TRUE@@packet-tlv-static.o:	packet-tlv.c packet-tlv.h moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-tlv-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-tlv.c
 
-packet-bpkmrsp-static.o:	packet-bpkmrsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-bpkmrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmrsp.c
+@@ENABLE_STATIC_TRUE@@packet-bpkmrsp-static.o:	packet-bpkmrsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-bpkmrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmrsp.c
 
-packet-dscreq-static.o:	packet-dscreq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dscreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscreq.c
+@@ENABLE_STATIC_TRUE@@packet-dscreq-static.o:	packet-dscreq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dscreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscreq.c
 
-packet-regack-static.o:	packet-regack.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-regack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regack.c
+@@ENABLE_STATIC_TRUE@@packet-regack-static.o:	packet-regack.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-regack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regack.c
 
-packet-uccreq-static.o:	packet-uccreq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-uccreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-uccreq.c
+@@ENABLE_STATIC_TRUE@@packet-uccreq-static.o:	packet-uccreq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-uccreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-uccreq.c
 
-packet-dscrsp-static.o:	packet-dscrsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dscrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscrsp.c
+@@ENABLE_STATIC_TRUE@@packet-dscrsp-static.o:	packet-dscrsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dscrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscrsp.c
 
-packet-regreq-static.o:	packet-regreq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-regreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regreq.c
+@@ENABLE_STATIC_TRUE@@packet-regreq-static.o:	packet-regreq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-regreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regreq.c
 
-packet-uccrsp-static.o:	packet-uccrsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-uccrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-uccrsp.c
+@@ENABLE_STATIC_TRUE@@packet-uccrsp-static.o:	packet-uccrsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-uccrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-uccrsp.c
 
-packet-dsaack-static.o:	packet-dsaack.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dsaack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsaack.c
+@@ENABLE_STATIC_TRUE@@packet-dsaack-static.o:	packet-dsaack.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dsaack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsaack.c
 
-packet-dsdreq-static.o:	packet-dsdreq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dsdreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsdreq.c
+@@ENABLE_STATIC_TRUE@@packet-dsdreq-static.o:	packet-dsdreq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dsdreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsdreq.c
 
-packet-regrsp-static.o:	packet-regrsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-regrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regrsp.c
+@@ENABLE_STATIC_TRUE@@packet-regrsp-static.o:	packet-regrsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-regrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regrsp.c
 
-packet-ucd-static.o:	packet-ucd.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-ucd-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-ucd.c
+@@ENABLE_STATIC_TRUE@@packet-ucd-static.o:	packet-ucd.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-ucd-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-ucd.c
 
-packet-dsareq-static.o:	packet-dsareq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dsareq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsareq.c
+@@ENABLE_STATIC_TRUE@@packet-dsareq-static.o:	packet-dsareq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dsareq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsareq.c
 
-packet-dsdrsp-static.o:	packet-dsdrsp.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-dsdrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsdrsp.c
+@@ENABLE_STATIC_TRUE@@packet-dsdrsp-static.o:	packet-dsdrsp.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-dsdrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsdrsp.c
 
-packet-rngreq-static.o:	packet-rngreq.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-rngreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-rngreq.c
+@@ENABLE_STATIC_TRUE@@packet-rngreq-static.o:	packet-rngreq.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-rngreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-rngreq.c
 
-packet-vendor-static.o:	packet-vendor.c moduleinfo.h
-	$(LTCOMPILE) -c -o packet-vendor-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-vendor.c
+@@ENABLE_STATIC_TRUE@@packet-vendor-static.o:	packet-vendor.c moduleinfo.h
+@@ENABLE_STATIC_TRUE@@	$(LTCOMPILE) -c -o packet-vendor-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-vendor.c
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
@
