Skip to content

Commit c9a681c

Browse files
committed
Preparations for 0.9.7 release
1 parent 4ce2835 commit c9a681c

File tree

11 files changed

+21
-26
lines changed

11 files changed

+21
-26
lines changed

NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Since 0.9.6:
22
- Julien Gilli added an option to disable monotonic time faking
33
- Azat Khuzhin added support for COARSE clocks
44
- Preliminary support for CLOCK_BOOTTIME (Linux)
5-
- Fixed compilation on macOS Sierra and various compiler warnings
5+
- Fixed compilation on macOS (High) Sierra and various compiler warnings
66
- Support for select() call added by Hitoshi Harada (umitanuki)
77
- Updated documentation
88

README

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
libfaketime, version 0.9.7beta1 (May 2017)
1+
libfaketime, version 0.9.7 (November 2017)
22
==========================================
33

44

@@ -71,7 +71,7 @@ documentation whether it can be achieved by using libfaketime directly.
7171
rebuilding libfaketimeMT.so.1
7272

7373
* Java-/JVM-based applications work but you need to pass in an extra argument
74-
(DONT_FAKE_MONOTONIC). See usage basics below for details. Without this
74+
(DONT_FAKE_MONOTONIC). See usage basics below for details. Without this
7575
argument the java command usually hangs.
7676

7777
* libfaketime will eventually be bypassed by applications that dynamically load
@@ -140,7 +140,7 @@ Tue Nov 23 12:01:05 CEST 2016
140140
user@host> LD_PRELOAD=/usr/local/lib/libfaketime.so.1 FAKETIME="-15d" date
141141
Mon Nov 8 12:01:12 CEST 2016
142142

143-
user@host> LD_PRELOAD=/usr/local/lib/libfaketime.so.1 FAKETIME="-15d"
143+
user@host> LD_PRELOAD=/usr/local/lib/libfaketime.so.1 FAKETIME="-15d"
144144
DONT_FAKE_MONOTONIC=1 java -version
145145
java version "1.8.0_111"
146146
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
@@ -532,4 +532,3 @@ Bug reports, feature suggestions, success reports, and patches/pull
532532
requests are highly appreciated:
533533

534534
https://github.com/wolfcw/libfaketime
535-

README.OSX

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ README file for libfaketime on macOS
44
Support for macOS has meanwhile matured and many command line and
55
GUI applications will run stable.
66

7-
Developments and tests are done on Sierra currently.
7+
Developments and tests are done on High Sierra currently.
88
Use libfaketime 0.9.6 or earlier on OS X (i.e., before Sierra).
99

1010
Version 0.9.5 and higher no longer works with OSX <= 10.6 due to

man/faketime.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH FAKETIME "1" "June 2014" "faketime 0.9.6" wolfcw
1+
.TH FAKETIME "1" "November 2017" "faketime 0.9.7" wolfcw
22
.SH NAME
33
faketime \- manipulate the system time for a given command
44
.SH SYNOPSIS
@@ -54,7 +54,7 @@ This is the most often used format and specifies the faked time relatively to th
5454
Start-at timestamps: \fB"@YYYY-MM-DD hh:mm:ss"\fR
5555
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.
5656
.SH ADVANCED USAGE
57-
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
57+
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
5858
\fB"i"\fR is followed by the increase interval in seconds.
5959
.PP
6060
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.

packaging/OSX/Fink/libfaketime.info

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Package: libfaketime
2-
Version: 0.9.5
2+
Version: 0.9.7
33
Revision: 1
44

55
Source: http://www.code-wizards.com/projects/%n/%n-%v.tar.gz
6-
Source-MD5: 89b5c71e6c6a93b1c6feba374ac37719
6+
Source-MD5: PLACEHOLDER
77

88
Maintainer: Wolfgang Hommel <[email protected]>
9-
HomePage: http://www.code-wizards.com/projects/%n
9+
HomePage: https://github.com/wolfcw/libfaketime
1010
License: GPL
1111

