aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/muacme/APKBUILD25
-rw-r--r--community/muacme/muacme-renew-all.crond2
2 files changed, 27 insertions, 0 deletions
diff --git a/community/muacme/APKBUILD b/community/muacme/APKBUILD
new file mode 100644
index 0000000000..3aa63cb9e9
--- /dev/null
+++ b/community/muacme/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname="muacme"
+pkgver="0.1.1"
+pkgrel=0
+pkgdesc="A convenient wrapper for the ACMEv2 client uacme"
+url="https://github.com/jirutka/muacme"
+arch="noarch"
+license="MIT"
+depends="uacme cmd:openssl"
+options="!check" # no tests provided
+source="https://github.com/jirutka/muacme/archive/v$pkgver/$pkgname-$pkgver.tar.gz
+ muacme-renew-all.crond
+ "
+builddir="$srcdir/$pkgname-$pkgver"
+
+package() {
+ make install DESTDIR="$pkgdir" prefix=/usr
+
+ install -m 755 -D "$srcdir"/muacme-renew-all.crond \
+ "$pkgdir"/etc/periodic/weekly/muacme-renew-all
+}
+
+sha512sums="fc225504009d66fabd103315fd8958908dd755e027039789e2e671502e745eb46c576aa5d09891f9b780ea9c0287a0e8f545c74a11324bb05e936f64e718d4fe muacme-0.1.1.tar.gz
+37082df7ebd8b6ef3f683509b6d3852c6f56bb6903a90bb12b7fa116003e539617e2863abb600ad3484bcc8f2bc537e9d1a172573e6cf73e87983050b5d623bc muacme-renew-all.crond"
diff --git a/community/muacme/muacme-renew-all.crond b/community/muacme/muacme-renew-all.crond
new file mode 100644
index 0000000000..db771d09ad
--- /dev/null
+++ b/community/muacme/muacme-renew-all.crond
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec muacme renew -l all