Patches for aports can be sent to this list

[alpine-aports] [PATCH] testing/nethogs: upgrade to 0.8.1

Łukasz Jendrysik
Details
Message ID
<1460319938-20534-1-git-send-email-scadu@yandex.com>
Sender timestamp
1460319938
DKIM signature
missing
Download raw message
Patch: +10 -8
---
 testing/nethogs/APKBUILD | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/testing/nethogs/APKBUILD b/testing/nethogs/APKBUILD
index aa6399f..b0ecfb6 100644
--- a/testing/nethogs/APKBUILD
+++ b/testing/nethogs/APKBUILD
@@ -1,24 +1,26 @@
+# Contributor: Łukasz Jendrysik <scadu@yandex.com>
 # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
 
 pkgname=nethogs
-pkgver=0.8.0
+pkgver=0.8.1
 pkgrel=0
 pkgdesc='Top-like monitor for network traffic'
-url='http://nethogs.sourceforge.net'
+url='https://github.com/raboof/nethogs'
 arch='all'
 license='GPL'
-makedepends='libpcap-dev ncurses-dev'
-subpackages="$pkgname-doc"
-source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" 
+makedepends='libpcap-dev ncurses-dev linux-headers'
+source="$pkgname-$pkgver.tar.gz::https://github.com/raboof/$pkgname/archive/v$pkgver.tar.gz"
 
 build() {
-    cd "$srcdir"/$pkgname
+    cd "$srcdir"/$pkgname-$pkgver
     make
 }
 
 package() {
-    cd "$srcdir"/$pkgname
+    cd "$srcdir"/$pkgname-$pkgver
     make DESTDIR="$pkgdir/usr" install
 }
 
-md5sums="d6fb12b46e80a50c9b9f91dd48e2b234  nethogs-0.8.0.tar.gz"
+md5sums="cc0aed87c4cc67fc2ffc5f60aa67bf3d  nethogs-0.8.1.tar.gz"
+sha256sums="4c30ef43814549974a5b01fb1a94eb72ff08628c5a421085b1ce3bfe0524df42  nethogs-0.8.1.tar.gz"
+sha512sums="f1af7bb7208d08fc3a51bb38ee475da5a7b8f8814e2a7a653057d0c5d6b4e73be7742ffef5569525822160971f81dd22212d6854483928e621cfddce8d98409f  nethogs-0.8.1.tar.gz"
-- 
2.8.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---