upgpkg: duplicati-canary-bin 2.0.9.107-1

upstream release
This commit is contained in:
Joey Dumont 2024-09-17 21:29:33 -04:00
parent baaba86313
commit 091f48acde
3 changed files with 31 additions and 12 deletions

View file

@ -1,6 +1,6 @@
pkgbase = duplicati-canary-bin
pkgdesc = A free backup client that securely stores encrypted, incremental, compressed backups on cloud storage services and remote file servers
pkgver = 2.0.9.105
pkgver = 2.0.9.107
pkgrel = 1
url = http://duplicati.com
install = duplicati.install
@ -16,7 +16,7 @@ pkgbase = duplicati-canary-bin
conflicts = duplicati-latest
conflicts = duplicati
replaces = duplicati-latest
noextract = duplicati-canary-bin-2.0.9.105.zip
noextract = duplicati-canary-bin-2.0.9.107.zip
backup = etc/default/duplicati
source = duplicati-user.service
source = duplicati.service
@ -28,9 +28,9 @@ pkgbase = duplicati-canary-bin
sha256sums = b9389b399467f3e02aa8e76bb98f6efbca1166fbc4d0bdf939493f8403462959
sha256sums = b6ca3d280feb753ded94bb44eef821a0dac0c0c7ed7f37dea76d445a64386c86
sha256sums = 99591e96c340b49b47341315cb42f8ac12ca66dc4d22550e4acd37cce84e8b36
source_x86_64 = duplicati-canary-bin-2.0.9.105-x86_64.zip::https://github.com/duplicati/duplicati/releases/download/v2.0.9.105_canary_2024-08-29/duplicati-2.0.9.105_canary_2024-08-29-linux-x64-gui.zip
sha256sums_x86_64 = ed812165c5ca32e4f89fa2da86bb1ef45a407d5a5f1858563e633e846c82a854
source_aarch64 = duplicati-canary-bin-2.0.9.105-aarch64.zip::https://github.com/duplicati/duplicati/releases/download/v2.0.9.105_canary_2024-08-29/duplicati-2.0.9.105_canary_2024-08-29-linux-arm64-gui.zip
sha256sums_aarch64 = 7cc45cc03d5b1382dcac3ee07fab9a0b8fe30b7e181635d5a0e463fa1578ec3a
source_x86_64 = duplicati-canary-bin-2.0.9.107-x86_64.zip::https://github.com/duplicati/duplicati/releases/download/v2.0.9.107_canary_2024-09-11/duplicati-2.0.9.107_canary_2024-09-11-linux-x64-gui.zip
sha256sums_x86_64 = c20884eb4b5ffde9df65071f0556c829e6ad2f5f7728e54a3083b7436d80fc35
source_aarch64 = duplicati-canary-bin-2.0.9.107-aarch64.zip::https://github.com/duplicati/duplicati/releases/download/v2.0.9.107_canary_2024-09-11/duplicati-2.0.9.107_canary_2024-09-11-linux-arm64-gui.zip
sha256sums_aarch64 = c05444ed734b7c0dbfd82103c42a08a3b581d49a5b9cf58e3d47a26de6256673
pkgname = duplicati-canary-bin

View file

@ -4,17 +4,15 @@
# aarch64 tester: Irissman <irissman@probus.ca>
# armv7h tester: kauron
pkgname=duplicati-canary-bin
pkgver=2.0.9.105
pkgver=2.0.9.107
pkgrel=1
_date=2024-08-29
_date=2024-09-11
_branch=canary
pkgdesc="A free backup client that securely stores encrypted, incremental, compressed backups on cloud storage services and remote file servers"
url="http://duplicati.com"
license=('MIT')
install=duplicati.install
source=(
# "https://updates.duplicati.com/${_branch}/${pkgver}_${_branch}_${_date}.zip" # duplicati.com seems to be blocked in Russia, see https://aur.archlinux.org/packages/duplicati-latest/#comment-746652
#"https://github.com/duplicati/duplicati/releases/download/v${pkgver}-${pkgver}_${_branch}_${_date}/duplicati-${pkgver}_${_branch}_${_date}.zip"
duplicati-user.service
duplicati.service
duplicati.sysusers
@ -43,8 +41,8 @@ sha256sums=('fbc76396405c645a3b9b7f00973540d4824f0cf634fa8369c6dfe2dd711cb38c'
'b9389b399467f3e02aa8e76bb98f6efbca1166fbc4d0bdf939493f8403462959'
'b6ca3d280feb753ded94bb44eef821a0dac0c0c7ed7f37dea76d445a64386c86'
'99591e96c340b49b47341315cb42f8ac12ca66dc4d22550e4acd37cce84e8b36')
sha256sums_x86_64=('ed812165c5ca32e4f89fa2da86bb1ef45a407d5a5f1858563e633e846c82a854')
sha256sums_aarch64=('7cc45cc03d5b1382dcac3ee07fab9a0b8fe30b7e181635d5a0e463fa1578ec3a')
sha256sums_x86_64=('c20884eb4b5ffde9df65071f0556c829e6ad2f5f7728e54a3083b7436d80fc35')
sha256sums_aarch64=('c05444ed734b7c0dbfd82103c42a08a3b581d49a5b9cf58e3d47a26de6256673')

View file

@ -5,6 +5,11 @@ post_install() {
cat <<EOF
* UI can be accessed via following URL: http://localhost:8200
* Running duplicati user instance (using current user account)
- set up database password: systemctl --user edit duplicati
[Service]
Environment="SETTINGS_ENCRYPTION_KEY=<your_password_here>"
(see https://github.com/duplicati/duplicati/releases/tag/v2.0.9.106_canary_2024-09-03 for details)
- to start duplicati manually: systemctl --user start duplicati
- to autostart duplicati on user login: systemctl --user enable duplicati
*
@ -16,6 +21,8 @@ post_install() {
EOF
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
mkdir -p /var/lib/duplicati
chown -R duplicati:duplicati /var/lib/duplicati
@ -71,6 +78,20 @@ EOF
* but see https://github.com/duplicati/duplicati/releases/tag/v2.0.9.102_canary_2024-08-02
* for more details.
EOF
fi
if [ $(vercmp $2 2.0.9.106-1) -lt 0 ]; then
cat <<EOF
* Version 2.0.9.106 changes the way the database is encrypted. The previously
* automatically generated password will not work. You will need to provide a
* password for the database using the environment variable SETTINGS_ENCRYPTION_KEY.
* See https://github.com/duplicati/duplicati/releases/tag/v2.0.9.106_canary_2024-09-03 for details.
* One way to provide the environment variable is by running
* systemctl --user edit duplicati and adding
[Service]
Environment="SETTINGS_ENCRYPTION_KEY=<your_password_here>"
EOF
fi