aboutsummaryrefslogtreecommitdiffstats
path: root/extra/tcpdump
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-20 17:06:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-20 17:06:03 +0000
commite07f8a8b99d0f48164a1fed7dc12d65a9a6a8fa7 (patch)
tree8254477b72c37962862f8a72d1724532146c6620 /extra/tcpdump
parentc261de1f7a718bda194a416b911f6a34eb16cd31 (diff)
downloadaports-e07f8a8b99d0f48164a1fed7dc12d65a9a6a8fa7.tar.bz2
aports-e07f8a8b99d0f48164a1fed7dc12d65a9a6a8fa7.tar.xz
extra/tcpdump: new aport
Diffstat (limited to 'extra/tcpdump')
-rw-r--r--extra/tcpdump/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/tcpdump/APKBUILD b/extra/tcpdump/APKBUILD
new file mode 100644
index 0000000000..ad9f5323f4
--- /dev/null
+++ b/extra/tcpdump/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=tcpdump
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="A tool for network monitoring and data acquisition"
+url="http://www.tcpdump.org"
+license="BSD"
+depends="libpcap openssl"
+makedepends="libpcap-dev openssl-dev"
+source="http://www.$pkgname.org/release/$pkgname-$pkgver.tar.gz"
+subpackages="$pkgname-doc"
+
+build ()
+{
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-ipv6
+ make || return 1
+ make DESTDIR="$pkgdir" install
+ rm -f "$pkgdir"/usr/sbin/tcpdump.4*
+}
+
+md5sums="b22ca72890df2301d922c9f2d17867f9 tcpdump-4.0.0.tar.gz"