From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 1/2] sslh: Removal of sslh addon Date: Tue, 09 Apr 2024 16:07:08 +0200 Message-ID: <20240409140709.3431774-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4667350558905014643==" List-Id: --===============4667350558905014643== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - As discussed in the Dev conf call on 2024-Apr-08 - sslh has not been functioning since last update ion Sep 2021. Configuration= syntax was radically changed somewhere in the update from 1.7a(2013) to 1.22c in = Sep 2021 - removal of sslh from make file - removal of lfs file - removal of rootfile - removal of paks files - removal of initscript Signed-off-by: Adolf Belka --- config/rootfiles/packages/sslh | 3 -- lfs/sslh | 91 ---------------------------------- make.sh | 1 - src/initscripts/packages/sslh | 63 ----------------------- src/paks/sslh/install.sh | 27 ---------- src/paks/sslh/uninstall.sh | 27 ---------- src/paks/sslh/update.sh | 27 ---------- 7 files changed, 239 deletions(-) delete mode 100644 config/rootfiles/packages/sslh delete mode 100644 lfs/sslh delete mode 100644 src/initscripts/packages/sslh delete mode 100644 src/paks/sslh/install.sh delete mode 100644 src/paks/sslh/uninstall.sh delete mode 100644 src/paks/sslh/update.sh diff --git a/config/rootfiles/packages/sslh b/config/rootfiles/packages/sslh deleted file mode 100644 index 21a1b155b..000000000 --- a/config/rootfiles/packages/sslh +++ /dev/null @@ -1,3 +0,0 @@ -etc/rc.d/init.d/sslh -usr/sbin/sslh -#usr/share/man/man8/sslh.8.gz diff --git a/lfs/sslh b/lfs/sslh deleted file mode 100644 index daad4bc83..000000000 --- a/lfs/sslh +++ /dev/null @@ -1,91 +0,0 @@ -############################################################################= ### -# = # -# IPFire.org - A linux based firewall = # -# Copyright (C) 2007-2018 IPFire Team = # -# = # -# 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 . = # -# = # -############################################################################= ### - -############################################################################= ### -# Definitions -############################################################################= ### - -include Config - -SUMMARY =3D SSL/SSH multiplexer - -VER =3D 1.22c - -THISAPP =3D sslh-$(VER) -DL_FILE =3D $(THISAPP).tar.gz -DL_FROM =3D $(URL_IPFIRE) -DIR_APP =3D $(DIR_SRC)/$(THISAPP) -TARGET =3D $(DIR_INFO)/$(THISAPP) -PROG =3D sslh -PAK_VER =3D 7 - -DEPS =3D - -SERVICES =3D sslh - -############################################################################= ### -# Top-level Rules -############################################################################= ### - -objects =3D $(DL_FILE) - -$(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) - -$(DL_FILE)_BLAKE2 =3D 1870623634b625bb98787be27444403555262f8a9782573c9ed116= e65df9e4518c062ef2e2a40fe7bb550f811518ccc2149a23c36deef6c156911b4c42e27473 - -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) && make CFLAGS=3D"$(CFLAGS)" $(MAKETUNING) USELIBWRAP=3D - cd $(DIR_APP) && make install - - #install initscripts - $(call INSTALL_INITSCRIPTS,$(SERVICES)) - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/make.sh b/make.sh index f15e93acb..e80b08cf9 100755 --- a/make.sh +++ b/make.sh @@ -1542,7 +1542,6 @@ buildipfire() { lfsmake2 lynis lfsmake2 sshfs lfsmake2 taglib - lfsmake2 sslh lfsmake2 perl-gettext lfsmake2 perl-Sort-Naturally lfsmake2 vdradmin diff --git a/src/initscripts/packages/sslh b/src/initscripts/packages/sslh deleted file mode 100644 index e7d21f234..000000000 --- a/src/initscripts/packages/sslh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh -############################################################################= ### -# = # -# IPFire.org - A linux based firewall = # -# Copyright (C) 2007-2022 IPFire Team = # -# = # -# 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 . = # -# = # -############################################################################= ### - -. /etc/sysconfig/rc -. $rc_functions - -case "$1" in - start) - boot_mesg "Starting SSLH Deamon..." - - LOCAL_IP_ADDRESS=3D"$(. = # -# # -############################################################################ -# -. /opt/pakfire/lib/functions.sh -extract_files -ln -s /etc/init.d/sslh /etc/rc.d/init.d/networking/red.up/50-sslh -start_service --background ${NAME} diff --git a/src/paks/sslh/uninstall.sh b/src/paks/sslh/uninstall.sh deleted file mode 100644 index dca34ccbd..000000000 --- a/src/paks/sslh/uninstall.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -############################################################################ -# # -# This file is part of the IPFire Firewall. # -# # -# IPFire 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 2 of the License, or # -# (at your option) any later version. # -# # -# IPFire 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 IPFire; if not, write to the Free Software # -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# # -# Copyright (C) 2009 IPFire-Team . = # -# # -############################################################################ -# -. /opt/pakfire/lib/functions.sh -stop_service ${NAME} -remove_files -rm -f /etc/rc.d/init.d/networking/red.up/50-sslh diff --git a/src/paks/sslh/update.sh b/src/paks/sslh/update.sh deleted file mode 100644 index 99776659c..000000000 --- a/src/paks/sslh/update.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -############################################################################ -# # -# This file is part of the IPFire Firewall. # -# # -# IPFire 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 2 of the License, or # -# (at your option) any later version. # -# # -# IPFire 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 IPFire; if not, write to the Free Software # -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# # -# Copyright (C) 2007-2020 IPFire-Team . = # -# # -############################################################################ -# -. /opt/pakfire/lib/functions.sh -extract_backup_includes -./uninstall.sh -./install.sh --=20 2.44.0 --===============4667350558905014643==--