diff --git a/net-misc/nxfaketime/ChangeLog b/net-misc/nxfaketime/ChangeLog new file mode 100644 index 00000000..3f7cb1f4 --- /dev/null +++ b/net-misc/nxfaketime/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-misc/nxfaketime +# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*nxfaketime-0.9.6 (10 Jan 2016) + + 10 Jan 2016; +ChangeLog-2015, +metadata.xml, + +nxfaketime-0.9.6.ebuild: + Change ebuild layout diff --git a/net-misc/nxfaketime/ChangeLog-2015 b/net-misc/nxfaketime/ChangeLog-2015 new file mode 100644 index 00000000..a4a62d63 --- /dev/null +++ b/net-misc/nxfaketime/ChangeLog-2015 @@ -0,0 +1,63 @@ +# ChangeLog for sys-libs/libfaketime +# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libfaketime/ChangeLog,v 1.12 2015/01/13 00:42:50 radhermit Exp $ + + 13 Jan 2015; Tim Harder -libfaketime-0.9.1.ebuild, + -files/libfaketime-0.9.1-makefile.patch, + -files/libfaketime-0.9-as-needed.patch: + Remove old. + + 13 Jan 2015; Tim Harder libfaketime-0.9.6-r1.ebuild: + Stabilize for amd64/x86 (bug #535680). + + 18 Jul 2014; Tim Harder -libfaketime-0.9.5.ebuild, + -libfaketime-0.9.6.ebuild, + -files/0001-Fake-__clock_gettime-and-similar-calls-using-__.-cal.patch, + -files/0002-Finish-safe-faking-of-internal-calls.patch: + Remove old. + +*libfaketime-0.9.6-r1 (18 Jul 2014) + + 18 Jul 2014; Tim Harder +libfaketime-0.9.6-r1.ebuild: + Fix library install (bug #517426). + +*libfaketime-0.9.6 (18 Jun 2014) + + 18 Jun 2014; Tim Harder +libfaketime-0.9.6.ebuild: + Version bump. + +*libfaketime-0.9.5 (06 Mar 2014) + + 06 Mar 2014; Tim Harder +libfaketime-0.9.5.ebuild, + +files/0001-Fake-__clock_gettime-and-similar-calls-using-__.-cal.patch, + +files/0002-Finish-safe-faking-of-internal-calls.patch: + Version bump. + + 22 Jan 2013; Agostino Sarubbo libfaketime-0.9.1.ebuild: + Stable for x86, wrt bug #452834 + + 19 Jan 2013; Sergey Popov libfaketime-0.9.1.ebuild: + Stable on amd64, wrt bug #452834 + + 23 Oct 2012; Tim Harder -libfaketime-0.9-r1.ebuild, + -files/libfaketime-0.9-make.patch: + Remove old. + +*libfaketime-0.9.1 (23 Oct 2012) + + 23 Oct 2012; Tim Harder +libfaketime-0.9.1.ebuild, + +files/libfaketime-0.9.1-makefile.patch: + Version bump. + +*libfaketime-0.9-r1 (27 Feb 2012) + + 27 Feb 2012; Tim Harder -libfaketime-0.9.ebuild, + +libfaketime-0.9-r1.ebuild, +files/libfaketime-0.9-as-needed.patch: + Revbump to fix undefined symbol error at runtime when built with --as-needed + (bug #406041). Remove old. + +*libfaketime-0.9 (15 Jan 2012) + + 15 Jan 2012; Tim Harder +libfaketime-0.9.ebuild, + +files/libfaketime-0.9-make.patch, +metadata.xml: + Initial import from sunrise overlay (bug #185753). diff --git a/net-misc/nxfaketime/Manifest b/net-misc/nxfaketime/Manifest new file mode 100644 index 00000000..c39d0d7c --- /dev/null +++ b/net-misc/nxfaketime/Manifest @@ -0,0 +1,5 @@ +DIST libfaketime-0.9.6.tar.gz 51333 SHA256 3a89972708e262ae3a548655a04f197b48e9c82ac2b61acaeb1c47b135a682b7 SHA512 ab2e9c53f4ca2b9dcd2bbcd8de3ab9e27be57547ed9b52a17f07a6fe880fd3a283a6f10018736be2a6ba4e150f54e92161959ccb887be1f78ddfc96058729860 WHIRLPOOL 1a2dcc549286bb9d4e8a576ee8ea44b8508e6b40c581560099cf3351464470ef3b01e0ea8667e9d4973f5f8d35d3eeea68bd258f9ffc2fb0f424e128ba446a6d +EBUILD nxfaketime-0.9.6.ebuild 848 SHA256 fd03a3b0fb58a632b7b60f5768c5628444941970e521d6e6a34d00dda4f65107 SHA512 10690fe18fa99f56e18ef9d07c45fc2270b4724da4c2a63896d6b76111c5513345de84878ae820f212492809b35caadc4745b6d1b37faa8409431db606ab06e9 WHIRLPOOL 2089d04de52cc7315d168ca9b919611e711b720eb1a7a703922a93194f0fb9d7eb31bb184b30fd2b2bfc2773ce1270b2faddeaa216eda5c2acd88b9635177361 +MISC ChangeLog 271 SHA256 7128659e7bef88c135a3c923dedd1fed02e5066b6fa9a08a42096579620df33d SHA512 0085d436e53394036deda64d3e9934f4ae0afdb00f5035ea8f2170f6dabbfec21ab905a9e209c04ec55bd5d2dedb8bc3b3e8a4ca8d4843c42be2731ae28df195 WHIRLPOOL 0703964d0512312d1d56a0a59d646e5cbae9372a23e37ccb89f8178c060a07f82362660d188efee8096b036df57fbb6752c1cd0a5d3bbfa21e267c8d11e20b8c +MISC ChangeLog-2015 2325 SHA256 91483c38df8748096b96eb6ed9c4ef45b3c3cc25585cbcb4feb7b6907f5817c5 SHA512 4be67bd62c5fc500f8182915b4d71f5589c4434aa0251620fa316906e09635619950577c1b754bc54c9beefdc4b338a3b6a21ebeab0ac1e8bc5f1c5179411613 WHIRLPOOL 0f0a297c6063ef22ad49f70290b7349de54649b7546e3b32e44af0363470e17eaa918cca7f2c55c0c411319693f14d5c28114bfeac464bb595b7d072225c5178 +MISC metadata.xml 807 SHA256 539ff353cdadf2a53696a625baa21b8d2d46c3d921469110e8d8c5f51ce610c9 SHA512 d92549d191332f62c53820cf915704606488803a75c3ebc31edd0cedd5aab9699d0eb8a3096ef8f28e17ae2096c59990cad2c1f5e39425f82c32a205df152476 WHIRLPOOL 99ac2f8b488fa1fd0070a2fb455ed88b4c6453236b8a001e071441ff762b68007b2e11558fc4ea78cb3e253f725e1704ead57ba06d4ae8f8d9f34b9daffcb585 diff --git a/net-misc/nxfaketime/metadata.xml b/net-misc/nxfaketime/metadata.xml new file mode 100644 index 00000000..ec804532 --- /dev/null +++ b/net-misc/nxfaketime/metadata.xml @@ -0,0 +1,18 @@ + + + + + maintainer-needed@gentoo.org + + + The Fake Time Preload Library (FTPL, a.k.a. libfaketime) intercepts + various system calls which programs use to retrieve the current date and time. + It can then report faked dates and times (as specified by you, the user) to + these programs. This means you can modify the system time a program sees + without having to change the time system-wide. FTPL allows you to specify both + absolute dates (e.g., 2004-01-01) and relative dates (e.g., 10 days ago). + + + wolfcw/libfaketime + + diff --git a/net-misc/nxfaketime/nxfaketime-0.9.6.ebuild b/net-misc/nxfaketime/nxfaketime-0.9.6.ebuild new file mode 100644 index 00000000..9fad6135 --- /dev/null +++ b/net-misc/nxfaketime/nxfaketime-0.9.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils user toolchain-funcs multilib + +DESCRIPTION="Report faked system time to programs" +HOMEPAGE="http://www.code-wizards.com/projects/libfaketime/ https://github.com/wolfcw/libfaketime/" +SRC_URI="http://www.code-wizards.com/projects/libfaketime/libfaketime-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +S="${WORKDIR}"/libfaketime-${PV} + +pkg_preinst() { + enewuser nx -1 -1 /usr/NX/home/nx +} + +src_prepare() { + tc-export CC +} + +src_compile() { + emake CC="$(tc-getCC)" LIBDIRNAME="/$(get_libdir)" PREFIX=/usr/NX +} + +src_install() { + into /usr/NX + newbin src/faketime nxfaketime + dolib.so src/libfaketime*.so.* + + mkdir -p ${D}/usr/NX/home/nx + echo "2012-05-19 12:24:45" > ${D}/usr/NX/home/nx/.faketimerc +}