summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-01-15 09:06:19 +0000
committerTim Harder <radhermit@gentoo.org>2012-01-15 09:06:19 +0000
commit3038a7234c9e4ced09a18e4d6575de9af13723dd (patch)
tree586cd0011301a12a9f88a47f91ac43f9cf0ac08b /sys-libs
parentFix up PLStream QA warnings (diff)
downloadhistorical-3038a7234c9e4ced09a18e4d6575de9af13723dd.tar.gz
historical-3038a7234c9e4ced09a18e4d6575de9af13723dd.tar.bz2
historical-3038a7234c9e4ced09a18e4d6575de9af13723dd.zip
Initial import from sunrise overlay (bug #185753).
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libfaketime/ChangeLog10
-rw-r--r--sys-libs/libfaketime/Manifest19
-rw-r--r--sys-libs/libfaketime/files/libfaketime-0.9-make.patch9
-rw-r--r--sys-libs/libfaketime/libfaketime-0.9.ebuild40
-rw-r--r--sys-libs/libfaketime/metadata.xml16
5 files changed, 94 insertions, 0 deletions
diff --git a/sys-libs/libfaketime/ChangeLog b/sys-libs/libfaketime/ChangeLog
new file mode 100644
index 000000000000..5ba6e72f4376
--- /dev/null
+++ b/sys-libs/libfaketime/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-libs/libfaketime
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libfaketime/ChangeLog,v 1.1 2012/01/15 09:06:19 radhermit Exp $
+
+*libfaketime-0.9 (15 Jan 2012)
+
+ 15 Jan 2012; Tim Harder <radhermit@gentoo.org> +libfaketime-0.9.ebuild,
+ +files/libfaketime-0.9-make.patch, +metadata.xml:
+ Initial import from sunrise overlay (bug #185753).
+
diff --git a/sys-libs/libfaketime/Manifest b/sys-libs/libfaketime/Manifest
new file mode 100644
index 000000000000..481e04bfacad
--- /dev/null
+++ b/sys-libs/libfaketime/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+AUX libfaketime-0.9-make.patch 159 RMD160 91483e0d7957afcd3bd9bdc9bbf578c7b759cb97 SHA1 0e0ba7a09960d0447587281e04bd936d6ab71dff SHA256 4b4e0c92ebe3ae6945b2cb8a1c489e1d68fb30c86a92ca5a3c30f348e1ed6f58
+DIST libfaketime-0.9.tar.gz 30174 RMD160 0af4184c5b3a2d583dda9841ded404cb019b1b64 SHA1 b46c58eef1a39652476803c7807cd4e32cddfe11 SHA256 cc3caf05bb6e0c6db6df71236551e3b241787e64878a0cabe6e6603be723cd79
+EBUILD libfaketime-0.9.ebuild 930 RMD160 fa7933611dac37e67db993c8d94694143ecf2c5e SHA1 e861cb225d259354c338d0033835fc0dafc91ae3 SHA256 9707f303cca7c2c00d5cbbca4b79f23bff41c05d1c5b14ba8802c495a495e4a3
+MISC ChangeLog 428 RMD160 72bf357edfa604736cdf698aa991766bcd649c2f SHA1 8330905f3930d49c9f0d329f8041a7a304f1fba0 SHA256 b8950b929ebd10a0d5d662895ebffb8c52adb136d7be64dab17e36f15793bcf4
+MISC metadata.xml 742 RMD160 a6cf35aed8db3bf387ae0fccfd57c5e9cf4cd3e9 SHA1 50f259011df7f190da6b8d9c5c336d9785f1100d SHA256 fa024e6694e24f591e9e9147ec5a24a078f140c493b5eac120734654abf7ef90
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iQEcBAEBCgAGBQJPEpcVAAoJEEqz6FtPBkyjRp8IAJKBE+Yh5srfrcbL3zYccYbK
+tD8PUys5hq4J+qyIKASWuoGWjNC44zdHASUEICB7GCeNQy2qDRTdPypyf1X7nDd3
+2sJleDYNWELNH8i/yKoFKns48KD5q9q2mLD+80/5kZCzmv4XHrGjzYbuW+16f2E4
+4S6by/+ev8jYu3L/Ib0P3OanE/okuV3bsHcVlMZzQKq5rm1i7B174CoEc3aJE1qR
+2m9sX9pwy5TCtMH1yktgpnmeHCmsZrJUfGY+5xaMqLCrvZQib8M65VWhOPetKDYp
+5Ao2eYotT2A+Jd0F4udTTGjLz/y1iT2p9tsW2iuVgxGxOp6FOOiEk889RaqlGwM=
+=B3cA
+-----END PGP SIGNATURE-----
diff --git a/sys-libs/libfaketime/files/libfaketime-0.9-make.patch b/sys-libs/libfaketime/files/libfaketime-0.9-make.patch
new file mode 100644
index 000000000000..f6b76f32277d
--- /dev/null
+++ b/sys-libs/libfaketime/files/libfaketime-0.9-make.patch
@@ -0,0 +1,9 @@
+--- libfaketime-0.9/Makefile.orig
++++ libfaketime-0.9/Makefile
+@@ -1,6 +1,5 @@
+ all:
+ $(MAKE) -C src all
+- $(MAKE) -C test all
+
+ test:
+ $(MAKE) -C test all
diff --git a/sys-libs/libfaketime/libfaketime-0.9.ebuild b/sys-libs/libfaketime/libfaketime-0.9.ebuild
new file mode 100644
index 000000000000..e0fafb4380b0
--- /dev/null
+++ b/sys-libs/libfaketime/libfaketime-0.9.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libfaketime/libfaketime-0.9.ebuild,v 1.1 2012/01/15 09:06:19 radhermit Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs multilib
+
+DESCRIPTION="Report faked system time to programs"
+HOMEPAGE="http://www.code-wizards.com/projects/libfaketime/"
+SRC_URI="http://www.code-wizards.com/projects/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-make.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_test() {
+ emake CC="$(tc-getCC)" test
+}
+
+src_install() {
+ dobin src/faketime
+ doman man/faketime.1
+ exeinto /usr/$(get_libdir)/faketime
+ doexe src/${PN}*.so.*
+ dosym ${PN}.so.1 /usr/$(get_libdir)/faketime/${PN}.so
+ dosym ${PN}MT.so.1 /usr/$(get_libdir)/faketime/${PN}MT.so
+ dodoc NEWS README TODO
+}
diff --git a/sys-libs/libfaketime/metadata.xml b/sys-libs/libfaketime/metadata.xml
new file mode 100644
index 000000000000..15344132c09e
--- /dev/null
+++ b/sys-libs/libfaketime/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <longdescription lang="en">
+ 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).
+ </longdescription>
+</pkgmetadata>