2024-04-21 14:37:45 -04:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
|
|
|
do_hash() {
|
|
|
|
HASH_NAME=$1
|
|
|
|
HASH_CMD=$2
|
|
|
|
echo "${HASH_NAME}:"
|
|
|
|
for f in $(find -type f); do
|
|
|
|
f=$(echo $f | cut -c3-) # remove ./ prefix
|
|
|
|
if [ "$f" = "Release" ]; then
|
|
|
|
continue
|
|
|
|
fi
|
|
|
|
echo " $(${HASH_CMD} ${f} | cut -d" " -f1) $(wc -c $f)"
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
cat << EOF
|
|
|
|
Origin: packages.veilid.net
|
2024-07-14 18:22:50 -04:00
|
|
|
Suite: nightly
|
2024-04-21 14:37:45 -04:00
|
|
|
Architectures: amd64 arm64
|
|
|
|
Components: main
|
2024-07-14 18:22:50 -04:00
|
|
|
Description: Official repository for nightly released Veilid binaries.
|
2024-04-21 14:37:45 -04:00
|
|
|
Date: $(date -Ru)
|
|
|
|
EOF
|
|
|
|
do_hash "MD5Sum" "md5sum"
|
|
|
|
do_hash "SHA1" "sha1sum"
|
|
|
|
do_hash "SHA256" "sha256sum"
|