]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Drop pcre-compat
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 12 Feb 2021 11:51:45 +0000 (11:51 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 12 Feb 2021 11:51:45 +0000 (11:51 +0000)
This version of the library is outdated for a long time and we have been
shipping newer versions for long enough so that everyone should have
been migrated by now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/pcre-compat [deleted file]
config/rootfiles/core/155/update.sh
lfs/pcre-compat [deleted file]
make.sh

diff --git a/config/rootfiles/common/pcre-compat b/config/rootfiles/common/pcre-compat
deleted file mode 100644 (file)
index ff1b776..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-lib/libpcre.so.0
-lib/libpcre.so.0.0.1
index 975cf05081752058316e497746148036a217659c..7984dcdd88a17cf400353b5fdfe8e02f2e693b44 100644 (file)
@@ -32,6 +32,9 @@ for (( i=1; i<=$core; i++ )); do
 done
 
 # Remove files
+rm -vf \
+       /lib/libpcre.so.0 \
+       /lib/libpcre.so.0.0.1
 
 # Stop services
 
diff --git a/lfs/pcre-compat b/lfs/pcre-compat
deleted file mode 100644 (file)
index 5709a47..0000000
+++ /dev/null
@@ -1,80 +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        = 7.7
-
-THISAPP    = pcre-$(VER)
-DL_FILE    = $(THISAPP).tar.bz2
-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)_MD5 = 4b2e9cde1f7227448dddba59843efa0b
-
-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 jxf $(DIR_DL)/$(DL_FILE)
-       $(UPDATE_AUTOMAKE)
-       cd $(DIR_APP) && ./configure --prefix=/usr --enable-utf8
-       cd $(DIR_APP) && make $(MAKETUNING)
-
-       install -m 755 $(DIR_APP)/.libs/libpcre.so.0.0.1 /lib
-       ln -svf libpcre.so.0.0.1 /lib/libpcre.so.0
-       @rm -rf $(DIR_APP)
-       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 0bd67e808a5c68a66c991afe90fd88a5ac598aca..cca77eeded570561ed49452eb7f3b795009d1a9b 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1101,7 +1101,6 @@ buildbase() {
        lfsmake2 xz
        lfsmake2 lzip
        lfsmake2 pcre
-       lfsmake2 pcre-compat
        lfsmake2 pcre2
        lfsmake2 gettext
        lfsmake2 attr