From 099134914860b99bf27462725a571fcb02c576dc Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Sun, 29 Mar 2020 22:42:44 +0100 Subject: [PATCH] sys-auth/rtkit: remove version using non-portable assembly Signed-off-by: Marek Szuba --- .../rtkit/files/rtkit-0.12_noexecstack.patch | 10 ---- sys-auth/rtkit/rtkit-0.12.ebuild | 49 ------------------- 2 files changed, 59 deletions(-) delete mode 100644 sys-auth/rtkit/files/rtkit-0.12_noexecstack.patch delete mode 100644 sys-auth/rtkit/rtkit-0.12.ebuild 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 f156422f8f62..000000000000 --- 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 e37504af1391..000000000000 --- 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) -} -- 2.26.2