mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
- Update from version 9.16.50 to 9.20.1 - Update of rootfile - The use of liburcu has replaced isc_qsbr in 9.19.4 and therefore the position of liburcu in make.sh had to be changed. - --enable-threads, --with-libtool, --without-python & --disable-linux-caps are no longer reconised configure options (it looks like not recognised for a while. --without-python is explicitly mentioned as being removed in version 9.15.7 The others are not mentioned in the changelog notes. - The lib/bind9 and lib/irs directories in the source tarball have been removed. The The comtents of lib/bind9 have been moved to lib/isc and lib/isccfg and the contents of lib/irs have been moved to dns. - The order of the make instructions had to be changed as lib/isccfg required the results of lib/dns and the build failed without it. Changing the order solved the build problem. - A large number of CVE fixes have been applied between the new and old version. 5 9.20.0 2 9.19.21 3 9.19.20 1 9.19.17 1 9.19.14 3 9.19.9 5 9.19.5 1 9.19.1 4 9.19.0 1 9.17.19 1 9.17.17 2 9.17.12 5 9.17.4 4 9.17.2 - Changelog is too long to include here - around 5000 lines. For details see the NEWS file in the source tarball. Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
106 lines
4.0 KiB
Plaintext
106 lines
4.0 KiB
Plaintext
###############################################################################
|
|
# #
|
|
# IPFire.org - A linux based firewall #
|
|
# Copyright (C) 2007-2024 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 = 9.20.1
|
|
|
|
THISAPP = bind-$(VER)
|
|
DL_FILE = $(THISAPP).tar.xz
|
|
DL_FROM = $(URL_IPFIRE)
|
|
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
|
TARGET = $(DIR_INFO)/$(THISAPP)
|
|
|
|
export CPPFLAGS = -DDIG_SIGCHASE
|
|
|
|
###############################################################################
|
|
# Top-level Rules
|
|
###############################################################################
|
|
|
|
objects = $(DL_FILE)
|
|
|
|
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
|
|
|
$(DL_FILE)_BLAKE2 = 0607a2753bcda828cff0f01a7929c3192286050813243a0733d4cf29313c9d9532285d049864b67f3ce352b71cbb878bc22785a73fe186bf244ca807934fefdf
|
|
|
|
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 axf $(DIR_DL)/$(DL_FILE)
|
|
$(UPDATE_AUTOMAKE)
|
|
cd $(DIR_APP) && STD_CDEFINES="$(CPPFLAGS)" \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
--disable-doh
|
|
|
|
# Build required libraries
|
|
cd $(DIR_APP) && make -C lib/isc $(MAKETUNING)
|
|
cd $(DIR_APP) && make -C lib/dns $(MAKETUNING)
|
|
cd $(DIR_APP) && make -C lib/ns $(MAKETUNING)
|
|
cd $(DIR_APP) && make -C lib/isccc $(MAKETUNING)
|
|
cd $(DIR_APP) && make -C lib/isccfg $(MAKETUNING)
|
|
cd $(DIR_APP) && make -C bin/dig $(MAKETUNING)
|
|
cd $(DIR_APP) && make -C bin/nsupdate $(MAKETUNING)
|
|
|
|
# Install utility programs
|
|
cd $(DIR_APP) && make -C lib/isc install
|
|
cd $(DIR_APP) && make -C lib/dns install
|
|
cd $(DIR_APP) && make -C lib/ns install
|
|
cd $(DIR_APP) && make -C lib/isccc install
|
|
cd $(DIR_APP) && make -C lib/isccfg install
|
|
cd $(DIR_APP) && make -C bin/dig install
|
|
cd $(DIR_APP) && make -C bin/nsupdate install
|
|
|
|
install -v -m 644 $(DIR_SRC)/config/bind/trusted-key.key \
|
|
/etc/trusted-key.key
|
|
|
|
@rm -rf $(DIR_APP)
|
|
@$(POSTBUILD)
|