[4/8] perl-Digest-SHA1: removal of module as it is now in the perl core modules

Message ID 20240914152831.7727-4-adolf.belka@ipfire.org
State Staged
Commit 74a8183c595abdc495bcab45c0cf0c9e9c492798
Headers
Series [1/8] make.sh: Fixes bug13640 - removal of perl modules that are now core modules |

Commit Message

Adolf Belka Sept. 14, 2024, 3:28 p.m. UTC
  - Not referenced in the IPFire git repo so looks like not actively used

Fixes: bug13640
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/perl-Digest-SHA1 |  7 ---
 lfs/perl-Digest-SHA1                     | 78 ------------------------
 2 files changed, 85 deletions(-)
 delete mode 100644 config/rootfiles/common/perl-Digest-SHA1
 delete mode 100644 lfs/perl-Digest-SHA1
  

Patch

diff --git a/config/rootfiles/common/perl-Digest-SHA1 b/config/rootfiles/common/perl-Digest-SHA1
deleted file mode 100644
index 45edee11f..000000000
--- a/config/rootfiles/common/perl-Digest-SHA1
+++ /dev/null
@@ -1,7 +0,0 @@ 
-#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Digest
-usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Digest/SHA1.pm
-#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Digest
-#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Digest/SHA1
-#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Digest/SHA1/.packlist
-usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Digest/SHA1/SHA1.so
-#usr/share/man/man3/Digest::SHA1.3
diff --git a/lfs/perl-Digest-SHA1 b/lfs/perl-Digest-SHA1
deleted file mode 100644
index 14f47c8d3..000000000
--- a/lfs/perl-Digest-SHA1
+++ /dev/null
@@ -1,78 +0,0 @@ 
-###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2020  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        = 2.13
-
-THISAPP    = Digest-SHA1-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
-DL_FROM    = $(URL_IPFIRE)
-DIR_APP    = $(DIR_SRC)/$(THISAPP)
-TARGET     = $(DIR_INFO)/$(THISAPP)
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE)
-
-$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-
-$(DL_FILE)_BLAKE2 = b83c9013a932f0c1da9a9ff57831a57de04ca57f61ee553bb7f7084cb75eb8bcd61069ab5277af2039c4ede37b8d7c34d7a5c99f434000cd14670d4b2b5ca7e4
-
-install : $(TARGET)
-
-check : $(patsubst %,$(DIR_CHK)/%,$(objects))
-
-download :$(patsubst %,$(DIR_DL)/%,$(objects))
-
-b2 : $(subst %,%_BLAKE2,$(objects))
-
-###############################################################################
-# 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) && sed -i "s%,'y'%,'n'%" Makefile.PL
-	cd $(DIR_APP) && yes 'n' | perl Makefile.PL
-	cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
-	cd $(DIR_APP) && make install
-	@rm -rf $(DIR_APP)
-	@$(POSTBUILD)