17 Commits

Author SHA256 Message Date
c5c959cc40 Accepting request 1319533 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1319533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfaketime?expand=0&rev=7
2025-11-24 13:12:13 +00:00
d668ae85cd - Update to version 0.9.12
* Fixed various cross-platform compile-time issues.
  * Honor nanosecond parameters/fields in relevant system calls.
  * Limited improvements to enhance compatibility with other
    LD_PRELOAD libraries.
  * Added selected more intercepted system calls.
  * Unset FAKETIME_SHARED automatically for child processes when
    enabling FAKETIME_FLSHM=1
  * Disable shared memory for child processes through
    FAKETIME_DISABLE_SHM=1

OBS-URL: https://build.opensuse.org/package/show/devel:tools/libfaketime?expand=0&rev=16
2025-11-23 14:13:12 +00:00
197fbd91ac Accepting request 965153 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/965153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfaketime?expand=0&rev=6
2022-03-28 15:00:43 +00:00
Stephan Kulow
52e73a64a9 Accepting request 965035 from home:dirkmueller:Factory
- update to 0.9.10:
  - improved macOS Monterey support through dyld interposing
  - changed interception hooks for stat() and similar functions,
    refactored to use a common handler (@sirainen)
  - added support for timespec_get, timerfd_{get,set} (@sliquister)
  - generic syscall() interception for selected syscalls (@dkg)
  - improved testing system (@dkg)

OBS-URL: https://build.opensuse.org/request/show/965035
OBS-URL: https://build.opensuse.org/package/show/devel:tools/libfaketime?expand=0&rev=14
2022-03-27 07:35:41 +00:00
Richard Brown
a6abc8dc9c Accepting request 876391 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/876391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfaketime?expand=0&rev=5
2021-03-03 17:34:59 +00:00
c85db34d3f Accepting request 875808 from home:dirkmueller:Factory
- update to 0.9.9:
  - When compiled with the CFLAG FAKE_RANDOM set,
    libfaketime will intercept calls to getrandom()
    and return pseudorandom numbers for determinism.
    The mechanism needs to be activated by setting
    the environment variable FAKERANDOM_SEED to a
    64-bit seed value, e.g., "0x12345678DEADBEEF".
    Please note that this completely breaks the
    security of random numbers for cryptographic
    purposes and should only be used for deterministic
    tests. Never use this in production!
  - When the environment variable FAKETIME_TIMESTAMP_FILE is
    set, points to a writeable (creatable) custom config file
    and the environment variable FAKETIME_UPDATE_TIMESTAMP_FILE
    is "1", then the file also is updated on each call. By
    this, a common "virtual time" can be shared by several
    processes, where each can adjust the time for all.
  - Additional link-time LDFLAGS can be passed via the
    environment variable FAKETIME_LINK_FLAGS when
    running 'make'.
  - Compile-time CFLAG FAKE_SETTIME can be enabled to
    intercept calls to clock_settime(), settimeofday(), and
    adjtime(). (suggested and prototyped by @ojura)
  - Additional compile-time CFLAGs can be passed via the
    environment variable FAKETIME_COMPILE_CFLAGS when
    running 'make'.
  - src/Makefile CFLAG FORCE_PTHREAD_NONVER should be set on
    systems that hang on CLOCK_REALTIME, or that hang on
    CLOCK_MONOTONIC where FORCE_MONOTONIC_FIX is not sufficient.

