commit: b0aea62020ed768458e0c61d0e3bc96dd5585005 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Feb 23 01:12:41 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Feb 23 01:32:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0aea620
app-shells/rush: add 2.4 Signed-off-by: Sam James <sam <AT> gentoo.org> app-shells/rush/Manifest | 1 + app-shells/rush/rush-2.4.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/app-shells/rush/Manifest b/app-shells/rush/Manifest index 9b62b830d73f..a555b1e5b183 100644 --- a/app-shells/rush/Manifest +++ b/app-shells/rush/Manifest @@ -1 +1,2 @@ DIST rush-2.3.tar.xz 814844 BLAKE2B 90e91165814def09dd7c795601529df96dac3fbeee06bcbc232fcb59741f455a7916092d7f1794fa4f85ba707534683772c508fc6b75318d6cd7c68c9880b972 SHA512 d563219f89b23f50fc30143336e0f602d4b585a07110ed6bb194600c92756ade4b4e90b098998c2de0003418c1f0e9a7879d847d543e534b4f8253c7add50db9 +DIST rush-2.4.tar.xz 925060 BLAKE2B 4df318c6ef1d06e56c90fb2e8845f3243732c7978227ad76790b7365168b361a6432b7db0d8aeeb7786ef91e1435778487a2ad52c95781a5b7aa78e73c1236d5 SHA512 d4da2a17971dc5a617a0845d5100f29313300e55ee9ed130ac5c154d420c97dcb11fe62e57f486b9be088285251ea10edeb5461e8aaf3351465a95fd18bf8133 diff --git a/app-shells/rush/rush-2.4.ebuild b/app-shells/rush/rush-2.4.ebuild new file mode 100644 index 000000000000..400776c0f35f --- /dev/null +++ b/app-shells/rush/rush-2.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Restricted User Shell" +HOMEPAGE="https://puszcza.gnu.org.ua/projects/rush/" +SRC_URI="https://download.gnu.org.ua/pub/release/${PN}/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +BDEPEND="nls? ( sys-devel/gettext )" + +src_prepare() { + default + + # These tests see SANDBOX_* variables and fail as a result, bug #689554 + for file in tests/{eval,clr,unset,keep,set}env.at tests/legacy/env.at ; do + echo > ${file} || die + done +} + +src_configure() { + local myeconfargs=( + $(use_enable nls) + ) + + econf "${myeconfargs[@]}" +}
