boinc: fix can't open /proc/stat
authorHector Espert <redacted>
Tue, 2 Jun 2026 08:31:03 +0000 (10:31 +0200)
committerAlexandru Ardelean <redacted>
Fri, 5 Jun 2026 04:36:16 +0000 (07:36 +0300)
Add procfs to boinc jail to allow access /proc/stat

Add test.sh to test boinc package

Signed-off-by: Hector Espert <redacted>
net/boinc/Makefile
net/boinc/files/boinc-client.init
net/boinc/test.sh [new file with mode: 0755]

index dc740c112280e2d629054ea0cf0efe3d5f6f2d25..60af013fa454e2403eb27ee9b25bd2d8ba9bcaa2 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=boinc
 PKG_VERSION:=8.2.11
 PKG_VERSION_SHORT:=$(shell echo $(PKG_VERSION)| cut -f1,2 -d.)
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/BOINC/boinc
index f9065a37b2ada5c5b5d2a18177dfbdf62273eaac..93ae9c83972c761ed567ecea48c9ad9c0adce72a 100755 (executable)
@@ -49,7 +49,7 @@ start_service() {
    procd_set_param stderr 1
    procd_set_param pidfile $PID_FILE
 
-   procd_add_jail $BOINCEXE_NAME log requirejail
+   procd_add_jail $BOINCEXE_NAME log procfs requirejail
    procd_add_jail_mount /etc/TZ
    procd_add_jail_mount /proc/cpuinfo /proc/meminfo
    procd_add_jail_mount /etc/ssl/certs/ca-certificates.crt
diff --git a/net/boinc/test.sh b/net/boinc/test.sh
new file mode 100755 (executable)
index 0000000..c78273f
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ "$1" = "boinc" ] || exit 0
+
+boinc_client --version 2>&1 | grep "$2"
git clone https://git.99rst.org/PROJECT