acme: Fix for curl linked against mbed TLS. (#4254)
authorDaniel H <halmi@users.noreply.github.com>
Wed, 12 Apr 2017 20:51:58 +0000 (22:51 +0200)
committerToke Høiland-Jørgensen <toke@toke.dk>
Wed, 12 Apr 2017 20:51:57 +0000 (22:51 +0200)
Use newest acme.sh release (2.6.8).
Remove dependency on ca-certificates and add dependency on ca-bundle.
Update environment variable.

Signed-off-by: Daniel Halmschlager <da@halms.at>
net/acme/Makefile
net/acme/files/run.sh

index 9d35f8005fcd29fe24b219e55bd0d2e584ed0d77..a7f0664508f0be6dd87dfc44480ac5e1f64d3ade 100644 (file)
@@ -8,8 +8,8 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=acme
-PKG_SOURCE_VERSION:=6d84da588b98733dd9c4f5b88440281ab1eb4989
-PKG_VERSION:=1.4
+PKG_SOURCE_VERSION:=7b40cbe8c1a52041351524bcde4b37665a7cdf79
+PKG_VERSION:=1.5
 PKG_RELEASE:=1
 PKG_LICENSE:=GPLv3
 
@@ -25,7 +25,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/acme
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+curl +ca-certificates +openssl-util +netcat
+  DEPENDS:=+curl +ca-bundle +openssl-util +netcat
   TITLE:=ACME (Letsencrypt) client
   PKGARCH:=all
   MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
index 94fd62426235607ef3d84af220947ca5d94bc5cd..0a4cad1c55771351d365fcf97368c707fcdc0aa3 100644 (file)
@@ -10,7 +10,7 @@
 
 CHECK_CRON=$1
 ACME=/usr/lib/acme/acme.sh
-export SSL_CERT_DIR=/etc/ssl/certs
+export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
 export NO_TIMESTAMP=1
 
 UHTTPD_LISTEN_HTTP=