diff options
author | root <root@rshg047.dnsready.net> | 2011-04-20 05:15:36 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-20 05:15:36 +0000 |
commit | 862a468489b5081755f9086204a012c7cd3beb3e (patch) | |
tree | 6ab46fa059be2927c621a1d526f6f95e6a4033e1 /extra/wireshark | |
parent | 8f4f6fea0e8f06647b3e06c003069c93b5b033b4 (diff) |
Wed Apr 20 05:15:36 UTC 2011
Diffstat (limited to 'extra/wireshark')
-rw-r--r-- | extra/wireshark/PKGBUILD | 6 | ||||
-rw-r--r-- | extra/wireshark/wireshark.install | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/extra/wireshark/PKGBUILD b/extra/wireshark/PKGBUILD index 530da2b20..242452147 100644 --- a/extra/wireshark/PKGBUILD +++ b/extra/wireshark/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 119998 2011-04-18 09:40:46Z guillaume $ +# $Id: PKGBUILD 120079 2011-04-19 13:10:40Z guillaume $ # Maintainer: Guillaume ALAUX <guillaume at alaux dot net> # Contributor: Florian Pritz <bluewind at jabber dot ccc dot de> pkgname=(wireshark-cli wireshark-gtk) pkgbase=wireshark -pkgver=1.4.5 +pkgver=1.4.6 pkgrel=1 arch=('i686' 'x86_64') license=('GPL2') @@ -11,7 +11,7 @@ makedepends=('bison' 'flex' 'gtk2' 'heimdal' 'libpcap' 'bash' 'gnutls' 'libcap') url="http://www.wireshark.org/" options=(!libtool) source=(http://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.bz2) -md5sums=('d278e377a830024e7ee1f279d0a50035') +md5sums=('fd301004ebc5fac8e56c2f0d4ef6173f') build() { cd "${srcdir}/${pkgbase}-${pkgver}" diff --git a/extra/wireshark/wireshark.install b/extra/wireshark/wireshark.install index 0afdf0c8f..6585ba272 100644 --- a/extra/wireshark/wireshark.install +++ b/extra/wireshark/wireshark.install @@ -6,7 +6,9 @@ post_install() { } post_upgrade() { - post_install $1 + getent group wireshark >/dev/null 2>&1 || usr/sbin/groupadd -g 150 wireshark &>/dev/null + + setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap } post_remove() { |