3.9 KiB
ntpd-rs-repos
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_64aarch64armv7i686
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.