aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2025-04-30 06:15:30 +0000
committerGleb Popov <arrowd@FreeBSD.org>2025-04-30 06:15:38 +0000
commit25bf7c5ce3dcfc6f416bc80d3c3571ed64803a71 (patch)
treeec145519a1ef28613c4093b7a93338060e010e11
parent855ba014ea2f1d6d2d07d564d1920700d8bbf8ac (diff)
sysutils/rtkit-unix: An implementation of org.fdo.RealtimeKit1
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/rtkit-unix/Makefile27
-rw-r--r--sysutils/rtkit-unix/distinfo3
-rw-r--r--sysutils/rtkit-unix/pkg-descr7
4 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 43f28df08b40..b17a08fac079 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1136,6 +1136,7 @@
SUBDIR += rsyncbackup
SUBDIR += rsyncrypto
SUBDIR += rsyslog8
+ SUBDIR += rtkit-unix
SUBDIR += rtty
SUBDIR += rubygem-backup
SUBDIR += rubygem-bolt
diff --git a/sysutils/rtkit-unix/Makefile b/sysutils/rtkit-unix/Makefile
new file mode 100644
index 000000000000..a97c2d20ef84
--- /dev/null
+++ b/sysutils/rtkit-unix/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= rtkit-unix
+DISTVERSION= 0.20250430
+CATEGORIES= sysutils deskutils
+
+MAINTAINER= arrowd@FreeBSD.org
+COMMENT= C++/Qt implementation of the org.freedesktop.RealtimeKit1 D-Bus interface
+WWW= https://github.com/arrowd/rtkit-unix/
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libpolkit-qt6-core-1.so:sysutils/polkit-qt-1@qt6
+
+USES= cmake qt:6
+
+USE_QT= base
+
+USE_GITHUB= yes
+GH_ACCOUNT= arrowd
+GH_TAGNAME= 85dd73460e58fb3440462ad61c8d82b377de8b1a
+
+PLIST_FILES= libexec/rtkit-daemon \
+ share/dbus-1/system-services/org.freedesktop.RealtimeKit1.service \
+ share/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf \
+ share/polkit-1/actions/org.freedesktop.RealtimeKit1.policy
+
+.include <bsd.port.mk>
diff --git a/sysutils/rtkit-unix/distinfo b/sysutils/rtkit-unix/distinfo
new file mode 100644
index 000000000000..5c29085d131a
--- /dev/null
+++ b/sysutils/rtkit-unix/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1745993036
+SHA256 (arrowd-rtkit-unix-0.20250430-85dd73460e58fb3440462ad61c8d82b377de8b1a_GH0.tar.gz) = 96c415a38a193f652fdeae365358aa6827fd29857b6cc0c1563faacccb42104b
+SIZE (arrowd-rtkit-unix-0.20250430-85dd73460e58fb3440462ad61c8d82b377de8b1a_GH0.tar.gz) = 12649
diff --git a/sysutils/rtkit-unix/pkg-descr b/sysutils/rtkit-unix/pkg-descr
new file mode 100644
index 000000000000..b69a3790fd27
--- /dev/null
+++ b/sysutils/rtkit-unix/pkg-descr
@@ -0,0 +1,7 @@
+RealtimeKit is a D-Bus system service that changes the scheduling policy of user
+processes/threads to the realtime scheduling mode on request. It is intended to
+be used as a secure mechanism to allow real-time scheduling to be used by
+unprivileged user processes.
+
+rtkit-unix is a BSD licensed C++ implementation of the RealtimeKit's interface
+aimed at running on non-Linux OSes.