1 include /usr
/share
/dpkg
/pkg-info.mk
5 BUILDDIR ?
= ${SRC}-${DEB_VERSION_UPSTREAM}
6 GITVERSION
:=$(shell git rev-parse HEAD
)
8 DEB_PERL
=libproxmox-acme-perl_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
9 DEB_ACME_PLUGS
=libproxmox-acme-plugins_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
10 DEBS
=${DEB_PERL} ${DEB_ACME_PLUGS}
12 DSC
=${SRC}_
${DEB_VERSION_UPSTREAM_REVISION}.dsc
14 ACME_SUBMODULE
="src/acme.sh"
20 test -d
${ACME_SUBMODULE}/README.md || git submodule update
--init
--recursive
22 ${BUILDDIR}: src debian submodule
23 rm -rf
${BUILDDIR}.tmp
24 cp
-a src
${BUILDDIR}.tmp
25 cp
-a debian
${BUILDDIR}.tmp
/
26 echo
"git clone git://git.proxmox.com/git/proxmox-acme\\ngit checkout ${GITVERSION}" > ${BUILDDIR}.tmp
/debian
/SOURCE
27 mv
${BUILDDIR}.tmp
${BUILDDIR}
32 cd
${BUILDDIR}; dpkg-buildpackage
-b
-us
-uc
38 cd
${BUILDDIR}; dpkg-buildpackage
-S
-us
-uc
-d
46 rm -rf
${SRC}-*/ ${BUILDDIR}.tmp
*.deb
*.buildinfo
*.changes
*.dsc
*.
tar.?z
50 tar cf
- ${DEBS}|ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
,pmg
--dist bullseye
51 tar cf
- ${DEB_ACME_PLUGS}|ssh
-X repoman@repo.proxmox.com
-- upload
--product pbs
--dist bullseye