Watch
1
0
Fork
You've already forked ntpd-rs-repos
0
mirror of https://github.com/xlionjuan/ntpd-rs-repos.git synced 2026-11-16 19:38:52 +00:00
Unofficial repos for ntpd-rs
  • Shell 83.8%
  • HTML 16.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
xlion-bot-renovate[bot] 9c0ab43cbf
chore(deps): update actions/upload-artifact action to v7.0.2 (#40)
Co-authored-by: xlion-bot-renovate[bot] <218815870+xlion-bot-renovate[bot]@users.noreply.github.com>
2026-10-10 16:13:52 +00:00
.github chore(deps): update actions/upload-artifact action to v7.0.2 (#40) 2026-10-10 16:13:52 +00:00
wwwroot Sync pubkey 2026-02-04 06:00:55 +08:00
.gitattributes Setup 2024-12-29 05:00:51 +08:00
download.sh Disable repackage 2025-06-11 02:07:04 +08:00
LICENSE Add License 2025-01-07 22:19:12 +08:00
README.md docs: fix README - specify aptly for APT and createrepo_c for RPM 2026-03-11 01:26:45 +08:00
repackage.sh Try fix fpm error 2025-06-11 01:53:44 +08:00

ntpd-rs-repos

Create Repo for ntpd-rs latest

Important

This is unofficial repos for pendulum-project/ntpd-rs, what I can say is trust me bro. It is your decision whether to trust me or not.

ntpd-rs is a tool for synchronizing your computer's clock, implementing the NTP and NTS protocols. It is written in Rust, with a focus on security and stability. It includes both client and server support.

This repo uses xlionjuan/fedora-createrepo-image and aptly for APT repo and createrepo_c for RPM repo, and deploy to GitHub Pages.

The download and verification logic is handled by xlion-repo-utils-gh, which fetches release data, downloads packages, and verifies SHA256 checksums.

Update frequency

Every month on the 17th at 20:00 UTC.

Architectures

APT

  • amd64 (x86_64)
  • arm64 (aarch64)
  • armhf (armv7)
  • i386 (i686)

RPM

  • x86_64
  • aarch64
  • armv7
  • i686

APT

Add Repository

Add GPG Key

Please install xlion-repo-archive-keyring package, you need to have jq and curl installed, this command will query GitHub API to get latest keyring package, verify its SHA256 and install it.

sudo apt-get update && sudo apt-get install -y jq curl && json="$(curl -fsSL https://api.github.com/repos/xlionjuan/xlion-repo-archive-keyring/releases/latest)" && asset="$(echo "$json" | jq -r '.assets[] | select(.name | endswith(".deb")) | "\(.browser_download_url) \(.digest)"' | head -n1)" && url="${asset%% *}" && digest="${asset##* }" && [ -n "$url" ] && [ "$url" != "null" ] && [ -n "$digest" ] && [ "$digest" != "null" ] || { echo "ERROR: cannot locate .deb asset or SHA256 digest" >&2; return 1 2>/dev/null || false; } && tmpfile="$(mktemp /tmp/xlion-keyring-XXXXXX.deb)" && curl -fL "$url" -o "$tmpfile" || { echo "ERROR: download failed" >&2; return 1 2>/dev/null || false; } && expected="${digest#*:}" && actual="$(sha256sum "$tmpfile" | awk '{print $1}')" && [ "$actual" = "$expected" ] || { echo "ERROR: SHA256 mismatch" >&2; rm -f "$tmpfile"; return 1 2>/dev/null || false; } && sudo dpkg -i "$tmpfile" && rm -f "$tmpfile"

Add Package Source

curl -fsSL https://xlionjuan.github.io/ntpd-rs-repos/apt/xlion-ntpd-rs-repo.sources | sudo tee /etc/apt/sources.list.d/xlion-ntpd-rs-repo.sources

RPM

curl -fsSL https://xlionjuan.github.io/ntpd-rs-repos/rpm/xlion-ntpd-rs-repo.repo | sudo tee /etc/yum.repos.d/xlion-ntpd-rs-repo.repo

The fingerprint is:

1521 F219 00DB 3201 95AF A358 2BE8 3361 1FF6 0389

Pending rotated key:

3E32 B16A 4821 C54B 53A2 58F2 8EBA 83B8 784E 3812
Mask existing NTP services

Please make sure you know what you're doing!

sudo systemctl mask systemd-timesyncd.service
sudo systemctl mask chronyd.service

License

This repository is intended for distributing software. Unless otherwise specified, all scripts and configurations are licensed under the GNU AGPLv3. THIS DOES NOT INCLUDE THE DISTRIBUTED SOFTWARE ITSELF. For the licenses of the distributed software, please refer to the software developers' websites, Git repositories, the packages' metadata, or contact the developers directly if you have any questions.