summaryrefslogtreecommitdiff
path: root/extra/tcpdump
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-20 00:57:43 -0700
committerroot <root@rshg054.dnsready.net>2013-05-20 00:57:43 -0700
commit383955a81810f344e11b1472bd4c5069fa77020c (patch)
tree6017ed943ee9ae2ca0da830ede5f00f6d7817cf7 /extra/tcpdump
parent9a30c3d0083b8330b1aa6c0f89245e68ae762ee5 (diff)
Mon May 20 00:57:42 PDT 2013
Diffstat (limited to 'extra/tcpdump')
-rw-r--r--extra/tcpdump/PKGBUILD7
-rw-r--r--extra/tcpdump/tcpdump_duplicate_executable.patch6
2 files changed, 7 insertions, 6 deletions
diff --git a/extra/tcpdump/PKGBUILD b/extra/tcpdump/PKGBUILD
index 9dd06afab..9fe48df7c 100644
--- a/extra/tcpdump/PKGBUILD
+++ b/extra/tcpdump/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 184005 2013-04-30 18:42:55Z giovanni $
+# $Id: PKGBUILD 185812 2013-05-19 11:54:46Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=tcpdump
pkgver=4.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="A tool for network monitoring and data acquisition"
arch=('i686' 'x86_64')
url="http://www.tcpdump.org"
@@ -13,7 +13,7 @@ depends=('libpcap' 'openssl')
source=("http://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"
'tcpdump_duplicate_executable.patch')
md5sums=('6f75aabcffd012f73bd7c331bb5d8232'
- '96c116e5ed51759a029bb6c236d63178')
+ '01379e4a12a208ce951c6c2abe80300f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -22,6 +22,7 @@ build() {
patch -Np1 -i "${srcdir}/tcpdump_duplicate_executable.patch"
./configure --prefix=/usr \
+ --sbindir=/usr/bin \
--enable-ipv6
make
}
diff --git a/extra/tcpdump/tcpdump_duplicate_executable.patch b/extra/tcpdump/tcpdump_duplicate_executable.patch
index bb3e60f1a..f3efb6d40 100644
--- a/extra/tcpdump/tcpdump_duplicate_executable.patch
+++ b/extra/tcpdump/tcpdump_duplicate_executable.patch
@@ -1,6 +1,6 @@
---- a/Makefile.in 2012-06-12 18:56:20.000000000 +0200
-+++ b/Makefile.in 2012-06-13 08:41:09.000000000 +0200
-@@ -409,7 +409,6 @@
+--- a/Makefile.in 2013-03-24 22:49:18.000000000 +0100
++++ b/Makefile.in 2013-05-19 13:44:29.000000000 +0200
+@@ -326,7 +326,6 @@
[ -d $(DESTDIR)$(sbindir) ] || \
(mkdir -p $(DESTDIR)$(sbindir); chmod 755 $(DESTDIR)$(sbindir))
$(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG)