From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libfaketime/
Date: Sun, 13 Jul 2025 06:47:38 +0000 (UTC) [thread overview]
Message-ID: <1752388124.23d431920aca514df7e4090689759c9150b1a2e8.sam@gentoo> (raw)
commit: 23d431920aca514df7e4090689759c9150b1a2e8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 13 06:28:44 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 13 06:28:44 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d43192
sys-libs/libfaketime: add 0.9.12
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-libs/libfaketime/Manifest | 1 +
sys-libs/libfaketime/libfaketime-0.9.12.ebuild | 64 ++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/sys-libs/libfaketime/Manifest b/sys-libs/libfaketime/Manifest
index 6ac7316425b6..788d244b38e4 100644
--- a/sys-libs/libfaketime/Manifest
+++ b/sys-libs/libfaketime/Manifest
@@ -1,3 +1,4 @@
DIST libfaketime-0.9.10.tar.gz 88908 BLAKE2B 0faa7b1fd0ef7fe99bb586bb4e68e8172f799a2cdca680c75b08145d84f3602ab10b84853589df19398e92fa5f248190624e5585b156c06e99cec7bc332925ab SHA512 07c431bee21e31343b680d1322dd529ea276e3cc4dbec61646c12bf5d0263163faf6186efeb36b199e24b655578a493c43e3b7a7acf8eba8b9ff84a1e94d618b
DIST libfaketime-0.9.11.tar.gz 93952 BLAKE2B a4340e1d2eeda19c779dc861eeb01b0ea86170414b7e423f8e23916bf002480c791d534433f4b9de2bae4f1589abba6bd9af9bc8ac7650580b7ae0402129d81d SHA512 51c910f76947220c3597435db1f188a556a2ac55218c65019260c17501fa135e3a2cea39c54790a0048da2cf5f5fa3325fe4c649e5ba16d27ef46da615d2cbe8
+DIST libfaketime-0.9.12.tar.gz 94913 BLAKE2B fc7acd0891a93552bc31b581f8d00c01c38c8f667a7233cd9eb8a74d52d8ccaced935678c35e34a84f2b756b1dc9a68d753acb9346678af4087f4b55427f5b81 SHA512 c08325b2acd6a0ea3e3af5443f506714901c0be2be1acff5db9b9234b751f6cf653c69ae3ae86219ecb548e3c514adb8cc392af5cc9e2b354722f9d18bee4750
DIST libfaketime-0.9.6.tar.gz 53540 BLAKE2B 5559e683d9d513fe60fe4b7f22a2ee794bccd8b1fe2a58735876fb9a0f05e1157d20485cfc2f0bcefa0b1f642f3b981de00471a36998867b0024dd8ac5a77466 SHA512 22cd796d4c6f7b327c664895df5b93b72a7243d886bf5241f932cc23fd54049c5fb6a8351078d036d78d12cb6f530ff66b98ef75df6eba5339ebfef1e7561225
diff --git a/sys-libs/libfaketime/libfaketime-0.9.12.ebuild b/sys-libs/libfaketime/libfaketime-0.9.12.ebuild
new file mode 100644
index 000000000000..3422e091fe82
--- /dev/null
+++ b/sys-libs/libfaketime/libfaketime-0.9.12.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2025 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 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+src_prepare() {
+ default
+
+ sed -i -e 's/-Werror //' {src,test}/Makefile || die
+
+ # bug #863911
+ filter-lto
+
+ # 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:[~2025-07-13 6:47 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-13 6:47 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-01 22:42 [gentoo-commits] repo/gentoo:master commit in: sys-libs/libfaketime/ Sam James
2025-09-01 22:42 Sam James
2025-09-01 17:34 Arthur Zamarin
2025-09-01 17:34 Arthur Zamarin
2025-08-30 6:48 Arthur Zamarin
2025-06-20 16:58 Arthur Zamarin
2025-05-26 8:13 Sam James
2025-05-25 15:39 Sam James
2024-03-03 22:08 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-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=1752388124.23d431920aca514df7e4090689759c9150b1a2e8.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