ethereal from Jakob Schlyter <jakob@carlstedt.se>
This commit is contained in:
parent
5f861d1c67
commit
e8f0dadd05
33
net/ethereal/Makefile
Normal file
33
net/ethereal/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# Ports collection makefile for: ethereal
|
||||
# Version required: 0.3.16
|
||||
# Date created: 8 Sep 1998
|
||||
# Whom: Jakob Schlyter <jakob@carlstedt.se>
|
||||
# More information: http://ethereal.zing.org/
|
||||
|
||||
# What port/package will be created
|
||||
#
|
||||
DISTNAME= ethereal-0.3.16
|
||||
CATEGORIES= net x11
|
||||
|
||||
# where to send comments about this port
|
||||
#
|
||||
MAINTAINER= jakob@carlstedt.se
|
||||
|
||||
# where the source files and patches can be fetched
|
||||
#
|
||||
MASTER_SITES= http://ethereal.zing.org/distribution/ \
|
||||
http://ethereal.boehm.org/distribution/ \
|
||||
http://ethereal.zing.org/distribution/old-versions/ \
|
||||
http://ethereal.boehm.org/distribution/old-versions/
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
# Dependencies
|
||||
#
|
||||
LIB_DEPENDS= gtk\\.1\\.:${PORTSDIR}/x11/gtk+
|
||||
|
||||
# build/configuration variables
|
||||
#
|
||||
USE_X11= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.mk>
|
1
net/ethereal/files/md5
Normal file
1
net/ethereal/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ethereal-0.3.16.tar.gz) = 49700f2373486e3f3324938acfe7e3ba
|
19
net/ethereal/patches/patch-aa
Normal file
19
net/ethereal/patches/patch-aa
Normal file
@ -0,0 +1,19 @@
|
||||
*** packet.c.orig Sat Sep 5 22:23:47 1998
|
||||
--- packet.c Tue Sep 8 18:48:45 1998
|
||||
***************
|
||||
*** 209,215 ****
|
||||
case DLT_IEEE802 :
|
||||
dissect_tr(pd, fd, tree);
|
||||
break;
|
||||
! case DLT_RAW :
|
||||
dissect_raw(pd, fd, tree);
|
||||
break;
|
||||
}
|
||||
--- 209,215 ----
|
||||
case DLT_IEEE802 :
|
||||
dissect_tr(pd, fd, tree);
|
||||
break;
|
||||
! case DLT_LOOP :
|
||||
dissect_raw(pd, fd, tree);
|
||||
break;
|
||||
}
|
24
net/ethereal/patches/patch-ab
Normal file
24
net/ethereal/patches/patch-ab
Normal file
@ -0,0 +1,24 @@
|
||||
--- ethereal.c.~1~ Wed Sep 16 20:12:38 1998
|
||||
+++ ethereal.c Tue Sep 22 12:25:51 1998
|
||||
@@ -122,8 +122,21 @@
|
||||
/* reload so it goes in effect. Also we set data_out_file which
|
||||
tells the tcp code to output the data */
|
||||
close_cap_file( &cf, info_bar, file_ctx);
|
||||
+#if defined(__OpenBSD__)
|
||||
+ {
|
||||
+ int tmp_fd;
|
||||
+
|
||||
+ snprintf( "%sXXXXXXXXXX", sizeof filename1, P_tmpdir );
|
||||
+ tmp_fd = mkstemp( filename1 );
|
||||
+ if ( tmp_fd == -1 ) {
|
||||
+ err( 1, "can't create temp file %s", filename1 );
|
||||
+ }
|
||||
+ data_out_file = fdopen( tmp_fd, "a" );
|
||||
+ }
|
||||
+#else
|
||||
strcpy( filename1, tmpnam(NULL) );
|
||||
data_out_file = fopen( filename1, "a" );
|
||||
+#endif
|
||||
if( data_out_file == NULL ) {
|
||||
fprintf( stderr, "Could not open tmp file %s\n", filename1 );
|
||||
}
|
1
net/ethereal/pkg/COMMENT
Normal file
1
net/ethereal/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
Ethereal - A network protocol analyzer.
|
7
net/ethereal/pkg/DESCR
Normal file
7
net/ethereal/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
Ethereal is a network protocol analyzer for Unix. It allows you to examine
|
||||
data from a live network, or from a capture file on disk. One of the goals
|
||||
of the project is to have an application that is similar in functionality
|
||||
to Network Associates' NetXRay or the AG Group's EtherPeek. Although these
|
||||
are both excellent products, neither of them runs under Unix.
|
||||
|
||||
More information is available at http://ethereal.zing.org/.
|
2
net/ethereal/pkg/PLIST
Normal file
2
net/ethereal/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
bin/ethereal
|
||||
man/man1/ethereal.1
|
Loading…
x
Reference in New Issue
Block a user