OBS-URL: https://build.opensuse.org/request/show/875808
OBS-URL: https://build.opensuse.org/package/show/devel:tools/libfaketime?expand=0&rev=12
2021-03-03 07:10:54 +00:00
4c887df9b4 Accepting request 726857 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/726857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfaketime?expand=0&rev=4
2019-08-29 15:25:37 +00:00
e625dab740 Accepting request 726829 from home:mnhauke
- Update to version 0.9.8
   * Passthrough for unknown clock ids to avoid error messages
   * Fixes for multithreaded operations (mliertzer, qnox)
   * glibc-related fixes (jprjr) and gcc8 support (tpetazzoni)
   * Improved error message output on parsing errors
   * fix file stat() faking when 'i' modifier is used for determinism
   - Use FAKETIME="%" to take FAKETIME setting from a file as
     specified in FAKETIME_FOLLOW_FILE
   * Added FAKETIME_DONT_RESET environment variable to avoid
     faketime resets when subprocesses are started (similar to
     the old v0.9.6 behavior)
   * Added FAKETIME_XRESET to avoid large clock jumps when
     the 'x' modifier is used and changed during run-time
   - Do not fake time during libfaketime initialization to
     improve compatibility with memory allocation libraries that
     use time-related functions themselves
   * Fixes for shared memory related issues, especially when
     not using the faketime wrapper
   * Updated glibc compatibility settings for various platforms
   * Support for clock_nanosleep() with realtime and monotonic clocks
   * Support for epoll_wait(), epoll_pwait(), and pselect()
   * src/Makefile CFLAG FORCE_MONOTONIC_FIX should be set (only) on
     platforms where the test program hangs forever at the
     CLOCK_MONOTONIC test.
- Remove not longer needed patch:
  * 161.patch
- Run spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/726829
OBS-URL: https://build.opensuse.org/package/show/devel:tools/libfaketime?expand=0&rev=10
2019-08-29 00:39:40 +00:00
6829f8d89b Accepting request 618802 from devel:tools
- add 161.patch to pick gcc8 patches from git
- fix source archive to match github URLs

- update 0.9.7:
  * added an option to disable monotonic time faking
  * added support for COARSE clocks
  * preliminary support for CLOCK_BOOTTIME (Linux)
  * build fixes
- remove libfaketime-0.9.6-gcc6.patch

OBS-URL: https://build.opensuse.org/request/show/618802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfaketime?expand=0&rev=3
2018-06-25 09:42:42 +00:00
Stephan Kulow
5fab71134a OBS-URL: https://build.opensuse.org/package/show/devel:tools/libfaketime?expand=0&rev=8 2018-06-24 09:45:45 +00:00
Stephan Kulow
c17434e56b - add 161.patch to pick gcc8 patches from git
- fix source archive to match github URLs

OBS-URL: https://build.opensuse.org/package/show/devel:tools/libfaketime?expand=0&rev=7
2018-06-24 09:27:29 +00:00
Stephan Kulow
52acfbe4f5 Accepting request 579948 from home:rudi_m:branches:devel:tools
- update 0.9.7:
  * added an option to disable monotonic time faking
  * added support for COARSE clocks
  * preliminary support for CLOCK_BOOTTIME (Linux)
  * build fixes
- remove libfaketime-0.9.6-gcc6.patch

OBS-URL: https://build.opensuse.org/request/show/579948
OBS-URL: https://build.opensuse.org/package/show/devel:tools/libfaketime?expand=0&rev=6
2018-02-26 06:18:48 +00:00
2ec88b1b35 Accepting request 403972 from devel:tools
1

OBS-URL: https://build.opensuse.org/request/show/403972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfaketime?expand=0&rev=2
2016-06-25 00:22:23 +00:00
3349bb7994 Accepting request 403879 from home:MargueriteSu:branches:devel:tools
OBS-URL: https://build.opensuse.org/request/show/403879
OBS-URL: https://build.opensuse.org/package/show/devel:tools/libfaketime?expand=0&rev=4
2016-06-22 05:42:49 +00:00
4e4d3ffb67 Accepting request 283822 from devel:tools
useful for debugging the future

OBS-URL: https://build.opensuse.org/request/show/283822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfaketime?expand=0&rev=1
2015-02-05 09:59:44 +00:00
Stephan Kulow
4b2416211c OBS-URL: https://build.opensuse.org/package/show/devel:tools/libfaketime?expand=0&rev=2 2015-02-03 06:42:53 +00:00
b6b99eae86 Accepting request 283785 from home:coolo
this is useful for testing the behaviour of packages for build-compare

OBS-URL: https://build.opensuse.org/request/show/283785
OBS-URL: https://build.opensuse.org/package/show/devel:tools/libfaketime?expand=0&rev=1
2015-02-02 17:52:15 +00:00