From ee8b1db13d68f78136e7ccc8917f66c5df0acf78 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Mon, 4 Oct 2021 16:41:45 +0200 Subject: [PATCH] proxmox-backup-client: Add version 2.0.9-2 Create be0 file from mTEMPLATE.be0. The proxmox backup software is open source and it should be possible to build it from sources. However, the build system is strongly tied to Debian, so it would be a lot of work to port it or to set up some container build system. For the evaluation phase now, we can postpone this and install the binaries from the Debian package instead. --- proxmox-backup-client.be0 | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 proxmox-backup-client.be0 diff --git a/proxmox-backup-client.be0 b/proxmox-backup-client.be0 new file mode 100755 index 000000000..6520db062 --- /dev/null +++ b/proxmox-backup-client.be0 @@ -0,0 +1,41 @@ +#!/usr/bin/env beesh + +# BEE_VERSION proxmox-backup-client-2.0.9_2-0 + +# more info: https://pbs.proxmox.com/docs/backup-client.html + +SRCURL[0]="http://download.proxmox.com/debian/pbs-client/dists/bullseye/main/binary-amd64/proxmox-backup-client_${PKGVERSION}-${PKGEXTRAVERSION}_amd64.deb" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +mee_extract() { + mkdir -p $B + (cd $B && ar xv "${@}" && tar xf control.tar.xz && tar xf data.tar.xz) +} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +mee_build() { + : +} + +mee_install() { + mkdir -p $D$BINDIR $D$MANDIR/man1 $D$DATAROOTDIR/bash-completion/completions + cp $B/usr/bin/* $D$BINDIR/ + cp $B/usr/share/man/man1/* $D$MANDIR/man1/ + cp $B/usr/share/bash-completion/completions/* $D$DATAROOTDIR/bash-completion/completions/ +} + +#mee_install_post() { +# exit +#}