mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
dnsdist: Update to 1.3.3
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
17
lfs/dnsdist
17
lfs/dnsdist
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
include Config
|
include Config
|
||||||
|
|
||||||
VER = 0.0.498gac688af
|
VER = 1.3.3
|
||||||
|
|
||||||
THISAPP = dnsdist-$(VER)
|
THISAPP = dnsdist-$(VER)
|
||||||
DL_FILE = $(THISAPP).tar.bz2
|
DL_FILE = $(THISAPP).tar.bz2
|
||||||
@@ -33,11 +33,11 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
|
|||||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||||
SUP_ARCH = x86_64 i586
|
SUP_ARCH = x86_64 i586
|
||||||
PROG = dnsdist
|
PROG = dnsdist
|
||||||
PAK_VER = 1
|
PAK_VER = 2
|
||||||
|
|
||||||
DEPS = ""
|
DEPS = ""
|
||||||
|
|
||||||
MAX_PARALLELISM = $(shell echo $$(( $(SYSTEM_MEMORY) / 512)))
|
MAX_PARALLELISM = $(shell echo $$(( $(SYSTEM_MEMORY) / 1024)))
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Top-level Rules
|
# Top-level Rules
|
||||||
@@ -47,7 +47,7 @@ objects = $(DL_FILE)
|
|||||||
|
|
||||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||||
|
|
||||||
$(DL_FILE)_MD5 = b1bc53b3a35aef7006b74086919847bf
|
$(DL_FILE)_MD5 = 6bbcdf5296ac5303e88d779d1d57a4df
|
||||||
|
|
||||||
install : $(TARGET)
|
install : $(TARGET)
|
||||||
|
|
||||||
@@ -80,7 +80,14 @@ $(subst %,%_MD5,$(objects)) :
|
|||||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||||
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc
|
cd $(DIR_APP) && ./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--enable-openssl \
|
||||||
|
--disable-gnutls \
|
||||||
|
--with-lua \
|
||||||
|
--without-net-snmp
|
||||||
|
|
||||||
cd $(DIR_APP) && make $(MAKETUNING)
|
cd $(DIR_APP) && make $(MAKETUNING)
|
||||||
cd $(DIR_APP) && make install
|
cd $(DIR_APP) && make install
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,8 @@
|
|||||||
case "${1}" in
|
case "${1}" in
|
||||||
start)
|
start)
|
||||||
boot_mesg "Starting dnsdist..."
|
boot_mesg "Starting dnsdist..."
|
||||||
loadproc /usr/bin/dnsdist -d ${ARGS}
|
/usr/bin/dnsdist --supervised ${ARGS} >/dev/null &
|
||||||
|
evaluate_retval
|
||||||
;;
|
;;
|
||||||
|
|
||||||
stop)
|
stop)
|
||||||
|
|||||||
Reference in New Issue
Block a user