summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--README7
-rw-r--r--README.OSX2
-rw-r--r--man/faketime.14
-rw-r--r--packaging/OSX/Fink/libfaketime.info9
-rw-r--r--packaging/OSX/Homebrew/libfaketime.rb5
-rw-r--r--packaging/OSX/MacPorts/Portfile6
-rw-r--r--packaging/OSX/README4
-rw-r--r--src/Makefile.OSX2
-rw-r--r--src/faketime.c4
-rw-r--r--src/libfaketime.c2
11 files changed, 21 insertions, 26 deletions
diff --git a/NEWS b/NEWS
index b7103f0..8836d80 100644
--- a/NEWS
+++ b/NEWS
@@ -2,7 +2,7 @@ Since 0.9.6:
- Julien Gilli added an option to disable monotonic time faking
- Azat Khuzhin added support for COARSE clocks
- Preliminary support for CLOCK_BOOTTIME (Linux)
- - Fixed compilation on macOS Sierra and various compiler warnings
+ - Fixed compilation on macOS (High) Sierra and various compiler warnings
- Support for select() call added by Hitoshi Harada (umitanuki)
- Updated documentation
diff --git a/README b/README
index dd852fc..248bc92 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-libfaketime, version 0.9.7beta1 (May 2017)
+libfaketime, version 0.9.7 (November 2017)
==========================================
@@ -71,7 +71,7 @@ documentation whether it can be achieved by using libfaketime directly.
rebuilding libfaketimeMT.so.1
* Java-/JVM-based applications work but you need to pass in an extra argument
- (DONT_FAKE_MONOTONIC). See usage basics below for details. Without this
+ (DONT_FAKE_MONOTONIC). See usage basics below for details. Without this
argument the java command usually hangs.
* libfaketime will eventually be bypassed by applications that dynamically load
@@ -140,7 +140,7 @@ Tue Nov 23 12:01:05 CEST 2016
user@host> LD_PRELOAD=/usr/local/lib/libfaketime.so.1 FAKETIME="-15d" date
Mon Nov 8 12:01:12 CEST 2016
-user@host> LD_PRELOAD=/usr/local/lib/libfaketime.so.1 FAKETIME="-15d"
+user@host> LD_PRELOAD=/usr/local/lib/libfaketime.so.1 FAKETIME="-15d"
DONT_FAKE_MONOTONIC=1 java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
@@ -532,4 +532,3 @@ Bug reports, feature suggestions, success reports, and patches/pull
requests are highly appreciated:
https://github.com/wolfcw/libfaketime
-
diff --git a/README.OSX b/README.OSX
index 17b5d92..7f17a63 100644
--- a/README.OSX
+++ b/README.OSX
@@ -4,7 +4,7 @@ README file for libfaketime on macOS
Support for macOS has meanwhile matured and many command line and
GUI applications will run stable.
-Developments and tests are done on Sierra currently.
+Developments and tests are done on High Sierra currently.
Use libfaketime 0.9.6 or earlier on OS X (i.e., before Sierra).
Version 0.9.5 and higher no longer works with OSX <= 10.6 due to
diff --git a/man/faketime.1 b/man/faketime.1
index 7b6f5ce..89c279d 100644
--- a/man/faketime.1
+++ b/man/faketime.1
@@ -1,4 +1,4 @@
-.TH FAKETIME "1" "June 2014" "faketime 0.9.6" wolfcw
+.TH FAKETIME "1" "November 2017" "faketime 0.9.7" wolfcw
.SH NAME
faketime \- manipulate the system time for a given command
.SH SYNOPSIS
@@ -54,7 +54,7 @@ This is the most often used format and specifies the faked time relatively to th
Start-at timestamps: \fB"@YYYY-MM-DD hh:mm:ss"\fR
The wall clock will start counting at the given timestamp for the program. This can be used for specifying absolute timestamps without freezing the clock.
.SH ADVANCED USAGE
-When using relative time offsets or start-at timestamps (see ADVANCED TIMESTAMP FORMAT above and option \fB\-f\fR), the clock speed can be adjusted, i.e. time may run faster or slower for the executed program. For example, \fB"+5y x10"\fR will set the faked time 5 years into the future and make the time pass 10 times as fast (one real second equals 10 seconds measured by the program). Similarly, the flow of time can be slowed, e.g. using \fB"-7d x0,2"\fR, which will set the faked time 7 days in the past and set the clock speed to 20 percent, i.e. it takes five real world seconds for one second measured by the program. Again, depending on your locale, either "x2.0" or "x2,0" may be required regarding the delimiter. You can also make faketime to advance the reported time by a preset interval upon each time() call independently from the system's time using \fB"-7d i2,0"\fR, where
+When using relative time offsets or start-at timestamps (see ADVANCED TIMESTAMP FORMAT above and option \fB\-f\fR), the clock speed can be adjusted, i.e. time may run faster or slower for the executed program. For example, \fB"+5y x10"\fR will set the faked time 5 years into the future and make the time pass 10 times as fast (one real second equals 10 seconds measured by the program). Similarly, the flow of time can be slowed, e.g. using \fB"-7d x0,2"\fR, which will set the faked time 7 days in the past and set the clock speed to 20 percent, i.e. it takes five real world seconds for one second measured by the program. Again, depending on your locale, either "x2.0" or "x2,0" may be required regarding the delimiter. You can also make faketime to advance the reported time by a preset interval upon each time() call independently from the system's time using \fB"-7d i2,0"\fR, where
\fB"i"\fR is followed by the increase interval in seconds.
.PP
Faking times for multiple programs or even system-wide can be simplified by using ~/.faketimerc files and /etc/faketimerc. Please refer to the README that came with faketime for warnings and details.
diff --git a/packaging/OSX/Fink/libfaketime.info b/packaging/OSX/Fink/libfaketime.info
index fbe9da0..6cf98f3 100644
--- a/packaging/OSX/Fink/libfaketime.info
+++ b/packaging/OSX/Fink/libfaketime.info
@@ -1,12 +1,12 @@
Package: libfaketime
-Version: 0.9.5
+Version: 0.9.7
Revision: 1
Source: http://www.code-wizards.com/projects/%n/%n-%v.tar.gz
-Source-MD5: 89b5c71e6c6a93b1c6feba374ac37719
+Source-MD5: PLACEHOLDER
Maintainer: Wolfgang Hommel <wolf@fink.code-wizards.com>
-HomePage: http://www.code-wizards.com/projects/%n
+HomePage: https://github.com/wolfcw/libfaketime
License: GPL
Description: Modify system time for single applications
@@ -30,7 +30,7 @@ and access its full raw functionality, please see
<<
BuildDepends: fink (>= 0.28)
-Distribution: 10.7, 10.8, 10.9
+Distribution: 10.7, 10.8, 10.9, 10.10, 10.11, 10.12
CompileScript: <<
#! /bin/sh -ev
@@ -51,4 +51,3 @@ DocFiles: COPYING README README.OSX
Shlibs: <<
!%p/lib/faketime/%N.1.dylib
<<
-
diff --git a/packaging/OSX/Homebrew/libfaketime.rb b/packaging/OSX/Homebrew/libfaketime.rb
index a27cd77..5e24456 100644
--- a/packaging/OSX/Homebrew/libfaketime.rb
+++ b/packaging/OSX/Homebrew/libfaketime.rb
@@ -2,8 +2,8 @@ require 'formula'
class Libfaketime < Formula
homepage 'https://github.com/wolfcw/libfaketime'
- url 'https://github.com/wolfcw/libfaketime/archive/v0.9.7b1.tar.gz'
- sha1 'f38fe2b355cdfc74807646707a2f2c3e3be84032'
+ url 'https://github.com/wolfcw/libfaketime/archive/v0.9.7.tar.gz'
+ sha1 'PLACEHOLDER'
depends_on :macos => :sierra
@@ -19,4 +19,3 @@ class Libfaketime < Formula
man1.install 'man/faketime.1'
end
end
-
diff --git a/packaging/OSX/MacPorts/Portfile b/packaging/OSX/MacPorts/Portfile
index 88af35d..2196e04 100644
--- a/packaging/OSX/MacPorts/Portfile
+++ b/packaging/OSX/MacPorts/Portfile
@@ -4,10 +4,10 @@
PortSystem 1.0
PortGroup github 1.0
-github.setup wolfcw libfaketime 0.9.5rc3 v
+github.setup wolfcw libfaketime 0.9.7 v
-checksums rmd160 8d10140a181e0d5ce93bd7b0e7eeaa380eb7a9c6 \
- sha256 ee2234335b3d730fdf6898d8dba9195d9ab3068c29af25270be03682d24a424f
+checksums rmd160 PLACEHOLDER \
+ sha256 PLACEHOLDER
categories sysutils
platforms darwin
diff --git a/packaging/OSX/README b/packaging/OSX/README
index d18c562..03b43fa 100644
--- a/packaging/OSX/README
+++ b/packaging/OSX/README
@@ -15,8 +15,7 @@ command.
Some libfaketime Portfile caveats:
- Github-based source file distribution
- (0.9.5rc3 is code-identical to 0.9.5 release except for Makefile patches)
-- Non-clang-compilers need to be blacklisted (for libfaketime =0.9.5)
+- Non-clang-compilers need to be blacklisted
- MacPorts folks have requested to avoid a platform-specific Makefile.OSX in
the future
@@ -64,4 +63,3 @@ Some libfaketime fink info file caveats:
make packaging work.
Submission is via https://sourceforge.net/p/fink/package-submissions/
-
diff --git a/src/Makefile.OSX b/src/Makefile.OSX
index 75330a2..9d162af 100644
--- a/src/Makefile.OSX
+++ b/src/Makefile.OSX
@@ -39,7 +39,7 @@ INSTALL ?= install
PREFIX ?= /usr/local
CFLAGS += -DFAKE_SLEEP -DFAKE_INTERNAL_CALLS -DPREFIX='"'${PREFIX}'"'
-LIB_LDFLAGS += -dynamiclib -current_version 0.9.6 -compatibility_version 0.7
+LIB_LDFLAGS += -dynamiclib -current_version 0.9.7 -compatibility_version 0.7
SONAME = 1
LIBS = libfaketime.${SONAME}.dylib
diff --git a/src/faketime.c b/src/faketime.c
index cdc7ab4..138ebbd 100644
--- a/src/faketime.c
+++ b/src/faketime.c
@@ -1,7 +1,7 @@
/*
* libfaketime wrapper command
*
- * This file is part of libfaketime, version 0.9.6
+ * This file is part of libfaketime, version 0.9.7
*
* libfaketime is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License v2 as published by the
@@ -48,7 +48,7 @@
#include "faketime_common.h"
-const char version[] = "0.9.6";
+const char version[] = "0.9.7";
#ifdef __APPLE__
static const char *date_cmd = "gdate";
diff --git a/src/libfaketime.c b/src/libfaketime.c
index 8c1f16a..eb2d01b 100644
--- a/src/libfaketime.c
+++ b/src/libfaketime.c
@@ -1,5 +1,5 @@
/*
- * This file is part of libfaketime, version 0.9.6
+ * This file is part of libfaketime, version 0.9.7
*
* libfaketime is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License v2 as published by the