meso-web

Sources of the |Méso|Star> website
git clone git://git.meso-star.com/meso-web.git
Log | Files | Refs | README | LICENSE

commit 7676f5755cf006f00db6d61dc560a58f59ff8177
parent 75130b27f90b44dc3226916613dcc79057540de9
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Sun, 12 Jul 2026 15:01:24 +0200

Rename the hooks that compute the cheksums

They were named as if they still signed archives while they are now only
computing their SHA512 checksum. Their log messages are also updated
accordingly.

Diffstat:
Aart/hooks/00-compute-digests.sh | 40++++++++++++++++++++++++++++++++++++++++
Dart/hooks/00-sign-archives.sh | 40----------------------------------------
Ahtrdr/hooks/00-compute-digests.sh | 40++++++++++++++++++++++++++++++++++++++++
Dhtrdr/hooks/00-sign-archives.sh | 40----------------------------------------
Asolstice/hooks/00-compute-digests.sh | 43+++++++++++++++++++++++++++++++++++++++++++
Dsolstice/hooks/00-sign-archives.sh | 43-------------------------------------------
Astardis/hooks/00-compute-digests.sh | 40++++++++++++++++++++++++++++++++++++++++
Dstardis/hooks/00-sign-archives.sh | 40----------------------------------------
8 files changed, 163 insertions(+), 163 deletions(-)

