aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-09-11 16:47:36 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-09-11 16:47:36 +0200
commitf0bd8742f4b34e16bfa8da1f92e4b8762fef8b4b (patch)
tree605984bd8f4d819387302764117654b22dd452fd
parentcd3a602dc3b7e48c1fc336c8cf7e7708f59633bf (diff)
downloadaports-f0bd8742f4b34e16bfa8da1f92e4b8762fef8b4b.tar.bz2
aports-f0bd8742f4b34e16bfa8da1f92e4b8762fef8b4b.tar.xz
main/bwm-ng: upgrade to 0.6.1
-rw-r--r--main/bwm-ng/APKBUILD16
-rw-r--r--main/bwm-ng/format.patch24
2 files changed, 6 insertions, 34 deletions
diff --git a/main/bwm-ng/APKBUILD b/main/bwm-ng/APKBUILD
index 9fbb8e9e79..6eccb7c307 100644
--- a/main/bwm-ng/APKBUILD
+++ b/main/bwm-ng/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bwm-ng
-pkgver=0.6
-pkgrel=5
+pkgver=0.6.1
+pkgrel=0
pkgdesc="A small and simple console-based live bandwidth monitor"
url="http://www.gropp.org/"
arch="all"
@@ -9,8 +9,7 @@ license="GPL2+"
subpackages="$pkgname-doc"
depends=""
makedepends="ncurses-dev"
-source="http://www.gropp.org/$pkgname/$pkgname-$pkgver.tar.gz
- format.patch"
+source="http://www.gropp.org/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
@@ -42,9 +41,6 @@ package() {
make -j1 DESTDIR="$pkgdir" install || return 1
}
-md5sums="d3a02484fb7946371bfb4e10927cebfb bwm-ng-0.6.tar.gz
-a81848e4b31745cc52ee3e890efdd6cf format.patch"
-sha256sums="c1134358e268329d438b0996399003b0f0b966034fb4b5b138761c2f3c62ffdd bwm-ng-0.6.tar.gz
-57d0a2eb25c89df67d9906ede623cc922aa6d28a61810e197740ef993274bea7 format.patch"
-sha512sums="7327ec848b0c18d68b2cb0a0ca570bb4d783b534186868d13b453346dbf3ddbcd7e1070803406ff207dc1fd00aa91c06187b0ea7fea28c6c006b44165331c21b bwm-ng-0.6.tar.gz
-1b662eeed76f5cb7291e0ab0399a0e8fc862eac036856ce03b23b6c220d6eb544834b4eb4973f570c1b8b70df8fd9f86ae4f7fd7d80aff01386fd52bf004e701 format.patch"
+md5sums="ef0c7669508e95f56250ad4f8db98b7f bwm-ng-0.6.1.tar.gz"
+sha256sums="027cf3c960cd96fc9ffacdf7713df62d0fc55eeef4a1388289f8a62ae5e50df0 bwm-ng-0.6.1.tar.gz"
+sha512sums="3f8d4a10f5cbf743d6aee9c6170f334c4274224a2f1886f04338c9a1bf0cf13af5be4aaea0445c9e5b5d361915cc3a93bbfe7c4abf69a0d24e42bc414d8056cd bwm-ng-0.6.1.tar.gz"
diff --git a/main/bwm-ng/format.patch b/main/bwm-ng/format.patch
deleted file mode 100644
index cf51941016..0000000000
--- a/main/bwm-ng/format.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/src/output.c b/src/output.c
-index e9b1442..c2a6b6e 100644
---- a/src/output.c
-+++ b/src/output.c
-@@ -223,8 +223,8 @@ int print_header(int option) {
- fprintf(tmp_out_file,"<title>bwm-ng stats</title>\n</head>\n<body>\n");
- }
- fprintf(tmp_out_file,"<div class=\"bwm-ng-header\">bwm-ng bwm-ng v" VERSION " (refresh %is); input: ",html_refresh);
-- fprintf(tmp_out_file,input2str());
-- fprintf(tmp_out_file,show_all_if2str());
-+ fprintf(tmp_out_file,"%s",input2str());
-+ fprintf(tmp_out_file,"%s",show_all_if2str());
- fprintf(tmp_out_file,"</div><table class=\"bwm-ng-output\">");
- fprintf(tmp_out_file,"<tr class=\"bwm-ng-head\"><td class=\"bwm-ng-name\">Interface</td><td>Rx</td><td>Tx</td><td>Total</td></tr>");
- break;
-@@ -234,7 +234,7 @@ int print_header(int option) {
- if (output_method==PLAIN_OUT && ansi_output) printf("\033[1;2H");
- printf("bwm-ng v" VERSION " (delay %2.3fs); ",(float)delay/1000);
- if (output_method==PLAIN_OUT) printf("press 'ctrl-c' to end this%s",(ansi_output ? "\033[2;2H" : "")); else printf("input: ");
-- printf(input2str());
-+ printf("%s",input2str());
- printf("%s\n",show_all_if2str());
- if (output_method==PLAIN_OUT) {
- if (ansi_output)