summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-05-06 22:54:58 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-05-06 22:54:58 +0200
commitb08fd77cb2269e001121234a1f2e46d4f328a438 (patch)
tree0d07fa3ed9d37116fb49ecc3e0d4551972f12b2d /sys-auth
parentacct-group/realtime: new group for sys-auth/realtime-base, GID 206 (diff)
downloadgentoo-b08fd77cb2269e001121234a1f2e46d4f328a438.tar.gz
gentoo-b08fd77cb2269e001121234a1f2e46d4f328a438.tar.bz2
gentoo-b08fd77cb2269e001121234a1f2e46d4f328a438.zip
sys-auth/realtime-base: migrate to GLEP 81
Closes: https://bugs.gentoo.org/777417 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/realtime-base/realtime-base-0.1-r1.ebuild (renamed from sys-auth/realtime-base/realtime-base-0.1.ebuild)13
1 files changed, 4 insertions, 9 deletions
diff --git a/sys-auth/realtime-base/realtime-base-0.1.ebuild b/sys-auth/realtime-base/realtime-base-0.1-r1.ebuild
index 2faa18931f6f..dcd0207aef94 100644
--- a/sys-auth/realtime-base/realtime-base-0.1.ebuild
+++ b/sys-auth/realtime-base/realtime-base-0.1-r1.ebuild
@@ -1,9 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-
-inherit user
+EAPI=7
DESCRIPTION="Sets up realtime scheduling"
HOMEPAGE="https://jackaudio.org/faq/linux_rt_config.html"
@@ -15,17 +13,14 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
IUSE=""
DEPEND=""
-RDEPEND="sys-libs/pam"
+RDEPEND="acct-group/realtime
+ sys-libs/pam"
-S=${WORKDIR}
+S="${WORKDIR}"
limitsdfile=40-${PN}.conf
rtgroup=realtime
-pkg_setup() {
- enewgroup ${rtgroup}
-}
-
src_compile() {
einfo "Generating ${limitsdfile}"
cat > ${limitsdfile} <<- EOF || die