[arch-commits] Commit in wireshark/trunk (PKGBUILD wireshark.install)
Levente Polyak
anthraxx at archlinux.org
Thu Nov 24 22:53:29 UTC 2016
Date: Thursday, November 24, 2016 @ 22:53:28
Author: anthraxx
Revision: 196759
updpkg: wireshark 2.2.2-1 (security update)
Modified:
wireshark/trunk/PKGBUILD
wireshark/trunk/wireshark.install
-------------------+
PKGBUILD | 4 ++--
wireshark.install | 10 +---------
2 files changed, 3 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-24 22:06:32 UTC (rev 196758)
+++ PKGBUILD 2016-11-24 22:53:28 UTC (rev 196759)
@@ -4,7 +4,7 @@
# Contributor: Florian Pritz <bluewind at jabber dot ccc dot de>
pkgname=('wireshark-cli' 'wireshark-common' 'wireshark-gtk' 'wireshark-qt')
pkgbase=wireshark
-pkgver=2.2.1
+pkgver=2.2.2
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL2')
@@ -14,7 +14,7 @@
url='https://www.wireshark.org/'
source=(https://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.bz2
do_not_use_svn_version.patch)
-sha1sums=('fe07ab3582f39111ce5c78f5de6f44a8667000ac'
+sha1sums=('b92a292b95e2ea010014364ff513d86afdc8e5a6'
'489a176a7b90f7ae6f0985510c0c9038de54d9d6')
prepare() {
Modified: wireshark.install
===================================================================
--- wireshark.install 2016-11-24 22:06:32 UTC (rev 196758)
+++ wireshark.install 2016-11-24 22:53:28 UTC (rev 196759)
@@ -1,7 +1,5 @@
post_install() {
- getent group wireshark >/dev/null 2>&1 || groupadd -g 150 wireshark &>/dev/null
-
- setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip CAP_DAC_OVERRIDE+eip' usr/bin/dumpcap
+ post_upgrade
echo "NOTE: To run wireshark as normal user you have to add yourself into wireshark group"
}
@@ -10,9 +8,3 @@
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip CAP_DAC_OVERRIDE+eip' usr/bin/dumpcap
}
-
-post_remove() {
- if getent group wireshark >/dev/null 2>&1; then
- groupdel wireshark
- fi
-}
More information about the arch-commits
mailing list