aboutsummaryrefslogtreecommitdiffstats
path: root/testing/acme-client
diff options
context:
space:
mode:
Diffstat (limited to 'testing/acme-client')
-rw-r--r--testing/acme-client/APKBUILD12
-rw-r--r--testing/acme-client/default-ca.patch12
2 files changed, 20 insertions, 4 deletions
diff --git a/testing/acme-client/APKBUILD b/testing/acme-client/APKBUILD
index e4ca0f8a4d..2264698439 100644
--- a/testing/acme-client/APKBUILD
+++ b/testing/acme-client/APKBUILD
@@ -3,7 +3,7 @@
pkgname=acme-client
pkgver=0.1.15
_ver=${pkgver//./_}
-pkgrel=0
+pkgrel=1
pkgdesc="An ACME client for Let's Encrypt written in C"
url="https://github.com/kristapsdz/acme-client-portable"
arch="all"
@@ -13,6 +13,7 @@ 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
"
builddir="$srcdir/acme-client-portable-VERSION_$_ver"
@@ -28,6 +29,9 @@ package() {
|| return 1
}
-md5sums="a4a84688c8e8700f60a2e5379cd0af48 acme-client-0.1.15.tar.gz"
-sha256sums="05d60ef179fa26a4f7026dfb086a267274016438787f6c72135bedfded3e44b7 acme-client-0.1.15.tar.gz"
-sha512sums="3d78dc152aceaf1712f2deb19923a1b998b1f93cf86b4e0c1918abcd01e074318ee4874dec17aadf07cdfbd4ab266c4985608aecfddbbd785314e96a147d84eb acme-client-0.1.15.tar.gz"
+md5sums="a4a84688c8e8700f60a2e5379cd0af48 acme-client-0.1.15.tar.gz
+00fcc789b98a41df6ffbfdf0a3539661 default-ca.patch"
+sha256sums="05d60ef179fa26a4f7026dfb086a267274016438787f6c72135bedfded3e44b7 acme-client-0.1.15.tar.gz
+bff603a1457b5bd619105596c6ccc9a8b1d4a459afe74f644c321d56411af77a default-ca.patch"
+sha512sums="3d78dc152aceaf1712f2deb19923a1b998b1f93cf86b4e0c1918abcd01e074318ee4874dec17aadf07cdfbd4ab266c4985608aecfddbbd785314e96a147d84eb acme-client-0.1.15.tar.gz
+ff416bad782a60675e0c42c8f611902403f3bdb3daf4e006434cf07837d4c7998e90eef0701f789672495f7cde2d158953f9365055e834619c2ccf52328598ed default-ca.patch"
diff --git a/testing/acme-client/default-ca.patch b/testing/acme-client/default-ca.patch
new file mode 100644
index 0000000000..fb23385a76
--- /dev/null
+++ b/testing/acme-client/default-ca.patch
@@ -0,0 +1,12 @@
+diff --git a/config.h b/config.h
+index 31f9653..e2a493f 100644
+--- a/config.h
++++ b/config.h
+@@ -6,6 +6,7 @@
+ # define NOBODY_USER "nobody"
+ #endif
+
++#define DEFAULT_CA_FILE "/etc/ssl/certs/ca-certificates.crt"
+ /*
+ * You can define this if your system has its /var/empty elsewhere.
+ */