1212
Description: Modify system time for single applications
@@ -30,7 +30,7 @@ and access its full raw functionality, please see
3030
<<
3131

3232
BuildDepends: fink (>= 0.28)
33-
Distribution: 10.7, 10.8, 10.9
33+
Distribution: 10.7, 10.8, 10.9, 10.10, 10.11, 10.12
3434

3535
CompileScript: <<
3636
#! /bin/sh -ev
@@ -51,4 +51,3 @@ DocFiles: COPYING README README.OSX
5151
Shlibs: <<
5252
!%p/lib/faketime/%N.1.dylib
5353
<<
54-

packaging/OSX/Homebrew/libfaketime.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
class Libfaketime < Formula
44
homepage 'https://github.com/wolfcw/libfaketime'
5-
url 'https://github.com/wolfcw/libfaketime/archive/v0.9.7b1.tar.gz'
6-
sha1 'f38fe2b355cdfc74807646707a2f2c3e3be84032'
5+
url 'https://github.com/wolfcw/libfaketime/archive/v0.9.7.tar.gz'
6+
sha1 'PLACEHOLDER'
77

88
depends_on :macos => :sierra
99

@@ -19,4 +19,3 @@ def install
1919
man1.install 'man/faketime.1'
2020
end
2121
end
22-

packaging/OSX/MacPorts/Portfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
PortSystem 1.0
55
PortGroup github 1.0
66

7-
github.setup wolfcw libfaketime 0.9.5rc3 v
7+
github.setup wolfcw libfaketime 0.9.7 v
88

9-
checksums rmd160 8d10140a181e0d5ce93bd7b0e7eeaa380eb7a9c6 \
10-
sha256 ee2234335b3d730fdf6898d8dba9195d9ab3068c29af25270be03682d24a424f
9+
checksums rmd160 PLACEHOLDER \
10+
sha256 PLACEHOLDER
1111

1212
categories sysutils
1313
platforms darwin

packaging/OSX/README

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ command.
1515
Some libfaketime Portfile caveats:
1616

1717
- Github-based source file distribution
18-
(0.9.5rc3 is code-identical to 0.9.5 release except for Makefile patches)
19-
- Non-clang-compilers need to be blacklisted (for libfaketime =0.9.5)
18+
- Non-clang-compilers need to be blacklisted
2019
- MacPorts folks have requested to avoid a platform-specific Makefile.OSX in
2120
the future
2221

@@ -64,4 +63,3 @@ Some libfaketime fink info file caveats:
6463
make packaging work.
6564

6665
Submission is via https://sourceforge.net/p/fink/package-submissions/
67-

src/Makefile.OSX

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ INSTALL ?= install
3939
PREFIX ?= /usr/local
4040

4141
CFLAGS += -DFAKE_SLEEP -DFAKE_INTERNAL_CALLS -DPREFIX='"'${PREFIX}'"'
42-
LIB_LDFLAGS += -dynamiclib -current_version 0.9.6 -compatibility_version 0.7
42+
LIB_LDFLAGS += -dynamiclib -current_version 0.9.7 -compatibility_version 0.7
4343

4444
SONAME = 1
4545
LIBS = libfaketime.${SONAME}.dylib

src/faketime.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* libfaketime wrapper command
33
*
4-
* This file is part of libfaketime, version 0.9.6
4+
* This file is part of libfaketime, version 0.9.7
55
*
66
* libfaketime is free software; you can redistribute it and/or modify it
77
* under the terms of the GNU General Public License v2 as published by the
@@ -48,7 +48,7 @@
4848

4949
#include "faketime_common.h"
5050

51-
const char version[] = "0.9.6";
51+
const char version[] = "0.9.7";
5252

5353
#ifdef __APPLE__
5454
static const char *date_cmd = "gdate";

0 commit comments

Comments
 (0)