[arch-commits] Commit in wireshark/repos/community-x86_64 (6 files)

Levente Polyak anthraxx at archlinux.org
Wed Mar 10 22:40:39 UTC 2021


    Date: Wednesday, March 10, 2021 @ 22:40:39
  Author: anthraxx
Revision: 887269

archrelease: copy trunk to community-x86_64

Added:
  wireshark/repos/community-x86_64/PKGBUILD
    (from rev 887268, wireshark/trunk/PKGBUILD)
  wireshark/repos/community-x86_64/wireshark.install
    (from rev 887268, wireshark/trunk/wireshark.install)
  wireshark/repos/community-x86_64/wireshark.sysusers
    (from rev 887268, wireshark/trunk/wireshark.sysusers)
Deleted:
  wireshark/repos/community-x86_64/PKGBUILD
  wireshark/repos/community-x86_64/wireshark.install
  wireshark/repos/community-x86_64/wireshark.sysusers

--------------------+
 PKGBUILD           |  202 +++++++++++++++++++++++++--------------------------
 wireshark.install  |   16 ++--
 wireshark.sysusers |    2 
 3 files changed, 110 insertions(+), 110 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-10 22:40:32 UTC (rev 887268)
+++ PKGBUILD	2021-03-10 22:40:39 UTC (rev 887269)
@@ -1,101 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Filipe Laíns <lains at archlinux.org>
-# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: Guillaume ALAUX <guillaume at archlinux.org>
-# Contributor: Florian Pritz <bluewind at jabber dot ccc dot de>
-# Contributor: Peter Wu <peter at lekensteyn.nl>
-
-pkgbase=wireshark
-pkgname=('wireshark-cli' 'wireshark-qt')
-pkgver=3.4.3
-pkgrel=2
-pkgdesc='Network traffic and protocol analyzer/sniffer'
-url='https://www.wireshark.org/'
-arch=('x86_64')
-license=('GPL2')
-makedepends=('glibc' 'cmake' 'ninja' 'c-ares' 'libmaxminddb' 'qt5-tools' 'qt5-svg'
-             'qt5-multimedia' 'krb5' 'libpcap' 'libssh' 'libxml2' 'libnghttp2'
-             'snappy' 'lz4' 'spandsp' 'gnutls' 'lua52' 'python' 'libcap' 'libnl'
-             'glib2' 'libgcrypt' 'sbc' 'bcg729' 'desktop-file-utils' 'libxslt'
-             'hicolor-icon-theme' 'zstd' 'zlib' 'gcc-libs' 'brotli' 'asciidoctor'
-             'doxygen' 'minizip' 'speexdsp' 'opus')
-options=('!emptydirs')
-source=(https://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.xz
-        wireshark.sysusers)
-sha512sums=('6cfea9432cd6fcecbfc551e059ca60a0c38084074bf130b4cc5378aac2221c1233e2ddafa1ffd6bc6b76297c2303b931dadf6ec518f35595caf5229af4d93859'
-            '3956c1226e64f0ce4df463f80b55b15eed06ecd9b8703b3e8309d4236a6e1ca84e43007336f3987bc862d8a5e7cfcaaf6653125d2a34999a0f1357c52e7c4990')
-b2sums=('076d681c5f980ba6a0f25076c4631a119fb72d2b59a0cd70062d3a4c997c8959162157e46a6f59b5474c07263c84e0e660f1fa33f9339cc6a1141425d394cde2'
-        '3cebcc993f51eaf0e09673c77e0436598593ef5eff306d880415ccc8eecb32fee93c9a6986f1a7bb0835ab7f9732369d7c5a07e6c053d6293e73a1ea84c58a5c')
-
-prepare() {
-  cd ${pkgbase}-${pkgver}
-  sed 's| Rev Unknown from unknown||' -i tools/make-version.pl
-}
-
-build() {
-  cd ${pkgbase}-${pkgver}
-  cmake \
-    -B build \
-    -G Ninja \
-    -DCMAKE_BUILD_TYPE=None \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DCMAKE_INSTALL_RPATH= \
-    -DCMAKE_SKIP_RPATH=ON \
-    -Wno-dev
-  ninja -C build -v
-}
-
-package_wireshark-cli() {
-  pkgdesc+=' - CLI tools and data files'
-  depends=('glibc' 'c-ares' 'libmaxminddb' 'krb5' 'libgcrypt' 'libcap' 'libpcap'
-           'gnutls' 'glib2' 'lua52' 'libssh' 'libxml2' 'libnghttp2' 'snappy'
-           'lz4' 'spandsp' 'sbc' 'bcg729' 'zstd' 'zlib' 'brotli' 'speexdsp'
-           'opus' libpcap.so libcap.so libbrotlidec.so libcares.so libkrb5.so
-           libk5crypto.so)
-  install=wireshark.install
-  conflicts=(wireshark)
-  provides=(libwireshark.so libwiretap.so libwsutil.so)
-
-  cd ${pkgbase}-${pkgver}
-  DESTDIR="${pkgdir}" ninja -C build install
-
-  # wireshark uid group is 150
-  install -Dm 644 "${srcdir}/wireshark.sysusers" "${pkgdir}/usr/lib/sysusers.d/wireshark.conf"
-  chgrp 150 "${pkgdir}/usr/bin/dumpcap"
-  chmod 754 "${pkgdir}/usr/bin/dumpcap"
-
-  cd "${pkgdir}"
-  rm -r usr/share/mime \
-    usr/share/icons \
-    usr/share/man/man1/wireshark.1 \
-    usr/share/doc/wireshark/wireshark.html \
-    usr/bin/wireshark \
-    usr/share/applications/wireshark.desktop \
-    usr/share/appdata/wireshark.appdata.xml
-}
-
-package_wireshark-qt() {
-  pkgdesc+=' - Qt GUI'
-  depends=('glibc' 'desktop-file-utils' 'qt5-multimedia' 'qt5-svg'
-           'wireshark-cli' 'libwireshark.so' 'libwiretap.so' 'libwsutil.so'
-           'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'gcc-libs'
-           'zlib' 'libpcap' 'libgcrypt' 'libnl' 'minizip' 'speexdsp'
-           libpcap.so)
-  replaces=(wireshark wireshark-gtk wireshark-common)
-  conflicts=(wireshark wireshark-gtk wireshark-common)
-
-  cd ${pkgbase}-${pkgver}
-  install -d "${srcdir}/staging"
-  DESTDIR="${srcdir}/staging" ninja -C build install
-
-  install -Dm 755 build/run/wireshark -t "${pkgdir}/usr/bin"
-  install -Dm 644 build/doc/wireshark.1 -t "${pkgdir}/usr/share/man/man1"
-  install -Dm 644 build/doc/wireshark.html -t "${pkgdir}/usr/share/doc/wireshark"
-  install -Dm 644 wireshark.desktop -t "${pkgdir}/usr/share/applications"
-  install -Dm 644 wireshark.appdata.xml -t "${pkgdir}/usr/share/appdata"
-  install -Dm 644 wireshark-mime-package.xml "${pkgdir}/usr/share/mime/packages/wireshark.xml"
-  mv "${srcdir}/staging/usr/share/icons" "${pkgdir}/usr/share/icons"
-}
-
-# vim: ts=2 sw=2 et:

Copied: wireshark/repos/community-x86_64/PKGBUILD (from rev 887268, wireshark/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-10 22:40:39 UTC (rev 887269)
@@ -0,0 +1,101 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Filipe Laíns <lains at archlinux.org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Guillaume ALAUX <guillaume at archlinux.org>
+# Contributor: Florian Pritz <bluewind at jabber dot ccc dot de>
+# Contributor: Peter Wu <peter at lekensteyn.nl>
+
+pkgbase=wireshark
+pkgname=('wireshark-cli' 'wireshark-qt')
+pkgver=3.4.4
+pkgrel=1
+pkgdesc='Network traffic and protocol analyzer/sniffer'
+url='https://www.wireshark.org/'
+arch=('x86_64')
+license=('GPL2')
+makedepends=('glibc' 'cmake' 'ninja' 'c-ares' 'libmaxminddb' 'qt5-tools' 'qt5-svg'
+             'qt5-multimedia' 'krb5' 'libpcap' 'libssh' 'libxml2' 'libnghttp2'
+             'snappy' 'lz4' 'spandsp' 'gnutls' 'lua52' 'python' 'libcap' 'libnl'
+             'glib2' 'libgcrypt' 'sbc' 'bcg729' 'desktop-file-utils' 'libxslt'
+             'hicolor-icon-theme' 'zstd' 'zlib' 'gcc-libs' 'brotli' 'asciidoctor'
+             'doxygen' 'minizip' 'speexdsp' 'opus')
+options=('!emptydirs')
+source=(https://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.xz
+        wireshark.sysusers)
+sha512sums=('388b5634894f08bb1a0052f989133c2a8457fbf6525d1bb557f3ffce73da8063fd9fe82b50b5ababc30fa36ce154bf9d2a3d91d76e03913d6516ca61b4b6b172'
+            '3956c1226e64f0ce4df463f80b55b15eed06ecd9b8703b3e8309d4236a6e1ca84e43007336f3987bc862d8a5e7cfcaaf6653125d2a34999a0f1357c52e7c4990')
+b2sums=('85930709ab666794ba6f4a00a895d41b25c6e61f7951a33f511b4981fac3e2ad579d8f52fee5b8f04334f9e1ef8721b1de62d0ab5b0029b0ed32b9f69ff2f5dd'
+        '3cebcc993f51eaf0e09673c77e0436598593ef5eff306d880415ccc8eecb32fee93c9a6986f1a7bb0835ab7f9732369d7c5a07e6c053d6293e73a1ea84c58a5c')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+  sed 's| Rev Unknown from unknown||' -i tools/make-version.pl
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  cmake \
+    -B build \
+    -G Ninja \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_INSTALL_RPATH= \
+    -DCMAKE_SKIP_RPATH=ON \
+    -Wno-dev
+  ninja -C build -v
+}
+
+package_wireshark-cli() {
+  pkgdesc+=' - CLI tools and data files'
+  depends=('glibc' 'c-ares' 'libmaxminddb' 'krb5' 'libgcrypt' 'libcap' 'libpcap'
+           'gnutls' 'glib2' 'lua52' 'libssh' 'libxml2' 'libnghttp2' 'snappy'
+           'lz4' 'spandsp' 'sbc' 'bcg729' 'zstd' 'zlib' 'brotli' 'speexdsp'
+           'opus' libpcap.so libcap.so libbrotlidec.so libcares.so libkrb5.so
+           libk5crypto.so)
+  install=wireshark.install
+  conflicts=(wireshark)
+  provides=(libwireshark.so libwiretap.so libwsutil.so)
+
+  cd ${pkgbase}-${pkgver}
+  DESTDIR="${pkgdir}" ninja -C build install
+
+  # wireshark uid group is 150
+  install -Dm 644 "${srcdir}/wireshark.sysusers" "${pkgdir}/usr/lib/sysusers.d/wireshark.conf"
+  chgrp 150 "${pkgdir}/usr/bin/dumpcap"
+  chmod 754 "${pkgdir}/usr/bin/dumpcap"
+
+  cd "${pkgdir}"
+  rm -r usr/share/mime \
+    usr/share/icons \
+    usr/share/man/man1/wireshark.1 \
+    usr/share/doc/wireshark/wireshark.html \
+    usr/bin/wireshark \
+    usr/share/applications/wireshark.desktop \
+    usr/share/appdata/wireshark.appdata.xml
+}
+
+package_wireshark-qt() {
+  pkgdesc+=' - Qt GUI'
+  depends=('glibc' 'desktop-file-utils' 'qt5-multimedia' 'qt5-svg'
+           'wireshark-cli' 'libwireshark.so' 'libwiretap.so' 'libwsutil.so'
+           'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'gcc-libs'
+           'zlib' 'libpcap' 'libgcrypt' 'libnl' 'minizip' 'speexdsp'
+           libpcap.so)
+  replaces=(wireshark wireshark-gtk wireshark-common)
+  conflicts=(wireshark wireshark-gtk wireshark-common)
+
+  cd ${pkgbase}-${pkgver}
+  install -d "${srcdir}/staging"
+  DESTDIR="${srcdir}/staging" ninja -C build install
+
+  install -Dm 755 build/run/wireshark -t "${pkgdir}/usr/bin"
+  install -Dm 644 build/doc/wireshark.1 -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 build/doc/wireshark.html -t "${pkgdir}/usr/share/doc/wireshark"
+  install -Dm 644 wireshark.desktop -t "${pkgdir}/usr/share/applications"
+  install -Dm 644 wireshark.appdata.xml -t "${pkgdir}/usr/share/appdata"
+  install -Dm 644 wireshark-mime-package.xml "${pkgdir}/usr/share/mime/packages/wireshark.xml"
+  mv "${srcdir}/staging/usr/share/icons" "${pkgdir}/usr/share/icons"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: wireshark.install
===================================================================
--- wireshark.install	2021-03-10 22:40:32 UTC (rev 887268)
+++ wireshark.install	2021-03-10 22:40:39 UTC (rev 887269)
@@ -1,8 +0,0 @@
-post_install() {
-  post_upgrade
-  echo "NOTE: To run wireshark as normal user you have to add yourself into wireshark group"
-}
-
-post_upgrade() {
-  setcap cap_net_raw,cap_net_admin,cap_dac_override+eip usr/bin/dumpcap
-}

Copied: wireshark/repos/community-x86_64/wireshark.install (from rev 887268, wireshark/trunk/wireshark.install)
===================================================================
--- wireshark.install	                        (rev 0)
+++ wireshark.install	2021-03-10 22:40:39 UTC (rev 887269)
@@ -0,0 +1,8 @@
+post_install() {
+  post_upgrade
+  echo "NOTE: To run wireshark as normal user you have to add yourself into wireshark group"
+}
+
+post_upgrade() {
+  setcap cap_net_raw,cap_net_admin,cap_dac_override+eip usr/bin/dumpcap
+}

Deleted: wireshark.sysusers
===================================================================
--- wireshark.sysusers	2021-03-10 22:40:32 UTC (rev 887268)
+++ wireshark.sysusers	2021-03-10 22:40:39 UTC (rev 887269)
@@ -1 +0,0 @@
-g wireshark 150 - -

Copied: wireshark/repos/community-x86_64/wireshark.sysusers (from rev 887268, wireshark/trunk/wireshark.sysusers)
===================================================================
--- wireshark.sysusers	                        (rev 0)
+++ wireshark.sysusers	2021-03-10 22:40:39 UTC (rev 887269)
@@ -0,0 +1 @@
+g wireshark 150 - -



More information about the arch-commits mailing list