public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libfaketime/
Date: Thu, 23 Nov 2017 20:48:50 +0000 (UTC)	[thread overview]
Message-ID: <1511470103.f98c14ccece43d8a550866533228abecdaa6220c.whissi@gentoo> (raw)

commit:     f98c14ccece43d8a550866533228abecdaa6220c
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 23 20:42:36 2017 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Nov 23 20:48:23 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f98c14cc

sys-libs/libfaketime: Bump to v0.9.7

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-libs/libfaketime/Manifest                 |  3 +-
 sys-libs/libfaketime/libfaketime-0.9.7.ebuild | 52 +++++++++++++++++++++++++++
 2 files changed, 54 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libfaketime/Manifest b/sys-libs/libfaketime/Manifest
index bd010b43a42..1c293bb1a9c 100644
--- a/sys-libs/libfaketime/Manifest
+++ b/sys-libs/libfaketime/Manifest
@@ -1 +1,2 @@
-DIST libfaketime-0.9.6.tar.gz 51333 SHA256 3a89972708e262ae3a548655a04f197b48e9c82ac2b61acaeb1c47b135a682b7 SHA512 ab2e9c53f4ca2b9dcd2bbcd8de3ab9e27be57547ed9b52a17f07a6fe880fd3a283a6f10018736be2a6ba4e150f54e92161959ccb887be1f78ddfc96058729860 WHIRLPOOL 1a2dcc549286bb9d4e8a576ee8ea44b8508e6b40c581560099cf3351464470ef3b01e0ea8667e9d4973f5f8d35d3eeea68bd258f9ffc2fb0f424e128ba446a6d
+DIST libfaketime-0.9.6.tar.gz 51333 BLAKE2B b9aab3da744e250f43eca4f837322932c3260d35550171d34da851740a415bf3d2c3bfe02cdf37782058d8524008743838757ed8326384ecb36d0d9839cadd1a SHA512 ab2e9c53f4ca2b9dcd2bbcd8de3ab9e27be57547ed9b52a17f07a6fe880fd3a283a6f10018736be2a6ba4e150f54e92161959ccb887be1f78ddfc96058729860
+DIST libfaketime-0.9.7.tar.gz 56277 BLAKE2B 62e10c4b3c33c203cde023cbc4e114c2ee1ad87298b1840bb2f7ea3610fdfd81c12a60c1c00a44409ca322e96408427fcad32f202737b75d28c5d69b85b579d6 SHA512 593e14e96dc0a49f65e93d25b7aace6e78fd2b4251f692c14bd6c6a2ac6360d997573aeac9005388bc49276078075c23a39fdaee912c2469acb8014127625537

diff --git a/sys-libs/libfaketime/libfaketime-0.9.7.ebuild b/sys-libs/libfaketime/libfaketime-0.9.7.ebuild
new file mode 100644
index 00000000000..16245df161c
--- /dev/null
+++ b/sys-libs/libfaketime/libfaketime-0.9.7.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit 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="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
+
+src_prepare() {
+	sed -i 's/-Werror //' "${S}/src/Makefile" || die
+
+	# Bug #617624 (GCC-6 compatibility)
+	sed -i 's/-Wno-nonnull-compare //' "${S}/src/Makefile" || die
+
+	eapply_user
+
+	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 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
+}


             reply	other threads:[~2017-11-23 20:48 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-23 20:48 Thomas Deutschmann [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-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-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=1511470103.f98c14ccece43d8a550866533228abecdaa6220c.whissi@gentoo \
    --to=whissi@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