From 8435c842b9e8fbb2bcc80397ab3aa655000459e2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Jul 2024 08:05:42 +0100 Subject: gentoo auto-resync : 03:07:2024 - 08:05:42 --- app-shells/ksh/Manifest | 8 ++--- app-shells/ksh/ksh-1.0.3.ebuild | 76 ----------------------------------------- app-shells/ksh/ksh-1.0.8.ebuild | 2 +- app-shells/ksh/ksh-1.0.9.ebuild | 68 ++++++++++++++++++++++++++++++++++++ app-shells/ksh/ksh-9999.ebuild | 7 ---- 5 files changed, 73 insertions(+), 88 deletions(-) delete mode 100644 app-shells/ksh/ksh-1.0.3.ebuild create mode 100644 app-shells/ksh/ksh-1.0.9.ebuild (limited to 'app-shells/ksh') diff --git a/app-shells/ksh/Manifest b/app-shells/ksh/Manifest index ed64f8bdda1c..453a1b4931ec 100644 --- a/app-shells/ksh/Manifest +++ b/app-shells/ksh/Manifest @@ -1,8 +1,8 @@ -DIST ksh-v1.0.3.tar.gz 2110771 BLAKE2B 4316c78f7889fb2e4630a83dd0f1c5c4c4b418a822e8f7d3d9415a83bbef6e993cbd21b4842c7f56cd8647305c4bdddc04562b8788f2ee6e14698a9cb090f386 SHA512 9d6e664bc6c8d102ba09e692d057b9546b07ba3ecb060449df6648e7c99f8dfd670401e6fcf34f6f3de13338a3c31c09596344931ccfdf4cd4e49eabdf005c23 DIST ksh-v1.0.4.tar.gz 2127036 BLAKE2B c3bd7f8d8c86e8bf4f7482c99890f025365334b7ab826261b03f9a2f6bf72b4112ba0cec09c7d5388cbba4541a4e99a24e3b95a98e386b941a39f549c5c21525 SHA512 ca6ff4625a48a991d07a34c8d28656c131124e6cccbb495d8fbc2922db9f94a83c1df2be17a7fa7aa39ce5b9243573b0b806eef87d11c5a2936e7af564d2f5e6 DIST ksh-v1.0.8.tar.gz 2114262 BLAKE2B cf900c4dbdc750a6c4ff6906ab32b24722da3dbb84363517e4d7345c0bc591c346aa82fb58de5fd9662f20dd855deb6f1720002b7d91118ef8497e9f45412148 SHA512 4284ab98f6055877c0715a8b224eb5a75dc7fa022f38c9ee30d50786e997f70b507ee452fc8bbdfa67649a26e0fdfc8051f7e54ff9f6a0f96e44498757080548 -EBUILD ksh-1.0.3.ebuild 1646 BLAKE2B 4d78b22a8600e0e910f6edc172307e26194b48bd7be4389506ca2d14454df615ddcb14720d8b17aeb8cc224fe75edc22a971b100204ae93700a1e72963f8b6df SHA512 804f7b355fd6d7365a97499c4856d6a7c03fca45c13f0c7f589e325ae28c544a7b798fb1c4e7eed9f13b8dfc640d258fff2c4b02a818425c8666f5d28623bf09 +DIST ksh-v1.0.9.tar.gz 2084378 BLAKE2B 9cb827003f00261df74e19c6b9dad5f25fba401bc9dabeb300b90b7f3e9e9c37d096e5e24dec7c2ac60b195008d69c9fc682b32b376f7c03cbf9c56779431958 SHA512 747a9b624ee898c84cf37958add17eee6ee8fcb6112701430f0d12d2913b3af22554a98a9836dee6bbbe62adbdb3cbc1d3fb7f2c654f2ce799805d9b1f407683 EBUILD ksh-1.0.4.ebuild 1645 BLAKE2B 313ccf8ae8a54e9ad442a17bca969123a9784bcfa9935d4395d02e1259b5ae6cb70b0f8a8fd0ced0dcc77a595451fbad744369a1b3e8ef7368ae994bf4266caf SHA512 1e9e41e6574f4976e30346d28d376f2f3d5f20e257b5e296f530d3b33813d447d7ac51b8bf2d502083e56c9c4be3f28b3246e2820df363bf7f6a5b4822fc1046 -EBUILD ksh-1.0.8.ebuild 1632 BLAKE2B 912b9fb4281c8584f7dc51dd3316c46fd274c38190a979ae86a45f5eec1a50fc3b2214ecdaddc72964f6ac6e8c24aeae517831624e6b40776837f7f94472ee0c SHA512 08e1b8b4f7821a2fc159daecc95750eca804cb8f7e64f6e9a3d257a98e610d9d43adfbbc5997104afc8db9f0ca216bc9c9d69f02ff7e8cc74583e12f9e1c60ae -EBUILD ksh-9999.ebuild 1632 BLAKE2B 912b9fb4281c8584f7dc51dd3316c46fd274c38190a979ae86a45f5eec1a50fc3b2214ecdaddc72964f6ac6e8c24aeae517831624e6b40776837f7f94472ee0c SHA512 08e1b8b4f7821a2fc159daecc95750eca804cb8f7e64f6e9a3d257a98e610d9d43adfbbc5997104afc8db9f0ca216bc9c9d69f02ff7e8cc74583e12f9e1c60ae +EBUILD ksh-1.0.8.ebuild 1627 BLAKE2B 4f0ef5eea204ac12926b1adedce3f346a2e9a1966de56e5c7666ba79c8419107d43af6a1efe075c097a51f152abafa639116d5cf610084bcea2e6c8ee606a79c SHA512 5f1864d1bac65bf01f754008cc581ae0c8f7c9242cc930af57f604682f6a98021d0fade0375e6837d4e68ade37503240aeb7ad17fe882f4acd0f74dbd0869f36 +EBUILD ksh-1.0.9.ebuild 1504 BLAKE2B 0b67b04c39d112906f8f40f7fd5933ff8149a2643c0e5f4a8bbd3ee7e7ad5cc159fc64d032a37fb8f47b1cb764904f121f6a3230f31b8879fc578239b9fce156 SHA512 1f0a93ed342171f9fd46118169aeda49700fca6e4e199b0c0d3a33eaa894a5bd5d038f6ca995bbac2e769e2164493ae46eff88ec05f88a70c7d70d1bfe2f4d43 +EBUILD ksh-9999.ebuild 1504 BLAKE2B 0b67b04c39d112906f8f40f7fd5933ff8149a2643c0e5f4a8bbd3ee7e7ad5cc159fc64d032a37fb8f47b1cb764904f121f6a3230f31b8879fc578239b9fce156 SHA512 1f0a93ed342171f9fd46118169aeda49700fca6e4e199b0c0d3a33eaa894a5bd5d038f6ca995bbac2e769e2164493ae46eff88ec05f88a70c7d70d1bfe2f4d43 MISC metadata.xml 1295 BLAKE2B 8074154559c78e1bc930b0fe26b0dd72ab4fda99217b776806b53e5959579338a9b2a7e348c9be18756aad9adbc6c16ba754332cab585dcf378e2ace8dcd459f SHA512 afdfd8d7ef407ec4c2626ed17917db4757c035ff004f4eed1034f313ed015c45cd8cf1c9495e7ae776257194cc794f3a7bffc1b5063b3db5b2359023cc6d472e diff --git a/app-shells/ksh/ksh-1.0.3.ebuild b/app-shells/ksh/ksh-1.0.3.ebuild deleted file mode 100644 index dd729029724d..000000000000 --- a/app-shells/ksh/ksh-1.0.3.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ksh93/ksh" -else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - MY_PV=$(ver_rs 3 - 4 .) - SRC_URI="https://github.com/ksh93/${PN}/archive/v${MY_PV}/ksh-v${MY_PV}.tar.gz" - S="${WORKDIR}/${PN}-${MY_PV}" -fi - -DESCRIPTION="The Original ATT Korn Shell" -HOMEPAGE="http://www.kornshell.com/" - -LICENSE="EPL-1.0" -SLOT="0" - -src_prepare() { - default - - # disable register for debugging - sed -i 1i"#define register" src/lib/libast/include/ast.h || die -} - -src_compile() { - local extraflags=( - "-Wno-unknown-pragmas" - "-Wno-missing-braces" - "-Wno-unused-result" - "-Wno-return-type" - "-Wno-int-to-pointer-cast" - "-Wno-parentheses" - "-Wno-unused" - "-Wno-unused-but-set-variable" - "-Wno-cpp" - "-Wno-maybe-uninitialized" - "-Wno-lto-type-mismatch" - "-Wno-error=int-conversion" - "-Wno-int-conversion" - "-P" - ) - append-cflags $(test-flags-CC ${extraflags[@]}) - filter-flags '-fdiagnostics-color=always' # https://github.com/ksh93/ksh/issues/379 - export CCFLAGS="${CFLAGS} -fno-strict-aliasing" - - tc-export AR CC LD NM - - sh bin/package make SHELL="${BROOT}"/bin/sh || die -} - -src_test() { - # test tries to catch IO error - addwrite /proc/self/mem - - # arith.sh uses A for tests - unset A - - sh bin/shtests --compile || die -} - -src_install() { - local myhost="$(sh bin/package host)" - cd "arch/${myhost}" || die - - into / - dobin bin/ksh - dosym ksh /bin/rksh - - newman man/man1/sh.1 ksh.1 -} diff --git a/app-shells/ksh/ksh-1.0.8.ebuild b/app-shells/ksh/ksh-1.0.8.ebuild index c97a769209a6..1d31302e6655 100644 --- a/app-shells/ksh/ksh-1.0.8.ebuild +++ b/app-shells/ksh/ksh-1.0.8.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/ksh93/ksh" else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ~ppc64 ~riscv ~s390 ~sparc x86" MY_PV=$(ver_rs 3 - 4 .) SRC_URI="https://github.com/ksh93/${PN}/archive/v${MY_PV}/ksh-v${MY_PV}.tar.gz" S="${WORKDIR}/${PN}-${MY_PV}" diff --git a/app-shells/ksh/ksh-1.0.9.ebuild b/app-shells/ksh/ksh-1.0.9.ebuild new file mode 100644 index 000000000000..96d8ebd86abd --- /dev/null +++ b/app-shells/ksh/ksh-1.0.9.ebuild @@ -0,0 +1,68 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ksh93/ksh" +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + MY_PV=$(ver_rs 3 - 4 .) + SRC_URI="https://github.com/ksh93/${PN}/archive/v${MY_PV}/ksh-v${MY_PV}.tar.gz" + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +DESCRIPTION="The Original ATT Korn Shell" +HOMEPAGE="http://www.kornshell.com/" + +LICENSE="EPL-1.0" +SLOT="0" + +src_compile() { + local extraflags=( + "-Wno-unknown-pragmas" + "-Wno-missing-braces" + "-Wno-unused-result" + "-Wno-return-type" + "-Wno-int-to-pointer-cast" + "-Wno-parentheses" + "-Wno-unused" + "-Wno-unused-but-set-variable" + "-Wno-cpp" + "-Wno-maybe-uninitialized" + "-P" + ) + append-cflags $(test-flags-CC ${extraflags[@]}) + append-cflags -fno-strict-aliasing + filter-flags '-fdiagnostics-color=always' # https://github.com/ksh93/ksh/issues/379 + filter-lto + + export CCFLAGS="${CFLAGS}" + tc-export AR CC LD NM + + sh bin/package make AR="${AR}" CC="${CC}" NM="${NM}" SHELL="${BROOT}"/bin/sh || die +} + +src_test() { + # test tries to catch IO error + addwrite /proc/self/mem + + # arith.sh uses A for tests + unset A + + sh bin/shtests --compile || die +} + +src_install() { + local myhost="$(sh bin/package host)" + cd "arch/${myhost}" || die + + into / + dobin bin/ksh + dosym ksh /bin/rksh + + newman man/man1/sh.1 ksh.1 +} diff --git a/app-shells/ksh/ksh-9999.ebuild b/app-shells/ksh/ksh-9999.ebuild index c97a769209a6..96d8ebd86abd 100644 --- a/app-shells/ksh/ksh-9999.ebuild +++ b/app-shells/ksh/ksh-9999.ebuild @@ -21,13 +21,6 @@ HOMEPAGE="http://www.kornshell.com/" LICENSE="EPL-1.0" SLOT="0" -src_prepare() { - default - - # disable register for debugging - sed -i 1i"#define register" src/lib/libast/include/ast.h || die -} - src_compile() { local extraflags=( "-Wno-unknown-pragmas" -- cgit v1.2.3