Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
--- /dev/null
+# BEGIN Fixup.pm
+# This is prepended to the current PMG.pm to force-include the temporary `openssl-probe` fixup.
+use Proxmox::Lib::SslProbe;
+# END Fixup.pm
's@^sub libdirs.*$$@sub libdirs { return ("./target/$(TARGET_DIR)", "./../target/$(TARGET_DIR)"); }@' \
Proxmox/Lib/PVE.pm >test/Proxmox/Lib/PVE.pm
-PVE: Proxmox/Lib/PVE.pm
-Proxmox/Lib/PVE.pm:
+Proxmox PVE: Proxmox/Lib/PVE.pm
+Proxmox/Lib/PVE.pm: Fixup.pm
$(PERLMOD_GENPACKAGE) $(PERLMOD_PACKAGES)
+ sed -i -e '/package Proxmox/rFixup.pm' Proxmox/Lib/PMG.pm
check: all
$(MAKE) -C test test
find $(PM_DIR) \! -type d -print -exec install -Dm644 '{}' $(DESTDIR)$(PERL_INSTALLVENDORLIB)'/{}' ';'
clean:
+ rm -rf PVE Proxmox
cargo clean
rm -f *.deb *.dsc *.tar.* *.build *.buildinfo *.changes Cargo.lock
rm -rf $(PACKAGE)-[0-9]*/
Package: libpve-rs-perl
Architecture: any
-Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends},
+Depends: ${misc:Depends},
+ ${perl:Depends},
+ ${shlibs:Depends},
+ libproxmox-rs-perl (>= 0.3.3),
Breaks: libpve-access-control (<< 7.1-3),
libpve-common-perl (<< 7.1-4),
pve-manager (<< 7.1-11),