summaryrefslogtreecommitdiff
path: root/extra/tcpdump/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /extra/tcpdump/PKGBUILD
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'extra/tcpdump/PKGBUILD')
-rw-r--r--extra/tcpdump/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/tcpdump/PKGBUILD b/extra/tcpdump/PKGBUILD
index 9fe48df7c..c4a3c712c 100644
--- a/extra/tcpdump/PKGBUILD
+++ b/extra/tcpdump/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 185812 2013-05-19 11:54:46Z giovanni $
+# $Id: PKGBUILD 200343 2013-11-26 17:54:59Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=tcpdump
-pkgver=4.4.0
-pkgrel=2
+pkgver=4.5.1
+pkgrel=1
pkgdesc="A tool for network monitoring and data acquisition"
arch=('i686' 'x86_64')
url="http://www.tcpdump.org"
@@ -12,14 +12,18 @@ license=('BSD')
depends=('libpcap' 'openssl')
source=("http://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"
'tcpdump_duplicate_executable.patch')
-md5sums=('6f75aabcffd012f73bd7c331bb5d8232'
+md5sums=('973a2513d0076e34aa9da7e15ed98e1b'
'01379e4a12a208ce951c6c2abe80300f')
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
# do not install tcpdump-4.1.1 executable (FS#23346)
patch -Np1 -i "${srcdir}/tcpdump_duplicate_executable.patch"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--sbindir=/usr/bin \