commit: b19aef227efe1602ffe9e1586504000934b84194 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sun Jun 23 06:18:27 2024 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sun Jun 23 06:18:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b19aef22
sys-apps/paxctld: EAPI 6 -> 8 Closes: https://bugs.gentoo.org/829703 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> ...axctld-1.2.5.ebuild => paxctld-1.2.5-r1.ebuild} | 30 +++++++++------------- 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/sys-apps/paxctld/paxctld-1.2.5.ebuild b/sys-apps/paxctld/paxctld-1.2.5-r1.ebuild similarity index 55% rename from sys-apps/paxctld/paxctld-1.2.5.ebuild rename to sys-apps/paxctld/paxctld-1.2.5-r1.ebuild index c4650263e8b3..cba38e8e2631 100644 --- a/sys-apps/paxctld/paxctld-1.2.5.ebuild +++ b/sys-apps/paxctld/paxctld-1.2.5-r1.ebuild @@ -1,37 +1,31 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 -inherit systemd +inherit systemd toolchain-funcs DESCRIPTION="PaX flags maintenance daemon" HOMEPAGE="https://www.grsecurity.net/" -SRC_URI="https://www.grsecurity.net/${PN}/${PN}_${PV}.orig.tar.gz - https://dev.gentoo.org/~blueness/hardened-sources/${PN}/${PN}_${PV}.orig.tar.gz" +SRC_URI="https://www.grsecurity.net/${PN}/${PN}_${PV}.orig.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="pam" - -RDEPEND="" -DEPEND="" src_prepare() { # Respect Gentoo flags and don't strip - sed -i \ - -e '/^CC/d' \ - -e '/^CFLAGS/d' \ - -e '/^LDFLAGS/d' \ - -e '/STRIP/d' \ - Makefile - - eapply_user + sed -i Makefile -e '/^CC=/d' -e '/^CFLAGS?=/d' -e '/^LDFLAGS=/d' -e '/STRIP/d' || die + + default +} + +src_compile() { + emake CC="$(tc-getCC)" } src_install() { default - systemd_dounit "${S}"/rpm/${PN}.service + systemd_dounit rpm/${PN}.service }
