Commit 91b259bd authored by Nico Alt's avatar Nico Alt
Browse files

Release 1.2.19

parent 9caa6951
briar-headless (1.2.19-1) UNRELEASED; urgency=medium
* Update Briar to 1.2.19
-- Nico Alt <nicoalt@posteo.org> Sat, 27 Mar 2021 15:25:32 +0000
briar-headless (1.2.11-1) UNRELEASED; urgency=medium
* Uses official .jar provided by The Briar Project
......
#!/usr/bin/env bash
# Copyright (c) 2020 Nico Alt
# Copyright (c) 2020-2021 Nico Alt
# SPDX-License-Identifier: AGPL-3.0-only
# License-Filename: LICENSE.md
set -e -x
VERSION="1.2.11"
SHA512SUM="016a176c8b861e49e981d93ed8e92039d98de75746bd91d2c6e4bddbaaf422fbf318136262375c723b70e7b969280c0b562eb278f24048191cb59b5befbf2ed6"
VERSION="1.2.19"
URL_BASE="https://briarproject.org/jar/"
FILE="briar-headless-$VERSION.jar"
wget -O $FILE $URL_BASE$FILE
if echo "$SHA512SUM $FILE" | sha512sum --check --status; then
echo "Checksum verification successful"
mv $FILE briar-headless.jar
cd ..
tar -zcvf briar-headless_$VERSION.orig.tar.gz briar-debian
else
rm $FILE
echo "Checksum verification failed!"
fi
download () {
FILE="briar-headless-$FLAVOUR-$VERSION.jar"
wget -O $FILE $URL_BASE$FILE
}
verify () {
FILE="briar-headless-$FLAVOUR-$VERSION.jar"
if echo "$SHA512SUM $FILE" | sha512sum --check --status; then
echo "Checksum verification successful"
mv $FILE briar-headless-$FLAVOUR.jar
else
rm $FILE
echo "Checksum verification failed!"
exit 1
fi
}
FLAVOUR="linux-x86_64"
SHA512SUM="aa94589b60a9a58da3bb9119367a20557e6548315e58a1457c5a9620932807e38d6027234ca67efbbc4a6afcee5055238dd6b8c9ccd81b9e829d539f87c0c3f9"
download
verify
FLAVOUR="linux-aarch64"
SHA512SUM="7689beaade44a28886b262ecc3e25272df019ddf6b32c729968005c75fe36b53f2ec5ed6959b3430740548b02659f111a18106e4ad423adb60b508e0f27b9b78"
download
verify
FLAVOUR="linux-armhf"
SHA512SUM="92b3d0492e8391914fb38d4d1072e4e6485640d415bb1d8876b5615bf759d5eb9844b82ca95ae843cca8c50988b25d1af78f46ace2f6d9846b8d6e51a7a66a56"
download
verify
cd ..
tar -zcvf briar-headless_$VERSION.orig.tar.gz briar-debian
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment