[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2024-03-17 Thread Yixun Lan
commit: 861de1ddeecc1a718ba3cd7bc3af99758037d183
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Mar 17 08:55:14 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Mar 17 09:10:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=861de1dd

sys-auth/rtkit: Keyword 0.13-r2 riscv, #927153

Signed-off-by: Yixun Lan  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
index 48ba78ba090a..fd13fbac19c3 100644
--- a/sys-auth/rtkit/rtkit-0.13-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE="selinux systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2023-08-22 Thread Marek Szuba
commit: 8deae0a231f2bfd36b3f3cd350a59908352db400
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Aug 22 21:28:40 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Aug 22 21:35:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8deae0a2

sys-auth/rtkit: drop 0.13-r1

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r1.ebuild | 48 -
 1 file changed, 48 deletions(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
deleted file mode 100644
index a814c2e8ca30..
--- a/sys-auth/rtkit/rtkit-0.13-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info meson
-
-DESCRIPTION="Realtime Policy and Watchdog Daemon"
-HOMEPAGE="https://github.com/heftig/rtkit;
-SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
-
-LICENSE="GPL-3 BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
-IUSE="selinux systemd"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="acct-group/rtkit
-   acct-user/rtkit
-   sys-apps/dbus
-   sys-auth/polkit
-   sys-libs/libcap
-   systemd? ( sys-apps/systemd )"
-RDEPEND="${DEPEND}
-   selinux? ( sec-policy/selinux-rtkit )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.13_meson_rtkitctl_dir.patch
-   "${FILESDIR}"/${PN}-0.13_meson_xxd_optional.patch
-)
-
-pkg_pretend() {
-   if use kernel_linux; then
-   CONFIG_CHECK="~!RT_GROUP_SCHED"
-   ERROR_RT_GROUP_SCHED="CONFIG_RT_GROUP_SCHED is enabled. 
rtkit-daemon (or any other "
-   ERROR_RT_GROUP_SCHED+="real-time task) will not work unless run 
as root. Please consider "
-   ERROR_RT_GROUP_SCHED+="unsetting this option."
-   check_extra_config
-   fi
-}
-
-src_configure() {
-   local emesonargs=(
-   -Dinstalled_tests=false
-   $(meson_feature systemd libsystemd)
-   )
-   meson_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2023-08-22 Thread Sam James
commit: a810225104c7cde594cf2685fae1b75c066bf0f6
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 22 11:16:19 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 22 11:16:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8102251

sys-auth/rtkit: Stabilize 0.13-r2 amd64, #912755

Signed-off-by: Sam James  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
index b845b3a9c746..48ba78ba090a 100644
--- a/sys-auth/rtkit/rtkit-0.13-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 IUSE="selinux systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2023-08-22 Thread Sam James
commit: b4d9922f5f089a5acb107e8420383a0d1b02cd0b
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 22 10:33:06 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 22 10:33:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4d9922f

sys-auth/rtkit: Stabilize 0.13-r2 x86, #912755

Signed-off-by: Sam James  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
index a683382027f9..b845b3a9c746 100644
--- a/sys-auth/rtkit/rtkit-0.13-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 IUSE="selinux systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2023-08-21 Thread Sam James
commit: a97ed808dbb1416ea06ce75c280139fc0536b15e
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 18:22:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 18:23:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a97ed808

sys-auth/rtkit: Stabilize 0.13-r2 ppc, #912755

Signed-off-by: Sam James  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
index 8b9ea1bfdcd2..a683382027f9 100644
--- a/sys-auth/rtkit/rtkit-0.13-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86"
 IUSE="selinux systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2023-08-21 Thread Sam James
commit: cddd283e87df3cbb17027c4083272028e7e9a633
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 17:49:19 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 17:49:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cddd283e

sys-auth/rtkit: Stabilize 0.13-r2 arm64, #912755

Signed-off-by: Sam James  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
index fe6a6f3a799f..8b9ea1bfdcd2 100644
--- a/sys-auth/rtkit/rtkit-0.13-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 sparc ~x86"
 IUSE="selinux systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2023-08-21 Thread Sam James
commit: c37a0512d742854e57511b7c577e6e55bf7e4301
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 17:43:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 17:43:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c37a0512

sys-auth/rtkit: Stabilize 0.13-r2 arm, #912755

Signed-off-by: Sam James  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
index 57e249504ee7..fe6a6f3a799f 100644
--- a/sys-auth/rtkit/rtkit-0.13-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 sparc ~x86"
 IUSE="selinux systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2023-08-21 Thread Sam James
commit: 5d3cf49dee454cb5ef7d9a2e91b19b4d8c93f6d6
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 17:42:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 17:42:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d3cf49d

sys-auth/rtkit: Stabilize 0.13-r2 sparc, #912755

Signed-off-by: Sam James  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
index 556b80e2b896..57e249504ee7 100644
--- a/sys-auth/rtkit/rtkit-0.13-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 sparc ~x86"
 IUSE="selinux systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2023-08-21 Thread Sam James
commit: 8e51be39680762317d3ef3befd46e6513e910018
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 17:42:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 17:42:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e51be39

sys-auth/rtkit: Stabilize 0.13-r2 ppc64, #912755

Signed-off-by: Sam James  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
index 58762eba219a..556b80e2b896 100644
--- a/sys-auth/rtkit/rtkit-0.13-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc ~x86"
 IUSE="selinux systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/files/, sys-auth/rtkit/

2023-06-29 Thread Marek Szuba
commit: d3f5e5c07d3c72c3aabbdbe09e45d21d52622f71
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Jun 29 10:20:57 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Jun 29 10:22:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f5e5c0

sys-auth/rtkit: better control over daemon verbosity for non-systemd users

Closes: https://bugs.gentoo.org/909157
Signed-off-by: Marek Szuba  gentoo.org>

 .../rtkit/files/rtkit-0.13_daemon_verbosity.patch  | 67 ++
 sys-auth/rtkit/rtkit-0.13-r2.ebuild| 49 
 2 files changed, 116 insertions(+)

diff --git a/sys-auth/rtkit/files/rtkit-0.13_daemon_verbosity.patch 
b/sys-auth/rtkit/files/rtkit-0.13_daemon_verbosity.patch
new file mode 100644
index ..e8fb9c821dde
--- /dev/null
+++ b/sys-auth/rtkit/files/rtkit-0.13_daemon_verbosity.patch
@@ -0,0 +1,67 @@
+From ad649ee491ed1a41537774ad11564a208e598a09 Mon Sep 17 00:00:00 2001
+From: Jean Delvare 
+Date: Sat, 15 Apr 2023 11:53:27 +0200
+Subject: [PATCH] rtkit-daemon: Don't log debug messages by default
+
+The rtkit-daemon service is a lot more verbose than other services
+when it doesn't have anything to do. Stop logging the debug messages
+by default to avoid flooding the system log.
+
+This addresses issue #22.
+--- a/rtkit-daemon.c
 b/rtkit-daemon.c
+@@ -154,6 +154,9 @@ static bool canary_demote_unknown = FALSE;
+ /* Log to stderr? */
+ static bool log_stderr = FALSE;
+ 
++/* Also log debugging messages? */
++static bool log_debug = FALSE;
++
+ /* Scheduling policy to use */
+ static int sched_policy = SCHED_RR;
+ 
+@@ -1876,6 +1879,7 @@ enum {
+ ARG_CANARY_DEMOTE_UNKNOWN,
+ ARG_CANARY_REFUSE_SEC,
+ ARG_STDERR,
++ARG_DEBUG,
+ ARG_INTROSPECT
+ };
+ 
+@@ -1905,6 +1909,7 @@ static const struct option long_options[] = {
+ { "canary-demote-unknown",   no_argument,   0, 
ARG_CANARY_DEMOTE_UNKNOWN },
+ { "canary-refuse-sec",   required_argument, 0, 
ARG_CANARY_REFUSE_SEC },
+ { "stderr",  no_argument,   0, ARG_STDERR },
++{ "debug",   no_argument,   0, ARG_DEBUG },
+ { "introspect",  no_argument,   0, ARG_INTROSPECT },
+ { NULL, 0, 0, 0}
+ };
+@@ -1933,6 +1938,7 @@ static void show_help(const char *exe) {
+"  --version   Show version\n\n"
+"OPTIONS:\n"
+"  --stderrLog to STDERR in 
addition to syslog\n"
++   "  --debug Also log debugging 
mssages\n"
+"  --user-name=USERRun daemon as user 
(%s)\n\n"
+"  --scheduling-policy=(RR|FIFO)   Choose scheduling 
policy (%s)\n"
+"  --our-realtime-priority=[%i..%i] Realtime priority for 
the daemon (%u)\n"
+@@ -,6 +2228,10 @@ static int parse_command_line(int argc, char *argv[], 
int *ret) {
+ log_stderr = TRUE;
+ break;
+ 
++case ARG_DEBUG:
++log_debug = TRUE;
++break;
++
+ case ARG_INTROSPECT:
+ fputs(introspect_xml, stdout);
+ *ret = 0;
+@@ -2251,6 +2261,9 @@ static int parse_command_line(int argc, char *argv[], 
int *ret) {
+ return -1;
+ }
+ 
++  if (!log_debug)
++setlogmask(LOG_UPTO(LOG_INFO));
++
+ assert(our_realtime_priority >= (unsigned) 
sched_get_priority_min(sched_policy));
+ assert(our_realtime_priority <= (unsigned) 
sched_get_priority_max(sched_policy));
+ 

diff --git a/sys-auth/rtkit/rtkit-0.13-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
new file mode 100644
index ..58762eba219a
--- /dev/null
+++ b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info meson
+
+DESCRIPTION="Realtime Policy and Watchdog Daemon"
+HOMEPAGE="https://github.com/heftig/rtkit;
+SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="selinux systemd"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="acct-group/rtkit
+   acct-user/rtkit
+   sys-apps/dbus
+   sys-auth/polkit
+   sys-libs/libcap
+   systemd? ( sys-apps/systemd )"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-rtkit )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.13_daemon_verbosity.patch
+   "${FILESDIR}"/${PN}-0.13_meson_rtkitctl_dir.patch
+   "${FILESDIR}"/${PN}-0.13_meson_xxd_optional.patch
+)
+
+pkg_pretend() {
+   if use kernel_linux; then
+  

[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2023-06-28 Thread Sam James
commit: 25eeb4503b364a5f53a7151392ab30bdb5641778
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 28 07:07:06 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 28 07:07:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25eeb450

sys-auth/rtkit: add selinux policy dep

Thanks to Jannik for reporting.

Signed-off-by: Sam James  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r1.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
index 09fccb721a9c..a814c2e8ca30 100644
--- a/sys-auth/rtkit/rtkit-0.13-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 LICENSE="GPL-3 BSD"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
-IUSE="systemd"
+IUSE="selinux systemd"
 
 BDEPEND="virtual/pkgconfig"
 DEPEND="acct-group/rtkit
@@ -21,7 +21,8 @@ DEPEND="acct-group/rtkit
sys-auth/polkit
sys-libs/libcap
systemd? ( sys-apps/systemd )"
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-rtkit )"
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.13_meson_rtkitctl_dir.patch



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2023-06-28 Thread Sam James
commit: 2bb69da1693c9bb2e207856c29c0a8e0ff99905f
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 28 07:07:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 28 07:07:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bb69da1

sys-auth/rtkit: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sys-auth/rtkit/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-auth/rtkit/metadata.xml b/sys-auth/rtkit/metadata.xml
index 44cb8576a448..2c85d65cf461 100644
--- a/sys-auth/rtkit/metadata.xml
+++ b/sys-auth/rtkit/metadata.xml
@@ -10,4 +10,7 @@
to escalate their priority to realtime, without any special setup in
rlimits, etc.

+   
+   heftig/rtkit
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/files/, sys-auth/rtkit/

2021-03-23 Thread Marek Szuba
commit: 6f2a747225e9ecfa93dd795a232a77418a95e06e
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Mar 23 11:37:40 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Mar 23 11:38:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f2a7472

sys-auth/rtkit: remove old

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/rtkit/Manifest|   1 -
 .../files/rtkit-0.12_introspection_no_asm.patch| 245 -
 .../files/rtkit-0.12_libsystemd_optional.patch |  63 --
 sys-auth/rtkit/rtkit-0.12-r1.ebuild|  49 -
 4 files changed, 358 deletions(-)

diff --git a/sys-auth/rtkit/Manifest b/sys-auth/rtkit/Manifest
index 83ba86e04a2..85ac152341d 100644
--- a/sys-auth/rtkit/Manifest
+++ b/sys-auth/rtkit/Manifest
@@ -1,2 +1 @@
-DIST rtkit-0.12.tar.xz 127504 BLAKE2B 
c2132098b98f24c1f1662df08c9940772cdad9a326c0c4b9180aac2e0878b0c71e5917ab2535628aab12ff29546faef1c68f455625c77bc2bac25864dddfa4b6
 SHA512 
cee48058367b5b8a705203865538d0ab4bda9d2f1d06d155360922cb095b5d6a5b0311fdda6c45d9f33227324394ca5fd3b5a399fc71e11ea4c609eab18a7b04
 DIST rtkit-0.13.tar.xz 130796 BLAKE2B 
842d04556a47c199bed9fc6bc9281c0d88f83e183f01ef57ecbd80ce72949a301d6682a3aab96e996e71b82d8e8c7a85e1d44524f2ed6fbdffc6bf236cdcadaa
 SHA512 
c058d770a4ccfdf4e2e3a713748b6a705b6d3e148a903b9dbba4bba9d3ded2b819d7dfbfa37b9fad78e57c0a5f10f2f94226f8738f666e692a085ab297a36b36

diff --git a/sys-auth/rtkit/files/rtkit-0.12_introspection_no_asm.patch 
b/sys-auth/rtkit/files/rtkit-0.12_introspection_no_asm.patch
deleted file mode 100644
index 5f634da8520..000
--- a/sys-auth/rtkit/files/rtkit-0.12_introspection_no_asm.patch
+++ /dev/null
@@ -1,245 +0,0 @@
-Backport of the upstream commit 7f24c26b6e6b5be0f50b42f86bbc7c43630687c9
-to 0.12 + include pre-generated C file for this release.
-
 a/configure.ac
-+++ b/configure.ac
-@@ -51,7 +51,6 @@
- AC_PROG_GCC_TRADITIONAL
- AC_USE_SYSTEM_EXTENSIONS
- AC_SYS_LARGEFILE
--AM_PROG_AS
- 
- # GCC flags
- 
-@@ -125,6 +124,11 @@
- AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
- AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir"])
- 
-+AC_PATH_PROG([XXD], [xxd], [xxd])
-+if test "$XXD" = xxd; then
-+AC_MSG_WARN([xxd not found, cannot compile introspection XML])
-+fi
-+
- ###
- #Output   #
- ###
 a/Makefile.am
-+++ b/Makefile.am
-@@ -63,7 +63,7 @@
- rtkit_daemon_SOURCES = \
-   rtkit-daemon.c \
-   rtkit.h \
--  xml-introspection.S
-+  xml-introspection.c
- rtkit_daemon_LDADD = \
-   $(DBUS_LIBS) \
-   $(LIBSYSTEMD_LIBS)
-@@ -94,7 +94,10 @@
- rtkit-daemon.service: rtkit-daemon.service.in
-   $(AM_V_GEN)sed -e 's,@LIBEXECDIR\@,$(libexecdir),g' < $< > $@
- 
--xml-introspection.o: org.freedesktop.RealtimeKit1.xml
-+xml-introspection.c: org.freedesktop.RealtimeKit1.xml
-+  @echo 'const char introspect_xml[] = {' > $@
-+  $(AM_V_GEN)$(XXD) -i < $< >> $@
-+  @echo '};' >> $@
- 
- man8_MANS = rtkitctl.8
- 
 /dev/null
-+++ b/xml-introspection.c
-@@ -0,0 +1,184 @@
-+const char introspect_xml[] = {
-+  0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, 0x6e, 0x6f,
-+  0x64, 0x65, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x20, 0x22, 0x2d,
-+  0x2f, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x74, 0x6f,
-+  0x70, 0x2f, 0x2f, 0x44, 0x54, 0x44, 0x20, 0x44, 0x2d, 0x42, 0x55, 0x53,
-+  0x20, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x49, 0x6e, 0x74, 0x72,
-+  0x6f, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x31, 0x2e,
-+  0x30, 0x2f, 0x2f, 0x45, 0x4e, 0x22, 0x0a, 0x22, 0x68, 0x74, 0x74, 0x70,
-+  0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x66, 0x72, 0x65, 0x65, 0x64,
-+  0x65, 0x73, 0x6b, 0x74, 0x6f, 0x70, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x73,
-+  0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x64, 0x62, 0x75,
-+  0x73, 0x2f, 0x31, 0x2e, 0x30, 0x2f, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x73,
-+  0x70, 0x65, 0x63, 0x74, 0x2e, 0x64, 0x74, 0x64, 0x22, 0x3e, 0x0a, 0x3c,
-+  0x6e, 0x6f, 0x64, 0x65, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
-+  0x20, 0x20, 0x3c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65,
-+  0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6f, 0x72, 0x67, 0x2e, 0x66,
-+  0x72, 0x65, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x74, 0x6f, 0x70, 0x2e, 0x52,
-+  0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x4b, 0x69, 0x74, 0x31, 0x22,
-+  0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
-+  0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6d, 0x65, 0x74, 0x68, 0x6f,
-+  0x64, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4d, 0x61, 0x6b, 0x65,
-+  0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x61, 0x6c, 0x74, 0x69,
-+  0x6d, 0x65, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
-+  0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
-+  0x20, 0x20, 0x20, 0x20, 0x20, 

[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-11-17 Thread Agostino Sarubbo
commit: 6ac6c348a415c67570c942d10b337dc4864c2fe9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 17 19:10:14 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 17 19:10:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ac6c348

sys-auth/rtkit: sparc stable wrt bug #753179

Package-Manager: Portage-3.0.8, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
index b0238d9f326..09fccb721a9 100644
--- a/sys-auth/rtkit/rtkit-0.13-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 IUSE="systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-11-12 Thread Sam James
commit: 37d759e75cc105dbc2925aef88aecb734b643565
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 13 04:55:17 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 13 04:55:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d759e7

sys-auth/rtkit: Stabilize 0.13-r1 amd64, #753179

Signed-off-by: Sam James  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
index d40e92d466d..b0238d9f326 100644
--- a/sys-auth/rtkit/rtkit-0.13-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
 IUSE="systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-11-11 Thread Thomas Deutschmann
commit: dc9234c1a2a8c5687ec5da46af5a74a331ada101
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Nov 12 00:32:34 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Nov 12 00:35:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc9234c1

sys-auth/rtkit: x86 stable (bug #753179)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
index 35fd0e954c2..d40e92d466d 100644
--- a/sys-auth/rtkit/rtkit-0.13-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
 IUSE="systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-11-09 Thread Sam James
commit: 491e7330ca40ce16061fe4d1bf21875d18c1cd1b
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 10 00:01:49 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 10 00:01:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=491e7330

sys-auth/rtkit: Stabilize 0.13-r1 arm, #753179

Signed-off-by: Sam James  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
index 300e4eaa7fc..35fd0e954c2 100644
--- a/sys-auth/rtkit/rtkit-0.13-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86"
 IUSE="systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-11-07 Thread Sergei Trofimovich
commit: 27f4ef5ee2bf77b3bd782eb067a8946d049b31d5
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Nov  7 20:25:04 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Nov  7 20:34:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27f4ef5e

sys-auth/rtkit: stable 0.13-r1 for ppc64

stable wrt bug #753179

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
index 3579292cf97..300e4eaa7fc 100644
--- a/sys-auth/rtkit/rtkit-0.13-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86"
 IUSE="systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-11-07 Thread Sergei Trofimovich
commit: 52a52756e4905228186083e0fed50c37ab1977f8
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Nov  7 20:12:56 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Nov  7 20:22:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52a52756

sys-auth/rtkit: stable 0.13-r1 for ppc

stable wrt bug #753179

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
index 3c98455fe28..3579292cf97 100644
--- a/sys-auth/rtkit/rtkit-0.13-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~sparc ~x86"
 IUSE="systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-11-06 Thread Sam James
commit: 865023d2f8832c2888c991d8beb51504689ae714
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov  6 11:55:04 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov  6 11:55:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=865023d2

sys-auth/rtkit: Stabilize 0.13-r1 arm64, #753179

Signed-off-by: Sam James  gentoo.org>

 sys-auth/rtkit/rtkit-0.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.13-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
index feb00a84753..3c98455fe28 100644
--- a/sys-auth/rtkit/rtkit-0.13-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-05-09 Thread Marek Szuba
commit: f4d5d92bf17d4a06d83b3ec3491c3a3d281f95bf
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat May  9 10:51:55 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat May  9 11:16:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4d5d92b

sys-auth/rtkit: update HOMEPAGE

Even though to the best of my knowledge there still hasn't been an
official change of ownership of this package, Lennart's page about
RealtimeKit has disappeared some time since early April. Use the front
page of the GitHub project from which we get release tarballs instead.

Closes: https://bugs.gentoo.org/721162
Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/rtkit/rtkit-0.12-r1.ebuild | 2 +-
 sys-auth/rtkit/rtkit-0.13-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/rtkit/rtkit-0.12-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
index 0a9b0e6fea7..f882e95fc82 100644
--- a/sys-auth/rtkit/rtkit-0.12-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 inherit autotools linux-info
 
 DESCRIPTION="Realtime Policy and Watchdog Daemon"
-HOMEPAGE="https://0pointer.de/blog/projects/rtkit;
+HOMEPAGE="https://github.com/heftig/rtkit;
 SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"

diff --git a/sys-auth/rtkit/rtkit-0.13-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
index 61c97841c75..feb00a84753 100644
--- a/sys-auth/rtkit/rtkit-0.13-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 inherit linux-info meson
 
 DESCRIPTION="Realtime Policy and Watchdog Daemon"
-HOMEPAGE="https://0pointer.de/blog/projects/rtkit;
+HOMEPAGE="https://github.com/heftig/rtkit;
 SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/, sys-auth/rtkit/files/

2020-05-09 Thread Marek Szuba
commit: 49b8b811329c5e4b90ccb0c8299597627caf4a8f
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat May  9 10:49:30 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat May  9 11:16:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49b8b811

sys-auth/rtkit: remove old

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/rtkit/Manifest|  1 -
 sys-auth/rtkit/files/rtkit-0.11-controlgroup.patch | 14 -
 sys-auth/rtkit/files/rtkit-0.11-gettime.patch  | 21 
 sys-auth/rtkit/files/rtkit-0.11-polkit.patch   | 36 -
 sys-auth/rtkit/rtkit-0.11-r2.ebuild| 61 --
 sys-auth/rtkit/rtkit-0.11-r3.ebuild| 58 
 6 files changed, 191 deletions(-)

diff --git a/sys-auth/rtkit/Manifest b/sys-auth/rtkit/Manifest
index 6f7fdc043c6..83ba86e04a2 100644
--- a/sys-auth/rtkit/Manifest
+++ b/sys-auth/rtkit/Manifest
@@ -1,3 +1,2 @@
-DIST rtkit-0.11.tar.xz 126748 BLAKE2B 
e989f1fb9e33c2e06d7eedbe0aab45982d458b6a80aa8ba9b05ae94ed048ef1351d30f8800859a08d8bb0a53891e7b63f6bda6308b4521da10a61182ca3921f9
 SHA512 
4641af965dc64c0f498ae469fbee1ceb337204fa7d778fbbb41f2b5c5e88947e633c7e9ad037274fdd778c3c097a4a1dbb0b2add287d74eccbcd2d357cb2da22
 DIST rtkit-0.12.tar.xz 127504 BLAKE2B 
c2132098b98f24c1f1662df08c9940772cdad9a326c0c4b9180aac2e0878b0c71e5917ab2535628aab12ff29546faef1c68f455625c77bc2bac25864dddfa4b6
 SHA512 
cee48058367b5b8a705203865538d0ab4bda9d2f1d06d155360922cb095b5d6a5b0311fdda6c45d9f33227324394ca5fd3b5a399fc71e11ea4c609eab18a7b04
 DIST rtkit-0.13.tar.xz 130796 BLAKE2B 
842d04556a47c199bed9fc6bc9281c0d88f83e183f01ef57ecbd80ce72949a301d6682a3aab96e996e71b82d8e8c7a85e1d44524f2ed6fbdffc6bf236cdcadaa
 SHA512 
c058d770a4ccfdf4e2e3a713748b6a705b6d3e148a903b9dbba4bba9d3ded2b819d7dfbfa37b9fad78e57c0a5f10f2f94226f8738f666e692a085ab297a36b36

diff --git a/sys-auth/rtkit/files/rtkit-0.11-controlgroup.patch 
b/sys-auth/rtkit/files/rtkit-0.11-controlgroup.patch
deleted file mode 100644
index 7a36deeeae7..000
--- a/sys-auth/rtkit/files/rtkit-0.11-controlgroup.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git rtkit-0.11/rtkit-daemon.service.in~ 
rtkit-0.11/rtkit-daemon.service.in
-index 3dfefa6..d0dc786 100644
 rtkit-0.11/rtkit-daemon.service.in~
-+++ rtkit-0.11/rtkit-daemon.service.in
-@@ -27,9 +27,5 @@ CapabilityBoundingSet=CAP_SYS_NICE CAP_DAC_READ_SEARCH 
CAP_SYS_PTRACE CAP_SYS_CH
- PrivateTmp=yes
- PrivateNetwork=yes
- 
--# Work around the fact that the Linux currently doesn't assign any RT
--# budget to CPU control groups that have none configured explicitly
--ControlGroup=cpu:/
--
- [Install]
- WantedBy=graphical.target

diff --git a/sys-auth/rtkit/files/rtkit-0.11-gettime.patch 
b/sys-auth/rtkit/files/rtkit-0.11-gettime.patch
deleted file mode 100644
index 43732081386..000
--- a/sys-auth/rtkit/files/rtkit-0.11-gettime.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Lennart Poettering 
-Date: Thu, 26 Sep 2013 19:52:58 + (+0200)
-Subject: build-sys: since clock_gettime() moved to libc use mq_open to check 
for librt
-X-Git-Url: 
http://git.0pointer.de/?p=rtkit.git;a=commitdiff_plain;h=d550837387e4185ebcde1023702580e35eb441e7
-
-build-sys: since clock_gettime() moved to libc use mq_open to check for librt

-
-diff --git a/configure.ac b/configure.ac
-index 5a77363..62c17f5 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -111,7 +111,7 @@ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
- CC="$PTHREAD_CC"
- 
- AC_SEARCH_LIBS([sched_setscheduler], [rt])
--AC_SEARCH_LIBS([clock_gettime], [rt])
-+AC_SEARCH_LIBS([mq_open], [rt])
- AC_SEARCH_LIBS([cap_init], [cap])
- 
- PKG_CHECK_MODULES(DBUS, dbus-1)

diff --git a/sys-auth/rtkit/files/rtkit-0.11-polkit.patch 
b/sys-auth/rtkit/files/rtkit-0.11-polkit.patch
deleted file mode 100644
index ad489c46618..000
--- a/sys-auth/rtkit/files/rtkit-0.11-polkit.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-X-Git-Url: 
http://git.0pointer.de/?p=rtkit.git;a=blobdiff_plain;f=rtkit-daemon.c;h=3ecc1f7840a0d9bdd3af7f08933c4a62546094eb;hp=2ebe673309315f16bc2bc2e0c51a556fb215bc51;hb=88d4082ef6caf6b071d749dca1c50e7edde914cc;hpb=e86e04865ebc1a92c8fa3007843ebcf9c8fa4c05
-
-diff --git a/rtkit-daemon.c b/rtkit-daemon.c
-index 2ebe673..3ecc1f7 100644
 a/rtkit-daemon.c
-+++ b/rtkit-daemon.c
-@@ -1170,12 +1170,14 @@ static int verify_polkit(DBusConnection *c, struct 
rtkit_user *u, struct process
- DBusMessage *m = NULL, *r = NULL;
- const char *unix_process = "unix-process";
- const char *pid = "pid";
-+const char *uid = "uid";
- const char *start_time = "start-time";
- const char *cancel_id = "";
- uint32_t flags = 0;
- uint32_t pid_u32 = p->pid;
--uint64_t start_time_u64 = p->starttime;
-+uint32_t uid_u32 = (uint32_t)u->uid;
- DBusMessageIter iter_msg, iter_struct, iter_array, iter_dict, 
iter_variant;
-+uint64_t start_time_u64 = p->starttime;
- 

[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-05-08 Thread Mart Raudsepp
commit: 2d995da52eafb121381cddf347e76912dacc5784
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Fri May  8 17:36:05 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Fri May  8 20:46:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d995da5

sys-auth/rtkit: arm64 stable (bug #720016)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 sys-auth/rtkit/rtkit-0.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.12-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
index 3e7a879835e..0a9b0e6fea7 100644
--- a/sys-auth/rtkit/rtkit-0.12-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 IUSE="systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-05-08 Thread Agostino Sarubbo
commit: 70ff3c6ceb1a18256faec5b19d5273fe2ded6225
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May  8 10:45:15 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May  8 10:45:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70ff3c6c

sys-auth/rtkit: x86 stable wrt bug #720016

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-auth/rtkit/rtkit-0.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.12-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
index c3337981a23..3e7a879835e 100644
--- a/sys-auth/rtkit/rtkit-0.12-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 IUSE="systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-05-05 Thread Agostino Sarubbo
commit: 8623bb6d0c5343cf12beb9f07444e3925120e108
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue May  5 06:45:59 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue May  5 06:45:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8623bb6d

sys-auth/rtkit: ppc stable wrt bug #720016

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-auth/rtkit/rtkit-0.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.12-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
index 41002bb4ed2..c3337981a23 100644
--- a/sys-auth/rtkit/rtkit-0.12-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86"
 IUSE="systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-05-03 Thread Agostino Sarubbo
commit: ec633318fc6b572fd405f4bdd63451eb64fdfb85
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun May  3 19:11:14 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun May  3 19:11:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec633318

sys-auth/rtkit: ppc64 stable wrt bug #720016

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-auth/rtkit/rtkit-0.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.12-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
index 258bfc58fc4..41002bb4ed2 100644
--- a/sys-auth/rtkit/rtkit-0.12-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 sparc ~x86"
 IUSE="systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-05-03 Thread Sergei Trofimovich
commit: d476c65c841f61c3298325b3c34042f84f97cab9
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun May  3 10:22:25 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun May  3 10:23:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d476c65c

sys-auth/rtkit: stable 0.12-r1 for sparc, bug #720016

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-auth/rtkit/rtkit-0.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.12-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
index b62f0e12093..258bfc58fc4 100644
--- a/sys-auth/rtkit/rtkit-0.12-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
 IUSE="systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-05-03 Thread Agostino Sarubbo
commit: 582a1d5c397a971b862a492348fe04dfdde74c43
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun May  3 10:12:16 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun May  3 10:12:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=582a1d5c

sys-auth/rtkit: arm stable wrt bug #720016

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-auth/rtkit/rtkit-0.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.12-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
index e54968bf0db..b62f0e12093 100644
--- a/sys-auth/rtkit/rtkit-0.12-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.12-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="systemd"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-04-10 Thread Marek Szuba
commit: 164fd7377bb1a20f4deaa7fc35c11c1bc91f0404
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Apr 10 21:54:57 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Apr 10 21:54:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=164fd737

sys-auth/rtkit: revbump 0.13 to propagate rtkitctl path fix

Have just realised that without a revbump, everyone who has managed to
emerge the original 0.13 ebuild thanks to having
app-editors/vim-core installed would now be stuck with rtkitctl having
been installed in the wrong directory for who knows how long. D'oh!

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/rtkit/{rtkit-0.13.ebuild => rtkit-0.13-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-auth/rtkit/rtkit-0.13.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r1.ebuild
similarity index 100%
rename from sys-auth/rtkit/rtkit-0.13.ebuild
rename to sys-auth/rtkit/rtkit-0.13-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/files/, sys-auth/rtkit/

2020-04-10 Thread Marek Szuba
commit: 78468709f8de7414bb71a419074a3d53110cdbc0
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Apr 10 21:39:36 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Apr 10 21:47:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78468709

sys-auth/rtkit: fix 0.13 meson build scripts

One, they installed rtkitctl into bin rather than, like autotools, into
sbin. Already fixed upstream.

Two, they aborted if the program 'xxd' couldn't be found without
even trying to use a pre-generated header file. I have just submitted a
pull request to fix this upstream as well.

Will stick with Meson though, in order to revert to autotools someone
would have to make it possible not to install tests and I really do not
want to hack at this particular build system any more than I absolutely
have to.

Signed-off-by: Marek Szuba  gentoo.org>

 .../files/rtkit-0.13_meson_rtkitctl_dir.patch  | 25 +
 .../files/rtkit-0.13_meson_xxd_optional.patch  | 59 ++
 sys-auth/rtkit/rtkit-0.13.ebuild   |  5 ++
 3 files changed, 89 insertions(+)

diff --git a/sys-auth/rtkit/files/rtkit-0.13_meson_rtkitctl_dir.patch 
b/sys-auth/rtkit/files/rtkit-0.13_meson_rtkitctl_dir.patch
new file mode 100644
index 000..6d48004e6dc
--- /dev/null
+++ b/sys-auth/rtkit/files/rtkit-0.13_meson_rtkitctl_dir.patch
@@ -0,0 +1,25 @@
+From c295fa849f52b487be6433e69e08b46251950399 Mon Sep 17 00:00:00 2001
+From: Felipe Sateler 
+Date: Sun, 5 Apr 2020 12:16:01 -0400
+Subject: [PATCH 1/2] meson: Install rtkitctl to sbin
+
+That is the path previously used in the autotools system
+---
+ meson.build | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/meson.build b/meson.build
+index 50e137c..02e6c73 100644
+--- a/meson.build
 b/meson.build
+@@ -115,6 +115,7 @@ executable(
+ 'rtkitctl',
+ 'rtkitctl.c', 'rtkit.h', config_h,
+ install: true,
++install_dir: get_option('sbindir'),
+ dependencies: [dbus_dep],
+ )
+ 
+-- 
+2.24.1
+

diff --git a/sys-auth/rtkit/files/rtkit-0.13_meson_xxd_optional.patch 
b/sys-auth/rtkit/files/rtkit-0.13_meson_xxd_optional.patch
new file mode 100644
index 000..17320543b9e
--- /dev/null
+++ b/sys-auth/rtkit/files/rtkit-0.13_meson_xxd_optional.patch
@@ -0,0 +1,59 @@
+From ac157ef9c7b90d995436d999f15f41f04bff6052 Mon Sep 17 00:00:00 2001
+From: Marek Szuba 
+Date: Fri, 10 Apr 2020 22:08:00 +0100
+Subject: [PATCH 2/2] Actually let meson use pre-generated introspection file
+
+Unlike autoconf, meson scripts actually aborted if the program 'xxd' was
+absent regardless of whether the pre-generated introspection file was
+found or not. Make xxd optional, and if it is not found print a warning
+and make the dependency object xml_introspection_h point at the relevant
+file in the source directory instead of generating a new one in the build
+directory. If that file does not exist either, abort.
+---
+ meson.build | 23 ++-
+ 1 file changed, 14 insertions(+), 9 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 02e6c73..68fa23c 100644
+--- a/meson.build
 b/meson.build
+@@ -13,7 +13,7 @@ add_project_arguments(
+ 
+ cc = meson.get_compiler('c')
+ sh = find_program('sh')
+-xxd = find_program('xxd')
++xxd = find_program('xxd', required: false)
+ 
+ dbus_dep = dependency('dbus-1')
+ libcap_dep = dependency('libcap')
+@@ -80,14 +80,19 @@ config_h = configure_file(
+ configuration: config,
+ )
+ 
+-xml_introspection_h = configure_file(
+-input: 'org.freedesktop.RealtimeKit1.xml',
+-output: 'xml-introspection.h',
+-command: [
+-sh, '-c', '"$1" -i < "$2" > "$3"', sh,
+-xxd, '@INPUT@', '@OUTPUT@'
+-],
+-)
++if xxd.found()
++xml_introspection_h = configure_file(
++input: 'org.freedesktop.RealtimeKit1.xml',
++output: 'xml-introspection.h',
++command: [
++sh, '-c', '"$1" -i < "$2" > "$3"', sh,
++xxd, '@INPUT@', '@OUTPUT@'
++],
++)
++else
++warning('xxd not found, cannot compile introspection XML. Looking for 
existing one...')
++xml_introspection_h = files('xml-introspection.h')
++endif
+ 
+ executable(
+ 'rtkit-daemon',
+-- 
+2.24.1
+

diff --git a/sys-auth/rtkit/rtkit-0.13.ebuild b/sys-auth/rtkit/rtkit-0.13.ebuild
index c5a7b3105f0..61c97841c75 100644
--- a/sys-auth/rtkit/rtkit-0.13.ebuild
+++ b/sys-auth/rtkit/rtkit-0.13.ebuild
@@ -23,6 +23,11 @@ DEPEND="acct-group/rtkit
systemd? ( sys-apps/systemd )"
 RDEPEND="${DEPEND}"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.13_meson_rtkitctl_dir.patch
+   "${FILESDIR}"/${PN}-0.13_meson_xxd_optional.patch
+)
+
 pkg_pretend() {
if use kernel_linux; then
CONFIG_CHECK="~!RT_GROUP_SCHED"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-04-10 Thread Marek Szuba
commit: 65a82d095f47302279d88c1ac7816ba41a865a45
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Apr 10 15:42:49 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Apr 10 15:43:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65a82d09

sys-auth/rtkit: bump to 0.13

Now with meson and no patches!

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/rtkit/Manifest  |  1 +
 sys-auth/rtkit/rtkit-0.13.ebuild | 42 
 2 files changed, 43 insertions(+)

diff --git a/sys-auth/rtkit/Manifest b/sys-auth/rtkit/Manifest
index c99b0539358..6f7fdc043c6 100644
--- a/sys-auth/rtkit/Manifest
+++ b/sys-auth/rtkit/Manifest
@@ -1,2 +1,3 @@
 DIST rtkit-0.11.tar.xz 126748 BLAKE2B 
e989f1fb9e33c2e06d7eedbe0aab45982d458b6a80aa8ba9b05ae94ed048ef1351d30f8800859a08d8bb0a53891e7b63f6bda6308b4521da10a61182ca3921f9
 SHA512 
4641af965dc64c0f498ae469fbee1ceb337204fa7d778fbbb41f2b5c5e88947e633c7e9ad037274fdd778c3c097a4a1dbb0b2add287d74eccbcd2d357cb2da22
 DIST rtkit-0.12.tar.xz 127504 BLAKE2B 
c2132098b98f24c1f1662df08c9940772cdad9a326c0c4b9180aac2e0878b0c71e5917ab2535628aab12ff29546faef1c68f455625c77bc2bac25864dddfa4b6
 SHA512 
cee48058367b5b8a705203865538d0ab4bda9d2f1d06d155360922cb095b5d6a5b0311fdda6c45d9f33227324394ca5fd3b5a399fc71e11ea4c609eab18a7b04
+DIST rtkit-0.13.tar.xz 130796 BLAKE2B 
842d04556a47c199bed9fc6bc9281c0d88f83e183f01ef57ecbd80ce72949a301d6682a3aab96e996e71b82d8e8c7a85e1d44524f2ed6fbdffc6bf236cdcadaa
 SHA512 
c058d770a4ccfdf4e2e3a713748b6a705b6d3e148a903b9dbba4bba9d3ded2b819d7dfbfa37b9fad78e57c0a5f10f2f94226f8738f666e692a085ab297a36b36

diff --git a/sys-auth/rtkit/rtkit-0.13.ebuild b/sys-auth/rtkit/rtkit-0.13.ebuild
new file mode 100644
index 000..c5a7b3105f0
--- /dev/null
+++ b/sys-auth/rtkit/rtkit-0.13.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info meson
+
+DESCRIPTION="Realtime Policy and Watchdog Daemon"
+HOMEPAGE="https://0pointer.de/blog/projects/rtkit;
+SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="systemd"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="acct-group/rtkit
+   acct-user/rtkit
+   sys-apps/dbus
+   sys-auth/polkit
+   sys-libs/libcap
+   systemd? ( sys-apps/systemd )"
+RDEPEND="${DEPEND}"
+
+pkg_pretend() {
+   if use kernel_linux; then
+   CONFIG_CHECK="~!RT_GROUP_SCHED"
+   ERROR_RT_GROUP_SCHED="CONFIG_RT_GROUP_SCHED is enabled. 
rtkit-daemon (or any other "
+   ERROR_RT_GROUP_SCHED+="real-time task) will not work unless run 
as root. Please consider "
+   ERROR_RT_GROUP_SCHED+="unsetting this option."
+   check_extra_config
+   fi
+}
+
+src_configure() {
+   local emesonargs=(
+   -Dinstalled_tests=false
+   $(meson_feature systemd libsystemd)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/files/, sys-auth/rtkit/

2020-03-29 Thread Marek Szuba
commit: 37c9e4d5014a4d93d358432c931783146cd20a1e
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Mar 29 21:37:01 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Mar 29 21:39:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37c9e4d5

sys-auth/rtkit: do not use assembly for introspection data

Backport of an upstream change to 0.12.

Closes: https://bugs.gentoo.org/715146
Signed-off-by: Marek Szuba  gentoo.org>

 .../files/rtkit-0.12_introspection_no_asm.patch| 245 +
 sys-auth/rtkit/rtkit-0.12-r1.ebuild|  49 +
 2 files changed, 294 insertions(+)

diff --git a/sys-auth/rtkit/files/rtkit-0.12_introspection_no_asm.patch 
b/sys-auth/rtkit/files/rtkit-0.12_introspection_no_asm.patch
new file mode 100644
index 000..5f634da8520
--- /dev/null
+++ b/sys-auth/rtkit/files/rtkit-0.12_introspection_no_asm.patch
@@ -0,0 +1,245 @@
+Backport of the upstream commit 7f24c26b6e6b5be0f50b42f86bbc7c43630687c9
+to 0.12 + include pre-generated C file for this release.
+
+--- a/configure.ac
 b/configure.ac
+@@ -51,7 +51,6 @@
+ AC_PROG_GCC_TRADITIONAL
+ AC_USE_SYSTEM_EXTENSIONS
+ AC_SYS_LARGEFILE
+-AM_PROG_AS
+ 
+ # GCC flags
+ 
+@@ -125,6 +124,11 @@
+ AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
+ AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir"])
+ 
++AC_PATH_PROG([XXD], [xxd], [xxd])
++if test "$XXD" = xxd; then
++AC_MSG_WARN([xxd not found, cannot compile introspection XML])
++fi
++
+ ###
+ #Output   #
+ ###
+--- a/Makefile.am
 b/Makefile.am
+@@ -63,7 +63,7 @@
+ rtkit_daemon_SOURCES = \
+   rtkit-daemon.c \
+   rtkit.h \
+-  xml-introspection.S
++  xml-introspection.c
+ rtkit_daemon_LDADD = \
+   $(DBUS_LIBS) \
+   $(LIBSYSTEMD_LIBS)
+@@ -94,7 +94,10 @@
+ rtkit-daemon.service: rtkit-daemon.service.in
+   $(AM_V_GEN)sed -e 's,@LIBEXECDIR\@,$(libexecdir),g' < $< > $@
+ 
+-xml-introspection.o: org.freedesktop.RealtimeKit1.xml
++xml-introspection.c: org.freedesktop.RealtimeKit1.xml
++  @echo 'const char introspect_xml[] = {' > $@
++  $(AM_V_GEN)$(XXD) -i < $< >> $@
++  @echo '};' >> $@
+ 
+ man8_MANS = rtkitctl.8
+ 
+--- /dev/null
 b/xml-introspection.c
+@@ -0,0 +1,184 @@
++const char introspect_xml[] = {
++  0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, 0x6e, 0x6f,
++  0x64, 0x65, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x20, 0x22, 0x2d,
++  0x2f, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x74, 0x6f,
++  0x70, 0x2f, 0x2f, 0x44, 0x54, 0x44, 0x20, 0x44, 0x2d, 0x42, 0x55, 0x53,
++  0x20, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x49, 0x6e, 0x74, 0x72,
++  0x6f, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x31, 0x2e,
++  0x30, 0x2f, 0x2f, 0x45, 0x4e, 0x22, 0x0a, 0x22, 0x68, 0x74, 0x74, 0x70,
++  0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x66, 0x72, 0x65, 0x65, 0x64,
++  0x65, 0x73, 0x6b, 0x74, 0x6f, 0x70, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x73,
++  0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x64, 0x62, 0x75,
++  0x73, 0x2f, 0x31, 0x2e, 0x30, 0x2f, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x73,
++  0x70, 0x65, 0x63, 0x74, 0x2e, 0x64, 0x74, 0x64, 0x22, 0x3e, 0x0a, 0x3c,
++  0x6e, 0x6f, 0x64, 0x65, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
++  0x20, 0x20, 0x3c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65,
++  0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6f, 0x72, 0x67, 0x2e, 0x66,
++  0x72, 0x65, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x74, 0x6f, 0x70, 0x2e, 0x52,
++  0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x4b, 0x69, 0x74, 0x31, 0x22,
++  0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
++  0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6d, 0x65, 0x74, 0x68, 0x6f,
++  0x64, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4d, 0x61, 0x6b, 0x65,
++  0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x61, 0x6c, 0x74, 0x69,
++  0x6d, 0x65, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
++  0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
++  0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61,
++  0x6d, 0x65, 0x3d, 0x22, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x22, 0x20,
++  0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x74, 0x22, 0x20, 0x64, 0x69, 0x72,
++  0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x69, 0x6e, 0x22, 0x2f,
++  0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
++  0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
++  0x20, 0x20, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
++  0x22, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x20, 0x74,
++  0x79, 0x70, 0x65, 0x3d, 0x22, 0x75, 0x22, 0x20, 0x64, 0x69, 0x72, 0x65,
++  0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x69, 0x6e, 0x22, 0x2f, 0x3e,
++  0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
++  

[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/, sys-auth/rtkit/files/

2020-03-29 Thread Marek Szuba
commit: 099134914860b99bf27462725a571fcb02c576dc
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Mar 29 21:42:44 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Mar 29 21:42:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09913491

sys-auth/rtkit: remove version using non-portable assembly

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/rtkit/files/rtkit-0.12_noexecstack.patch | 10 -
 sys-auth/rtkit/rtkit-0.12.ebuild  | 49 ---
 2 files changed, 59 deletions(-)

diff --git a/sys-auth/rtkit/files/rtkit-0.12_noexecstack.patch 
b/sys-auth/rtkit/files/rtkit-0.12_noexecstack.patch
deleted file mode 100644
index f156422f8f6..000
--- a/sys-auth/rtkit/files/rtkit-0.12_noexecstack.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/xml-introspection.S
-+++ b/xml-introspection.S
-@@ -1,3 +1,7 @@
-+#if defined(__linux__) && defined(__ELF__)
-+.section .note.GNU-stack,"",%progbits
-+#endif
-+
- .section .rodata
- .global introspect_xml
- .type introspect_xml, @object

diff --git a/sys-auth/rtkit/rtkit-0.12.ebuild b/sys-auth/rtkit/rtkit-0.12.ebuild
deleted file mode 100644
index e37504af139..000
--- a/sys-auth/rtkit/rtkit-0.12.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools linux-info
-
-DESCRIPTION="Realtime Policy and Watchdog Daemon"
-HOMEPAGE="https://0pointer.de/blog/projects/rtkit;
-SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
-
-LICENSE="GPL-3 BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="systemd"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="acct-group/rtkit
-   acct-user/rtkit
-   sys-apps/dbus
-   sys-auth/polkit
-   sys-libs/libcap
-   systemd? ( sys-apps/systemd )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.12_libsystemd_optional.patch
-   "${FILESDIR}"/${PN}-0.12_noexecstack.patch
-)
-
-pkg_pretend() {
-   if use kernel_linux; then
-   CONFIG_CHECK="~!RT_GROUP_SCHED"
-   ERROR_RT_GROUP_SCHED="CONFIG_RT_GROUP_SCHED is enabled. 
rtkit-daemon (or any other "
-   ERROR_RT_GROUP_SCHED+="real-time task) will not work unless run 
as root. Please consider "
-   ERROR_RT_GROUP_SCHED+="unsetting this option."
-   check_extra_config
-   fi
-}
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   $(use_enable systemd systemd-integration)
-}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2020-03-13 Thread Marek Szuba
commit: ed3d8e2cc6ba60fd8d0f687eb2e7d04e6ea10a1f
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Mar 13 13:28:31 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Mar 13 13:28:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed3d8e2c

sys-auth/rtkit: use HTTPS in all ebuilds

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 4 ++--
 sys-auth/rtkit/rtkit-0.11-r3.ebuild | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index f4db25801e9..01562410aef 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -5,8 +5,8 @@ EAPI=6
 inherit eutils systemd user autotools linux-info
 
 DESCRIPTION="Realtime Policy and Watchdog Daemon"
-HOMEPAGE="http://0pointer.de/blog/projects/rtkit;
-SRC_URI="http://0pointer.de/public/${P}.tar.xz;
+HOMEPAGE="https://0pointer.de/blog/projects/rtkit;
+SRC_URI="https://0pointer.de/public/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"

diff --git a/sys-auth/rtkit/rtkit-0.11-r3.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r3.ebuild
index 72a36d770d0..d11ce72f4f0 100644
--- a/sys-auth/rtkit/rtkit-0.11-r3.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,8 +6,8 @@ EAPI=7
 inherit eutils systemd autotools linux-info
 
 DESCRIPTION="Realtime Policy and Watchdog Daemon"
-HOMEPAGE="http://0pointer.de/blog/projects/rtkit;
-SRC_URI="http://0pointer.de/public/${P}.tar.xz;
+HOMEPAGE="https://0pointer.de/blog/projects/rtkit;
+SRC_URI="https://0pointer.de/public/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/files/, sys-auth/rtkit/

2020-03-13 Thread Marek Szuba
commit: fc5f59cf4c173ffd522ffd05c5fb39c048e58f29
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Mar 13 13:01:23 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Mar 13 13:27:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc5f59cf

sys-auth/rtkit: bump to 0.12

While I haven't heard anything official about Jan Steffens having taken
over rtkit maintenance from Lennart, if Debian* approves it's good
enough for me.

* as well as other distros

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/rtkit/Manifest|  1 +
 .../files/rtkit-0.12_libsystemd_optional.patch | 63 ++
 sys-auth/rtkit/files/rtkit-0.12_noexecstack.patch  | 10 
 sys-auth/rtkit/rtkit-0.12.ebuild   | 49 +
 4 files changed, 123 insertions(+)

diff --git a/sys-auth/rtkit/Manifest b/sys-auth/rtkit/Manifest
index 93133abc2da..c99b0539358 100644
--- a/sys-auth/rtkit/Manifest
+++ b/sys-auth/rtkit/Manifest
@@ -1 +1,2 @@
 DIST rtkit-0.11.tar.xz 126748 BLAKE2B 
e989f1fb9e33c2e06d7eedbe0aab45982d458b6a80aa8ba9b05ae94ed048ef1351d30f8800859a08d8bb0a53891e7b63f6bda6308b4521da10a61182ca3921f9
 SHA512 
4641af965dc64c0f498ae469fbee1ceb337204fa7d778fbbb41f2b5c5e88947e633c7e9ad037274fdd778c3c097a4a1dbb0b2add287d74eccbcd2d357cb2da22
+DIST rtkit-0.12.tar.xz 127504 BLAKE2B 
c2132098b98f24c1f1662df08c9940772cdad9a326c0c4b9180aac2e0878b0c71e5917ab2535628aab12ff29546faef1c68f455625c77bc2bac25864dddfa4b6
 SHA512 
cee48058367b5b8a705203865538d0ab4bda9d2f1d06d155360922cb095b5d6a5b0311fdda6c45d9f33227324394ca5fd3b5a399fc71e11ea4c609eab18a7b04

diff --git a/sys-auth/rtkit/files/rtkit-0.12_libsystemd_optional.patch 
b/sys-auth/rtkit/files/rtkit-0.12_libsystemd_optional.patch
new file mode 100644
index 000..9d61f4e5685
--- /dev/null
+++ b/sys-auth/rtkit/files/rtkit-0.12_libsystemd_optional.patch
@@ -0,0 +1,63 @@
+--- a/configure.ac
 b/configure.ac
+@@ -116,7 +116,15 @@
+ AC_SEARCH_LIBS([cap_init], [cap])
+ 
+ PKG_CHECK_MODULES(DBUS, dbus-1)
+-PKG_CHECK_MODULES(LIBSYSTEMD, libsystemd)
++
++AC_ARG_ENABLE(systemd-integration,
++AS_HELP_STRING([--enable-systemd-integration], [use the sd-daemon 
API to communicate with systemd]),
++[enable_libsystemd=$enableval],
++[enable_libsystemd=yes])
++if test "x${enable_libsystemd}" != "xno"; then
++  PKG_CHECK_MODULES(LIBSYSTEMD, libsystemd)
++  AC_DEFINE([HAVE_LIBSYSTEMD], [1], [Define to 1 if you have libsystemd 
and its header files])
++fi
+ 
+ AC_ARG_WITH([systemdsystemunitdir],
+ AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for 
systemd service files]),
+@@ -142,5 +150,6 @@
+ localstatedir:  ${localstatedir}
+ Compiler:   ${CC}
+ CFLAGS: ${CFLAGS}
++systemd integration:${enable_libsystemd}
+ systemd unit directory: ${systemdsystemunitdir}
+ "
+--- a/rtkit-daemon.c
 b/rtkit-daemon.c
+@@ -50,7 +50,10 @@
+ #include 
+ #include 
+ #include 
++
++#ifdef HAVE_LIBSYSTEMD
+ #include 
++#endif
+ 
+ #include "rtkit.h"
+ 
+@@ -1432,11 +1435,13 @@
+ n_total_processes,
+ n_users);
+ 
++#ifdef HAVE_LIBSYSTEMD
+ sd_notifyf(0,
+"STATUS=Supervising %u threads of %u processes of %u 
users.",
+n_total_threads,
+n_total_processes,
+n_users);
++#endif
+ 
+ finish:
+ if (r) {
+@@ -2304,7 +2309,9 @@
+ 
+ syslog(LOG_DEBUG, "Running.\n");
+ 
++#ifdef HAVE_LIBSYSTEMD
+ sd_notify(0, "STATUS=Running.");
++#endif
+ 
+ dbus_connection_set_exit_on_disconnect(bus, FALSE);
+ 

diff --git a/sys-auth/rtkit/files/rtkit-0.12_noexecstack.patch 
b/sys-auth/rtkit/files/rtkit-0.12_noexecstack.patch
new file mode 100644
index 000..f156422f8f6
--- /dev/null
+++ b/sys-auth/rtkit/files/rtkit-0.12_noexecstack.patch
@@ -0,0 +1,10 @@
+--- a/xml-introspection.S
 b/xml-introspection.S
+@@ -1,3 +1,7 @@
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
++
+ .section .rodata
+ .global introspect_xml
+ .type introspect_xml, @object

diff --git a/sys-auth/rtkit/rtkit-0.12.ebuild b/sys-auth/rtkit/rtkit-0.12.ebuild
new file mode 100644
index 000..125517d132b
--- /dev/null
+++ b/sys-auth/rtkit/rtkit-0.12.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools linux-info
+
+DESCRIPTION="Realtime Policy and Watchdog Daemon"
+HOMEPAGE="https://0pointer.de/blog/projects/rtkit;
+SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz;
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="systemd"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="acct-group/rtkit
+   acct-user/rtkit
+   sys-apps/dbus
+   

[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2019-07-01 Thread Marek Szuba
commit: 0565e69e1251e25d9cfe14027d2538a2401c0e47
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Jul  1 10:02:00 2019 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Jul  1 11:23:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0565e69e

sys-auth/rtkit: depend on acct-{user,group}/rtkit

Signed-off-by: Marek Szuba  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 sys-auth/rtkit/rtkit-0.11-r3.ebuild | 58 +
 1 file changed, 58 insertions(+)

diff --git a/sys-auth/rtkit/rtkit-0.11-r3.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r3.ebuild
new file mode 100644
index 000..72a36d770d0
--- /dev/null
+++ b/sys-auth/rtkit/rtkit-0.11-r3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd autotools linux-info
+
+DESCRIPTION="Realtime Policy and Watchdog Daemon"
+HOMEPAGE="http://0pointer.de/blog/projects/rtkit;
+SRC_URI="http://0pointer.de/public/${P}.tar.xz;
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE=""
+
+RDEPEND="acct-group/rtkit
+   acct-user/rtkit
+   sys-apps/dbus
+   sys-auth/polkit
+   sys-libs/libcap
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   # Fedora patches
+   "${FILESDIR}/${P}-polkit.patch"
+   "${FILESDIR}/${P}-gettime.patch"
+   "${FILESDIR}/${P}-controlgroup.patch"
+)
+
+pkg_pretend() {
+   if use kernel_linux; then
+   CONFIG_CHECK="~!RT_GROUP_SCHED"
+   ERROR_RT_GROUP_SCHED="CONFIG_RT_GROUP_SCHED is enabled. 
rtkit-daemon (or any other "
+   ERROR_RT_GROUP_SCHED+="real-time task) will not work unless run 
as root. Please consider "
+   ERROR_RT_GROUP_SCHED+="unsetting this option."
+   check_extra_config
+   fi
+}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+}
+
+src_install() {
+   default
+
+   ./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
+   insinto /usr/share/dbus-1/interfaces
+   doins org.freedesktop.RealtimeKit1.xml
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2019-05-14 Thread Aaron Bauman
commit: e96963380baf3c6aa4b16a1e555be020092da38c
Author: Aaron Bauman  gentoo  org>
AuthorDate: Wed May 15 04:45:42 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed May 15 04:48:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9696338

sys-auth/rtkit: arm64 stable

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="arm64"

 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index cf79c89b989..f7179edab1b 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ SRC_URI="http://0pointer.de/public/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sh sparc x86"
+KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ppc ppc64 sh sparc x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2018-05-25 Thread Marek Szuba
commit: dae544fe91104e408269df2d8e7bb8a799aae658
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri May 25 11:30:36 2018 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri May 25 11:30:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae544fe

sys-auth/rtkit: remove old

Package-Manager: Portage-2.3.39, Repoman-2.3.9

 sys-auth/rtkit/rtkit-0.11-r1.ebuild | 46 -
 1 file changed, 46 deletions(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r1.ebuild
deleted file mode 100644
index 4b8743fc02f..000
--- a/sys-auth/rtkit/rtkit-0.11-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils systemd user autotools
-
-DESCRIPTION="Realtime Policy and Watchdog Daemon"
-HOMEPAGE="http://0pointer.de/blog/projects/rtkit;
-SRC_URI="http://0pointer.de/public/${P}.tar.xz;
-
-LICENSE="GPL-3 BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86"
-IUSE=""
-
-RDEPEND="
-   sys-apps/dbus
-   sys-auth/polkit
-   sys-libs/libcap
-"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
-   enewgroup rtkit
-   enewuser rtkit -1 -1 -1 "rtkit"
-}
-
-src_prepare() {
-   # Fedora patches
-   epatch "${FILESDIR}"/${P}-polkit.patch
-   epatch "${FILESDIR}"/${P}-gettime.patch
-   epatch "${FILESDIR}"/${P}-controlgroup.patch
-   eautoreconf
-}
-
-src_configure() {
-   econf $(systemd_with_unitdir)
-}
-
-src_install() {
-   default
-
-   ./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
-   insinto /usr/share/dbus-1/interfaces
-   doins org.freedesktop.RealtimeKit1.xml
-}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2018-03-22 Thread Mikle Kolyada
commit: c1f6ff2daed18aef1baffc416d22e5ec62f485b6
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Mar 22 17:07:04 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Mar 22 17:07:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1f6ff2d

sys-auth/rtkit: sh stable wrt bug #626788

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-auth/rtkit/rtkit-0.11-r1.ebuild | 2 +-
 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r1.ebuild
index dec2005a952..4b8743fc02f 100644
--- a/sys-auth/rtkit/rtkit-0.11-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index 96647b3425d..cf79c89b989 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ SRC_URI="http://0pointer.de/public/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 ~sh sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sh sparc x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2017-11-26 Thread Sergei Trofimovich
commit: eafa769bbd9bd1698d5eac0b4c9fc1535f1e6854
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Nov 26 22:37:21 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Nov 26 22:37:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eafa769b

sys-auth/rtkit: stable 0.11-r2 for sparc, bug #626788 (thanks to Rolf Eike Beer)

Package-Manager: Portage-2.3.16, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 sys-auth/rtkit/Manifest | 2 +-
 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/rtkit/Manifest b/sys-auth/rtkit/Manifest
index fa3e050092d..93133abc2da 100644
--- a/sys-auth/rtkit/Manifest
+++ b/sys-auth/rtkit/Manifest
@@ -1 +1 @@
-DIST rtkit-0.11.tar.xz 126748 SHA256 
68859108cff6410901502b58365eb7607da37110a06b837762f771735f58acd0 SHA512 
4641af965dc64c0f498ae469fbee1ceb337204fa7d778fbbb41f2b5c5e88947e633c7e9ad037274fdd778c3c097a4a1dbb0b2add287d74eccbcd2d357cb2da22
 WHIRLPOOL 
7036f2811aeef28dd7680f24fcf16e2cf8708937d86a0dfcd1411fcae469be3fe673b12dc640f9cda9be951ab2879f2b7ec2374577e7a0b532c59d8abde176b5
+DIST rtkit-0.11.tar.xz 126748 BLAKE2B 
e989f1fb9e33c2e06d7eedbe0aab45982d458b6a80aa8ba9b05ae94ed048ef1351d30f8800859a08d8bb0a53891e7b63f6bda6308b4521da10a61182ca3921f9
 SHA512 
4641af965dc64c0f498ae469fbee1ceb337204fa7d778fbbb41f2b5c5e88947e633c7e9ad037274fdd778c3c097a4a1dbb0b2add287d74eccbcd2d357cb2da22

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index 3558c4d3271..96647b3425d 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://0pointer.de/public/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 ~sh ~sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 ~sh sparc x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2017-10-14 Thread Sergei Trofimovich
commit: a5f0922a2224b9b62a75f7e036bce689b6b0528c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Oct 14 11:00:43 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Oct 14 11:00:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5f0922a

sys-auth/rtkit: stable 0.11-r2 for ppc, bug #626788

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc"

 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index e8117a804ea..3558c4d3271 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://0pointer.de/public/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ppc64 ~sh ~sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 ~sh ~sparc x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2017-10-13 Thread Sergei Trofimovich
commit: 0ff0698d9f5a3077309b7f17f17c2a8539b29132
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Oct 13 19:30:15 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Oct 13 19:53:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ff0698d

sys-auth/rtkit: stable 0.11-r2 for ppc64, bug #626788

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc64"

 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index 14157fe384c..e8117a804ea 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://0pointer.de/public/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ppc64 ~sh ~sparc x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2017-09-04 Thread Tobias Klausmann
commit: 1ea510490f6dd823c86a96f6287ae612078e15f8
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Mon Sep  4 07:25:54 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Mon Sep  4 07:25:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea51049

sys-auth/rtkit-0.11-r2: alpha stable

Gentoo-Bug: 626788

 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index c59082c2d3e..14157fe384c 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://0pointer.de/public/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2017-08-29 Thread Thomas Deutschmann
commit: 5edd558732baf1fdbde12d18fa37dcf7690ce2ea
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Aug 29 21:26:42 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Aug 29 21:38:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5edd5587

sys-auth/rtkit: x86 stable (bug #626788)

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index 28e5b085dd2..c59082c2d3e 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://0pointer.de/public/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2017-08-26 Thread Mikle Kolyada
commit: 2c02ae39de970eb7211d25f5b73350a1944244ad
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Aug 26 08:27:05 2017 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Aug 26 08:27:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c02ae39

sys-auth/rtkit: amd64 stable wrt bug #626788

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index 19871d4fb60..28e5b085dd2 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://0pointer.de/public/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2017-08-09 Thread Markus Meier
commit: 086a16df82a58adc2be86bed6852f94632b91443
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Aug 10 04:38:47 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Aug 10 04:38:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=086a16df

sys-auth/rtkit: arm stable, bug #626788

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index 64a2634869e..19871d4fb60 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://0pointer.de/public/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2017-08-05 Thread Sergei Trofimovich
commit: 7a03d354a69c4dd7d90f0b0401427a9f2d569d16
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Aug  5 18:06:16 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Aug  5 18:07:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a03d354

sys-auth/rtkit: stable 0.11-r2 for ia64, bug #626788

Package-Manager: Portage-2.3.6, Repoman-2.3.3
RepoMan-Options: --include-arches="ia64"

 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index a00e0827311..64a2634869e 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://0pointer.de/public/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2017-06-20 Thread Alexis Ballier
commit: fc6ad427021c3423d0bc46b054471e8f6d448b23
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Jun 20 12:11:38 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Jun 20 12:11:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc6ad427

sys-auth/rtkit: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index 716b81c9bc7..a00e0827311 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ SRC_URI="http://0pointer.de/public/${P}.tar.xz;
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2016-07-29 Thread Marek Szuba
commit: f07f482c871196f71115aee32f683c4fa2ad36ff
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jul 29 14:20:05 2016 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jul 29 14:20:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f07f482c

sys-auth/rtkit: update metadata.

Update maintainer e-mail, remove the g-p-m project.

Package-Manager: portage-2.3.0

 sys-auth/rtkit/metadata.xml | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/sys-auth/rtkit/metadata.xml b/sys-auth/rtkit/metadata.xml
index e8c2503..7aca23b 100644
--- a/sys-auth/rtkit/metadata.xml
+++ b/sys-auth/rtkit/metadata.xml
@@ -2,13 +2,9 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   marek.sz...@cern.ch
+   mare...@gentoo.org
Marek Szuba

-   
-   proxy-ma...@gentoo.org
-   Gentoo Proxy Maintainers Project
-   

RealtimeKit is a DBus service that provides applications with an 
interface
to escalate their priority to realtime, without any special setup in



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2016-05-27 Thread Amy Winston
commit: 7a6ae04b72cb4caec0f84de538fe261fcb000aba
Author: Marek Szuba  cern  ch>
AuthorDate: Fri May 27 09:44:01 2016 +
Commit: Amy Winston  gentoo  org>
CommitDate: Fri May 27 10:02:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6ae04b

sys-auth/rtkit: fix compile-time dependencies

Due to a typo, rtkit ebuilds never actually included RDEPEND into their
compile-dependencies. This could lead to build failures for some users.
Fix the typo.

Moreover, app-arch/xz-utils are (now) in the system set so no need to
explicitly depend on this package.

Package-Manager: portage-2.3.0_rc1

 sys-auth/rtkit/rtkit-0.11-r1.ebuild | 6 ++
 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 4 +---
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r1.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r1.ebuild
index b75139a..c7a2f53 100644
--- a/sys-auth/rtkit/rtkit-0.11-r1.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -19,9 +19,7 @@ RDEPEND="
sys-auth/polkit
sys-libs/libcap
 "
-DEPEND="${DEPEND}
-   app-arch/xz-utils
-"
+DEPEND="${RDEPEND}"
 
 pkg_setup() {
enewgroup rtkit

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index 05f9d6b..a61fb9f 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -19,9 +19,7 @@ RDEPEND="
sys-auth/polkit
sys-libs/libcap
 "
-DEPEND="${DEPEND}
-   app-arch/xz-utils
-"
+DEPEND="${RDEPEND}"
 
 PATCHES=(
# Fedora patches



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2016-05-25 Thread Ian Delaney
commit: 47b7a735bbb41b0e3a0e9c38161ea4536687c5dc
Author: Marek Szuba  cern  ch>
AuthorDate: Tue May 24 08:44:55 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Wed May 25 09:04:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47b7a735

sys-auth/rtkit: change maintainer order

Put the actual proxied maintainer before the P-M project to simplify
the assignment of bugs. Also, remove the no longer needed description.

Package-Manager: portage-2.3.0_rc1
Closes: https://github.com/gentoo/gentoo/pull/1528

Signed-off-by: Ian Delaney  gentoo.org>

 sys-auth/rtkit/metadata.xml | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/sys-auth/rtkit/metadata.xml b/sys-auth/rtkit/metadata.xml
index f7e9d58..e8c2503 100644
--- a/sys-auth/rtkit/metadata.xml
+++ b/sys-auth/rtkit/metadata.xml
@@ -1,14 +1,13 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   proxy-ma...@gentoo.org
-   Gentoo Proxy Maintainers Project
-   

marek.sz...@cern.ch
Marek Szuba
-   Proxied maintainer; set to assignee in all 
bugs
+   
+   
+   proxy-ma...@gentoo.org
+   Gentoo Proxy Maintainers Project


RealtimeKit is a DBus service that provides applications with an 
interface



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2016-03-30 Thread Lars Wendler
commit: df713e7bd02efb1ceef23a6519772bdbc368b197
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Mar 30 20:22:03 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Mar 30 20:22:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df713e7b

sys-auth/rtkit: Fixed incomplete EAPI-6 conversion.

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 17 +++--
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index baed267..05f9d6b 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -23,6 +23,13 @@ DEPEND="${DEPEND}
app-arch/xz-utils
 "
 
+PATCHES=(
+   # Fedora patches
+   "${FILESDIR}/${P}-polkit.patch"
+   "${FILESDIR}/${P}-gettime.patch"
+   "${FILESDIR}/${P}-controlgroup.patch"
+)
+
 pkg_pretend() {
if use kernel_linux; then
CONFIG_CHECK="~!RT_GROUP_SCHED"
@@ -39,15 +46,13 @@ pkg_setup() {
 }
 
 src_prepare() {
-   # Fedora patches
-   epatch "${FILESDIR}"/${P}-polkit.patch
-   epatch "${FILESDIR}"/${P}-gettime.patch
-   epatch "${FILESDIR}"/${P}-controlgroup.patch
+   default
eautoreconf
 }
 
 src_configure() {
-   econf $(systemd_with_unitdir)
+   econf \
+   --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2016-03-30 Thread Ian Delaney
commit: f734452342150e6f219f6e8ca8474f6f9c602b13
Author: Ian Delaney  gentoo  org>
AuthorDate: Wed Mar 30 15:53:49 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Wed Mar 30 15:54:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7344523

sys-auth/rtkit: set actual name / email address in metadata

Package-Manager: portage-2.2.28

 sys-auth/rtkit/metadata.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/rtkit/metadata.xml b/sys-auth/rtkit/metadata.xml
index 219dbab..f7e9d58 100644
--- a/sys-auth/rtkit/metadata.xml
+++ b/sys-auth/rtkit/metadata.xml
@@ -6,8 +6,8 @@
Gentoo Proxy Maintainers Project


-   aut...@somedomain.com
-   A. U. Thor
+   marek.sz...@cern.ch
+   Marek Szuba
Proxied maintainer; set to assignee in all 
bugs





[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2016-03-30 Thread Ian Delaney
commit: d91cd9c107611aafdd019bb02781f50342b3fa83
Author: Ian Delaney  gentoo  org>
AuthorDate: Wed Mar 30 15:31:23 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Wed Mar 30 15:46:53 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d91cd9c1

sys-auth/rtkit: add proxy user Marek Szuba and g-p-m to metadata.xml

User given proxy maintainership of the package by request initially via email
via the project's alias. Follow up contact made via irc. Support to be provided
by the proxy maintainers project, added to metadata.

Package-Manager: portage-2.2.28

 sys-auth/rtkit/metadata.xml | 20 ++--
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/sys-auth/rtkit/metadata.xml b/sys-auth/rtkit/metadata.xml
index 1fb6a7c..219dbab 100644
--- a/sys-auth/rtkit/metadata.xml
+++ b/sys-auth/rtkit/metadata.xml
@@ -1,10 +1,18 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-  
- RealtimeKit is a DBus service that provides applications with an 
interface
- to escalate their priority to realtime, without any special setup in
- rlimits, etc.
-  
+   
+   proxy-ma...@gentoo.org
+   Gentoo Proxy Maintainers Project
+   
+   
+   aut...@somedomain.com
+   A. U. Thor
+   Proxied maintainer; set to assignee in all 
bugs
+   
+   
+   RealtimeKit is a DBus service that provides applications with an 
interface
+   to escalate their priority to realtime, without any special setup in
+   rlimits, etc.
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/

2016-03-30 Thread Ian Delaney
commit: 9801ab39cd246510f2bd167021d6f6517dfdce91
Author: Ian Delaney  gentoo  org>
AuthorDate: Wed Mar 30 15:46:20 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Wed Mar 30 15:46:53 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9801ab39

sys-auth/rtkit: revbump to vn. 0.11-r2 required to effect all changes

inherits eclass linux-info, bump to EAPI 6, phase pkg_pretend added to offer
to users kernel configuration options. Patch supplied by the proxy maintainer 
via

Gentoo-bug #569546

Package-Manager: portage-2.2.28

 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 59 +
 1 file changed, 59 insertions(+)

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
new file mode 100644
index 000..baed267
--- /dev/null
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils systemd user autotools linux-info
+
+DESCRIPTION="Realtime Policy and Watchdog Daemon"
+HOMEPAGE="http://0pointer.de/blog/projects/rtkit;
+SRC_URI="http://0pointer.de/public/${P}.tar.xz;
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE=""
+
+RDEPEND="
+   sys-apps/dbus
+   sys-auth/polkit
+   sys-libs/libcap
+"
+DEPEND="${DEPEND}
+   app-arch/xz-utils
+"
+
+pkg_pretend() {
+   if use kernel_linux; then
+   CONFIG_CHECK="~!RT_GROUP_SCHED"
+   ERROR_RT_GROUP_SCHED="CONFIG_RT_GROUP_SCHED is enabled. 
rtkit-daemon (or any other "
+   ERROR_RT_GROUP_SCHED+="real-time task) will not work unless run 
as root. Please consider "
+   ERROR_RT_GROUP_SCHED+="unsetting this option."
+   check_extra_config
+   fi
+}
+
+pkg_setup() {
+   enewgroup rtkit
+   enewuser rtkit -1 -1 -1 "rtkit"
+}
+
+src_prepare() {
+   # Fedora patches
+   epatch "${FILESDIR}"/${P}-polkit.patch
+   epatch "${FILESDIR}"/${P}-gettime.patch
+   epatch "${FILESDIR}"/${P}-controlgroup.patch
+   eautoreconf
+}
+
+src_configure() {
+   econf $(systemd_with_unitdir)
+}
+
+src_install() {
+   default
+
+   ./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
+   insinto /usr/share/dbus-1/interfaces
+   doins org.freedesktop.RealtimeKit1.xml
+}