FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.9.120.9.120.9.100.9.120.9.12
FreeBSD:14:quarterly0.9.120.9.12n/a-0.9.12
FreeBSD:15:latest0.9.120.9.12n/a0.9.120.9.12
FreeBSD:15:quarterly0.9.120.9.12n/an/an/a
FreeBSD:16:latest0.9.120.9.12n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

Test 1

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
FileSizeSHA256
wolfcw-libfaketime-v0.9.12_GH0.tar.gz949134fc32218697c052adcdc5ee395581f2554ca56d086ac817ced2be0d6f1f8a9fa

Commit history 0

No commits in the history this site was built from.