pkg.soopen package index

brew / 排名 6500

使用 Homebrew, apk, apt, MacPorts, Nix 安装 htpdate

查看 htpdate 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install htpdate

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install htpdate

MacPorts ports tree · net/htpdate/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add htpdate

Alpine Linux edge package indexes · htpdate · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install htpdate

Debian stable package indexes · htpdate · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#htpdate

nixpkgs package indexes · pkgs/by-name/ht/htpdate/package.nix · 来源: api.github.com

概览

软件包摘要

Synchronize time with remote web servers

命令和别名

  • htpdate

历史

项目历史与用法

htpdate is a small HTTP Time Protocol utility that synchronizes a computer's clock from timestamps in web-server HTTP headers. It is a niche networking package for environments where NTP is blocked, unavailable, or inconvenient but outbound HTTP works.

项目历史

The upstream site and repository describe HTP as synchronizing time with web servers as reference sources. htpdate retrieves date and time through HTTP requests, can behave similarly to a browser, works through proxy servers, and can run as a daemon for ongoing synchronization.

The project preserves a pragmatic limitation in its own documentation: usual accuracy is within about 0.5 seconds and can improve with multiple servers, but users needing better time discipline should use an NTP-family package. That framing explains htpdate's evolution as a fallback or constrained-network utility rather than a replacement for NTP, OpenNTPD, or chrony.

采用历史

The input package facts record htpdate in Homebrew, Debian, Ubuntu, MacPorts, Nix, and Alpine. That packaging spread is notable for a small tool because its value is situational: it becomes useful exactly on machines and networks where the usual UDP-based time-sync path is not available.

使用方式

htpdate is used to query one or more web servers, estimate clock offset from HTTP date headers, and either report or set/adjust local time. The man page and README emphasize proxy support, daemon use, IPv4/IPv6 options, HTTP/1.0 versus HTTP/1.1 behavior, and the tradeoff between convenience and precision.

为什么软件包爱好者会关心

For package nerds, htpdate is interesting because it is the kind of tiny utility that justifies a package slot through an edge case. It exists for restricted networks, proxy-only hosts, rescue scenarios, and systems where installing a full time-sync stack is more machinery than the job requires.

时间线

  • 2021: The twekkel/htpdate tag stream includes v1.3.0 from December.
  • 2024: The tag stream includes v2.0.0 from September.
  • 2024: Alpine package metadata records htpdate 2.0.0 in the community repository.
  • Package-manager era: The input package facts record htpdate in Homebrew, Debian, Ubuntu, MacPorts, Nix, and Alpine.

Related projects

  • htpdate is related to NTP clients such as ntpdate, ntpd, OpenNTPD, and chrony, but trades precision for HTTP reachability and proxy compatibility. The same maintainer also publishes `httpdate`, another HTTP-based time synchronization tool with a precision-oriented approach.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:sync,server

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
htpdate可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2.0.2
管理器更新时间2026-05-06
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:htpdate
版本2.0.2
软件包管理器Homebrew
主页https://www.vervest.org/htp/
仓库https://github.com/twekkel/htpdate
最后更新2026-05-06T23:49:07Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

htpdate 1.3.7-2+b2

HTTP based time synchronization tool

https://github.com/twekkel/htpdate

sudo apt install htpdate
  • Section: net
  • Architecture: amd64
  • Source Package: htpdate
  • 2 依赖
  • normalized package name match
  • 匹配方式:Htpdate
Debian stable package indexes · deb.debian.org · Debian stable package indexes: htpdate from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

htpdate

nix profile install nixpkgs#htpdate
  • normalized package name match
  • 匹配方式:Htpdate
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ht/htpdate/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

htpdate 1.3.7-2build2

HTTP based time synchronization tool

https://github.com/twekkel/htpdate

sudo apt install htpdate
  • Section: universe/net
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Htpdate
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: htpdate from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

htpdate 2.0.0-r0

HTTP Time protocol

https://github.com/twekkel/htpdate

sudo apk add htpdate
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: htpdate
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Htpdate
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: htpdate from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

htpdate-doc 2.0.0-r0

HTTP Time protocol (documentation)

https://github.com/twekkel/htpdate

sudo apk add htpdate-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: htpdate
  • normalized package name match
  • 匹配方式:Htpdate
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: htpdate-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

htpdate-openrc 2.0.0-r0

HTTP Time protocol (OpenRC init scripts)

https://github.com/twekkel/htpdate

sudo apk add htpdate-openrc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: htpdate
  • normalized package name match
  • 匹配方式:Htpdate
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: htpdate-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

htpdate

sudo port install htpdate
  • normalized package name match
  • 匹配方式:Htpdate
MacPorts ports tree · api.github.com · MacPorts ports tree: net/htpdate/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation