diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-12-04 10:28:27 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-12-04 10:28:27 +0000 |
commit | 2235a915e41b3033aeb51039aa43bb6f4d6ebbde (patch) | |
tree | a0f3579440c7872c323385c683a14099b20cede9 /main/wireshark | |
parent | 2d2a730f92988dc8ef8e5bc41cdd78a7ca1a9817 (diff) | |
download | aports-2235a915e41b3033aeb51039aa43bb6f4d6ebbde.tar.bz2 aports-2235a915e41b3033aeb51039aa43bb6f4d6ebbde.tar.xz |
main/wireshark: upgrade to 2.0.0. Fixes #4914
Diffstat (limited to 'main/wireshark')
-rw-r--r-- | main/wireshark/APKBUILD | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/main/wireshark/APKBUILD b/main/wireshark/APKBUILD index 20a9b68b69..ceb924b978 100644 --- a/main/wireshark/APKBUILD +++ b/main/wireshark/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Jeremy Thomerson <jeremy@thomersonfamily.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=wireshark -pkgver=1.12.8 +pkgver=2.0.0 pkgrel=0 pkgdesc="A network protocol analyzer - GTK version" url="http://www.wireshark.org" @@ -13,7 +13,7 @@ makedepends="bison flex perl glib glib-dev libpcap-dev libcap-dev gtk+3.0-dev c-ares-dev pcre-dev gnutls-dev libgcrypt-dev openssl-dev libnl3-dev qt5-qtbase-dev bash" install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-qt $pkgname-common tshark" +subpackages="$pkgname-dev $pkgname-doc $pkgname-gtk $pkgname-common tshark" source="http://www.wireshark.org/download/src/$pkgname-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver @@ -49,7 +49,7 @@ build() { package() { cd "$_builddir" - make -j1 DESTDIR="$pkgdir" install install_desktop_files || return 1 + make -j1 DESTDIR="$pkgdir" install || return 1 } common() { @@ -57,13 +57,12 @@ common() { pkgdesc="network protoccol analyzer - common files" mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/share \ "$subpkgdir"/usr/bin - mv "$pkgdir"/etc "$subpkgdir"/ mv "$pkgdir"/usr/share/wireshark "$subpkgdir"/usr/share/ mv "$pkgdir"/usr/lib/* "$subpkgdir"/usr/lib/ # move all bins except wireshark for i in "$pkgdir"/usr/bin/*; do case "$i" in - */tshark|*/wireshark|*-qt) continue;; + */tshark|*/wireshark|*-gtk) continue;; esac mv "$i" "$subpkgdir"/usr/bin/ done @@ -75,11 +74,12 @@ tshark() { mv "$pkgdir"/usr/bin/tshark "$subpkgdir"/usr/bin/tshark } -qt() { - pkgdesc="wireshark - Qt GUI" +gtk() { + pkgdesc="wireshark - GTK GUI" install -d "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/wireshark-qt "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/bin/wireshark-gtk "$subpkgdir"/usr/bin/ } -md5sums="988a4595a4a87dafb3c4870ea40e89b5 wireshark-1.12.8.tar.bz2" -sha256sums="357e0a4e49525d80cdc740bb16539fcdb526ad38cc2ed6cabedafc9bdee5c7e7 wireshark-1.12.8.tar.bz2" -sha512sums="24ad130d9d0718e610f7def2a08e976871205032b4b4b5269c3ae54894c4121fa3b21a0bc6e45e9c2a41119f5553416d5c452dadf7b02f17e7803511d33809f5 wireshark-1.12.8.tar.bz2" + +md5sums="5909af2a09a9a3023ba61bc62e787ad2 wireshark-2.0.0.tar.bz2" +sha256sums="90026c761a85701d7783c7e2eaa4c1de247dfbadbd53221df355f121e42691dd wireshark-2.0.0.tar.bz2" +sha512sums="ba3b8b5fa7b441c0494e833da887566c70ec30c20a161bcb6a77ec1deff0503e00f9cf6cf7d892f2cbb189dcf21b548844abe8106dfd29c565868944c10aa7c0 wireshark-2.0.0.tar.bz2" |