From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 09880158020 for ; Sat, 15 Oct 2022 20:07:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B45B6E08F1; Sat, 15 Oct 2022 20:07:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 99085E08F1 for ; Sat, 15 Oct 2022 20:07:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4ADE341005 for ; Sat, 15 Oct 2022 20:07:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 408F0625 for ; Sat, 15 Oct 2022 20:07:22 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1665864406.421bfb8a74b3b56e5c13cc0d4539bac9df51eb3a.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/noexec/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/noexec/noexec-1.1.0-r1.ebuild sys-apps/noexec/noexec-1.1.0-r2.ebuild X-VCS-Directories: sys-apps/noexec/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 421bfb8a74b3b56e5c13cc0d4539bac9df51eb3a X-VCS-Branch: master Date: Sat, 15 Oct 2022 20:07:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cd360fe5-852e-48bc-baa5-b9cf6f205eb5 X-Archives-Hash: 4716740fa74a50d07bc610634b7eddfd commit: 421bfb8a74b3b56e5c13cc0d4539bac9df51eb3a Author: Ionen Wolkens gentoo org> AuthorDate: Sat Oct 15 18:18:54 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sat Oct 15 20:06:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=421bfb8a sys-apps/noexec: EAPI6->8, fix runtime, run eautoreconf for clang16 wrt runtime, lacked $(get_libdir): ld.so: object '/usr/lib/libnoexec.so' from LD_PRELOAD cannot be preloaded (no bug, assume nobody actually use this) Don't think the glibc dependency makes sense, but given LD_PRELOAD tricks I would rather leave alone without inspecting and trying musl. Also GPL-2 -> GPL-2+, put glibc in RDEPEND too fwiw, and remove .la. Closes: https://bugs.gentoo.org/851816 Closes: https://bugs.gentoo.org/874426 Signed-off-by: Ionen Wolkens gentoo.org> sys-apps/noexec/noexec-1.1.0-r1.ebuild | 14 -------------- sys-apps/noexec/noexec-1.1.0-r2.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 14 deletions(-) diff --git a/sys-apps/noexec/noexec-1.1.0-r1.ebuild b/sys-apps/noexec/noexec-1.1.0-r1.ebuild deleted file mode 100644 index 5e25d33d7981..000000000000 --- a/sys-apps/noexec/noexec-1.1.0-r1.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="a package for preventing processes from using exec system calls" -HOMEPAGE="http://noexec.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" - -DEPEND="sys-libs/glibc" diff --git a/sys-apps/noexec/noexec-1.1.0-r2.ebuild b/sys-apps/noexec/noexec-1.1.0-r2.ebuild new file mode 100644 index 000000000000..ab5153da8055 --- /dev/null +++ b/sys-apps/noexec/noexec-1.1.0-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Package for preventing processes from using exec system calls" +HOMEPAGE="https://noexec.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +RDEPEND="sys-libs/glibc" +DEPEND="${RDEPEND}" + +src_prepare() { + default + + sed -e "/^#define PRELOAD_LIBRARY_PATH/s|/usr/lib|${EPREFIX}/usr/$(get_libdir)|" \ + -i src/noexec_macro.h || die + + eautoreconf #874426 +} + +src_install() { + default + + find "${ED}" -type f -name '*.la' -delete || die +}