libfaketimeModifies the system time for a single application
0.9.12develΣ=0 0.9.12Version of this port present on the latest quarterly branch.upstream: v0.9.13A newer version was found upstream by portscout, first on 2026-09-01.
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.
libfaketime allows you to specify both absolute dates (e.g., 01/01/2004)
and relative dates (e.g., 10 days ago).
libfaketime might be used for various purposes, for example
- Running legacy software with y2k bugs
- Testing software for year-2038 compliance
- Debugging time-related issues, such as expired SSL certificates
- Running software which ceases to run outside a certain timeframe
- Using different system-wide date and time settings, e.g., on OpenVZ-
based virtual machines running on the same host
- Deterministic build processes.
devel/libfaketime: Jettison byteswap/endian hacks
- Mark BROKEN on 15 as it fails with
ld: error: version script assignment of 'GLIBC_2.2' to symbol
'timer_gettime' failed: symbol not defined
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/libfaketime: Enable FEAT(ures), Fix typo's
- Fix FEATS variable missing from FLAGS added to CFLAGS in src/Makefile
- Explicitly set/add FEATS in MAKE_ENV, with comment about the
FAKE_STAT feature (it doesn't build).
- Fix typo in man page variable name (MAN[D]IR) causing man page to be
installed in PREFIX/share. Also MANDIR is relative, not absolute.
- Update PLIST_FILES accordingly.
- Bump PORTREVISION.
[NEW] devel/libfaketime: Modifies the system time for a single application
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.
libfaketime allows you to specify both absolute dates (e.g., 01/01/2004)
and relative dates (e.g., 10 days ago).
libfaketime might be used for various purposes, for example
- Running legacy software with y2k bugs
- Testing software for year-2038 compliance
- Debugging time-related issues, such as expired SSL certificates
- Running software which ceases to run outside a certain timeframe
- Using different system-wide date and time settings, e.g., on OpenVZ-
based virtual machines running on the same host
- Deterministic build processes.
WWW: https://github.com/wolfcw/libfaketime