mirror of
https://git.proxmox.com/git/proxmox-acme
synced 2025-07-31 17:39:01 +00:00
Add Debian Buildsystem config
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
This commit is contained in:
commit
9ce00d2fbc
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
*.deb
|
||||||
|
*.dsc
|
||||||
|
*.buildinfo
|
||||||
|
*.changes
|
||||||
|
|
40
Makefile
Normal file
40
Makefile
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
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}
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
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
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
10
|
17
debian/control
vendored
Normal file
17
debian/control
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
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
|
22
debian/copyright
vendored
Normal file
22
debian/copyright
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
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
|
1
debian/lintian-overrides
vendored
Normal file
1
debian/lintian-overrides
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
libproxmox-acme-perl: script-not-executable
|
7
debian/rules
vendored
Executable file
7
debian/rules
vendored
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/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 $@
|
Loading…
Reference in New Issue
Block a user