summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-27 02:20:29 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-27 02:20:29 (EST)
commit5f3ad2227167721bf60fb9afec98b5fc96f2f26b (patch)
tree51868ab7f2fd5df80949de5e8aacdbb73c12385b
parent7ae78aa9a09c0cb8cee4f47bcd231fcc1486cd4c (diff)
build: Use wolfSSL and NSS CA certificates
-rwxr-xr-xbuild7
-rw-r--r--control1
2 files changed, 7 insertions, 1 deletions
diff --git a/build b/build
index cf20933..11569a6 100755
--- a/build
+++ b/build
@@ -5,8 +5,13 @@ include ../source.mk
nop:
@:
+# Should use "--with-ca-path=/etc/x509/server-auth" instead "--with-ca-bundle",
+# but "--with-ca-path only works with OpenSSL, GnuTLS or mbedTLS".
build:
- oh-autoconfigure
+ oh-autoconfigure -- \
+ --without-ssl \
+ --with-wolfssl \
+ --with-ca-bundle=/usr/share/x509/server-auth/nss-certdata.pem
oh-autobuild
touch $@
diff --git a/control b/control
index 8139a06..88497d0 100644
--- a/control
+++ b/control
@@ -2,4 +2,5 @@ Maintainer: Patrick McDermott <patrick.mcdermott@libiquity.com>
Build-Depends: opkbuild (>= 4.0.0), opkhelper-3.0, busybox (>= 1.32.0-1),
gpg, dirmngr, gpgconf, gpg-agent,
libz.1-dev,
+ libwolfssl.24-dev, nss-certdata-server-auth,
Homepage: https://curl.se/