From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libfaketime/
Date: Thu, 25 Aug 2022 03:47:36 +0000 (UTC) [thread overview]
Message-ID: <1661399158.4c6266fb95f70f22164bc5030134a9cf11b3c9bf.sam@gentoo> (raw)
commit: 4c6266fb95f70f22164bc5030134a9cf11b3c9bf
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 25 03:44:37 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 25 03:45:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6266fb
sys-libs/libfaketime: add 0.9.10
Dropping workaround b/c of upstream changes [0][1]
[0] https://github.com/wolfcw/libfaketime/commit/40edcc7ca087a8118fe5a2d27152617fa233e0e2
[1] https://github.com/wolfcw/libfaketime/commit/0e61d3d1917f530b5e3f66db2ed5dd6acd20e798
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-libs/libfaketime/Manifest | 1 +
sys-libs/libfaketime/libfaketime-0.9.10.ebuild | 64 ++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/sys-libs/libfaketime/Manifest b/sys-libs/libfaketime/Manifest
index ab71085c4be9..1e76f97098bb 100644
--- a/sys-libs/libfaketime/Manifest
+++ b/sys-libs/libfaketime/Manifest
@@ -1,2 +1,3 @@
+DIST libfaketime-0.9.10.tar.gz 88908 BLAKE2B 0faa7b1fd0ef7fe99bb586bb4e68e8172f799a2cdca680c75b08145d84f3602ab10b84853589df19398e92fa5f248190624e5585b156c06e99cec7bc332925ab SHA512 07c431bee21e31343b680d1322dd529ea276e3cc4dbec61646c12bf5d0263163faf6186efeb36b199e24b655578a493c43e3b7a7acf8eba8b9ff84a1e94d618b
DIST libfaketime-0.9.6.tar.gz 53540 BLAKE2B 5559e683d9d513fe60fe4b7f22a2ee794bccd8b1fe2a58735876fb9a0f05e1157d20485cfc2f0bcefa0b1f642f3b981de00471a36998867b0024dd8ac5a77466 SHA512 22cd796d4c6f7b327c664895df5b93b72a7243d886bf5241f932cc23fd54049c5fb6a8351078d036d78d12cb6f530ff66b98ef75df6eba5339ebfef1e7561225
DIST libfaketime-0.9.9.tar.gz 78610 BLAKE2B 863e3aaf5f26a7b4d6104bdf5dd8fc0ac70547770d01cad302e476a7eeee63f0900ddc825aa75f6db7be08155d7ceb05f3b730fffb9e4928147fbdc097ee0df8 SHA512 b1aecf456753ccf771f0f80c92d57ffcd2c8349dde93a575862b4570a06812d4bce104f2efbcfd627a85a80fed99dbc37cb156dda0389892bfb4e71df816191f
diff --git a/sys-libs/libfaketime/libfaketime-0.9.10.ebuild b/sys-libs/libfaketime/libfaketime-0.9.10.ebuild
new file mode 100644
index 000000000000..246a168f4a5a
--- /dev/null
+++ b/sys-libs/libfaketime/libfaketime-0.9.10.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs multilib-minimal
+
+DESCRIPTION="Report faked system time to programs"
+HOMEPAGE="http://www.code-wizards.com/projects/libfaketime/ https://github.com/wolfcw/libfaketime"
+SRC_URI="https://github.com/wolfcw/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+src_prepare() {
+ default
+
+ sed -i -e 's/-Werror //' {src,test}/Makefile || die
+
+ # Bug #617624 (GCC-6 compatibility)
+ sed -i 's/-Wno-nonnull-compare //' src/Makefile || die
+
+ # We used to always set this, but see:
+ # 1. https://github.com/wolfcw/libfaketime/commit/40edcc7ca087a8118fe5a2d27152617fa233e0e2
+ # i.e. we should report cases which end up needing it, rather than always setting it.
+ #
+ # 2. As of 0.9.10, libfaketime tries to detect at runtime if it's needed.
+ #append-cflags -DFORCE_MONOTONIC_FIX
+
+ # bug #844958
+ use riscv && append-cflags -DFORCE_PTHREAD_NONVER
+
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
+ local target=all
+
+ pushd src > /dev/null || die
+ multilib_is_native_abi || target="${PN}.so.1 ${PN}MT.so.1"
+ # ${target} is intentionally not quoted
+ emake CC="$(tc-getCC)" LIBDIRNAME="/$(get_libdir)" PREFIX=/usr ${target}
+ popd > /dev/null || die
+}
+
+multilib_src_test() {
+ multilib_is_native_abi && emake CC="$(tc-getCC)" test
+}
+
+multilib_src_install() {
+ multilib_is_native_abi && dobin src/faketime
+
+ exeinto /usr/$(get_libdir)
+ doexe src/${PN}*.so.*
+
+ dosym ${PN}.so.1 /usr/$(get_libdir)/${PN}.so
+ dosym ${PN}MT.so.1 /usr/$(get_libdir)/${PN}MT.so
+}
+
+multilib_src_install_all() {
+ doman man/faketime.1
+ dodoc NEWS README TODO
+}
next reply other threads:[~2022-08-25 3:47 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-25 3:47 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-03 22:08 [gentoo-commits] repo/gentoo:master commit in: sys-libs/libfaketime/ Sam James
2024-03-03 21:44 Andreas K. Hüttel
2024-03-03 21:44 Andreas K. Hüttel
2023-11-24 9:31 Sam James
2023-03-04 8:18 Arthur Zamarin
2023-03-04 7:47 Arthur Zamarin
2023-03-04 7:28 Arthur Zamarin
2023-03-04 6:29 Arthur Zamarin
2023-03-04 5:49 Arthur Zamarin
2022-08-25 3:50 Sam James
2022-08-25 3:47 Sam James
2022-05-19 9:27 Yixun Lan
2022-05-19 9:27 Yixun Lan
2021-04-24 16:26 Thomas Deutschmann
2021-04-24 16:26 Thomas Deutschmann
2021-03-01 18:06 Thomas Deutschmann
2021-03-01 18:06 Thomas Deutschmann
2020-06-13 21:09 Matt Turner
2020-05-08 9:36 Sergei Trofimovich
2020-05-03 10:25 Agostino Sarubbo
2020-04-04 10:52 Sergei Trofimovich
2020-03-29 21:21 Sergei Trofimovich
2020-03-28 23:40 Sergei Trofimovich
2020-03-16 20:09 Matt Turner
2020-03-03 0:03 Thomas Deutschmann
2020-03-03 0:03 Thomas Deutschmann
2020-03-03 0:03 Thomas Deutschmann
2020-03-03 0:03 Thomas Deutschmann
2018-06-03 8:00 Mart Raudsepp
2018-03-28 5:05 Markus Meier
2017-11-23 20:48 Thomas Deutschmann
2017-10-01 19:38 Sergei Trofimovich
2017-08-12 19:11 Thomas Deutschmann
2017-05-18 19:16 Thomas Deutschmann
2017-05-07 7:06 Thomas Deutschmann
2016-12-05 16:26 Mike Frysinger
2016-09-25 19:57 Jeroen Roovers
2016-09-14 20:20 Thomas Deutschmann
2016-05-19 9:42 Jeroen Roovers
2016-03-15 17:28 Markus Meier
2015-09-15 0:41 Tim Harder
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=1661399158.4c6266fb95f70f22164bc5030134a9cf11b3c9bf.sam@gentoo \
--to=sam@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