Date: Wednesday, December 4, 2019 @ 20:31:44 Author: anthraxx Revision: 535257
archrelease: copy trunk to community-x86_64 Added: wireshark/repos/community-x86_64/PKGBUILD (from rev 535256, wireshark/trunk/PKGBUILD) wireshark/repos/community-x86_64/wireshark.install (from rev 535256, wireshark/trunk/wireshark.install) wireshark/repos/community-x86_64/wireshark.sysusers (from rev 535256, 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 | 172 +++++++++++++++++++++++++-------------------------- wireshark.install | 16 ++-- wireshark.sysusers | 2 3 files changed, 95 insertions(+), 95 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-04 20:31:37 UTC (rev 535256) +++ PKGBUILD 2019-12-04 20:31:44 UTC (rev 535257) @@ -1,86 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Timothy Redaelli <timothy.redae...@gmail.com> -# Contributor: Guillaume ALAUX <guilla...@archlinux.org> -# Contributor: Florian Pritz <bluewind at jabber dot ccc dot de> -# Contributor: Peter Wu <pe...@lekensteyn.nl> - -pkgbase=wireshark -pkgname=('wireshark-cli' 'wireshark-qt') -pkgver=3.0.6 -pkgrel=1 -pkgdesc='Network traffic and protocol analyzer/sniffer' -url='https://www.wireshark.org/' -arch=('x86_64') -license=('GPL2') -makedepends=('cmake' 'ninja' 'c-ares' 'libmaxminddb' 'qt5-tools' 'qt5-svg' - 'qt5-multimedia' 'krb5' 'libpcap' 'libssh' 'libxml2' 'libnghttp2' - 'snappy' 'lz4' 'spandsp' 'gnutls' 'lua52' 'python' 'libcap' - 'glib2' 'libgcrypt' 'sbc' 'bcg729' 'desktop-file-utils' - 'hicolor-icon-theme') -options=('!emptydirs') -source=(https://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.xz - wireshark.sysusers) -sha512sums=('fcd621c1434db69e6319e5932e2dcc378e004055378123f86bdce8dec095bbffbf2b85a880c7f46c69555fe3c9ddb7c79ee59ca2576e0fdf2cfb7eb6ce775b25' - '3956c1226e64f0ce4df463f80b55b15eed06ecd9b8703b3e8309d4236a6e1ca84e43007336f3987bc862d8a5e7cfcaaf6653125d2a34999a0f1357c52e7c4990') - -prepare() { - cd ${pkgbase}-${pkgver} - sed 's| Rev Unknown from unknown||' -i tools/make-version.pl -} - -build() { - cd ${pkgbase}-${pkgver} - cmake . -GNinja \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_INSTALL_RPATH= \ - -DCMAKE_SKIP_RPATH=ON - ninja -} - -package_wireshark-cli() { - pkgdesc+=' - CLI tools and data files' - depends=('c-ares' 'libmaxminddb' 'krb5' 'libgcrypt' 'libcap' 'libpcap' - 'gnutls' 'glib2' 'lua52' 'libssh' 'libxml2' 'libnghttp2' 'snappy' - 'lz4' 'spandsp' 'sbc' 'bcg729') - install=wireshark.install - conflicts=(wireshark) - - cd ${pkgbase}-${pkgver} - DESTDIR="${pkgdir}" ninja 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/bin/wireshark \ - usr/share/applications/wireshark.desktop \ - usr/share/appdata/wireshark.appdata.xml -} - -package_wireshark-qt() { - pkgdesc+=' - Qt GUI' - depends=('desktop-file-utils' 'qt5-multimedia' 'qt5-svg' 'wireshark-cli' - 'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils') - replaces=(wireshark wireshark-gtk wireshark-common) - conflicts=(wireshark wireshark-gtk wireshark-common) - - cd ${pkgbase}-${pkgver} - install -d "${srcdir}/staging" - DESTDIR="${srcdir}/staging" ninja install - - install -Dm 755 run/wireshark -t "${pkgdir}/usr/bin" - install -Dm 644 wireshark.desktop -t "${pkgdir}/usr/share/applications" - install -Dm 644 doc/wireshark.1 -t "${pkgdir}/usr/share/man/man1" - 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 535256, wireshark/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-04 20:31:44 UTC (rev 535257) @@ -0,0 +1,86 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Timothy Redaelli <timothy.redae...@gmail.com> +# Contributor: Guillaume ALAUX <guilla...@archlinux.org> +# Contributor: Florian Pritz <bluewind at jabber dot ccc dot de> +# Contributor: Peter Wu <pe...@lekensteyn.nl> + +pkgbase=wireshark +pkgname=('wireshark-cli' 'wireshark-qt') +pkgver=3.0.7 +pkgrel=1 +pkgdesc='Network traffic and protocol analyzer/sniffer' +url='https://www.wireshark.org/' +arch=('x86_64') +license=('GPL2') +makedepends=('cmake' 'ninja' 'c-ares' 'libmaxminddb' 'qt5-tools' 'qt5-svg' + 'qt5-multimedia' 'krb5' 'libpcap' 'libssh' 'libxml2' 'libnghttp2' + 'snappy' 'lz4' 'spandsp' 'gnutls' 'lua52' 'python' 'libcap' + 'glib2' 'libgcrypt' 'sbc' 'bcg729' 'desktop-file-utils' + 'hicolor-icon-theme') +options=('!emptydirs') +source=(https://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.xz + wireshark.sysusers) +sha512sums=('64e242510865ca69e688677e3ee1f72d3efa2155f07bc1aacc6de19ffab06f26b1ef8a3f91a90e91a6612b10d75651aea6400f8c5852e6a7e82e5d3f3e88e031' + '3956c1226e64f0ce4df463f80b55b15eed06ecd9b8703b3e8309d4236a6e1ca84e43007336f3987bc862d8a5e7cfcaaf6653125d2a34999a0f1357c52e7c4990') + +prepare() { + cd ${pkgbase}-${pkgver} + sed 's| Rev Unknown from unknown||' -i tools/make-version.pl +} + +build() { + cd ${pkgbase}-${pkgver} + cmake . -GNinja \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_RPATH= \ + -DCMAKE_SKIP_RPATH=ON + ninja +} + +package_wireshark-cli() { + pkgdesc+=' - CLI tools and data files' + depends=('c-ares' 'libmaxminddb' 'krb5' 'libgcrypt' 'libcap' 'libpcap' + 'gnutls' 'glib2' 'lua52' 'libssh' 'libxml2' 'libnghttp2' 'snappy' + 'lz4' 'spandsp' 'sbc' 'bcg729') + install=wireshark.install + conflicts=(wireshark) + + cd ${pkgbase}-${pkgver} + DESTDIR="${pkgdir}" ninja 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/bin/wireshark \ + usr/share/applications/wireshark.desktop \ + usr/share/appdata/wireshark.appdata.xml +} + +package_wireshark-qt() { + pkgdesc+=' - Qt GUI' + depends=('desktop-file-utils' 'qt5-multimedia' 'qt5-svg' 'wireshark-cli' + 'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils') + replaces=(wireshark wireshark-gtk wireshark-common) + conflicts=(wireshark wireshark-gtk wireshark-common) + + cd ${pkgbase}-${pkgver} + install -d "${srcdir}/staging" + DESTDIR="${srcdir}/staging" ninja install + + install -Dm 755 run/wireshark -t "${pkgdir}/usr/bin" + install -Dm 644 wireshark.desktop -t "${pkgdir}/usr/share/applications" + install -Dm 644 doc/wireshark.1 -t "${pkgdir}/usr/share/man/man1" + 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 2019-12-04 20:31:37 UTC (rev 535256) +++ wireshark.install 2019-12-04 20:31:44 UTC (rev 535257) @@ -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 535256, wireshark/trunk/wireshark.install) =================================================================== --- wireshark.install (rev 0) +++ wireshark.install 2019-12-04 20:31:44 UTC (rev 535257) @@ -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 2019-12-04 20:31:37 UTC (rev 535256) +++ wireshark.sysusers 2019-12-04 20:31:44 UTC (rev 535257) @@ -1 +0,0 @@ -g wireshark 150 - - Copied: wireshark/repos/community-x86_64/wireshark.sysusers (from rev 535256, wireshark/trunk/wireshark.sysusers) =================================================================== --- wireshark.sysusers (rev 0) +++ wireshark.sysusers 2019-12-04 20:31:44 UTC (rev 535257) @@ -0,0 +1 @@ +g wireshark 150 - -