d/control: break the circular build-dependency with pve-firewall, and more

Currently pve-network has a (versioned) build-dep of pve-firewall, which has
a (versioned) runtime dependency of a newer version of libpve-network-perl,
which is not available because it has not been built. It turns out that
pve-firewall is only needed in testing, so let's only pull it in if
we don't use the "nocheck" build profile so that we can actually build
pve-network from source.

perl is a build-essential so no need to add it in build-deps.

Fixes: cbc70c81b9
Signed-off-by: Jing Luo <jing@jing.rocks>
Link: https://lore.proxmox.com/mailman.599.1732342430.391.pve-devel@lists.proxmox.com
This commit is contained in:
Jing Luo via pve-devel 2024-11-23 15:10:05 +09:00 committed by Thomas Lamprecht
parent 2fd0ad83d3
commit f79f21a1bc

15
debian/control vendored
View file

@ -4,14 +4,13 @@ Priority: optional
Maintainer: Proxmox Support Team <support@proxmox.com> Maintainer: Proxmox Support Team <support@proxmox.com>
Build-Depends: debhelper-compat (= 13), Build-Depends: debhelper-compat (= 13),
lintian, lintian,
libfile-slurp-perl, libfile-slurp-perl <!nocheck>,
libnet-subnet-perl, libnet-subnet-perl <!nocheck>,
libtest-mockmodule-perl, libtest-mockmodule-perl <!nocheck>,
perl, pve-cluster (>= 8.0.10) <!nocheck>,
pve-cluster (>= 8.0.10), pve-firewall (>= 5.1.0~) <!nocheck>,
pve-firewall (>= 5.1.0~), pve-doc-generator (>= 5.3-3) <!nocheck>,
pve-doc-generator (>= 5.3-3), libpve-access-control <!nocheck>,
libpve-access-control,
Standards-Version: 4.6.1 Standards-Version: 4.6.1
Homepage: https://www.proxmox.com Homepage: https://www.proxmox.com