|
|
@ -8,8 +8,8 @@ |
|
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=unbound |
|
|
|
PKG_VERSION:=1.5.8 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
PKG_VERSION:=1.5.9 |
|
|
|
PKG_RELEASE:=3 |
|
|
|
|
|
|
|
PKG_LICENSE:=BSD-3-Clause |
|
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
@ -17,7 +17,7 @@ PKG_MAINTAINER:=Michael Hanselmann <public@hansmi.ch> |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
|
PKG_SOURCE_URL:=http://www.unbound.net/downloads |
|
|
|
PKG_MD5SUM:=1c34282bae0c625b86374ee9caaef6f7 |
|
|
|
PKG_MD5SUM:=0cefa62c1690b4db18583db84bff00e3 |
|
|
|
|
|
|
|
PKG_BUILD_DEPENDS:=libexpat |
|
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
@ -39,6 +39,7 @@ define Package/unbound |
|
|
|
SUBMENU:=IP Addresses and Names |
|
|
|
TITLE+= (daemon) |
|
|
|
DEPENDS+= +libunbound |
|
|
|
USERID:=unbound:unbound |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/unbound/description |
|
|
@ -113,6 +114,8 @@ CONFIGURE_ARGS += \ |
|
|
|
--enable-allsymbols \
|
|
|
|
--with-libexpat="$(STAGING_DIR)/usr" \
|
|
|
|
--with-ssl="$(STAGING_DIR)/usr" \
|
|
|
|
--with-pidfile=/var/run/unbound.pid \
|
|
|
|
--with-user=unbound \
|
|
|
|
--without-pthreads |
|
|
|
|
|
|
|
define Package/unbound/conffiles |
|
|
@ -121,14 +124,14 @@ endef |
|
|
|
|
|
|
|
define Build/InstallDev |
|
|
|
$(INSTALL_DIR) $(1)/usr/include |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/unbound.h $(1)/usr/include/ |
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/unbound.h $(1)/usr/include/ |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libunbound.{so*,a,la} $(1)/usr/lib/ |
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libunbound.{so*,a,la} $(1)/usr/lib/ |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/unbound/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|
|
$(CP) \
|
|
|
|
$(INSTALL_BIN) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/sbin/unbound \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/sbin/unbound-checkconf \
|
|
|
|
$(1)/usr/sbin/ |
|
|
@ -137,34 +140,33 @@ define Package/unbound/install |
|
|
|
$(PKG_INSTALL_DIR)/etc/unbound/unbound.conf \
|
|
|
|
$(1)/etc/unbound/ |
|
|
|
$(INSTALL_CONF) ./files/root.key $(1)/etc/unbound/ |
|
|
|
$(INSTALL_CONF) ./files/named.cache $(1)/etc/unbound/ |
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
|
$(INSTALL_BIN) ./files/unbound.init $(1)/etc/init.d/unbound |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/unbound-anchor/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/unbound-anchor $(1)/usr/sbin/ |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/unbound-anchor $(1)/usr/sbin/ |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/unbound-control/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/unbound-control $(1)/usr/sbin/ |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/unbound-control $(1)/usr/sbin/ |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/unbound-control-setup/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/unbound-control-setup $(1)/usr/sbin/ |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/unbound-control-setup $(1)/usr/sbin/ |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/unbound-host/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/unbound-host $(1)/usr/sbin/ |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/unbound-host $(1)/usr/sbin/ |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/libunbound/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libunbound.so.* $(1)/usr/lib/ |
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libunbound.so.* $(1)/usr/lib/ |
|
|
|
endef |
|
|
|
|
|
|
|
$(eval $(call BuildPackage,unbound)) |
|
|
|