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
commit98a0ab782354c04908c5cbbe02bcf1c04a2c62bd (patch)
treea3e2570af217c2101b2de7a0284d81009d324374 /sys-libs
parentFix up PLStream QA warnings (diff)
downloadgentoo-2-98a0ab782354c04908c5cbbe02bcf1c04a2c62bd.tar.gz
gentoo-2-98a0ab782354c04908c5cbbe02bcf1c04a2c62bd.tar.bz2
gentoo-2-98a0ab782354c04908c5cbbe02bcf1c04a2c62bd.zip
Initial import from sunrise overlay (bug #185753).
(Portage version: 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/Manifest5
-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, 80 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..ccac422b8548
--- /dev/null
+++ b/sys-libs/libfaketime/Manifest
@@ -0,0 +1,5 @@
+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 822 RMD160 13edf96b805a51de7d7d9fd3d39d8a77f0b9c86c SHA1 866c5ba9deac606945b3e05b5bc02b7a59c0aa4a SHA256 e2004ce506bbacebc614d9f818dc910ab118144bb1bdc30600825c8486b2b37c
+MISC ChangeLog 333 RMD160 2344e133ee5280c68e8e531cf304c1638d3c79b9 SHA1 1d90951b097ebf15f10e8ff355fd0e24f9422bc7 SHA256 3adbec45470642cbe233438ed3c725591413e5f1d26246635d1361e41690eca5
+MISC metadata.xml 742 RMD160 a6cf35aed8db3bf387ae0fccfd57c5e9cf4cd3e9 SHA1 50f259011df7f190da6b8d9c5c336d9785f1100d SHA256 fa024e6694e24f591e9e9147ec5a24a078f140c493b5eac120734654abf7ef90
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>