--- /dev/null
+*.deb
+*.dsc
+*.buildinfo
+*.changes
+
--- /dev/null
+include /usr/share/dpkg/pkg-info.mk
+
+PACKAGE=libproxmox-acme-perl
+
+BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
+GITVERSION:=$(shell git rev-parse HEAD)
+
+DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
+DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
+
+all: $(DEB)
+
+$(BUILDDIR): src debian
+ rm -rf $(BUILDDIR)
+ rsync -a src/ debian $(BUILDDIR)
+ # remove if repository exists
+ # echo "git clone git://git.proxmox.com/git/proxmox-acme\\ngit checkout $(GITVERSION)" > $(BUILDDIR)/debian/SOURCE
+
+.PHONY: deb
+deb: $(DEB)
+$(DEB): $(BUILDDIR)
+ cd $(BUILDDIR); dpkg-buildpackage -b -us -uc
+ lintian $(DEB)
+
+.PHONY: dsc
+dsc: ${DSC}
+${DSC}: ${BUILDDIR}
+ cd ${BUILDDIR}; dpkg-buildpackage -S -us -uc -d
+ lintian ${DSC}
+
+dinstall: $(DEB)
+ dpkg -i $(DEB)
+
+.PHONY: clean
+clean:
+ rm -rf $(BUILDDIR) *.deb *.buildinfo *.changes *.dsc *.tar.gz
+
+.PHONY: upload
+upload: ${DEB}
+ tar cf - ${DEB}|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist buster --arch ${DEB_BUILD_ARCH}
--- /dev/null
+libproxmox-acme-perl (1.0.0-1+pvetest1) unstable; urgency=medium
+
+ * Initial 1.0.0 package
+
+ -- Proxmox Support Team <support@proxmox.com> Wed, 06 Nov 2019 09:14:59 +0200
--- /dev/null
+Source: libproxmox-acme-perl
+Section: admin
+Priority: optional
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Build-Depends: debhelper (>= 10),
+ dh-systemd,
+Standards-Version: 1.0.0
+Homepage: https://www.proxmox.com
+
+Package: libproxmox-acme-perl
+Architecture: all
+Description: easy and small shell script to automatically issue
+ and renew the free certificates from Let's Encrypt.
+Depends: curl (>= 7.64.0-1),
+ coreutils (>= 8.30-1),
+ sed (>= 4.7-1)
+Recommends: idn
--- /dev/null
+Copyright (C) 2010-2019 Proxmox Server Solutions GmbH
+
+This software is written by Proxmox Server Solutions GmbH <support@proxmox.com>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Affero General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU Affero General Public License for more details.
+
+You should have received a copy of the GNU Affero General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+The part DNSAPI of the project acme.sh[1] which is under GLP-3[2]
+was used for this packet.
+
+1.) https://github.com/acmesh-official/acme.sh
+2.) https://www.gnu.org/licenses/gpl-3.0.txt
--- /dev/null
+libproxmox-acme-perl: script-not-executable
\ No newline at end of file
--- /dev/null
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+%:
+ dh $@