Initial commit

This commit is contained in:
root
2020-03-24 22:22:28 +01:00
commit c3a7ef3780
10 changed files with 154 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
certbot-webroot (1.0) stable; urgency=medium
* Initial release.
-- Benoit LORAND <benoit.lorand@blorand.org> Tue, 24 Mar 2020 22:20:33 +0100

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
10

17
debian/control vendored Normal file
View File

@ -0,0 +1,17 @@
Source: certbot-webroot
Maintainer: Benoit LORAND <benoit.lorand@blorand.fr>
Section: misc
Priority: optional
Standards-Version: 3.9.2
Build-Depends: debhelper (>= 9)
Package: certbot-webroot
Architecture: all
Depends: ${shlibs:Depends},
${misc:Depends},
nodejs,
npm
Suggests: haproxy
Section: BLORAND
Priority: optional
Description: WebService pour aider certbot à faire les validations de FQDN

0
debian/copyright vendored Normal file
View File

28
debian/postinst vendored Executable file
View File

@ -0,0 +1,28 @@
#! /bin/bash
set -e
case "$1" in
configure)
mkdir -p /opt/certbot-webroot/data
systemctl daemon-reload
systemctl --now enable certbot-webroot.service
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
exit 0

9
debian/rules vendored Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_install:
install -D -m 0644 certbot-webroot.js $$(pwd)/debian/certbot-webroot/opt/certbot-webroot/certbot-webroot.js
install -D -m 0644 certbot-webroot $$(pwd)/debian/certbot-webroot/etc/default/certbot-webroot
install -D -m 0644 certbot-webroot.service $$(pwd)/debian/certbot-webroot/lib/systemd/system/certbot-webroot.service

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)