BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM)
-DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb
+DEBS=\
+ $(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb \
+ libpve-network-api-perl_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb \
+
DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
all: deb
.PHONY: dinstall
dinstall: deb
- dpkg -i $(DEB)
+ dpkg -i $(DEBS)
$(BUILDDIR): src debian
rm -rf $@ $@.tmp
mv $@.tmp $@
.PHONY: deb
-deb: $(DEB)
-$(DEB): $(BUILDDIR)
+deb: $(DEBS)
+$(DEBS): $(BUILDDIR)
cd $(BUILDDIR); dpkg-buildpackage -b -us -uc
- lintian $(DEB)
+ lintian $(DEBS)
.PHONY: dsc
dsc: clean
.PHONY: upload
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
-upload: $(DEB)
- tar cf - $(DEB)|ssh -X repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)
+upload: $(DEBS)
+ tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)
Recommends: ifupdown2
Suggests: frr-pythontools (>= 8.5.1~), dnsmasq,
Description: Proxmox VE's SDN (Software Defined Network) stack
- This package contains the Software Defined Network (tech preview) for
+ This package contains the perl side of the Software Defined Network
+ implementation for Proxmox VE.
+
+Package: libpve-network-api-perl
+Architecture: all
+Depends: libpve-common-perl (>= 5.0-45),
+ pve-cluster (>= 8.0.9),
+ libpve-network-perl (= ${binary:Version}),
+ ${misc:Depends},
+ ${perl:Depends},
+Breaks: libpve-network-perl (<< 0.9.9~),
+Replaces: pve-cluster (<< 0.9.9~),
+Description: API endpoints for Proxmox VE's SDN stack
+ This package contains the API endpoints for the Software Defined Network of
Proxmox VE.