From: "Stephan Hartmann" <sultan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/ksh/
Date: Fri, 17 Dec 2021 15:28:38 +0000 (UTC) [thread overview]
Message-ID: <1639754901.c0f04fa2a8b583d5832462cfc9e502a888af356b.sultan@gentoo> (raw)
commit: c0f04fa2a8b583d5832462cfc9e502a888af356b
Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 17 15:28:16 2021 +0000
Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
CommitDate: Fri Dec 17 15:28:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0f04fa2
app-shells/ksh: bump to 1.0.0_beta2
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
app-shells/ksh/Manifest | 1 +
app-shells/ksh/ksh-1.0.0_beta2.ebuild | 71 +++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
diff --git a/app-shells/ksh/Manifest b/app-shells/ksh/Manifest
index cfd1ee45c7c6..24f0f4e14531 100644
--- a/app-shells/ksh/Manifest
+++ b/app-shells/ksh/Manifest
@@ -1,2 +1,3 @@
DIST ksh-2020.0.0.tar.gz 2022880 BLAKE2B cb952c4febe88a3ccf8fd48f511a30a73bfc812ebf0b7a5fe799470b29ee13ca61004fd34e367d836940a88214da2aa05b7cb96f173a1b8d57c8e644c8c3a2a6 SHA512 7d6da3af341a62718d691ddc52e10bdf3b7290d74f1cd01610093c587af47b6d6d04b74b210eb31f93a3559855a5bc5155f9b188d2f8bb4444042c26bfaf1792
DIST ksh-v1.0.0-beta.1.tar.gz 2376823 BLAKE2B 0c985bd17bd0a6301205cffa703536c99322b99953e86b8e8266616f70c7d8cab01801f55c5ba2964628cef8c05878f4e721be39987c418b35859952d3a07719 SHA512 968d7c1aef38f0a29f3a32d0aba7bd5138b70d96486443d5b13c4830907aa7344fb7599ca153a55116758413640ba84ec9e6be19a6f0941814f2515a3961b312
+DIST ksh-v1.0.0-beta.2.tar.gz 2238224 BLAKE2B b4eb8e116d0dd8fda498fb8d2805613a73291be628ce87ebc1c47c9bc8c49b236b285accaf35b4c9e411df23b99c6a949b672edeea1f1f317fc85a2b4db48779 SHA512 c2cd5a4b442bcff1dd2c1c054ee79c4cb131dce28d811dcd3476164d6cb7e88e6b317a094b16f227564a1266708ef0cfeca2af0929c00a19497cf1b67c647cf2
diff --git a/app-shells/ksh/ksh-1.0.0_beta2.ebuild b/app-shells/ksh/ksh-1.0.0_beta2.ebuild
new file mode 100644
index 000000000000..f9a81e836268
--- /dev/null
+++ b/app-shells/ksh/ksh-1.0.0_beta2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="The Original ATT Korn Shell"
+HOMEPAGE="http://www.kornshell.com/"
+
+MY_PV=$(ver_rs 3 - 4 .)
+SRC_URI="https://github.com/ksh93/${PN}/archive/v${MY_PV}/ksh-v${MY_PV}.tar.gz"
+
+LICENSE="EPL-1.0"
+SLOT="0"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+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"
+ "-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
+}
next reply other threads:[~2021-12-17 15:28 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-17 15:28 Stephan Hartmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-26 2:04 [gentoo-commits] repo/gentoo:master commit in: app-shells/ksh/ Sam James
2025-04-26 2:04 Sam James
2025-04-26 1:24 Sam James
2025-04-26 1:17 Sam James
2024-08-11 11:29 Sam James
2024-07-03 5:38 Joonas Niilola
2024-07-03 2:33 Sam James
2024-07-03 2:10 Sam James
2024-07-03 2:10 Sam James
2024-07-03 2:10 Sam James
2024-07-03 0:54 Sam James
2024-07-03 0:54 Sam James
2024-01-09 2:40 Sam James
2024-01-09 1:02 Sam James
2023-09-18 9:50 Sam James
2022-12-27 19:53 Sam James
2022-12-27 19:45 Sam James
2022-12-27 13:40 Sam James
2022-12-27 11:31 Sam James
2022-12-02 18:44 WANG Xuerui
2022-11-23 0:27 Georgy Yakovlev
2022-11-23 0:27 Georgy Yakovlev
2022-09-19 6:27 Georgy Yakovlev
2022-09-16 20:57 Georgy Yakovlev
2022-09-16 20:57 Georgy Yakovlev
2022-09-16 20:57 Georgy Yakovlev
2022-02-16 7:01 Matt Turner
2021-12-27 20:08 Arthur Zamarin
2021-12-21 11:03 James Le Cuirot
2021-12-18 3:08 Georgy Yakovlev
2021-12-18 2:10 Sam James
2021-12-15 16:53 Mike Gilbert
2021-12-15 15:48 Arthur Zamarin
2021-12-15 8:23 Arthur Zamarin
2021-12-15 7:57 Arthur Zamarin
2021-12-15 7:13 Georgy Yakovlev
2021-12-15 7:07 Georgy Yakovlev
2021-12-15 6:55 Georgy Yakovlev
2021-12-15 6:45 Georgy Yakovlev
2021-12-15 6:45 Georgy Yakovlev
2021-12-15 6:45 Georgy Yakovlev
2021-12-15 6:45 Georgy Yakovlev
2021-12-15 5:32 Georgy Yakovlev
2021-12-15 5:32 Georgy Yakovlev
2021-12-15 5:32 Georgy Yakovlev
2021-09-05 19:01 Mike Gilbert
2020-12-01 16:13 Mike Gilbert
2019-12-11 20:39 Mike Gilbert
2019-09-17 2:19 Mike Gilbert
2019-09-01 16:24 Mike Gilbert
2019-09-01 14:32 Mike Gilbert
2019-05-28 4:01 Mike Gilbert
2019-05-04 16:03 Mike Gilbert
2019-05-04 16:03 Mike Gilbert
2018-04-01 20:10 Mike Gilbert
2018-02-15 17:20 Mike Gilbert
2018-02-14 20:07 Mike Gilbert
2018-01-29 23:10 Mike Gilbert
2017-01-02 8:00 Justin Lecher
2016-12-30 11:12 Agostino Sarubbo
2016-12-30 9:39 Agostino Sarubbo
2016-09-05 0:33 Mike Gilbert
2016-05-31 15:05 Tobias Klausmann
2016-05-13 8:41 Agostino Sarubbo
2016-04-26 17:35 Markus Meier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1639754901.c0f04fa2a8b583d5832462cfc9e502a888af356b.sultan@gentoo \
--to=sultan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox