dnsdist: Update to 1.3.3

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2019-03-18 04:38:41 +00:00
parent aac6015042
commit fd0b2742bf
2 changed files with 14 additions and 6 deletions

View File

@@ -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

View File

@@ -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)