Skip to content

Commit

Permalink
VeraCrypt: update to 1.26.7
Browse files Browse the repository at this point in the history
manually package for bookworm due to upstream multi-week delay veracrypt/VeraCrypt#1046 (comment)

hopefully upstream is able to package by the next stable cut

also switch to github releases instead of curseforge
  • Loading branch information
theofficialgman committed Oct 20, 2023
1 parent c51cdd7 commit 83c1804
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 9 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/updates/VeraCrypt.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/bin/bash

webVer="$(wget --header="Accept: text/html" --user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36" -qO- https://sourceforge.net/projects/veracrypt/files/ | sed -n '/Latest/{n;p;}' | sed 's/.*veracrypt-//g; s/-setup.*//g')"
armhf_url="https://sourceforge.net/projects/veracrypt/files/VeraCrypt%20${webVer}/Linux/veracrypt-${webVer}-Debian-10-armhf.deb"
arm64_url="https://sourceforge.net/projects/veracrypt/files/VeraCrypt%20${webVer}/Linux/veracrypt-${webVer}-Debian-10-arm64.deb"
webVer[0]="$(get_release_raw veracrypt/VeraCrypt | sed 's/VeraCrypt_//g' )"
webVer[1]="${webVer[0]}"
armhf_url[0]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[0]}/veracrypt-${webVer[0]}-Debian-10-armhf.deb"
arm64_url[0]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[0]}/veracrypt-${webVer[0]}-Debian-10-arm64.deb"
armhf_url[1]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[1]}/veracrypt-${webVer[1]}-Debian-11-armhf.deb"
arm64_url[1]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[1]}/veracrypt-${webVer[1]}-Debian-11-arm64.deb"

source $GITHUB_WORKSPACE/.github/workflows/update_github_script.sh
16 changes: 13 additions & 3 deletions apps/VeraCrypt/install-32
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
#!/bin/bash

version=1.25.9

install_packages https://sourceforge.net/projects/veracrypt/files/VeraCrypt%20${version}/Linux/veracrypt-${version}-Debian-10-armhf.deb || exit 1
version=1.26.7
version2=1.26.7

case $(get_codename) in
buster)
install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version}/veracrypt-${version}-Debian-10-armhf.deb || exit 1
;;
bullseye)
install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version2}/veracrypt-${version2}-Debian-11-armhf.deb || exit 1
;;
bookworm)
install_packages https://github.com/Pi-Apps-Coders/files/releases/download/large-files/veracrypt-1.26.7-Debian-12-armhf.deb || exit 1
;;
esac
13 changes: 10 additions & 3 deletions apps/VeraCrypt/install-64
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
#!/bin/bash

version=1.25.9
version=1.26.7
version2=1.26.7

case $(get_codename) in
bionic)
install_packages https://github.com/Pi-Apps-Coders/files/releases/download/large-files/veracrypt-1.25.9-Ubuntu-18.04-arm64.deb || exit 1
;;
*)
install_packages https://sourceforge.net/projects/veracrypt/files/VeraCrypt%20${version}/Linux/veracrypt-${version}-Debian-10-arm64.deb || exit 1
buster)
install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version}/veracrypt-${version}-Debian-10-arm64.deb || exit 1
;;
bullseye)
install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version2}/veracrypt-${version2}-Debian-11-arm64.deb || exit 1
;;
bookworm)
install_packages https://github.com/Pi-Apps-Coders/files/releases/download/large-files/veracrypt-1.26.7-Debian-12-arm64.deb || exit 1
;;
esac

0 comments on commit 83c1804

Please sign in to comment.