Certain hash files are not properly formatted (see below), can we (I?) fix
this?

wget \
  --quiet \
  --execute robots=off \
  --timestamping \
  --cut-dirs=7 \
  --no-host-directories \
  --recursive \
  --page-requisites \
  --no-parent \
  --no-check-certificate \
  https://dist.apache.org/repos/dist/dev/logging/log4j/

for sha_alg in 256 512; do
  find . -type f -name "*.sha$sha_alg" | while read sha_file; do
    shasum --algorithm $sha_alg --check "$sha_file"
  done
done

apache-log4j-api-scala-13.0-src.tar.gz: OK
apache-log4j-api-kotlin-1.2.0-bin.tar.gz: OK
apache-log4j-api-scala-13.0-src.zip: OK
apache-log4j-api-kotlin-1.2.0-bin.zip: OK
shasum: ./apache-log4j-2.12.4-src.tar.gz.sha256: no properly formatted SHA
checksum lines found
shasum: ./apache-log4j-2.12.4-bin.zip.sha256: no properly formatted SHA
checksum lines found
apache-log4j-api-kotlin-1.2.0-src.zip: OK
apache-log4j-api-kotlin-1.2.0-bin.tar.bz2: OK
apache-log4j-api-scala-13.0-bin.zip: OK
shasum: ./apache-log4j-2.3.2-src.zip.sha256: no properly formatted SHA
checksum lines found
shasum: ./apache-log4j-2.3.2-bin.tar.gz.sha256: no properly formatted SHA
checksum lines found
apache-log4j-api-kotlin-1.2.0-src.tar.bz2: OK
shasum: ./apache-log4j-2.12.4-bin.tar.gz.sha256: no properly formatted SHA
checksum lines found
shasum: ./apache-log4j-2.12.4-src.zip.sha256: no properly formatted SHA
checksum lines found
apache-log4j-api-scala-13.0-bin.tar.gz: OK
apache-log4j-api-kotlin-1.2.0-src.tar.gz: OK
shasum: ./apache-log4j-2.3.2-src.tar.gz.sha256: no properly formatted SHA
checksum lines found
shasum: ./apache-log4j-2.12.4-src.zip.sha512: no properly formatted SHA
checksum lines found
apache-log4j-api-scala-13.0-bin.zip: OK
apache-log4j-api-scala-13.0-bin.tar.gz: OK
apache-log4j-api-scala-13.0-src.tar.gz: OK
shasum: ./apache-log4j-2.12.4-bin.zip.sha512: no properly formatted SHA
checksum lines found
apache-log4j-api-kotlin-1.2.0-src.tar.gz: OK
apache-log4j-api-kotlin-1.2.0-src.zip: OK
shasum: ./apache-log4j-2.3.2-src.tar.gz.sha512: no properly formatted SHA
checksum lines found
shasum: ./apache-log4j-2.3.2-src.zip.sha512: no properly formatted SHA
checksum lines found
shasum: ./apache-log4j-2.12.4-src.tar.gz.sha512: no properly formatted SHA
checksum lines found
apache-log4j-api-kotlin-1.2.0-bin.tar.gz: OK
apache-log4j-api-kotlin-1.2.0-bin.tar.bz2: OK
apache-log4j-api-scala-13.0-src.zip: OK
apache-log4j-api-kotlin-1.2.0-src.tar.bz2: OK
shasum: ./apache-log4j-2.3.2-bin.tar.gz.sha512: no properly formatted SHA
checksum lines found
shasum: ./apache-log4j-2.12.4-bin.tar.gz.sha512: no properly formatted SHA
checksum lines found
shasum: ./apache-log4j-2.3.2-bin.zip.sha512: no properly formatted SHA
checksum lines found
apache-log4j-api-kotlin-1.2.0-bin.zip: OK

Reply via email to