Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/RMerl/asuswrt-merlin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Sauvageau <rmerl@lostrealm.ca>2016-06-09 08:32:31 +0300
committerEric Sauvageau <rmerl@lostrealm.ca>2016-06-09 08:32:31 +0300
commitacac331c984724233200fc3b6fec73b5b58fb1e0 (patch)
tree0f926336f8fa63f73a8f1d8f21a7eb68078b6f28
parentb84a5c7b0e03a915924ea930204492600fda60ae (diff)
wget: Point the config directory at /etc, and provide a wgetrc config pointing at the CA bundle so wget can use https
-rwxr-xr-xrelease/src/router/Makefile2
-rw-r--r--release/src/router/rom/rom/etc/wgetrc1
2 files changed, 2 insertions, 1 deletions
diff --git a/release/src/router/Makefile b/release/src/router/Makefile
index d3d3d2cd37..68d8401979 100755
--- a/release/src/router/Makefile
+++ b/release/src/router/Makefile
@@ -4361,7 +4361,7 @@ Transmission-clean:
@rm -f Transmission/Makefile
wget/Makefile:
- cd wget && autoreconf -i -f && $(CONFIGURE) --with-ssl=openssl --with-libssl-prefix=$(TOP)/openssl --disable-opie --disable-ntlm --disable-debug --disable-nls --disable-iri --disable-dependency-tracking CFLAGS="$(EXTRACFLAGS) -I$(TOP)/openssl/include -I$(TOP)/zlib" LDFLAGS="-L$(TOP)/openssl -lssl -lcrypto -L$(TOP)/zlib -lz"
+ cd wget && autoreconf -i -f && $(CONFIGURE) --with-ssl=openssl --with-libssl-prefix=$(TOP)/openssl --sysconfdir=/etc --disable-opie --disable-ntlm --disable-debug --disable-nls --disable-iri --disable-dependency-tracking CFLAGS="$(EXTRACFLAGS) -I$(TOP)/openssl/include -I$(TOP)/zlib" LDFLAGS="-L$(TOP)/openssl -lssl -lcrypto -L$(TOP)/zlib -lz"
wget: openssl zlib wget/Makefile
$(MAKE) -C wget CFLAGS="-Os -Wall $(EXTRACFLAGS) -ffunction-sections -fdata-sections -Wl,--gc-sections -I$(TOP)/openssl/include -I$(TOP)/zlib"
diff --git a/release/src/router/rom/rom/etc/wgetrc b/release/src/router/rom/rom/etc/wgetrc
new file mode 100644
index 0000000000..1b33aaee24
--- /dev/null
+++ b/release/src/router/rom/rom/etc/wgetrc
@@ -0,0 +1 @@
+ca-certificate=/rom/ca-bundle.crt