aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2020-12-25 09:34:04 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-12-25 22:24:24 +0000
commit52ea931d3610d6ed59bb4f157a0b7e5ff6732bda (patch)
tree60af1c2745c43b03c393113149766eb6038ef35f
parent04b6f1a9f144e8a643c97b7aaaf7f6ddf84c0e5d (diff)
downloadaports-52ea931d3610d6ed59bb4f157a0b7e5ff6732bda.tar.gz
aports-52ea931d3610d6ed59bb4f157a0b7e5ff6732bda.tar.bz2
aports-52ea931d3610d6ed59bb4f157a0b7e5ff6732bda.tar.xz
main/atop: upgrade to 2.6.0
remove atop-bb-compat.patch, fixed upstream add fix-limits-on-ppc64le.patch to build on ppc64le
-rw-r--r--main/atop/APKBUILD8
-rw-r--r--main/atop/atop-bb-compat.patch7
-rw-r--r--main/atop/fix-limits-on-ppc64le.patch10
3 files changed, 14 insertions, 11 deletions
diff --git a/main/atop/APKBUILD b/main/atop/APKBUILD
index 717ccf9b58..69e6231a32 100644
--- a/main/atop/APKBUILD
+++ b/main/atop/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atop
-pkgver=2.5.0
+pkgver=2.6.0
pkgrel=0
pkgdesc="Resource-specific view of processes"
url="https://www.atoptool.nl/"
@@ -9,9 +9,9 @@ license="GPL-2.0-or-later"
makedepends="zlib-dev ncurses-dev linux-headers"
subpackages="$pkgname-doc"
source="https://www.atoptool.nl/download/atop-$pkgver.tar.gz
- atop-bb-compat.patch
atop-daily-bb.patch
atop-include-macros.patch
+ fix-limits-on-ppc64le.patch
atop.initd
"
options="suid"
@@ -45,8 +45,8 @@ package() {
}
-sha512sums="675bbd902d8fe584b1ff47c275ee06d7bfe9127fadf79825ca64bbb6bcb6c34cab485e0686854d805bbdfaf69ebb40d790f7cc00c788544bff73b49c3d24dc08 atop-2.5.0.tar.gz
-165e5f17f1a752f8663a774d72476eac5693f93922b32fa198f09233ca6dfde2d6c63b10c31d0388ac9f10d210e7067787f30ef25e0ef9419a1520486f290b15 atop-bb-compat.patch
+sha512sums="8d4e2ae56a63738fc615f294d1f4e27cd9eab20acaf5d36c82d87390f96d38cf28cab0a00507459c3ce6e535294a442c4546e0cf732bad253cb518a14cdf5e88 atop-2.6.0.tar.gz
664225450074962aac0e13484c9b2feaf08620bbe1e0f9c5dc1b02f1ecd315224cd04df53134f2d107210fc9223a64d8885ae70d33d0663c2335fa6d46f6ddfd atop-daily-bb.patch
f30c9e6051332af8c8cafcd881f89a0e2d2a8e1d84eee8ac0c8c6b58f3ae3431fcf9c40dea6d03e271f8969802de449d33b4323c13045bdb38a539732c81a8b6 atop-include-macros.patch
+87cc78832774299227d435643551d099c3d88babb13049fe71e170e1220204a26be9ab570a59eccc90c9cb4faabd371e1c031063c70cb20a0c4620566c906425 fix-limits-on-ppc64le.patch
172c9d367b936427ccbbbd1140c7808ec8ffe3194b3557ba024820dac8fa68c9919f7dc34d332e91283fde64d731db7bdbfee3c2d6caad3cd291e0f1c227cb03 atop.initd"
diff --git a/main/atop/atop-bb-compat.patch b/main/atop/atop-bb-compat.patch
deleted file mode 100644
index 015f06be6e..0000000000
--- a/main/atop/atop-bb-compat.patch
+++ /dev/null
@@ -1,7 +0,0 @@
-diff --git a/atop.daily b/atop.daily
-index c72214c..ac4b3b7 100755
---- a/atop.daily
-+++ b/atop.daily
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
diff --git a/main/atop/fix-limits-on-ppc64le.patch b/main/atop/fix-limits-on-ppc64le.patch
new file mode 100644
index 0000000000..82e3547d91
--- /dev/null
+++ b/main/atop/fix-limits-on-ppc64le.patch
@@ -0,0 +1,10 @@
+--- a/photosyst.c 2020-12-25 13:13:46.569591017 +0000
++++ b/photosyst.c 2020-12-25 13:13:52.399619155 +0000
+@@ -165,6 +165,7 @@
+ #include <dirent.h>
+ #include <sys/ioctl.h>
+ #include <sys/sysmacros.h>
++#include <limits.h>
+
+ #define SCALINGMAXCPU 8 // threshold for scaling info per CPU
+