devel/libfaketime 0.9.12
Modifies the system time for a single application
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv2
- Categories
- devel
- Package size
- 48.2 KiB, 156.3 KiB installed
Description
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.
Install
As a binary package — by origin, or by package name:
pkg install devel/libfaketime
pkg install libfaketime
From the ports tree:
cd /usr/ports/devel/libfaketime/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libfaketime>0:devel/libfaketime
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.9.12 | 0.9.12 | 0.9.10 | 0.9.12 | 0.9.12 |
| FreeBSD:14:quarterly | 0.9.12 | 0.9.12 | n/a | - | 0.9.12 |
| FreeBSD:15:latest | 0.9.12 | 0.9.12 | n/a | 0.9.12 | 0.9.12 |
| FreeBSD:15:quarterly | 0.9.12 | 0.9.12 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.9.12 | 0.9.12 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
coreutils>=0: sysutils/coreutils
Test 1
bash: shells/bash
The full lists below include those, and their dependencies in turn.
All build dependencies 10
All run dependencies 10
No port depends on this one.
Configuration
No options to configure.
- USES
- gmake perl5 shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| wolfcw-libfaketime-v0.9.12_GH0.tar.gz | 94913 | 4fc32218697c052adcdc5ee395581f2554ca56d086ac817ced2be0d6f1f8a9fa |
Commit history 0
No commits in the history this site was built from.