aboutsummaryrefslogtreecommitdiffstats
path: root/community/acme-client
diff options
context:
space:
mode:
Diffstat (limited to 'community/acme-client')
-rw-r--r--community/acme-client/APKBUILD13
-rw-r--r--community/acme-client/license_update.patch11
2 files changed, 18 insertions, 6 deletions
diff --git a/community/acme-client/APKBUILD b/community/acme-client/APKBUILD
index b22947cb39..8e0dceac9e 100644
--- a/community/acme-client/APKBUILD
+++ b/community/acme-client/APKBUILD
@@ -3,24 +3,24 @@
pkgname=acme-client
pkgver=0.1.16
_ver=${pkgver//./_}
-pkgrel=4
+pkgrel=5
pkgdesc="An ACME client for Let's Encrypt written in C"
url="https://github.com/kristapsdz/acme-client-portable"
arch="all"
license="ISC"
+options="!check" # no test suite
depends="ca-certificates"
makedepends="bsd-compat-headers libressl-dev"
-install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/kristapsdz/acme-client-portable/archive/VERSION_$_ver.tar.gz
default-ca.patch
+ license_update.patch
"
-
builddir="$srcdir/acme-client-portable-VERSION_$_ver"
build() {
cd "$builddir"
- make PREFIX=/usr || return 1
+ make PREFIX=/usr
}
package() {
@@ -28,10 +28,11 @@ package() {
make DESTDIR=$pkgdir \
PREFIX=/usr \
MAN1DIR=/usr/share/man/man1 \
- install || return 1
+ install
install -d "$pkgdir"/var/www/acme "$pkgdir"/etc/ssl/acme
install -dm0700 "$pkgdir"/etc/ssl/acme/private "$pkgdir"/etc/acme
}
sha512sums="7d8dcf0d9dd0eb8f978a0c069266935f59196760ff8e1e774b253310568b2b7595a82944d6276f8493b21608540900d79bdf20bc1220c14116005cc7c448c392 acme-client-0.1.16.tar.gz
-ff416bad782a60675e0c42c8f611902403f3bdb3daf4e006434cf07837d4c7998e90eef0701f789672495f7cde2d158953f9365055e834619c2ccf52328598ed default-ca.patch"
+ff416bad782a60675e0c42c8f611902403f3bdb3daf4e006434cf07837d4c7998e90eef0701f789672495f7cde2d158953f9365055e834619c2ccf52328598ed default-ca.patch
+07ba2de537bd20b11817c1ca695faa784065e141ab9503cad9f8f2f01ef5bb3e2a9f290cde9e3fd1df6408b5ba41158d164f2356fb81eb273e2d6f3b7ace2d5a license_update.patch"
diff --git a/community/acme-client/license_update.patch b/community/acme-client/license_update.patch
new file mode 100644
index 0000000000..e18e09da83
--- /dev/null
+++ b/community/acme-client/license_update.patch
@@ -0,0 +1,11 @@
+--- a/main.c
++++ b/main.c
+@@ -33,7 +33,7 @@
+ #include "extern.h"
+
+ #define AGREEMENT "https://letsencrypt.org" \
+- "/documents/LE-SA-v1.1.1-August-1-2016.pdf"
++ "/documents/LE-SA-v1.2-November-15-2017.pdf"
+ #define SSL_DIR "/etc/ssl/acme"
+ #define SSL_PRIV_DIR "/etc/ssl/acme/private"
+ #define ETC_DIR "/etc/acme"