Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tcpdump

  • Loading branch information...
commit 9166224772f70b547f33fdf04299d52e967f58c2 1 parent ae0bd3e
itojun authored
View
25 openbsd/ports/net/tcpdump/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+DISTNAME= tcpdump-2000_04_17
+PKGNAME= tcpdump-20000417
+CATEGORIES= net
+MASTER_SITES= http://www.tcpdump.org/weekly/
+
+MAINTAINER= itojun@itojun.org
+HOMEPAGE= http://www.tcpdump.org/
+
+BUILD_DEPENDS+= ${PREFIX}/lib/libpcap.a:../../net/libpcap
+BUILD_DEPENDS+= autoconf:../../devel/autoconf
+BUILD_DEPENDS+= ${PREFIX}/bin/gtar:${PORTSDIR}/archivers/gtar
+
+TAR= gtar
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= LIBS="-L${PREFIX}/lib"
+CONFIGURE_ARGS+=--enable-ipv6
+
+pre-configure:
+ (cd ${WRKSRC}; autoreconf)
+
+INSTALL_TARGET= install install-man
+
+.include <bsd.port.mk>
View
3  openbsd/ports/net/tcpdump/files/md5
@@ -0,0 +1,3 @@
+MD5 (tcpdump-2000_04_17.tar.gz) = 994d8457a719bc3eb22a8ee76d1c9b51
+RMD160 (tcpdump-2000_04_17.tar.gz) = 5bd6370405bef7935bdeb93711bfd9b4d369d451
+SHA1 (tcpdump-2000_04_17.tar.gz) = e49fb38dd305a4281672deee919aa05b962f78f2
View
39 openbsd/ports/net/tcpdump/patches/patch-aa
@@ -0,0 +1,39 @@
+$NetBSD$
+--- aclocal.m4.orig Fri Jan 21 13:06:18 2000
++++ aclocal.m4 Wed Jan 26 03:23:25 2000
+@@ -191,15 +191,16 @@
+ AC_MSG_CHECKING(for local pcap library)
+ libpcap=FAIL
+ lastdir=FAIL
+- places=`ls .. | sed -e 's,/$,,' -e 's,^,../,' | \
+- egrep '/libpcap-[[0-9]]*\.[[0-9]]*(\.[[0-9]]*)?([[ab]][[0-9]]*)?$'`
++# places=`ls .. | sed -e 's,/$,,' -e 's,^,../,' | \
++# egrep '/libpcap-[[0-9]]*\.[[0-9]]*(\.[[0-9]]*)?([[ab]][[0-9]]*)?$'`
++ places=$prefix/lib
+ for dir in $places ../libpcap libpcap ; do
+- basedir=`echo $dir | sed -e 's/[[ab]][[0-9]]*$//'`
+- if test $lastdir = $basedir ; then
+- dnl skip alphas when an actual release is present
+- continue;
+- fi
+- lastdir=$dir
++# basedir=`echo $dir | sed -e 's/[[ab]][[0-9]]*$//'`
++# if test $lastdir = $basedir ; then
++# dnl skip alphas when an actual release is present
++# continue;
++# fi
++# lastdir=$dir
+ if test -r $dir/libpcap.a ; then
+ libpcap=$dir/libpcap.a
+ d=$dir
+@@ -215,7 +216,9 @@
+ else
+ $1=$libpcap
+ if test -r $d/pcap.h; then
+- $2="-I$d $$2"
++ $2="-I$d $$2"
++ elif test -r $d/../include/pcap.h; then
++ $2="-I$d/../include $$2"
+ elif test -r $srcdir/../libpcap/pcap.h; then
+ $2="-I$d -I$srcdir/../libpcap $$2"
+ else
View
45 openbsd/ports/net/tcpdump/patches/patch-ab
@@ -0,0 +1,45 @@
+--- configure.in- Thu Apr 20 18:10:26 2000
++++ configure.in Thu Apr 20 18:10:50 2000
+@@ -612,24 +612,24 @@
+ AC_MSG_CHECKING(for SSLeay)
+ ac_cv_ssleay_path=no
+ incdir=no
+-for dir in /usr /usr/local /usr/local/ssl /usr/pkg; do
+- if test -d $dir/lib -a -f $dir/lib/libcrypto.a; then
+- ac_cv_ssleay_path=$dir
+- fi
+- if test -d $dir/include/ssleay -a -f $dir/include/ssleay/des.h; then
+- incdir="-I$dir/include/ssleay"
+- elif test -d $dir/include/openssl -a -f $dir/include/openssl/des.h; then
+- incdir="-I$dir/include -I$dir/include/openssl"
+- elif test -d $dir/include -a -f $dir/include/des.h; then
+- incdir="-I$dir/include"
+- fi
+- if test "$ac_cv_ssleay_path" != "no" -a "$incdir" != "no"; then
+- break;
+- else
+- ac_cv_ssleay_path=no
+- incdir=no
+- fi
+-done
++#for dir in /usr /usr/local /usr/local/ssl /usr/pkg; do
++# if test -d $dir/lib -a -f $dir/lib/libcrypto.a; then
++# ac_cv_ssleay_path=$dir
++# fi
++# if test -d $dir/include/ssleay -a -f $dir/include/ssleay/des.h; then
++# incdir="-I$dir/include/ssleay"
++# elif test -d $dir/include/openssl -a -f $dir/include/openssl/des.h; then
++# incdir="-I$dir/include -I$dir/include/openssl"
++# elif test -d $dir/include -a -f $dir/include/des.h; then
++# incdir="-I$dir/include"
++# fi
++# if test "$ac_cv_ssleay_path" != "no" -a "$incdir" != "no"; then
++# break;
++# else
++# ac_cv_ssleay_path=no
++# incdir=no
++# fi
++#done
+ AC_MSG_RESULT($ac_cv_ssleay_path)
+ if test "$ac_cv_ssleay_path" != no; then
+ V_INCLS="$V_INCLS $incdir"
View
1  openbsd/ports/net/tcpdump/pkg/COMMENT
@@ -0,0 +1 @@
+famous packet decoder, from tcpdump.org
View
1  openbsd/ports/net/tcpdump/pkg/DESCR
@@ -0,0 +1 @@
+famous packet decoder, from tcpdump.org
View
3  openbsd/ports/net/tcpdump/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+sbin/tcpdump
+man/man1/tcpdump.1
Please sign in to comment.
Something went wrong with that request. Please try again.