mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
90 lines
2.1 KiB
Bash
90 lines
2.1 KiB
Bash
SUMMARY="A tool for network monitoring and data acquisition"
|
|
DESCRIPTION="
|
|
Tcpdump prints out a description of the contents of packets on a \
|
|
network interface that match a boolean expression."
|
|
HOMEPAGE="http://www.tcpdump.org"
|
|
COPYRIGHT="
|
|
1998-2015 The TCPDUMP Project
|
|
1988-1997, 2000 The Regents of the University of California
|
|
2003, 2004 David Young
|
|
1997, 1998 The NetBSD Foundation, Inc.
|
|
2007 Paolo Abeni
|
|
2004 Michael Richardson
|
|
1995-1999 Andrew Tridgell
|
|
2001 Nickolai Zeldovich
|
|
2000-2001 William C. Fenner
|
|
2009 Bert Vermeulen
|
|
2000 Ben Smithurst
|
|
1998-2004 Hannes Gredler
|
|
1997 Yen Yen Lim and North Dakota State University
|
|
2000 Lennert Buytenhek
|
|
1990-1997 John Robert LoVerso
|
|
2001 NETLAB, Temple University
|
|
2001 Protocol Engineering Lab, University of Delaware
|
|
2000 United States Government as represented by the Secretary of the Navy
|
|
2007 Andrey "nording" Chernyak
|
|
2000 Alfredo Andres Omella
|
|
2009 Florian Forster
|
|
2013 Petar Alilovic, Faculty of Electrical Engineering and Computing, University of Zagreb
|
|
2013 Romain Francoise
|
|
2012 Gregory Detal
|
|
2012 Christoph Paasch
|
|
1995-1998, 2001-2002 WIDE Project
|
|
"
|
|
LICENSE="BSD (3-clause)"
|
|
REVISION="1"
|
|
SOURCE_URI="http://www.tcpdump.org/release/tcpdump-${portVersion}.tar.gz"
|
|
CHECKSUM_SHA256="0232231bb2f29d6bf2426e70a08a7e0c63a0d59a9b44863b7f5e2357a6e49fea"
|
|
PATCHES="tcpdump-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
tcpdump$secondaryArchSuffix = $portVersion
|
|
cmd:tcpdump
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libpcap$secondaryArchSuffix
|
|
"
|
|
|
|
if [ $effectiveTargetArchitecture = x86 ]; then
|
|
REPLACES="
|
|
tcpdump
|
|
"
|
|
fi
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libpcap$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:strip$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure --omit-dirs binDir \
|
|
./configure --bindir="$prefix/bin"
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
strip $prefix/bin/tcpdump
|
|
rm $prefix/bin/tcpdump.$portVersion
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|