include /usr/share/dpkg/pkg-info.mk
-PACKAGE=libproxmox-acme-perl
+SRC=libproxmox-acme
-BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
+BUILDDIR ?= ${SRC}-${DEB_VERSION_UPSTREAM}
GITVERSION:=$(shell git rev-parse HEAD)
-DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
-DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
+DEB_PERL=libproxmox-acme-perl_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
+DEB_ACME_PLUGS=libproxmox-acme-plugins_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
+DEBS=${DEB_PERL} ${DEB_ACME_PLUGS}
+
+DSC=${SRC}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
ACME_SUBMODULE="src/acme.sh"
mv ${BUILDDIR}.tmp ${BUILDDIR}
.PHONY: deb
-deb: ${DEB}
-${DEB}: ${BUILDDIR}
+deb: ${DEBS}
+${DEBS}: ${BUILDDIR}
cd ${BUILDDIR}; dpkg-buildpackage -b -us -uc
- lintian ${DEB}
+ lintian ${DEBS}
.PHONY: dsc
dsc: ${DSC}
cd ${BUILDDIR}; dpkg-buildpackage -S -us -uc -d
lintian ${DSC}
-dinstall: ${DEB}
- dpkg -i ${DEB}
+dinstall: ${DEBS}
+ dpkg -i ${DEBS}
.PHONY: clean
clean:
- rm -rf ${PACKAGE}-*/ ${BUILDDIR}.tmp *.deb *.buildinfo *.changes *.dsc *.tar.?z
+ rm -rf ${SRC}-*/ ${BUILDDIR}.tmp *.deb *.buildinfo *.changes *.dsc *.tar.?z
.PHONY: upload
-upload: ${DEB}
- tar cf - ${DEB}|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist buster --arch ${DEB_BUILD_ARCH}
+upload: ${DEBS}
+ tar cf - ${DEBS}|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist buster --arch ${DEB_BUILD_ARCH}
+ tar cf - ${DEB_ACME_PLUGS}|ssh -X repoman@repo.proxmox.com -- upload --product pbs --dist buster --arch ${DEB_BUILD_ARCH}
-Source: libproxmox-acme-perl
+Source: libproxmox-acme
Section: admin
Priority: optional
Maintainer: Proxmox Support Team <support@proxmox.com>
Package: libproxmox-acme-perl
Architecture: all
-Depends: coreutils (>= 8.30-1),
- curl (>= 7.64.0-1),
- libpve-common-perl (>= 6~),
- sed (>= 4.7-1),
+Depends: libpve-common-perl (>= 6~),
+ libproxmox-acme-plugins,
${perl:Depends},
${misc:Depends},
Breaks: libpve-common-perl (<< 6.0-20),
Replaces: libpve-common-perl (<< 6.0-20),
+Description: easy and small shell script to automatically issue
+ and renew the free certificates from Let's Encrypt.
+
+Package: libproxmox-acme-plugins
+Architecture: all
+Depends: coreutils (>= 8.30-1),
+ curl (>= 7.64.0-1),
+ sed (>= 4.7-1),
+ ${misc:Depends},
+Breaks: libproxmox-acme-perl (<< 1.1.0),
+Replaces: libproxmox-acme-perl (<< 1.1.0),
Recommends: idn,
Description: easy and small shell script to automatically issue
and renew the free certificates from Let's Encrypt.