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

Message ID 20240914152831.7727-6-adolf.belka@ipfire.org
State Staged
Commit d70b66e7a652215cf742148fdb242d04e9d8c31f
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
  - Used in install-ipfire.sh script that is run by the install of vdradmin.
- With the old separate module removed vdradmin still successfully built and installed.

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

Patch

diff --git a/config/rootfiles/common/perl-Digest-HMAC b/config/rootfiles/common/perl-Digest-HMAC
deleted file mode 100644
index 622d6e746..000000000
--- a/config/rootfiles/common/perl-Digest-HMAC
+++ /dev/null
@@ -1,9 +0,0 @@ 
-#usr/lib/perl5/site_perl/5.36.0/Digest
-usr/lib/perl5/site_perl/5.36.0/Digest/HMAC.pm
-usr/lib/perl5/site_perl/5.36.0/Digest/HMAC_MD5.pm
-usr/lib/perl5/site_perl/5.36.0/Digest/HMAC_SHA1.pm
-#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Digest/HMAC
-#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Digest/HMAC/.packlist
-#usr/share/man/man3/Digest::HMAC.3
-#usr/share/man/man3/Digest::HMAC_MD5.3
-#usr/share/man/man3/Digest::HMAC_SHA1.3
diff --git a/lfs/perl-Digest-HMAC b/lfs/perl-Digest-HMAC
deleted file mode 100644
index d95f9099f..000000000
--- a/lfs/perl-Digest-HMAC
+++ /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        = 1.03
-
-THISAPP    = Digest-HMAC-$(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 = 4dda8519d63befc278277b03ba00fb8738913e3322b136ca751ef9c1bf9644e1fec957d9f757ae06f4f06a64e88c85227666792cea0b59ed772577a1e8128c18
-
-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)