automatic version update by autodist [release 1.3.0-2mamba;Wed Jul 10 2013]

This commit is contained in:
Automatic Build System 2024-01-05 17:45:02 +01:00
parent b1ee22cb5a
commit 327c4c9b41
3 changed files with 105 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# set_rlimits # set_rlimits
set_rlimits is a small program written to give unpriviledged users access to realtime scheduling via the new rlimits added to kernel 2.6.12.

45
set_rlimits.conf Normal file
View File

@ -0,0 +1,45 @@
# Configuration file for set_rlimits. Format is:
#
# name program max_nice_priority max_realtime_priority
# or
# name program <key>=<value> ...
#
# name is expected to be a username, a groupname if preceeded by a @ sign,
# or ALL (which matches all users). Negative priorities effectively
# disallow any setting of the respective priority for the matching entry.
# <key> can be rtprio, nice or memlock.
# Example entry:
#
#mark /usr/local/bin/jackd -1 80
#
# Here, user mark can execute /usr/local/bin/jackd using set_rlimits to set
# a realtime priority up to and including 80, but setting of a nice priority
# through set_rlimits is disallowed. Alternatively, if an `audio' group
# existed, the entry
#
#@audio /usr/bin/jackd nice=-1 rtprio=85
#
# would allow the same except the permission would extend to all members of
# the `audio' group. The same effect could be achieved with the key/value
# syntax:
#
# @audio /usr/local/bin/jackd nice=-1 rtprio=80
#
# For more details on the format and use of this file please refer to
# the set_rlimits manual page.
@audio /usr/bin/jackd nice=-1 rtprio=86
@audio /usr/bin/oss2jack nice=-1 rtprio=85
@audio /usr/bin/qjackctl nice=-1 rtprio=84
@audio /usr/bin/ardour nice=-1 rtprio=83
@audio /usr/bin/hydrogen nice=-1 rtprio=82
@audio /usr/bin/jackeq nice=-1 rtprio=81
@audio /usr/bin/jack-rack nice=-1 rtprio=80
@audio /usr/bin/jamin nice=-1 rtprio=79
@audio /usr/bin/qsynth nice=-1 rtprio=78
@audio /usr/bin/rosegarden nice=-1 rtprio=77
@audio /usr/bin/seq24 nice=-1 rtprio=76
@audio /usr/bin/specimen nice=-1 rtprio=75
@audio /usr/bin/vkeybd nice=-1 rtprio=74
@audio /usr/bin/zynaddsubfx nice=-1 rtprio=73
@audio /usr/bin/ams nice=-1 rtprio=72
@audio /usr/bin/amsynth nice=-1 rtprio=71

58
set_rlimits.spec Normal file
View File

@ -0,0 +1,58 @@
Name: set_rlimits
Version: 1.3.0
Release: 2mamba
Summary: A program to give unpriviledged users access to realtime scheduling via rtlimits
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.physics.adelaide.edu.au/~jwoithe/
Source: http://www.physics.adelaide.edu.au/~jwoithe/set_rlimits-%{version}.tgz
Source1: set_rlimits.conf
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
set_rlimits is a small program written to give unpriviledged users access to realtime scheduling via the new rlimits added to kernel 2.6.12.
%prep
%setup -q
sed -i "/chown/d" Makefile
sed -i "s|man/man8|share/man/man8|g" Makefile
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}
%make PREFIX=%{buildroot}%{_prefix} \
SYSCONFDIR=%{buildroot}%{_sysconfdir} \
MANDIR=%{buildroot}%{_mandir} install
install -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/set_rlimits.conf
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/set_rlimits.conf
%attr(4755,root,audio) %{_bindir}/set_rlimits
%{_mandir}/man8/set_rlimits.8.gz
%doc AUTHORS COPYING README
%changelog
* Wed Jul 10 2013 Automatic Build System <autodist@mambasoft.it> 1.3.0-2mamba
- automatic version update by autodist
* Sun Jan 11 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
- automatic update by autodist
* Sat Mar 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-3mamba
- add oss2jack to rt priority chain
* Sat Mar 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- set_rlimits.conf updates with entries for professional audio applications
* Fri Oct 06 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1qilnx
- package created by autospec