From c8a8e29384cfa57340b2dd576677f3fc5feadc06 Mon Sep 17 00:00:00 2001 From: onlylonly Date: Fri, 27 Aug 2021 00:36:54 +0800 Subject: [PATCH 1/5] Update INSTALL Modify install script to git clone from OpenSSL branch 1.1.0_stable --- INSTALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index 35127a1..0d5e06f 100644 --- a/INSTALL +++ b/INSTALL @@ -5,7 +5,7 @@ ################################################################################ # Download OpenSSL source. -git clone https://github.com/openssl/openssl.git +git clone -branch OpenSSL_1_1_0-stable https://github.com/openssl/openssl.git cd openssl/ # Configure OpenSSL to be used in building static applications. From d72c1b12efd052cf7e2386354691c25b8247ce6b Mon Sep 17 00:00:00 2001 From: onlylonly Date: Fri, 27 Aug 2021 00:39:51 +0800 Subject: [PATCH 2/5] Update Readme.md - git clone from openssl 1.1.0 Update Readme to git clone from OpenSSL branch 1.1.0_stable --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 258e098..654b60b 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ _revsh_ was developed on x86_64 Linux. Here is a brief list of Arch / OS combina First, you will need to build OpenSSL from source. (See __NOTE__ below.) - git clone https://github.com/openssl/openssl.git + git clone -branch OpenSSL_1_1_0-stable https://github.com/openssl/openssl.git cd openssl/ ./config no-shared -static # These options are needed to build static applications against OpenSSL. make && make test # We skip "make install" so we don't conflict with your systems default OpenSSL. We will build _revsh_ against the OpenSSL we just compiled in this tree. From c9be21b5f57e708e3914e139ee6f7a1b464dbd81 Mon Sep 17 00:00:00 2001 From: onlylonly Date: Fri, 27 Aug 2021 00:41:37 +0800 Subject: [PATCH 3/5] Update Makefile (include CFLAGS -fcommon) *Modify MakefIle to include -fcommon in the CFLAGS, GCC 10 have default to -fno-common which does not allow duplicate deeclaration --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1e31cf5..2ecf7d1 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ MAN_DIR = /usr/share/man/man1/ ######################################################################################################################## ## Linux w/static libraries. (Full static build.) -CFLAGS = -static -Wall -Wextra -std=c99 -pedantic -Os -DOPENSSL -I$(OPENSSL_DIR)/include +CFLAGS = -static -Wall -Wextra -std=c99 -pedantic -Os -DOPENSSL -I$(OPENSSL_DIR)/include -fcommon STATIC_LIBS = $(OPENSSL_DIR)/libssl.a $(OPENSSL_DIR)/libcrypto.a LIBS = KEYS_DIR = keys From 4c34bda0c405005ded316b41640dad283171d2ed Mon Sep 17 00:00:00 2001 From: onlylonly Date: Fri, 27 Aug 2021 01:04:12 +0800 Subject: [PATCH 4/5] Update INSTALL (Fix typo on command) fix the missing - on git clone --branch OpenSSL_1_1_0-stable https://github.com/openssl/openssl.git --- INSTALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index 0d5e06f..fe10ba0 100644 --- a/INSTALL +++ b/INSTALL @@ -5,7 +5,7 @@ ################################################################################ # Download OpenSSL source. -git clone -branch OpenSSL_1_1_0-stable https://github.com/openssl/openssl.git +git clone --branch OpenSSL_1_1_0-stable https://github.com/openssl/openssl.git cd openssl/ # Configure OpenSSL to be used in building static applications. From 08c604fcee7da5e0fde67b677f825faad568acca Mon Sep 17 00:00:00 2001 From: onlylonly Date: Fri, 27 Aug 2021 01:05:02 +0800 Subject: [PATCH 5/5] Update Readme.md (fix typo) added the missing - on line git clone --branch OpenSSL_1_1_0-stable https://github.com/openssl/openssl.git --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 654b60b..da79171 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ _revsh_ was developed on x86_64 Linux. Here is a brief list of Arch / OS combina First, you will need to build OpenSSL from source. (See __NOTE__ below.) - git clone -branch OpenSSL_1_1_0-stable https://github.com/openssl/openssl.git + git clone --branch OpenSSL_1_1_0-stable https://github.com/openssl/openssl.git cd openssl/ ./config no-shared -static # These options are needed to build static applications against OpenSSL. make && make test # We skip "make install" so we don't conflict with your systems default OpenSSL. We will build _revsh_ against the OpenSSL we just compiled in this tree.