[3.20] ilot/certbot-dns-gandi: new aport #12
2 changed files with 46 additions and 0 deletions
40
ilot/certbot-dns-gandi/APKBUILD
Normal file
40
ilot/certbot-dns-gandi/APKBUILD
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=certbot-dns-gandi
|
||||
pkgdesc="gandi DNS authenticator plugin for certbot"
|
||||
pkgver=1.5.0
|
||||
pkgrel=0
|
||||
arch="noarch"
|
||||
url="https://github.com/obynio/certbot-plugin-gandi"
|
||||
license="MIT"
|
||||
depends="certbot"
|
||||
makedepends="
|
||||
py3-setuptools
|
||||
py3-gpep517
|
||||
py3-wheel
|
||||
"
|
||||
subpackages="$pkgname-pyc"
|
||||
options="!check" # No test suite
|
||||
source="
|
||||
$pkgname-$pkgver.tar.gz::https://github.com/obynio/certbot-plugin-gandi/archive/refs/tags/$pkgver.tar.gz
|
||||
gandi.ini
|
||||
"
|
||||
builddir="$srcdir"/certbot-plugin-gandi-$pkgver
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
mkdir -p "$pkgdir"/etc/letsencrypt/gandi
|
||||
install -m 0600 "$srcdir"/gandi.ini "$pkgdir"/etc/letsencrypt/gandi/example.ini
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
0688baec8e6de429eed12f9d85b28f47384a5bd8cd01615d94e55e38fdaf35c01707ee1ef1ec3e9196c1de06df7087798f3f5a19f07bd446f1d3fd2442b2d702 certbot-dns-gandi-1.5.0.tar.gz
|
||||
7bdfd769c8a7256a8c2d171f1c8fa4c16bea7c1abcd3442603face90834efb5f9c0d9aec54f57fc83421588c0349acbc3554d4987cb7498a7e833481b01dd712 gandi.ini
|
||||
"
|
6
ilot/certbot-dns-gandi/gandi.ini
Normal file
6
ilot/certbot-dns-gandi/gandi.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Uncomment following line as needed:
|
||||
# Live DNS v5 api key
|
||||
#dns_gandi_api_key=APIKEY
|
||||
|
||||
# Optional organization id, remove it if not used
|
||||
#dns_gandi_sharing_id=SHARINGID
|
Loading…
Add table
Reference in a new issue