aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/wireshark/APKBUILD5
-rw-r--r--community/wireshark/wireshark-common.post-install (renamed from community/wireshark/wireshark.post-install)0
-rw-r--r--community/wireshark/wireshark-common.pre-install (renamed from community/wireshark/wireshark.pre-install)0
l---------community/wireshark/wireshark-common.pre-upgrade1
l---------community/wireshark/wireshark.pre-upgrade1
5 files changed, 4 insertions, 3 deletions
diff --git a/community/wireshark/APKBUILD b/community/wireshark/APKBUILD
index 21e0f52137..85add765aa 100644
--- a/community/wireshark/APKBUILD
+++ b/community/wireshark/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wireshark
pkgver=3.0.7
-pkgrel=2
+pkgrel=3
pkgdesc="A network protocol analyzer"
url="https://www.wireshark.org"
arch="all"
@@ -16,7 +16,6 @@ makedepends="bash bison c-ares-dev cmake flex glib glib-dev gnutls-dev
checkdepends="py3-pytest py3-pytest-xdist"
subpackages="$pkgname-dev $pkgname-doc $pkgname-common tshark"
pkggroups="wireshark"
-install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-install"
# Use mirror in the meantime
# source="https://www.wireshark.org/download/src/wireshark-$pkgver.tar.xz
source="https://1.as.dl.wireshark.org/src/wireshark-$pkgver.tar.xz
@@ -233,6 +232,8 @@ package() {
common() {
local i
pkgdesc="network protoccol analyzer - common files"
+ install="$subpkgname.pre-install $subpkgname.pre-upgrade $subpkgname.post-install"
+
mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/share \
"$subpkgdir"/usr/bin
mv "$pkgdir"/usr/share/wireshark "$subpkgdir"/usr/share/
diff --git a/community/wireshark/wireshark.post-install b/community/wireshark/wireshark-common.post-install
index e9bae68d09..e9bae68d09 100644
--- a/community/wireshark/wireshark.post-install
+++ b/community/wireshark/wireshark-common.post-install
diff --git a/community/wireshark/wireshark.pre-install b/community/wireshark/wireshark-common.pre-install
index e9022d09cc..e9022d09cc 100644
--- a/community/wireshark/wireshark.pre-install
+++ b/community/wireshark/wireshark-common.pre-install
diff --git a/community/wireshark/wireshark-common.pre-upgrade b/community/wireshark/wireshark-common.pre-upgrade
new file mode 120000
index 0000000000..77501a259c
--- /dev/null
+++ b/community/wireshark/wireshark-common.pre-upgrade
@@ -0,0 +1 @@
+wireshark-common.pre-install \ No newline at end of file
diff --git a/community/wireshark/wireshark.pre-upgrade b/community/wireshark/wireshark.pre-upgrade
deleted file mode 120000
index a2ff63bc76..0000000000
--- a/community/wireshark/wireshark.pre-upgrade
+++ /dev/null
@@ -1 +0,0 @@
-wireshark.pre-install \ No newline at end of file