Package Details: certbot-dns-gandi-git 1.2.5.r0.g621b2b9-1

Git Clone URL: https://aur.archlinux.org/certbot-dns-gandi-git.git (read-only, click to copy)
Package Base: certbot-dns-gandi-git
Description: gandi DNS authenticator plugin for certbot - GIT version
Upstream URL: https://github.com/obynio/certbot-plugin-gandi.git
Licenses: MIT
Provides: certbot-dns-gandi
Submitter: svalo
Maintainer: svalo
Last Packager: svalo
Votes: 2
Popularity: 0.037011
First Submitted: 2019-08-07 09:42
Last Updated: 2020-01-03 10:53

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

jtheoof commented on 2019-10-16 23:25

Thanks for repackaging. Cheers

svalo commented on 2019-10-16 14:21

@jtheoof

Hi, thank you for reaching out and excuse me if I didn't notify you I packaged the SW. I find it really useful, thanks :)

Regarding your suggestions this is my opinion:

systemd is a dependency of the base metapackage and it's supposed to be already installed on the system so I'd avoid adding the optdepends. I will add the timer and service. Thank you

[EDITED] Must create the directory otherwise it's not present in pkgdir, my bad

jtheoof commented on 2019-10-15 23:35

Dear maintainer,

I propose the following patch to your AUR package, to follow recent update upstream (timer and service file).

Let me know if you have any question.

From 3ba9d4c6cce944e9f150a55c58a50eb175b539d8 Mon Sep 17 00:00:00 2001
From: Jeremy Attali <jeremy.attali@gmail.com>
Date: Tue, 15 Oct 2019 19:33:19 -0400
Subject: [PATCH] Adds systemd timers based on 1.2.2 release

---
 PKGBUILD | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 2930e73..c5a1f91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,14 @@
 # Maintainer: svalo <code@valo.space>
 pkgname="certbot-dns-gandi-git"
 pkgdesc="gandi DNS authenticator plugin for certbot - GIT version"
-pkgver=1.1.1.r3.g9bc7d07
-pkgrel=2
+pkgver=1.2.2.r0.gb12db36
+pkgrel=1
 arch=("any")
 url="https://github.com/obynio/certbot-plugin-gandi.git"
 license=("MIT")
 depends=("certbot")
 makedepends=("python-setuptools")
+optdepends=("systemd: for weekly DNS renewal check")
 provides=("certbot-dns-gandi")
 backup=(
   "etc/letsencrypt/gandi.ini"
@@ -29,4 +30,7 @@ package() {
   python setup.py install --root="${pkgdir}"
   mkdir -p "${pkgdir}/etc/letsencrypt"
   install -m 0600 "${srcdir}/gandi.ini" "${pkgdir}/etc/letsencrypt/gandi.ini"
+  mkdir -p "${pkgdir}/usr/lib/systemd/system"
+  install -m 0644 "contrib/certbot-dns-gandi-renew.timer" "${pkgdir}/usr/lib/systemd/system/certbot-dns-gandi-renew.timer"
+  install -m 0644 "contrib/certbot-dns-gandi-renew.service" "${pkgdir}/usr/lib/systemd/system/certbot-dns-gandi-renew.service"
 }
-- 
2.23.0