mirror of
https://github.com/wofferl/proxmox-backup-arm64
synced 2025-12-15 15:53:56 +00:00
update proxmox-backup to 2.4.2-2
This commit is contained in:
4
build.sh
4
build.sh
@@ -230,8 +230,8 @@ ${SUDO} apt install -y "${packages_install[@]}"
|
|||||||
|
|
||||||
cd "${SOURCES}"
|
cd "${SOURCES}"
|
||||||
|
|
||||||
PROXMOX_BACKUP_VER="2.4.2-1"
|
PROXMOX_BACKUP_VER="2.4.2-2"
|
||||||
PROXMOX_BACKUP_GIT="e5b6a0b38dd0da736292fb696f6c7d0ec2563c36"
|
PROXMOX_BACKUP_GIT="891f6a6fe430e8c269e49cea0d878e96970ffc86"
|
||||||
PATHPATTERNS_GIT="8a0dce93d535ef04bfa9c8317edc0ef0216e9042" # 0.1.3-1
|
PATHPATTERNS_GIT="8a0dce93d535ef04bfa9c8317edc0ef0216e9042" # 0.1.3-1
|
||||||
PROXMOX_ACME_RS_GIT="abc0bdd09d5c3501534510d49da0ae8fa5c05c05" # 0.4.0
|
PROXMOX_ACME_RS_GIT="abc0bdd09d5c3501534510d49da0ae8fa5c05c05" # 0.4.0
|
||||||
PROXMOX_APT_GIT="8a7a719aec23ad98a00bb452f0ced4cbf88ba591" # 0.9.3-1
|
PROXMOX_APT_GIT="8a7a719aec23ad98a00bb452f0ced4cbf88ba591" # 0.9.3-1
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ index 3b5b6e48..50908c05 100644
|
|||||||
+[source.vendored-sources]
|
+[source.vendored-sources]
|
||||||
+directory = "vendor"
|
+directory = "vendor"
|
||||||
diff --git a/Cargo.toml b/Cargo.toml
|
diff --git a/Cargo.toml b/Cargo.toml
|
||||||
index 032060e0..14ee5288 100644
|
index 20c1e9c8..c0e13abe 100644
|
||||||
--- a/Cargo.toml
|
--- a/Cargo.toml
|
||||||
+++ b/Cargo.toml
|
+++ b/Cargo.toml
|
||||||
@@ -241,31 +241,34 @@ proxmox-rrd.workspace = true
|
@@ -241,31 +241,34 @@ proxmox-rrd.workspace = true
|
||||||
@@ -87,7 +87,7 @@ index 032060e0..14ee5288 100644
|
|||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
diff --git a/debian/control b/debian/control
|
diff --git a/debian/control b/debian/control
|
||||||
index e1470752..13d713ff 100644
|
index 1b0c36f8..8c1712fa 100644
|
||||||
--- a/debian/control
|
--- a/debian/control
|
||||||
+++ b/debian/control
|
+++ b/debian/control
|
||||||
@@ -2,133 +2,7 @@ Source: rust-proxmox-backup
|
@@ -2,133 +2,7 @@ Source: rust-proxmox-backup
|
||||||
@@ -95,7 +95,7 @@ index e1470752..13d713ff 100644
|
|||||||
Priority: optional
|
Priority: optional
|
||||||
Build-Depends: debhelper (>= 12),
|
Build-Depends: debhelper (>= 12),
|
||||||
- dh-cargo (>= 24),
|
- dh-cargo (>= 24),
|
||||||
- cargo:native (>= 0.65.0-1),
|
- cargo:native (>= 0.65.0~),
|
||||||
- rustc:native,
|
- rustc:native,
|
||||||
libstd-rust-dev,
|
libstd-rust-dev,
|
||||||
- librust-anyhow-1+default-dev,
|
- librust-anyhow-1+default-dev,
|
||||||
@@ -225,7 +225,7 @@ index e1470752..13d713ff 100644
|
|||||||
libfuse3-dev,
|
libfuse3-dev,
|
||||||
libsystemd-dev (>= 246-~~),
|
libsystemd-dev (>= 246-~~),
|
||||||
diff --git a/debian/rules b/debian/rules
|
diff --git a/debian/rules b/debian/rules
|
||||||
index cf94692e..0f6bb703 100755
|
index 79366229..1ebd7460 100755
|
||||||
--- a/debian/rules
|
--- a/debian/rules
|
||||||
+++ b/debian/rules
|
+++ b/debian/rules
|
||||||
@@ -4,12 +4,9 @@
|
@@ -4,12 +4,9 @@
|
||||||
@@ -241,10 +241,10 @@ index cf94692e..0f6bb703 100755
|
|||||||
export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
||||||
export DEB_HOST_RUST_TYPE DEB_HOST_GNU_TYPE
|
export DEB_HOST_RUST_TYPE DEB_HOST_GNU_TYPE
|
||||||
export CARGO_HOME = $(CURDIR)/debian/cargo_home
|
export CARGO_HOME = $(CURDIR)/debian/cargo_home
|
||||||
@@ -22,7 +19,6 @@ export DEB_CARGO_PACKAGE=proxmox-backup
|
@@ -27,7 +24,6 @@ endif
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
@perl -ne 'if (/^version\s*=\s*"(\d+(?:\.\d+)+)"/) { my $$v_cargo = $$1; my $$v_deb = $$ENV{DEB_VERSION_UPSTREAM}; die "ERROR: d/changelog <-> Cargo.toml version mismatch: $$v_cargo != $$v_deb\n" if $$v_cargo ne $$v_deb; exit(0); }' Cargo.toml
|
@perl -ne 'if (/^version\s*=\s*"(\d+(?:\.\d+)+)"/) { my $$v_cargo = $$1; my $$v_deb = "$(DEB_VERSION_UPSTREAM)"; \
|
||||||
|
die "ERROR: d/changelog <-> Cargo.toml version mismatch: $$v_cargo != $$v_deb\n" if $$v_cargo ne $$v_deb; exit(0); }' Cargo.toml
|
||||||
- $(CARGO) prepare-debian $(CURDIR)/debian/cargo_registry --link-from-system
|
- $(CARGO) prepare-debian $(CURDIR)/debian/cargo_registry --link-from-system
|
||||||
dh_auto_configure
|
dh_auto_configure
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
diff --git a/Makefile b/Makefile
|
diff --git a/Makefile b/Makefile
|
||||||
index 83ab59bd..4a1e499b 100644
|
index b307009d..3473103a 100644
|
||||||
--- a/Makefile
|
--- a/Makefile
|
||||||
+++ b/Makefile
|
+++ b/Makefile
|
||||||
@@ -4,32 +4,21 @@ include defines.mk
|
@@ -4,32 +4,21 @@ include defines.mk
|
||||||
@@ -38,28 +38,19 @@ index 83ab59bd..4a1e499b 100644
|
|||||||
- proxmox-restore-daemon
|
- proxmox-restore-daemon
|
||||||
+RESTORE_BIN :=
|
+RESTORE_BIN :=
|
||||||
|
|
||||||
SUBCRATES != cargo metadata --format-version=1 | jq -r .workspace_members'[]' | awk '{ print $$1 }' | grep -v '^proxmox-backup$$' | tr '\n' ' '
|
SUBCRATES != cargo metadata --no-deps --format-version=1 \
|
||||||
|
| jq -r .workspace_members'[]' \
|
||||||
|
@@ -61,8 +50,7 @@ RESTORE_DEB=proxmox-backup-file-restore_$(DEB_VERSION)_$(ARCH).deb
|
||||||
|
RESTORE_DBG_DEB=proxmox-backup-file-restore-dbgsym_$(DEB_VERSION)_$(ARCH).deb
|
||||||
|
DOC_DEB=$(PACKAGE)-docs_$(DEB_VERSION)_all.deb
|
||||||
|
|
||||||
@@ -59,8 +48,7 @@ RESTORE_DEB=proxmox-backup-file-restore_${DEB_VERSION}_${ARCH}.deb
|
-DEBS=$(SERVER_DEB) $(SERVER_DBG_DEB) $(CLIENT_DEB) $(CLIENT_DBG_DEB) \
|
||||||
RESTORE_DBG_DEB=proxmox-backup-file-restore-dbgsym_${DEB_VERSION}_${ARCH}.deb
|
- $(RESTORE_DEB) $(RESTORE_DBG_DEB) $(DEBUG_DEB) $(DEBUG_DBG_DEB)
|
||||||
DOC_DEB=${PACKAGE}-docs_${DEB_VERSION}_all.deb
|
|
||||||
|
|
||||||
-DEBS=${SERVER_DEB} ${SERVER_DBG_DEB} ${CLIENT_DEB} ${CLIENT_DBG_DEB} \
|
|
||||||
- ${RESTORE_DEB} ${RESTORE_DBG_DEB} ${DEBUG_DEB} ${DEBUG_DBG_DEB}
|
|
||||||
+DEBS=${CLIENT_DEB} ${CLIENT_DBG_DEB}
|
+DEBS=${CLIENT_DEB} ${CLIENT_DBG_DEB}
|
||||||
|
|
||||||
DSC = rust-${PACKAGE}_${DEB_VERSION}.dsc
|
DSC = rust-$(PACKAGE)_$(DEB_VERSION).dsc
|
||||||
|
|
||||||
@@ -77,7 +65,7 @@ $(SUBDIRS):
|
@@ -154,30 +142,11 @@ cargo-build:
|
||||||
test:
|
|
||||||
#cargo test test_broadcast_future
|
|
||||||
#cargo test $(CARGO_BUILD_ARGS)
|
|
||||||
- $(CARGO) test $(tests) $(CARGO_BUILD_ARGS)
|
|
||||||
+ $(CARGO) test $(tests) $(CARGO_BUILD_ARGS)
|
|
||||||
|
|
||||||
doc:
|
|
||||||
$(CARGO) doc --workspace --no-deps $(CARGO_BUILD_ARGS)
|
|
||||||
@@ -152,30 +140,11 @@ cargo-build:
|
|
||||||
$(COMPILED_BINS) $(COMPILEDIR)/dump-catalog-shell-cli $(COMPILEDIR)/docgen: .do-cargo-build
|
$(COMPILED_BINS) $(COMPILEDIR)/dump-catalog-shell-cli $(COMPILEDIR)/docgen: .do-cargo-build
|
||||||
.do-cargo-build:
|
.do-cargo-build:
|
||||||
$(CARGO) build $(CARGO_BUILD_ARGS) \
|
$(CARGO) build $(CARGO_BUILD_ARGS) \
|
||||||
@@ -91,7 +82,7 @@ index 83ab59bd..4a1e499b 100644
|
|||||||
touch "$@"
|
touch "$@"
|
||||||
|
|
||||||
|
|
||||||
@@ -184,10 +153,11 @@ lint:
|
@@ -186,10 +155,11 @@ lint:
|
||||||
cargo clippy -- -A clippy::all -D clippy::correctness
|
cargo clippy -- -A clippy::all -D clippy::correctness
|
||||||
|
|
||||||
install: $(COMPILED_BINS)
|
install: $(COMPILED_BINS)
|
||||||
@@ -104,7 +95,7 @@ index 83ab59bd..4a1e499b 100644
|
|||||||
install -m644 zsh-completions/_$(i) $(DESTDIR)$(ZSH_COMPL_DEST)/ ;)
|
install -m644 zsh-completions/_$(i) $(DESTDIR)$(ZSH_COMPL_DEST)/ ;)
|
||||||
install -dm755 $(DESTDIR)$(SBINDIR)
|
install -dm755 $(DESTDIR)$(SBINDIR)
|
||||||
$(foreach i,$(USR_SBIN), \
|
$(foreach i,$(USR_SBIN), \
|
||||||
@@ -198,10 +168,10 @@ install: $(COMPILED_BINS)
|
@@ -200,10 +170,10 @@ install: $(COMPILED_BINS)
|
||||||
$(foreach i,$(RESTORE_BIN), \
|
$(foreach i,$(RESTORE_BIN), \
|
||||||
install -m755 $(COMPILEDIR)/$(i) $(DESTDIR)$(LIBEXECDIR)/proxmox-backup/file-restore/ ;)
|
install -m755 $(COMPILEDIR)/$(i) $(DESTDIR)$(LIBEXECDIR)/proxmox-backup/file-restore/ ;)
|
||||||
# install sg-tape-cmd as setuid binary
|
# install sg-tape-cmd as setuid binary
|
||||||
@@ -118,11 +109,11 @@ index 83ab59bd..4a1e499b 100644
|
|||||||
|
|
||||||
.PHONY: upload
|
.PHONY: upload
|
||||||
diff --git a/debian/control b/debian/control
|
diff --git a/debian/control b/debian/control
|
||||||
index 286922b5..5ddeac2c 100644
|
index 8c1712fa..aee8f489 100644
|
||||||
--- a/debian/control
|
--- a/debian/control
|
||||||
+++ b/debian/control
|
+++ b/debian/control
|
||||||
@@ -147,7 +21,7 @@ Build-Depends: debhelper (>= 12),
|
@@ -21,7 +21,7 @@ Build-Depends: debhelper (>= 12),
|
||||||
pve-eslint (>= 7.18.0-1),
|
pve-eslint (>= 7.18.0~),
|
||||||
python3-docutils,
|
python3-docutils,
|
||||||
python3-pygments,
|
python3-pygments,
|
||||||
- python3-sphinx <!nodoc>,
|
- python3-sphinx <!nodoc>,
|
||||||
@@ -130,7 +121,7 @@ index 286922b5..5ddeac2c 100644
|
|||||||
rsync,
|
rsync,
|
||||||
texlive-fonts-extra <!nodoc>,
|
texlive-fonts-extra <!nodoc>,
|
||||||
texlive-fonts-recommended <!nodoc>,
|
texlive-fonts-recommended <!nodoc>,
|
||||||
@@ -160,34 +34,6 @@ Vcs-Browser: https://git.proxmox.com/?p=proxmox-backup.git;a=summary
|
@@ -34,34 +34,6 @@ Vcs-Browser: https://git.proxmox.com/?p=proxmox-backup.git;a=summary
|
||||||
Homepage: https://www.proxmox.com
|
Homepage: https://www.proxmox.com
|
||||||
Rules-Requires-Root: binary-targets
|
Rules-Requires-Root: binary-targets
|
||||||
|
|
||||||
@@ -165,7 +156,7 @@ index 286922b5..5ddeac2c 100644
|
|||||||
Package: proxmox-backup-client
|
Package: proxmox-backup-client
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: qrencode,
|
Depends: qrencode,
|
||||||
@@ -196,26 +42,3 @@ Depends: qrencode,
|
@@ -70,26 +42,3 @@ Depends: qrencode,
|
||||||
Description: Proxmox Backup Client tools
|
Description: Proxmox Backup Client tools
|
||||||
This package contains the Proxmox Backup client, which provides a
|
This package contains the Proxmox Backup client, which provides a
|
||||||
simple command line tool to create and restore backups.
|
simple command line tool to create and restore backups.
|
||||||
@@ -193,10 +184,10 @@ index 286922b5..5ddeac2c 100644
|
|||||||
- restoring individual files and folders from both host/container and VM/block
|
- restoring individual files and folders from both host/container and VM/block
|
||||||
- device backups. It includes a block device restore driver using QEMU.
|
- device backups. It includes a block device restore driver using QEMU.
|
||||||
diff --git a/debian/rules b/debian/rules
|
diff --git a/debian/rules b/debian/rules
|
||||||
index cf94692e..1309ea1f 100755
|
index 1ebd7460..c72dcd50 100755
|
||||||
--- a/debian/rules
|
--- a/debian/rules
|
||||||
+++ b/debian/rules
|
+++ b/debian/rules
|
||||||
@@ -36,12 +36,13 @@ override_dh_missing:
|
@@ -37,12 +37,13 @@ override_dh_missing:
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
dh_auto_install -- \
|
dh_auto_install -- \
|
||||||
PROXY_USER=backup \
|
PROXY_USER=backup \
|
||||||
|
|||||||
Reference in New Issue
Block a user