Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

Commit

Permalink
wget: Point the config directory at /etc, and provide a wgetrc config…
Browse files Browse the repository at this point in the history
… pointing at the CA bundle so wget can use https
  • Loading branch information
RMerl committed Jun 9, 2016
1 parent b84a5c7 commit acac331
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion release/src/router/Makefile
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions release/src/router/rom/rom/etc/wgetrc
@@ -0,0 +1 @@
ca-certificate=/rom/ca-bundle.crt

0 comments on commit acac331

Please sign in to comment.