svn commit: r464219 - in head/sysutils: . mac_rtprio
Tobias Kortkamp
tobik at FreeBSD.org
Mon Mar 12 06:34:18 UTC 2018
Author: tobik
Date: Mon Mar 12 06:34:17 2018
New Revision: 464219
URL: https://svnweb.freebsd.org/changeset/ports/464219
Log:
New port: sysutils/mac_rtprio
Simple MAC framework policy to manage access for setting realtime priorities by
selected GID.Running kldload mac_rtprio.ko to load the kernel module. The load
action require root permissions. Set GID that should be able to change realtime
priorities:
sysctl security.mac.rtprio.gid=1001
and enable enforcing:
sysctl security.mac.rtprio.enabled=1
WWW: https://github.com/pbiernacki/mac_rtprio
PR: 219377
Submitted by: amutu at amutu.com
Reviewed by: bapt
Added:
head/sysutils/mac_rtprio/
head/sysutils/mac_rtprio/Makefile (contents, props changed)
head/sysutils/mac_rtprio/distinfo (contents, props changed)
head/sysutils/mac_rtprio/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Mon Mar 12 06:33:30 2018 (r464218)
+++ head/sysutils/Makefile Mon Mar 12 06:34:17 2018 (r464219)
@@ -603,6 +603,7 @@
SUBDIR += lxsplit
SUBDIR += lxtask
SUBDIR += lxterminal
+ SUBDIR += mac_rtprio
SUBDIR += magicrescue
SUBDIR += manck
SUBDIR += mapchan
Added: head/sysutils/mac_rtprio/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/mac_rtprio/Makefile Mon Mar 12 06:34:17 2018 (r464219)
@@ -0,0 +1,23 @@
+# Created by: Jov <amutu at amutu.com>
+# $FreeBSD$
+
+PORTNAME= mac_rtprio
+DISTVERSION= g20170417
+CATEGORIES= sysutils
+PKGNAMESUFFIX= -kmod
+
+MAINTAINER= amutu at amutu.com
+COMMENT= Simple MAC framework policy to manage access for setting realtime priorities by selected GID
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= kmod uidfix
+
+USE_GITHUB= yes
+GH_ACCOUNT= pbiernacki
+GH_TAGNAME= 3ace584
+
+PLIST_FILES= ${KMODDIR}/mac_rtprio.ko
+
+.include <bsd.port.mk>
Added: head/sysutils/mac_rtprio/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/mac_rtprio/distinfo Mon Mar 12 06:34:17 2018 (r464219)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1495108310
+SHA256 (pbiernacki-mac_rtprio-g20170417-3ace584_GH0.tar.gz) = 2d3dae36281b3090b61f326ee9605b4d4e5b2dab0e60abe08576bf10eb450091
+SIZE (pbiernacki-mac_rtprio-g20170417-3ace584_GH0.tar.gz) = 1904
Added: head/sysutils/mac_rtprio/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/mac_rtprio/pkg-descr Mon Mar 12 06:34:17 2018 (r464219)
@@ -0,0 +1,9 @@
+Simple MAC framework policy to manage access for setting realtime priorities by
+selected GID.Running kldload mac_rtprio.ko to load the kernel module. The load
+action require root permissions. Set GID that should be able to change realtime
+priorities:
+ sysctl security.mac.rtprio.gid=1001
+and enable enforcing:
+ sysctl security.mac.rtprio.enabled=1
+
+WWW: https://github.com/pbiernacki/mac_rtprio
More information about the svn-ports-all
mailing list