Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/, sys-auth/rtkit/files/
Date: Sun, 29 Mar 2020 21:46:03
Message-Id: 1585518164.099134914860b99bf27462725a571fcb02c576dc.marecki@gentoo
1 commit: 099134914860b99bf27462725a571fcb02c576dc
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 29 21:42:44 2020 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 29 21:42:44 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09913491
7
8 sys-auth/rtkit: remove version using non-portable assembly
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 sys-auth/rtkit/files/rtkit-0.12_noexecstack.patch | 10 -----
13 sys-auth/rtkit/rtkit-0.12.ebuild | 49 -----------------------
14 2 files changed, 59 deletions(-)
15
16 diff --git a/sys-auth/rtkit/files/rtkit-0.12_noexecstack.patch b/sys-auth/rtkit/files/rtkit-0.12_noexecstack.patch
17 deleted file mode 100644
18 index f156422f8f6..00000000000
19 --- a/sys-auth/rtkit/files/rtkit-0.12_noexecstack.patch
20 +++ /dev/null
21 @@ -1,10 +0,0 @@
22 ---- a/xml-introspection.S
23 -+++ b/xml-introspection.S
24 -@@ -1,3 +1,7 @@
25 -+#if defined(__linux__) && defined(__ELF__)
26 -+.section .note.GNU-stack,"",%progbits
27 -+#endif
28 -+
29 - .section .rodata
30 - .global introspect_xml
31 - .type introspect_xml, @object
32
33 diff --git a/sys-auth/rtkit/rtkit-0.12.ebuild b/sys-auth/rtkit/rtkit-0.12.ebuild
34 deleted file mode 100644
35 index e37504af139..00000000000
36 --- a/sys-auth/rtkit/rtkit-0.12.ebuild
37 +++ /dev/null
38 @@ -1,49 +0,0 @@
39 -# Copyright 1999-2020 Gentoo Authors
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=7
43 -
44 -inherit autotools linux-info
45 -
46 -DESCRIPTION="Realtime Policy and Watchdog Daemon"
47 -HOMEPAGE="https://0pointer.de/blog/projects/rtkit"
48 -SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz"
49 -
50 -LICENSE="GPL-3 BSD"
51 -SLOT="0"
52 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
53 -IUSE="systemd"
54 -
55 -BDEPEND="virtual/pkgconfig"
56 -DEPEND="acct-group/rtkit
57 - acct-user/rtkit
58 - sys-apps/dbus
59 - sys-auth/polkit
60 - sys-libs/libcap
61 - systemd? ( sys-apps/systemd )"
62 -RDEPEND="${DEPEND}"
63 -
64 -PATCHES=(
65 - "${FILESDIR}"/${PN}-0.12_libsystemd_optional.patch
66 - "${FILESDIR}"/${PN}-0.12_noexecstack.patch
67 -)
68 -
69 -pkg_pretend() {
70 - if use kernel_linux; then
71 - CONFIG_CHECK="~!RT_GROUP_SCHED"
72 - ERROR_RT_GROUP_SCHED="CONFIG_RT_GROUP_SCHED is enabled. rtkit-daemon (or any other "
73 - ERROR_RT_GROUP_SCHED+="real-time task) will not work unless run as root. Please consider "
74 - ERROR_RT_GROUP_SCHED+="unsetting this option."
75 - check_extra_config
76 - fi
77 -}
78 -
79 -src_prepare() {
80 - default
81 - eautoreconf
82 -}
83 -
84 -src_configure() {
85 - econf \
86 - $(use_enable systemd systemd-integration)
87 -}