mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
86 lines
2.0 KiB
Bash
86 lines
2.0 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="https://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="https://www.tcpdump.org/release/tcpdump-${portVersion}.tar.xz"
|
|
CHECKSUM_SHA256="40a8cefd45f0d2a06827e6658efb830d484868c449ad80f7efb33516af44f3da"
|
|
|
|
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:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:strip$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
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
|
|
}
|