]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
gnu-netcat: Removal of package
authorAdolf Belka <adolf.belka@ipfire.org>
Mon, 28 Nov 2022 17:24:21 +0000 (18:24 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Tue, 29 Nov 2022 12:29:48 +0000 (13:29 +0100)
- gnu-netcat was last updated in 2004 and is not used as a dependency for any IPFire
   addon.
- IPFire has ncat which is used as a dependency for ipfire-netboot, libshout, libvirt
   and squid. gnu-netcat not being required for libvcirt was confirmed by Jonatan.
- nmap/ncat is being actively updated.
- Based on the above this patch is removing gnu-netcat from IPFire.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
config/rootfiles/packages/gnu-netcat [deleted file]
lfs/gnu-netcat [deleted file]
make.sh

diff --git a/config/rootfiles/packages/gnu-netcat b/config/rootfiles/packages/gnu-netcat
deleted file mode 100644 (file)
index 8202327..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-usr/bin/netcat
-#usr/info
-#usr/info/dir
-#usr/info/netcat.info
-#usr/man/man1/netcat.1
-#usr/share/locale/it/LC_MESSAGES/netcat.mo
-#usr/share/locale/sk/LC_MESSAGES/netcat.mo
diff --git a/lfs/gnu-netcat b/lfs/gnu-netcat
deleted file mode 100644 (file)
index 7c52ec4..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  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
-
-SUMMARY    = GNU variant of universal network utility
-
-VER        = 0.7.1
-
-THISAPP    = netcat-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
-DL_FROM    = $(URL_IPFIRE)
-DIR_APP    = $(DIR_SRC)/$(THISAPP)
-TARGET     = $(DIR_INFO)/$(THISAPP)
-PROG       = gnu-netcat
-PAK_VER    = 1
-
-DEPS       =
-
-SERVICES   =
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE)
-
-$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-
-$(DL_FILE)_BLAKE2 = 0882117e9c465d9fd3155c943c68205a782e4c61ccbe047db2ee6cb4c6074d41679219819ce67abdf9e3321c27920fdc831ebb375bd81ab3245c04b5a56a249c
-
-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)
-       $(UPDATE_AUTOMAKE)
-       cd $(DIR_APP) && ./configure --prefix=/usr
-       cd $(DIR_APP) && make $(MAKETUNING)
-       cd $(DIR_APP) && make install
-       rm -f /usr/bin/nc
-       @rm -rf $(DIR_APP)
-       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index c0d1f1d2cc201895ad11f25c1930bc6298518738..2e49b167383d42c247f41b26d27c2b150d78457c 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1508,7 +1508,6 @@ buildipfire() {
   lfsmake2 rpcbind
   lfsmake2 keyutils
   lfsmake2 nfs
-  lfsmake2 gnu-netcat
   lfsmake2 ncat
   lfsmake2 nmap
   lfsmake2 etherwake