From 1fa5d728fbbd30179c82bf7d75b1bba3d2c2feec Mon Sep 17 00:00:00 2001
From: nrb <freifunk@nicoboehr.de>
Date: Fri, 17 Jun 2022 17:12:00 +0200
Subject: [PATCH] add libustream-wolfssl to support https opkg urls

when running opkg update, this currently results in errors like this:

Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz
wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz

since we already have wolfssl for hostapd stuff, just install
libustream-wolfssl and ca-certificates.
---
 site.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/site.mk b/site.mk
index c39c7957e..905bd1b04 100644
--- a/site.mk
+++ b/site.mk
@@ -23,7 +23,9 @@ GLUON_SITE_PACKAGES := \
 	gluon-web-mesh-vpn-fastd \
 	gluon-web-private-wifi \
 	iwinfo \
-	respondd-module-airtime
+	respondd-module-airtime \
+	libustream-wolfssl \ # for opkg to support https urls
+	ca-certificates
 
 ADD_DRIVERS_X86 := \
 	kmod-8139too \
-- 
GitLab