[5/8] perl-Compress-Zlib: removal of module as it is now in the perl core modules

Message ID 20240914152831.7727-5-adolf.belka@ipfire.org
State Staged
Commit 008eca2c2f2a11739a70c754a367e7a5086773da
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-Compress-Zlib |  9 ---
 lfs/perl-Compress-Zlib                     | 79 ----------------------
 2 files changed, 88 deletions(-)
 delete mode 100644 config/rootfiles/common/perl-Compress-Zlib
 delete mode 100644 lfs/perl-Compress-Zlib
  

Patch

diff --git a/config/rootfiles/common/perl-Compress-Zlib b/config/rootfiles/common/perl-Compress-Zlib
deleted file mode 100644
index 7e9851d82..000000000
--- a/config/rootfiles/common/perl-Compress-Zlib
+++ /dev/null
@@ -1,9 +0,0 @@ 
-#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Compress
-usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Compress/Zlib.pm
-#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Compress
-#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Compress/Zlib
-#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Compress/Zlib/.packlist
-#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Compress/Zlib/Zlib.bs
-usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Compress/Zlib/Zlib.so
-usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Compress/Zlib/autosplit.ix
-#usr/share/man/man3/Compress::Zlib.3
diff --git a/lfs/perl-Compress-Zlib b/lfs/perl-Compress-Zlib
deleted file mode 100644
index aaa79f3f3..000000000
--- a/lfs/perl-Compress-Zlib
+++ /dev/null
@@ -1,79 +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
-
-VER        = 1.35
-
-THISAPP    = Compress-Zlib-$(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 = b2f9dd29c73565ca3383dc88a5dd21458932ade85eaf218688b72094696d503d427ed3ee65d2c35d5e74a4ecd9232a00383867b41a2edef7b04433324bda4c19
-
-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) && echo -e "BUILD_ZLIB = False\nINCLUDE = /usr/include\nLIB = /lib\nOLD_ZLIB = True\n" > config.in
-	cd $(DIR_APP) && perl Makefile.PL
-	cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
-	cd $(DIR_APP) && make install
-	@rm -rf $(DIR_APP)
-	@$(POSTBUILD)
-