From: Daniel Salzman Date: Fri, 31 Jul 2026 05:46:05 +0000 (+0200) Subject: distro: replace legacy secure.nic.cz URLs with knot-dns.nic.cz X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ea45c8af4abbde448c74b18d14bbbcf0ff30726;p=thirdparty%2Fknot-dns.git distro: replace legacy secure.nic.cz URLs with knot-dns.nic.cz --- diff --git a/distro/config/apkg.toml b/distro/config/apkg.toml index 1f43b15624..b2ab85e588 100644 --- a/distro/config/apkg.toml +++ b/distro/config/apkg.toml @@ -5,8 +5,8 @@ make_archive_script = "scripts/make_dev_archive.sh" [upstream] # needed for get-archive -archive_url = "https://secure.nic.cz/files/knot-dns/knot-{{ version }}.tar.xz" -signature_url = "https://secure.nic.cz/files/knot-dns/knot-{{ version }}.tar.xz.asc" +archive_url = "https://knot-dns.nic.cz/release/knot-{{ version }}.tar.xz" +signature_url = "https://knot-dns.nic.cz/release/knot-{{ version }}.tar.xz.asc" [apkg] compat = 6 diff --git a/distro/pkg/deb/copyright b/distro/pkg/deb/copyright index 2384ed1970..117a7370d6 100644 --- a/distro/pkg/deb/copyright +++ b/distro/pkg/deb/copyright @@ -1,7 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Knot DNS Upstream-Contact: knot-dns@labs.nic.cz -Source: https://secure.nic.cz/files/knot-dns/ +Source: https://knot-dns.nic.cz/release/ Files: * Copyright: 2011-2025 CZ.NIC, z.s.p.o. and contributors diff --git a/distro/pkg/deb/watch b/distro/pkg/deb/watch index 9613df102a..d4a18ed0f2 100644 --- a/distro/pkg/deb/watch +++ b/distro/pkg/deb/watch @@ -1,5 +1,5 @@ Version: 5 -Source: https://secure.nic.cz/files/knot-dns/ +Source: https://knot-dns.nic.cz/release/ Matching-Pattern: (?:|.*/)knot(?:[_\-]v?|)(\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz) Dversionmangle: s/\+hotfix// Pgpsigurlmangle: s/$/.asc/ diff --git a/distro/pkg/nix/default.nix b/distro/pkg/nix/default.nix index a506e09a73..5c68a582d6 100644 --- a/distro/pkg/nix/default.nix +++ b/distro/pkg/nix/default.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation rec { version = "{{ version }}"; src = fetchurl { - url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz"; + url = "https://knot-dns.nic.cz/release/knot-${version}.tar.xz"; sha256 = "{{ src_hash }}"; }; diff --git a/distro/pkg/rpm/knot.spec b/distro/pkg/rpm/knot.spec index b75d87b297..cdfdf8aab8 100644 --- a/distro/pkg/rpm/knot.spec +++ b/distro/pkg/rpm/knot.spec @@ -21,7 +21,7 @@ URL: https://www.knot-dns.cz Source0: %{name}-%{version}.tar.xz %if 0%{?GPG_CHECK} -Source1: https://secure.nic.cz/files/knot-dns/%{name}-%{version}.tar.xz.asc +Source1: https://knot-dns.nic.cz/release/%{name}-%{version}.tar.xz.asc # PGP keys used to sign upstream releases # Export with --armor using command from https://fedoraproject.org/wiki/PackagingDrafts:GPGSignatures # Don't forget to update %%prep section when adding/removing keys