aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-09-01 09:31:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-09-01 09:31:04 +0000
commit708cfa9cd0bda329b1ed232e0c3878e38a83f620 (patch)
tree53c6cbfaf2f6c6fc155519794630c9191a359d7a
parent2e2c3429592bc399bbe8516e94a19b12c608c8be (diff)
downloadaports-708cfa9cd0bda329b1ed232e0c3878e38a83f620.tar.bz2
aports-708cfa9cd0bda329b1ed232e0c3878e38a83f620.tar.xz
main/wireshark: upgrade to 1.4.0
-rw-r--r--main/wireshark/APKBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/main/wireshark/APKBUILD b/main/wireshark/APKBUILD
index b0e3c937e6..1fd8371049 100644
--- a/main/wireshark/APKBUILD
+++ b/main/wireshark/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Jeremy Thomerson <jeremy@thomersonfamily.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wireshark
-pkgver=1.2.10
+pkgver=1.4.0
pkgrel=0
pkgdesc="network protocol analyzer - GTK version"
url="http://www.wireshark.org"
@@ -12,16 +12,18 @@ makedepends="bison flex perl glib glib-dev pkgconfig libpcap-dev libcap-dev
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-common tshark"
source="http://www.wireshark.org/download/src/${pkgname}-${pkgver}.tar.bz2
- wireshark-1.1.2--as-needed.patch
wireshark.desktop
wireshark.png"
-# depends_dev="somepackage-dev"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
- for i in "$srcdir"/*.patch; do
- msg "Applying $i"
- patch -p1 -i "$i" || return 1
+ for i in "$source"; do
+ case "$i" in
+ *.patch)
+ msg "Applying $i"
+ patch -p1 -i "$i" || return 1
+ ;;
+ esac
done
}
@@ -72,7 +74,6 @@ tshark() {
mv "$pkgdir"/usr/bin/tshark "$subpkgdir"/usr/bin/tshark
}
-md5sums="f8bc926956c13fcddb4df0601011ceef wireshark-1.2.10.tar.bz2
-cc87d7eb31f256df751b3371b1c426e9 wireshark-1.1.2--as-needed.patch
+md5sums="13b188baea23cdad40b7a55921384a77 wireshark-1.4.0.tar.bz2
504ede44c02b2a52f6cbd3bffdf93b8d wireshark.desktop
e771800a8c977fe223583a453bc27397 wireshark.png"