macOS
brew install libfaketimelocal Homebrew formula metadata
sudo port install libfaketimeMacPorts ports tree · sysutils/libfaketime/Portfile · 来源: api.github.com
安装
brew install libfaketimelocal Homebrew formula metadata
sudo port install libfaketimeMacPorts ports tree · sysutils/libfaketime/Portfile · 来源: api.github.com
sudo apk add libfaketimeAlpine Linux edge package indexes · libfaketime · 来源: dl-cdn.alpinelinux.org
sudo apt install libfaketimeDebian stable package indexes · libfaketime · 来源: deb.debian.org
sudo dnf install libfaketimeFedora Rawhide package metadata · libfaketime · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libfaketimenixpkgs package indexes · pkgs/by-name/li/libfaketime/package.nix · 来源: api.github.com
sudo pacman -S libfaketimeArch Linux sync databases · libfaketime · 来源: geo.mirror.pkgbuild.com
sudo zypper install libfaketimeopenSUSE Tumbleweed package metadata · libfaketime · 来源: download.opensuse.org
概览
Report faked system time to programs
历史
libfaketime is a preload-based library and faketime wrapper that makes selected programs see modified dates and times without changing the system clock. It is packaged as a developer/testing utility because it exercises time-sensitive code at the process boundary.
The project's NEWS file tracks changes back to version 0.1, beginning with fixes around time(NULL) and growing through clock_gettime interception, wrapper scripts, fractional offsets, speed changes, system-wide faketimerc files, macOS support, pthread-aware builds, deterministic time, and deterministic getrandom support.
Starting with libfaketime 0.9.5, the developer README says development and issue handling moved completely to GitHub, with official releases tagged there.
Package managers adopted libfaketime because it solves a practical test problem: run one process under a fake clock while leaving the host clock alone. The README names deterministic builds, expired-certificate debugging, and year-2038 testing as intended use cases.
Most users run the faketime wrapper or set preload-related environment variables directly. The README also documents important limits: statically linked and setuid binaries are not covered by the preload mechanism, some Java/JVM cases need monotonic-clock care, and programs that dynamically load timing libraries can bypass interception.
libfaketime is beloved packaging glue because it gives build systems and test suites a cheap fake clock without patching application code. That makes it useful for reproducible builds, certificate-expiry tests, date rollover tests, and awkward legacy software checks.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
faketime | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:libfaketime |
|---|---|
| 版本 | 0.9.12 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/wolfcw/libfaketime |
| 仓库 | https://github.com/wolfcw/libfaketime |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libfaketime 0.9.10+2024-06-05+gba9ed5b2-0.6
Report faked system time to programs (preload library)
https://github.com/wolfcw/libfaketime
sudo apt install libfaketimelibfaketime
nix profile install nixpkgs#libfaketimelibfaketime 0.9.10-2.1
Report faked system time to programs (preload library)
https://github.com/wolfcw/libfaketime
sudo apt install libfaketimelibfaketime 0.9.12-r0
intercept system calls related to time and return user-defined values
https://github.com/wolfcw/libfaketime
sudo apk add libfaketimelibfaketime-doc 0.9.12-r0
intercept system calls related to time and return user-defined values (documentation)
https://github.com/wolfcw/libfaketime
sudo apk add libfaketime-doclibfaketime 0.9.12-14.fc45
Manipulate system time per process for testing purposes
https://github.com/wolfcw/libfaketime
sudo dnf install libfaketimelibfaketime 0.9.12-1
Report fake dates and times to programs without having to change the system-wide time.
https://github.com/wolfcw/libfaketime
sudo pacman -S libfaketimelibfaketime 0.9.12-2.3
FakeTime Preload Library
https://github.com/wolfcw/libfaketime
sudo zypper install libfaketimelibfaketime
sudo port install libfaketimefaketime 0.9.10+2024-06-05+gba9ed5b2-0.6
Report faked system time to programs (command-line tool)
https://github.com/wolfcw/libfaketime
sudo apt install faketimefaketime 0.9.10-2.1
Report faked system time to programs (command-line tool)
https://github.com/wolfcw/libfaketime
sudo apt install faketime来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.