From cebfdc69929dc4e6b948177ea1dc296250309ee8 Mon Sep 17 00:00:00 2001 From: Daniel Salzman Date: Wed, 16 Jul 2014 10:26:59 +0200 Subject: [PATCH] knot: update to 1.5.0. Signed-off-by: Daniel Salzman --- net/knot/Makefile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/net/knot/Makefile b/net/knot/Makefile index 91b1ed4e78..fbb3533672 100644 --- a/net/knot/Makefile +++ b/net/knot/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=knot -PKG_VERSION:=1.5.0-rc2 +PKG_VERSION:=1.5.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_URL:=https://secure.nic.cz/files/knot-dns/ -PKG_MD5SUM:=9a93226c200813ee7bfe27dcf7b6cbc9 +PKG_MD5SUM:=d677de99c19afea3b1e8ef075a9d5a8b PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_PARALLEL:=1 @@ -73,9 +73,14 @@ define Package/knot-tests/description Usage: /usr/share/knot/runtests.sh endef +define Package/knot/conffiles +/etc/knot/knot.conf +endef + CONFIGURE_ARGS += \ --enable-recvmmsg=no \ --disable-fastparser \ + --without-libidn \ --with-rundir=/var/run \ --with-storage=/etc/knot @@ -101,7 +106,7 @@ define Package/knot/install $(INSTALL_DIR) $(1)/etc/knot $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/knot/knot.sample.conf $(1)/etc/knot/knot.conf - $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/knot/example.com.zone $(1)/etc/knot/ + $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/knot/example.com.zone $(1)/etc/knot/ $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/knotd.init $(1)/etc/init.d/knotd @@ -117,7 +122,7 @@ endef define Package/knot-tests/install $(INSTALL_DIR) $(1)/usr/share/knot - $(INSTALL_BIN) ./files/runtests.sh $(1)/usr/share/knot + $(INSTALL_BIN) ./files/runtests.sh $(1)/usr/share/knot/ $(INSTALL_DIR) $(1)/usr/share/knot/tap $(INSTALL_BIN) $(PKG_BUILD_DIR)/libtap/runtests $(1)/usr/share/knot/tap/ @@ -129,11 +134,11 @@ define Package/knot-tests/install xargs -I{} $(INSTALL_BIN) -T $(PKG_BUILD_DIR)/tests/.libs/{} $(1)/usr/share/knot/tests/test_{} $(INSTALL_DIR) $(1)/usr/share/knot/tests/data - $(INSTALL_CONF) $(PKG_BUILD_DIR)/tests/data/sample_conf $(1)/usr/share/knot/tests/data/ + $(INSTALL_DATA) $(PKG_BUILD_DIR)/tests/data/sample_conf $(1)/usr/share/knot/tests/data/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/zscanner/tests/.libs/zscanner-tool $(1)/usr/share/knot/tests/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/zscanner/tests/unittests $(1)/usr/share/knot/tests/test_zscanner - $(INSTALL_CONF) $(PKG_BUILD_DIR)/src/zscanner/tests/TESTS $(1)/usr/share/knot/tests/ + $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/zscanner/tests/TESTS $(1)/usr/share/knot/tests/ cp -a $(PKG_BUILD_DIR)/src/zscanner/tests/data $(1)/usr/share/knot/tests/ endef