summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMubashshir2023-03-31 19:18:14 +0600
committerMubashshir2023-03-31 19:22:21 +0600
commit1d5190784beb0061330c34c7c65ed2e4081b9f0f (patch)
tree9c0c382f38c64b51fe759d7d814cc0d7a0138d32
parent855510046ba6540ea415d1e02d287bd29b229836 (diff)
downloadaur-1d5190784beb0061330c34c7c65ed2e4081b9f0f.tar.gz
whatpulse: Prevent segfaults
Signed-off-by: Mubashshir <ahmubashshir@gmail.com>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bc991129c964..819db6c6022b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = whatpulse
pkgdesc = Measures your keyboard, mouse and application usage, network traffic and uptime.
pkgver = 5.3
- pkgrel = 2
+ pkgrel = 3
url = http://www.whatpulse.org
arch = x86_64
license = custom:whatpulse_tos
diff --git a/PKGBUILD b/PKGBUILD
index c3ef705c1457..1d5313e0a99c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
_tag=latest
pkgname=whatpulse
pkgver=5.3
-pkgrel=2
+pkgrel=3
pkgdesc="Measures your keyboard, mouse and application usage, network traffic and uptime."
arch=('x86_64')
@@ -54,7 +54,8 @@ package() {
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
# Set capabilities so that whatpulse can monitor network traffic
- setcap cap_net_raw,cap_net_admin=eip "${pkgdir}/usr/bin/whatpulse"
+ # Disable network monitor caps to prevent segfaults
+ # setcap cap_net_raw,cap_net_admin=eip "${pkgdir}/usr/bin/whatpulse"
# Generate and install icons
for size in 16 20 22 24 28 32 36 44 48 64 72 96 128 150 192 256 310 384 512 1024