From efc6f847eeb27541f6306850c64b4972b5ee473d Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Tue, 3 Jun 2025 09:54:49 +0200 Subject: [PATCH] Update kernel.org links to use CDN. --- CONTRIBUTING.md | 2 +- FAQ.md | 2 +- README.md | 22 +++++++++++----------- misc/fedora/cryptsetup.spec | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 97791546..e929b6e6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -119,7 +119,7 @@ libtool --mode=execute gdb --args ./cryptsetup --debug $@ This will ensure that a properly compiled libcryptsetup file is used. ### Coding style -Cryptsetup uses [Linux kernel coding style](https://www.kernel.org/doc/html/latest/process/coding-style.html) for libcryptsetup and tools (where applicable) with some additional notes: +Cryptsetup uses [Linux kernel coding style](https://cdn.kernel.org/doc/html/latest/process/coding-style.html) for libcryptsetup and tools (where applicable) with some additional notes: - Use tabulators for indentation; the line should not exceed 100 characters with an 8-character tabulator. Otherwise, use a tab of any length. :-). - The minimal C standard required is C99. - The ``goto`` use is allowed only for error path (``goto out`` for common code path, ``goto err`` for specific error code path). diff --git a/FAQ.md b/FAQ.md index 2c3e86ee..21e806fa 100644 --- a/FAQ.md +++ b/FAQ.md @@ -38,7 +38,7 @@ LUKS1 and LUKS2. The LUKS1 on-disk format specification is at - https://www.kernel.org/pub/linux/utils/cryptsetup/LUKS_docs/on-disk-format.pdf + https://cdn.kernel.org/pub/linux/utils/cryptsetup/LUKS_docs/on-disk-format.pdf The LUKS2 on-disk format specification is at https://gitlab.com/cryptsetup/LUKS2-docs diff --git a/README.md b/README.md index 5a3736a5..ebe4c676 100644 --- a/README.md +++ b/README.md @@ -30,28 +30,28 @@ which enables users to transport or migrate data seamlessly. * The latest version of the [LUKS2 format specification](https://gitlab.com/cryptsetup/LUKS2-docs). * The latest version of the - [LUKS1 format specification](https://www.kernel.org/pub/linux/utils/cryptsetup/LUKS_docs/on-disk-format.pdf). + [LUKS1 format specification](https://cdn.kernel.org/pub/linux/utils/cryptsetup/LUKS_docs/on-disk-format.pdf). * [Project home page](https://gitlab.com/cryptsetup/cryptsetup/). * [Frequently asked questions (FAQ)](https://gitlab.com/cryptsetup/cryptsetup/wikis/FrequentlyAskedQuestions) Download -------- Release notes and tarballs are available at -[kernel.org](https://www.kernel.org/pub/linux/utils/cryptsetup/). +[kernel.org](https://cdn.kernel.org/pub/linux/utils/cryptsetup/). **The latest stable cryptsetup release version is 2.7.5** - * [cryptsetup-2.7.5.tar.xz](https://www.kernel.org/pub/linux/utils/cryptsetup/v2.7/cryptsetup-2.7.5.tar.xz) - * Signature [cryptsetup-2.7.5.tar.sign](https://www.kernel.org/pub/linux/utils/cryptsetup/v2.7/cryptsetup-2.7.5.tar.sign) + * [cryptsetup-2.7.5.tar.xz](https://cdn.kernel.org/pub/linux/utils/cryptsetup/v2.7/cryptsetup-2.7.5.tar.xz) + * Signature [cryptsetup-2.7.5.tar.sign](https://cdn.kernel.org/pub/linux/utils/cryptsetup/v2.7/cryptsetup-2.7.5.tar.sign) _(You need to decompress file first to check signature.)_ - * [Cryptsetup 2.7.5 Release Notes](https://www.kernel.org/pub/linux/utils/cryptsetup/v2.7/v2.7.5-ReleaseNotes). + * [Cryptsetup 2.7.5 Release Notes](https://cdn.kernel.org/pub/linux/utils/cryptsetup/v2.7/v2.7.5-ReleaseNotes). Previous versions - * [Version 2.6.1](https://www.kernel.org/pub/linux/utils/cryptsetup/v2.6/cryptsetup-2.6.1.tar.xz) - - [Signature](https://www.kernel.org/pub/linux/utils/cryptsetup/v2.6/cryptsetup-2.6.1.tar.sign) - - [Release Notes](https://www.kernel.org/pub/linux/utils/cryptsetup/v2.5/v2.5.0-ReleaseNotes). - * [Version 1.7.5](https://www.kernel.org/pub/linux/utils/cryptsetup/v1.7/cryptsetup-1.7.5.tar.xz) - - [Signature](https://www.kernel.org/pub/linux/utils/cryptsetup/v1.7/cryptsetup-1.7.5.tar.sign) - - [Release Notes](https://www.kernel.org/pub/linux/utils/cryptsetup/v1.7/v1.7.5-ReleaseNotes). + * [Version 2.6.1](https://cdn.kernel.org/pub/linux/utils/cryptsetup/v2.6/cryptsetup-2.6.1.tar.xz) - + [Signature](https://cdn.kernel.org/pub/linux/utils/cryptsetup/v2.6/cryptsetup-2.6.1.tar.sign) - + [Release Notes](https://cdn.kernel.org/pub/linux/utils/cryptsetup/v2.5/v2.5.0-ReleaseNotes). + * [Version 1.7.5](https://cdn.kernel.org/pub/linux/utils/cryptsetup/v1.7/cryptsetup-1.7.5.tar.xz) - + [Signature](https://cdn.kernel.org/pub/linux/utils/cryptsetup/v1.7/cryptsetup-1.7.5.tar.sign) - + [Release Notes](https://cdn.kernel.org/pub/linux/utils/cryptsetup/v1.7/v1.7.5-ReleaseNotes). Source and API documentation ---------------------------- diff --git a/misc/fedora/cryptsetup.spec b/misc/fedora/cryptsetup.spec index d6979b0f..e9f749f2 100644 --- a/misc/fedora/cryptsetup.spec +++ b/misc/fedora/cryptsetup.spec @@ -18,7 +18,7 @@ Obsoletes: %{name}-reencrypt <= %{version} Provides: %{name}-reencrypt = %{version} %global upstream_version %{version_no_tilde} -Source0: https://www.kernel.org/pub/linux/utils/cryptsetup/v2.7/cryptsetup-%{upstream_version}.tar.xz +Source0: https://cdn.kernel.org/pub/linux/utils/cryptsetup/v2.7/cryptsetup-%{upstream_version}.tar.xz %description The cryptsetup package contains a utility for setting up