aboutsummaryrefslogtreecommitdiff
path: root/networking/ssl_helper-wolfssl
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-12-22 15:13:37 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-12-22 15:13:37 +0100
commit4acd393eba179f7dfe70f647e3798bc8d10c783a (patch)
tree9db820b4173488c7291800a9b6aa500d46a4aa6a /networking/ssl_helper-wolfssl
parent326edc3e375d6d5be205d4b1592211bf15e33bcd (diff)
downloadbusybox-4acd393eba179f7dfe70f647e3798bc8d10c783a.tar.gz
Update information on building httpd and wget helpers
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ssl_helper-wolfssl')
-rw-r--r--networking/ssl_helper-wolfssl/README17
-rwxr-xr-xnetworking/ssl_helper-wolfssl/ssl_helper.sh4
2 files changed, 9 insertions, 12 deletions
diff --git a/networking/ssl_helper-wolfssl/README b/networking/ssl_helper-wolfssl/README
index ff46f4bdf..34d676da0 100644
--- a/networking/ssl_helper-wolfssl/README
+++ b/networking/ssl_helper-wolfssl/README
@@ -5,18 +5,15 @@ http://busybox.net/downloads/binaries/
Build instructions:
-* Unpack wolfssl-3.6.8.zip
-* Build it:
- ./configure --enable-static --disable-shared && make
-* Drop this directory into wolfssl-3.6.8/ssl_helper
-* Run ssl_helper.sh to compile and link the helper
-
* Unpack wolfssl-3.9.8.tar.gz from https://github.com/wolfSSL/wolfssl/releases
+ to a wolfssl-3.9.8 subdirectory here.
* Create configure:
- ./autogen.sh
-* Build it: see 00cfg-wolfssl-3.9.8 shell script
-* Drop this directory into wolfssl-x.y.z/ssl_helper
-* Run ssl_helper.sh to compile and link the helper
+ (cd wolfssl-* && ./autogen.sh)
+* Build it: see
+ (cd wolfssl-* && ../00cfg-wolfssl-3.9.8)
+* Run
+ ./ssl_helper.sh
+ to compile and link the helper
Usage: "ssl_helper -d FILE_DESCRIPTOR" where FILE_DESCRIPTOR is open to the peer.
diff --git a/networking/ssl_helper-wolfssl/ssl_helper.sh b/networking/ssl_helper-wolfssl/ssl_helper.sh
index c6cbf353f..8f20963c5 100755
--- a/networking/ssl_helper-wolfssl/ssl_helper.sh
+++ b/networking/ssl_helper-wolfssl/ssl_helper.sh
@@ -7,6 +7,6 @@ STATIC="-static"
#PREFIX=""
#STATIC=""
-${PREFIX}gcc -Os -Wall -I.. -c ssl_helper.c -o ssl_helper.o
-${PREFIX}gcc $STATIC --start-group ssl_helper.o -lm ../src/.libs/libwolfssl.a --end-group -o ssl_helper
+${PREFIX}gcc -Os -Wall -I wolfssl-* -c ssl_helper.c -o ssl_helper.o
+${PREFIX}gcc $STATIC --start-group ssl_helper.o -lm wolfssl-*/src/.libs/libwolfssl.a --end-group -o ssl_helper
${PREFIX}strip ssl_helper