--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/tcpdump.1.gz
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/tcpdump
--- /dev/null
+# Description: Network sniffer with command line interface
+# URL: http://www.tcpdump.org
+# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: libpcap openssl
+
+name=tcpdump
+version=4.0.0
+release=1
+source=(http://www.tcpdump.org/release/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+ echo "ac_cv_linux_vers=2" > config.cache
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --disable-ipv6 \
+ --cache-file=config.cache
+ sed -i 's|\-I/usr/include|\-I$(CLFS)/usr/include|g' Makefile
+ sed -i 's|LDFLAGS = \-L/usr/lib|LDFLAGS = \-L$(CLFS)/usr/lib|g' Makefile
+ sed -i -e '80 d' -e '81 d' -e '82 d' print-enc.c
+ make
+ make DESTDIR=$PKG install
+ rm $PKG/usr/sbin/tcpdump.$version
+}