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