From 9d198e47acc45f53c07ee62abfcd7348c300271c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 22 Oct 2011 08:10:06 +0200 Subject: [PATCH] jack: added a pam_limit(8) file as suggested by davehome. --- srcpkgs/jack/files/jack-limitsd.conf | 2 ++ srcpkgs/jack/template | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/jack/files/jack-limitsd.conf diff --git a/srcpkgs/jack/files/jack-limitsd.conf b/srcpkgs/jack/files/jack-limitsd.conf new file mode 100644 index 00000000000..d97363ac87b --- /dev/null +++ b/srcpkgs/jack/files/jack-limitsd.conf @@ -0,0 +1,2 @@ +@audio - rtprio 99 +@audio - memlock unlimited diff --git a/srcpkgs/jack/template b/srcpkgs/jack/template index a09654d589a..55f400fb56b 100644 --- a/srcpkgs/jack/template +++ b/srcpkgs/jack/template @@ -1,7 +1,7 @@ # Template file for 'jack' pkgname=jack version=1.9.7 -revision=1 +revision=2 homepage="http://jackaudio.org/" distfiles="http://www.grame.fr/~letz/${pkgname}-${version}.tar.bz2" build_style=custom-install @@ -65,5 +65,8 @@ do_build() do_install() { ./waf install --destdir=${DESTDIR} + # pam_limits(8) support + vinstall ${FILESDIR}/jack-limitsd.conf \ + 644 etc/security/limits.d jack.conf }