Commit Graph

33 Commits

Author SHA1 Message Date
Wolfgang Hommel
02bc1fccae Version bump to 0.9.10 (prepares for #366) 2022-02-20 17:53:54 +01:00
Daniel Kahn Gillmor
806c05f49d manpage: Minor cleanup to faketime.1
- close quotes correctly in "Relative time offset"
- github uses https
- e.g. and i.e. should be set off from what follows with a comma
2022-02-04 16:40:57 -05:00
Daniel Kahn Gillmor
fe6eeae423 manpage: structure source with one sentence per line
Using this structure makes diffs easier to read, when changes are due.

The underlying formatting produced by groff ends up basically the same
(though some versions of groff may adjust to have two spaces after a
sentence-ending period instead of one).
2022-02-04 16:37:27 -05:00
Jelle van der Waa
932c138112 Do not store the timestamp in the gzip
To make libfaketime reproducible don't embed the timestamp in the gzip
header.

Motivation: https://reproducible-builds.org
2021-05-11 17:03:01 +02:00
Jim Klimov
1686664c97 faketime.c: allow user to select their implementation of GNU date 2021-03-28 20:14:27 +03:00
Daniel Kahn Gillmor
5e62eafcc2 faketime: add -p option to wrapper for setting PID
I had to decide what to do if FAKE_PID wasn't defined during the
build. I decided that since the wrapper can't be sure it is preloading
the same library that it was built with (someone could somehow mix and
match the library and the wrapper tool), it should just warn and pass
along the value anyway.

This reserves the option space, but shouldn't annoy people too much if
they are running it on a system that doesn't have FAKE_PID enabled.

I note that this happens regardless of whether it is a "direct"
invocation or not.  I don't fully understand all the tradeoffs here,
so I would appreciate another set of eyes reviewing this choice.

Closes: #308
2021-02-25 19:37:38 -05:00
Wolfgang Hommel
3c0b101a84 Version bump to v0.9.9 2021-02-21 18:27:02 +01:00
Wolfgang Hommel
3123ad7fe2 Revert "Automake branch" 2019-11-30 09:36:46 +01:00
Michael D. Stemle, Jr
f92d919fb0 Merged master in and cleaned up.
We no longer need the OSX-specific test. Tests are passing, too.
2019-11-27 14:32:15 -05:00
Wolfgang Hommel
aa091db286 Preparations for 0.9.8 release 2019-08-12 12:25:41 +02:00
Michael D. Stemle, Jr
24fd806e6b Added GNU autotools support. 2018-10-02 22:02:30 -04:00
Michael D. Stemle, Jr
39c6872f6d Removing old makefiles. 2018-10-01 20:08:27 -04:00
Wolfgang Hommel
c9a681c3e3 Preparations for 0.9.7 release 2017-11-14 20:28:32 +01:00
Ximin Luo
582ae36e1d Document the faking of filesystem timestamps
It's hard to notice the tiny reference to `fstat(2)` amongst all the text about the system clock. This is a significant behaviour that is very surprising, and the default setting (on) messes with buildsystems in a counter-intuitive way. Also document how to switch it off.
2016-12-09 00:24:05 +01:00
Jakub Wilk
6de283f621 Fix typos 2016-06-02 21:31:42 +02:00
Julien Gilli
cae9387908 docs: add --exclude-monotonic to man page.
This was missing from PR #49.
2014-08-17 22:17:23 -07:00
Wolfgang Hommel
70aa6b394d Preparations for 0.9.6 release 2014-06-07 17:04:02 +02:00
Wolfgang Hommel
458c6d693d fix directory permissions on install 2013-10-13 18:25:52 +02:00
Wolfgang Hommel
ed9009495b Changes to Makefiles by ryandesign at MacPorts, changeset 112062 2013-10-11 16:29:11 +02:00
Wolfgang Hommel
0b1845c36d Update default PREFIX on OSX 2013-10-03 17:58:01 +02:00
Wolfgang Hommel
6dcde9c4d9 Ensure target directory exists 2013-10-03 17:38:39 +02:00
Wolfgang Hommel
bbd2ee58f2 Makefile for OSX man page installation 2013-10-03 17:30:12 +02:00
Wolfgang Hommel
98a0cacf3a Updated manpage for upcoming 0.9.5 2013-09-05 10:27:11 +02:00
Wolfgang Hommel
03fbad9bca Revert a0e3346..2dceb57
This rolls back to commit a0e33461a0.
2013-08-24 21:24:57 +02:00
Toni G
39fc1bb0a8 attempt at global relative 2013-08-21 23:26:04 +02:00
Balint Reczey
d5cd7064f5 Use the same global clock for all processes spawned by faketime -f '... iN'
In case the clock is set to advance with each faked time(), etc. call, the
counter uses the same clock counter stored in shared memory and protected
by a semaphore.
2013-08-19 14:08:51 +02:00
Balint Reczey
2451de2244 Advance time with each time(), gettimeofday(), etc. call 2013-08-15 18:50:41 +02:00
Daniel Kahn Gillmor
337581c040 allow overriding specific arguments without changing the Makefile
for example, now you can do:

 make PREFIX=/usr

without any modification to the Makefile and have it behave as
intended.
2013-06-11 10:10:14 -04:00
Tomi Ollila
b648b7712d whitespace cleanup
Used (emacs) M-x untabify for whole faketime.c as the prevailing
style in that file used spaces for indentation.

Used M-x delete-trailing-whitespace to all files that had either
trailing whitespace or empty lines at the end of file to remove
those.
2012-08-30 10:46:58 +03:00
Lukas Fleischer
4991c61b77 Overwrite existing man pages when running make install.
Add "-f" option to gzip(1) invocation to avoid user prompts if
compressed man pages already exist in the target directory.

Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
2011-05-10 22:07:49 +02:00
Lukas Fleischer
b6ca32ed23 Use install(1) instead of mkdir(1) and cp(1) in Makefiles.
Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
2011-05-10 22:07:10 +02:00
Lukas Fleischer
9763cdebd2 Use a separate Makefile for man pages.
* Create separate "install" and "uninstall" targets for man pages.

* Add man page targets to the shortcut Makefile.

Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
2011-05-10 21:43:24 +02:00
Wolfgang Hommel
a6ce767de9 git repository based on v0.8 2011-04-24 19:55:43 +02:00