diff --git a/art/hooks/00-compute-digests.sh b/art/hooks/00-compute-digests.sh @@ -0,0 +1,40 @@ +#!/bin/sh + +# Copyright (C) 2017-2026 |Méso|Star> (contact@meso-star.com) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +set -e + +cd downloads + +find . -name "*.tgz" \ +| sort \ +| while read -r i; do + +file="$(basename "${i}")" # Rm the "./" prefix + + algo="sha512" + sign="${file}.${algo}" + + if ! [ -f "${sign}" ]; then + >&2 printf 'Computing digest for %s\n' "${file}" + cksum -a "${algo}" "${file}" > "${sign}" + fi + + # Write the generated files to standard output to inform the build + # system which files it needs to handle during installation. + printf '%s/%s/%s\n' "${OLDPWD##*/}" "${PWD##*/}" "${sign}" + +done diff --git a/art/hooks/00-sign-archives.sh b/art/hooks/00-sign-archives.sh @@ -1,40 +0,0 @@ -#!/bin/sh - -# Copyright (C) 2017-2026 |Méso|Star> (contact@meso-star.com) -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -set -e - -cd downloads - -find . -name "*.tgz" \ -| sort \ -| while read -r i; do - -file="$(basename "${i}")" # Rm the "./" prefix - - algo="sha512" - sign="${file}.${algo}" - - if ! [ -f "${sign}" ]; then - >&2 printf 'Signing %s\n' "${file}" - cksum -a "${algo}" "${file}" > "${sign}" - fi - - # Write the generated files to standard output to inform the build - # system which files it needs to handle during installation. - printf '%s/%s/%s\n' "${OLDPWD##*/}" "${PWD##*/}" "${sign}" - -done diff --git a/htrdr/hooks/00-compute-digests.sh b/htrdr/hooks/00-compute-digests.sh @@ -0,0 +1,40 @@ +#!/bin/sh + +# Copyright (C) 2017-2026 |Méso|Star> (contact@meso-star.com) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +set -e + +cd downloads + +find . -name "*Starter-Pack*.tar.gz" -o -name "*.nc.xz"\ +| sort \ +| while read -r i; do + + file="$(basename "${i}")" # Rm the "./" prefix + + algo="sha512" + sign="${file}.${algo}" + + if ! [ -f "${sign}" ]; then + >&2 printf 'Computing digest for %s\n' "${file}" + cksum -a "${algo}" "${file}" > "${sign}" + fi + + # Write the generated files to standard output to inform the build + # system which files it needs to handle during installation. + printf '%s/%s/%s\n' "${OLDPWD##*/}" "${PWD##*/}" "${sign}" + +done diff --git a/htrdr/hooks/00-sign-archives.sh b/htrdr/hooks/00-sign-archives.sh @@ -1,40 +0,0 @@ -#!/bin/sh - -# Copyright (C) 2017-2026 |Méso|Star> (contact@meso-star.com) -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -set -e - -cd downloads - -find . -name "*Starter-Pack*.tar.gz" -o -name "*.nc.xz"\ -| sort \ -| while read -r i; do - - file="$(basename "${i}")" # Rm the "./" prefix - - algo="sha512" - sign="${file}.${algo}" - - if ! [ -f "${sign}" ]; then - >&2 printf 'Signing %s\n' "${file}" - cksum -a "${algo}" "${file}" > "${sign}" - fi - - # Write the generated files to standard output to inform the build - # system which files it needs to handle during installation. - printf '%s/%s/%s\n' "${OLDPWD##*/}" "${PWD##*/}" "${sign}" - -done diff --git a/solstice/hooks/00-compute-digests.sh b/solstice/hooks/00-compute-digests.sh @@ -0,0 +1,43 @@ +#!/bin/sh + +# Copyright (C) 2017-2026 |Méso|Star> (contact@meso-star.com) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +set -e + +cd downloads + +find . \ + -name "*.tar" \ + -o -name "*.tar.gz" \ + -o -name "*.tgz" \ + -o -name "*.zip" \ +| while read -r i; do + + file="$(basename "${i}")" # Rm the "./" prefix + + algo="sha512" + sign="${file}.${algo}" + + if ! [ -f "${sign}" ]; then + >&2 printf 'Computing digest for %s\n' "${file}" + cksum -a "${algo}" "${file}" > "${sign}" + fi + + # Write the generated files to standard output to inform the build + # system which files it needs to handle during installation. + printf '%s/%s/%s\n' "${OLDPWD##*/}" "${PWD##*/}" "${sign}" + +done diff --git a/solstice/hooks/00-sign-archives.sh b/solstice/hooks/00-sign-archives.sh @@ -1,43 +0,0 @@ -#!/bin/sh - -# Copyright (C) 2017-2026 |Méso|Star> (contact@meso-star.com) -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -set -e - -cd downloads - -find . \ - -name "*.tar" \ - -o -name "*.tar.gz" \ - -o -name "*.tgz" \ - -o -name "*.zip" \ -| while read -r i; do - - file="$(basename "${i}")" # Rm the "./" prefix - - algo="sha512" - sign="${file}.${algo}" - - if ! [ -f "${sign}" ]; then - >&2 printf 'Signing %s\n' "${file}" - cksum -a "${algo}" "${file}" > "${sign}" - fi - - # Write the generated files to standard output to inform the build - # system which files it needs to handle during installation. - printf '%s/%s/%s\n' "${OLDPWD##*/}" "${PWD##*/}" "${sign}" - -done diff --git a/stardis/hooks/00-compute-digests.sh b/stardis/hooks/00-compute-digests.sh @@ -0,0 +1,40 @@ +#!/bin/sh + +# Copyright (C) 2017-2026 |Méso|Star> (contact@meso-star.com) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +set -e + +cd downloads + +find . -name "Stardis*.tar.gz" \ +| sort \ +| while read -r i; do + + file="$(basename "${i}")" # Rm the "./" prefix + + algo="sha512" + sign="${file}.${algo}" + + if ! [ -f "${sign}" ]; then + >&2 printf 'Computing digest for %s\n' "${file}" + cksum -a "${algo}" "${file}" > "${sign}" + fi + + # Write the generated files to standard output to inform the build + # system which files it needs to handle during installation. + printf '%s/%s/%s\n' "${OLDPWD##*/}" "${PWD##*/}" "${sign}" + +done diff --git a/stardis/hooks/00-sign-archives.sh b/stardis/hooks/00-sign-archives.sh @@ -1,40 +0,0 @@ -#!/bin/sh - -# Copyright (C) 2017-2026 |Méso|Star> (contact@meso-star.com) -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -set -e - -cd downloads - -find . -name "Stardis*.tar.gz" \ -| sort \ -| while read -r i; do - - file="$(basename "${i}")" # Rm the "./" prefix - - algo="sha512" - sign="${file}.${algo}" - - if ! [ -f "${sign}" ]; then - >&2 printf 'Signing %s\n' "${file}" - cksum -a "${algo}" "${file}" > "${sign}" - fi - - # Write the generated files to standard output to inform the build - # system which files it needs to handle during installation. - printf '%s/%s/%s\n' "${OLDPWD##*/}" "${PWD##*/}" "${sign}" - -done