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 }