downgrade pve-network to 0.9.9

This commit is contained in:
jiangcuo 2024-11-30 13:41:31 +08:00
parent 91983d6b56
commit b5e1175e37
3 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,32 @@
diff --git a/Makefile b/Makefile
index ac1f823..3a3c11b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,13 @@
include /usr/share/dpkg/pkg-info.mk
PACKAGE=libpve-network-perl
+ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM)
DEBS=\
$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb \
- libpve-network-api-perl_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb \
+ libpve-network-api-perl_$(DEB_VERSION_UPSTREAM_REVISION)_$(ARCH).deb \
DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
diff --git a/debian/control b/debian/control
index 687bbd7..cbd89f3 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Standards-Version: 4.6.1
Homepage: https://www.proxmox.com
Package: libpve-network-perl
-Architecture: all
+Architecture: any
Depends: libpve-common-perl (>= 5.0-45),
pve-cluster (>= 8.0.9),
libnet-subnet-perl,

@ -1 +1 @@
Subproject commit 39fb956fb8f20e7d6e162548db24ac1fb3df31a4
Subproject commit 89dfb8f879d90ef906f78213d7edfd6140733972

View File

@ -0,0 +1 @@
patches/001-rebuild-for-port.patch