From 5bc33236ca28747683109cd62c94c35338374c68 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 24 Mar 2018 12:49:10 +0100 Subject: [PATCH] swconfig: remove old swconfig utility this is not compatible with kernel 4.14 todo: replace swconfig calls in initskript Signed-off-by: Arne Fitzenreiter --- config/rootfiles/common/armv5tel/swconfig | 1 - lfs/swconfig | 77 ----------------------- make.sh | 1 - 3 files changed, 79 deletions(-) delete mode 100644 config/rootfiles/common/armv5tel/swconfig delete mode 100644 lfs/swconfig diff --git a/config/rootfiles/common/armv5tel/swconfig b/config/rootfiles/common/armv5tel/swconfig deleted file mode 100644 index 720791e5c7..0000000000 --- a/config/rootfiles/common/armv5tel/swconfig +++ /dev/null @@ -1 +0,0 @@ -usr/bin/swconfig diff --git a/lfs/swconfig b/lfs/swconfig deleted file mode 100644 index 81e0b9fbf3..0000000000 --- a/lfs/swconfig +++ /dev/null @@ -1,77 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007-2015 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 - -VER = 001 - -THISAPP = swconfig-$(VER) -DL_FILE = $(THISAPP).tar.xz -DL_FROM = $(URL_IPFIRE) -DIR_APP = $(DIR_SRC)/$(THISAPP) -TARGET = $(DIR_INFO)/$(THISAPP) -SUP_ARCH = armv5tel - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -$(DL_FILE) = $(DL_FROM)/$(DL_FILE) - -$(DL_FILE)_MD5 = c35919a05fc82b3f8b311da8dfc2cd3e - -install : $(TARGET) - -check : $(patsubst %,$(DIR_CHK)/%,$(objects)) - -download :$(patsubst %,$(DIR_DL)/%,$(objects)) - -md5 : $(subst %,%_MD5,$(objects)) - -############################################################################### -# Downloading, checking, md5sum -############################################################################### - -$(patsubst %,$(DIR_CHK)/%,$(objects)) : - @$(CHECK) - -$(patsubst %,$(DIR_DL)/%,$(objects)) : - @$(LOAD) - -$(subst %,%_MD5,$(objects)) : - @$(MD5) - -############################################################################### -# Installation Details -############################################################################### - -$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && make $(MAKETUNING) - cd $(DIR_APP) && install -v -m755 swconfig /usr/bin/ - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/make.sh b/make.sh index f9f457092f..1c8f822a85 100755 --- a/make.sh +++ b/make.sh @@ -1485,7 +1485,6 @@ buildipfire() { lfsmake2 pigz lfsmake2 tmux lfsmake2 perl-Text-CSV_XS - lfsmake2 swconfig lfsmake2 haproxy lfsmake2 ipset lfsmake2 lua -- 2.39.2