From 862a468489b5081755f9086204a012c7cd3beb3e Mon Sep 17 00:00:00 2001 From: root Date: Wed, 20 Apr 2011 05:15:36 +0000 Subject: Wed Apr 20 05:15:36 UTC 2011 --- extra/wireshark/PKGBUILD | 6 +++--- extra/wireshark/wireshark.install | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'extra/wireshark') 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 # Contributor: Florian Pritz 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() { -- cgit v1.2.3-54-g00ecf