Files
bpfire/lfs/stunnel
Adolf Belka ab5113ae07 stunnel: Update to version 5.71
- Update from vesrion 5.69 to 5.71
- Update of rootfile not required
- Changelog
    5.71, 2023.09.19, urgency: MEDIUM
	 Security bugfixes
	  - OpenSSL DLLs updated to version 3.1.3.
	 Bugfixes
	  - Fixed the console output of tstunnel.exe.
	 Features sponsored by SAE IT-systems
	  - OCSP stapling is requested and verified in the client mode.
	  - Using "verifyChain" automatically enables OCSP
	    stapling in the client mode.
	  - OCSP stapling is always available in the server mode.
	  - An inconclusive OCSP verification breaks TLS negotiation.
	    This can be disabled with "OCSPrequire = no".
	  - Added the "TIMEOUTocsp" option to control the maximum
	    time allowed for connecting an OCSP responder.
	 Features
	  - Added support for Red Hat OpenSSL 3.x patches.
    5.70, 2023.07.12, urgency: HIGH
	 Security bugfixes
	  - OpenSSL DLLs updated to version 3.0.9.
	  - OpenSSL FIPS Provider updated to version 3.0.8.
	 Bugfixes
	  - Fixed TLS socket EOF handling with OpenSSL 3.x.
	    This bug caused major interoperability issues between
	    stunnel built with OpenSSL 3.x and Microsoft's
	    Schannel Security Support Provider (SSP).
	  - Fixed reading certificate chains from PKCS#12 files.
	 Features
	  - Added configurable delay for the "retry" option.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:56:42 +00:00

109 lines
3.8 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 5.71
SUMMARY = Universal TLS Tunnel
THISAPP = stunnel-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = stunnel
PAK_VER = 12
DEPS =
SERVICES = stunnel
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = d323363c7bfdd6c0b7931b84a6069cf9a8337e967c31e14d15976d7932f0c0d6f40f7a1cbf5abbdff0e9edc52176cdcead4f848653088193b2debf4e77443b42
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
# Create secure directory
install -v -m750 -o stunnel -g stunnel -d /var/lib/stunnel/run
chown -v stunnel:stunnel /var/lib/stunnel
#install initscripts
$(call INSTALL_INITSCRIPTS,$(SERVICES))
# Install default configuration
-mkdir -pv /etc/stunnel
install -v -m 644 $(DIR_SRC)/config/stunnel/stunnel.conf \
/etc/stunnel
# Install backup include
install -v -m 644 $(DIR_SRC)/config/backup/includes/stunnel \
/var/ipfire/backup/addons/includes
@rm -rf $(DIR_APP)
@$(POSTBUILD)