You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by fp...@apache.org on 2022/03/29 10:45:47 UTC
[shiro-site] 01/01: [SHIRO-874] Update sigs and hash links
This is an automated email from the ASF dual-hosted git repository.
fpapon pushed a commit to branch SHIRO-874
in repository https://gitbox.apache.org/repos/asf/shiro-site.git
commit de5ca9a125f4c8ea1bb77bc989be36d9faf2c188
Author: francois papon <fp...@apache.org>
AuthorDate: Tue Mar 29 12:45:19 2022 +0200
[SHIRO-874] Update sigs and hash links
---
src/site/content/download.adoc | 2 +-
src/site/content/release-archive.adoc | 2 +-
src/site/templates/download.ftl | 5 +++--
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/site/content/download.adoc b/src/site/content/download.adoc
index b975a21..e84a607 100644
--- a/src/site/content/download.adoc
+++ b/src/site/content/download.adoc
@@ -12,7 +12,7 @@ To download Shiro please follow the instructions below.
== Code Signatures
-You may link:https://infra.apache.org/release-signing.html#verifying-signature[verify the authenticity] of all artifacts below by using the PGP link:https://www.apache.org/dist/shiro/KEYS[KEYS] file.
+You may link:https://infra.apache.org/release-signing.html#verifying-signature[verify the authenticity] of all artifacts below by using the PGP link:https://downloads.apache.org/shiro/KEYS[KEYS] file.
== Current Release
diff --git a/src/site/content/release-archive.adoc b/src/site/content/release-archive.adoc
index 6ac36c9..71ca4c0 100644
--- a/src/site/content/release-archive.adoc
+++ b/src/site/content/release-archive.adoc
@@ -12,7 +12,7 @@ We recommend to stick to the latest version.
== Code Signatures
-You may link:https://infra.apache.org/release-signing.html#verifying-signature[verify the authenticity] of all artifacts below by using the PGP link:https://www.apache.org/dist/shiro/KEYS[KEYS] file.
+You may link:https://infra.apache.org/release-signing.html#verifying-signature[verify the authenticity] of all artifacts below by using the PGP link:https://downloads.apache.org/shiro/KEYS[KEYS] file.
== Previous Releases
diff --git a/src/site/templates/download.ftl b/src/site/templates/download.ftl
index e21acbd..27ab4c8 100644
--- a/src/site/templates/download.ftl
+++ b/src/site/templates/download.ftl
@@ -14,6 +14,7 @@
<#if ((content.releases).versions)??>
<#assign displayReleases=((content.releases).versions)![] />
<#assign downloadUrl="https://www.apache.org/dyn/closer.lua/shiro/" />
+ <#assign downloadHashUrl="https://downloads.apache.org/shiro/" />
<#else>
<#-- if not releases are given using :jbake-release:, assume oldReleases (release-archive.html). -->
<#assign displayReleases=versions.oldReleases />
@@ -47,9 +48,9 @@
<code><a class="external-link" href="${downloadUrl}${release.version}/shiro-root-${release.version}-source-release.zip">shiro-root-${release.version}-source-release.zip</a></code>
(<a class="external-link"
- href="${downloadUrl}${release.version}/shiro-root-${release.version}-source-release.zip.asc">pgp</a>, <a
+ href="${downloadHashUrl}${release.version}/shiro-root-${release.version}-source-release.zip.asc">pgp</a>, <a
class="external-link"
- href="${downloadUrl}${release.version}/shiro-root-${release.version}-source-release.zip.sha512">sha512</a>)
+ href="${downloadHashUrl}${release.version}/shiro-root-${release.version}-source-release.zip.sha512">sha512</a>)
</code>
<p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>