You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2018/12/19 15:07:56 UTC
[commons-rng] branch master updated: Fix download page template.
This is an automated email from the ASF dual-hosted git repository.
erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
The following commit(s) were added to refs/heads/master by this push:
new e5e1f4d Fix download page template.
e5e1f4d is described below
commit e5e1f4d0a4dbf5e31311ef88676129ce6dc25a62
Author: Gilles Sadowski <gi...@harfang.homelinux.org>
AuthorDate: Wed Dec 19 16:01:31 2018 +0100
Fix download page template.
sha1 is deprecated (Apache policy).
---
src/site/xdoc/download_rng.xml | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git a/src/site/xdoc/download_rng.xml b/src/site/xdoc/download_rng.xml
index 0c07721..c542285 100644
--- a/src/site/xdoc/download_rng.xml
+++ b/src/site/xdoc/download_rng.xml
@@ -26,22 +26,24 @@ limitations under the License.
| commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates |
+======================================================================+
| |
- | 1) Re-generate using: mvn commons:download-page |
+ | 1) Re-generate using: mvn commons-build:download-page |
| |
| 2) Set the following properties in the component's pom: |
- | - commons.componentid (required, alphabetic, lower case) |
+ | - commons.componentid (required, alphabetic, lower case) |
| - commons.release.version (required) |
| - commons.release.name (required) |
| - commons.binary.suffix (optional) |
| (defaults to "-bin", set to "" for pre-maven2 releases) |
| - commons.release.desc (optional) |
| - commons.release.subdir (optional) |
+ | - commons.release.hash (optional, lowercase, default sha256) |
| |
- | - commons.release.2/3.version (conditional) |
- | - commons.release.2/3.name (conditional) |
- | - commons.release.2/3.binary.suffix (optional) |
- | - commons.release.2/3.desc (optional) |
- | - commons.release.2/3.subdir (optional) |
+ | - commons.release.[234].version (conditional) |
+ | - commons.release.[234].name (conditional) |
+ | - commons.release.[234].binary.suffix (optional) |
+ | - commons.release.[234].desc (optional) |
+ | - commons.release.[234].subdir (optional) |
+ | - commons.release.[234].hash (optional, lowercase, [sha256])|
| |
| 3) Example Properties |
| (commons.release.name inherited by parent: |
@@ -102,7 +104,7 @@ limitations under the License.
It is essential that you
<a href="https://www.apache.org/info/verification.html">verify the integrity</a>
of downloaded files, preferably using the <code>PGP</code> signature (<code>*.asc</code> files);
- failing that using the <code>SHA1</code> hash (<code>*.sha1</code> checksum files).
+ failing that using the <code>SHA256</code> hash (<code>*.sha256</code> checksum files).
</p>
<p>
The <a href="https://www.apache.org/dist/commons/KEYS">KEYS</a>
@@ -116,12 +118,12 @@ limitations under the License.
<table>
<tr>
<td><a href="[preferred]/commons/rng/binaries/commons-rng-1.2-bin.tar.gz">commons-rng-1.2-bin.tar.gz</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.sha1">sha1</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.sha256">sha256</a></td>
<td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.asc">pgp</a></td>
</tr>
<tr>
<td><a href="[preferred]/commons/rng/binaries/commons-rng-1.2-bin.zip">commons-rng-1.2-bin.zip</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.2-bin.zip.sha1">sha1</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.2-bin.zip.sha256">sha256</a></td>
<td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.2-bin.zip.asc">pgp</a></td>
</tr>
</table>
@@ -130,12 +132,12 @@ limitations under the License.
<table>
<tr>
<td><a href="[preferred]/commons/rng/source/commons-rng-1.2-src.tar.gz">commons-rng-1.2-src.tar.gz</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.2-src.tar.gz.sha1">sha1</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.2-src.tar.gz.sha256">sha256</a></td>
<td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.2-src.tar.gz.asc">pgp</a></td>
</tr>
<tr>
<td><a href="[preferred]/commons/rng/source/commons-rng-1.2-src.zip">commons-rng-1.2-src.zip</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.2-src.zip.sha1">sha1</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.2-src.zip.sha256">sha256</a></td>
<td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.2-src.zip.asc">pgp</a></td>
</tr>
</table>