From: nico Date: Wed, 16 Nov 2011 20:02:31 +0000 (+0000) Subject: packages/bind: ship a working named.conf file, add missing conffiles define X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=38b55200100cb3ada1fb6a22c4afe1b114e189c1;p=packages.git packages/bind: ship a working named.conf file, add missing conffiles define git-svn-id: svn://svn.openwrt.org/openwrt/packages@29197 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/bind/Makefile b/net/bind/Makefile index 8c547d7ea..f547befbc 100644 --- a/net/bind/Makefile +++ b/net/bind/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bind PKG_VERSION:=9.8.0-P4 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:= \ @@ -112,13 +112,29 @@ endef define Package/bind-server/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/named $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/etc - $(CP) ./files/bind $(1)/etc/ + $(INSTALL_DIR) $(1)/etc/bind + $(CP) \ + ./files/bind/db.0 \ + ./files/bind/db.127 \ + ./files/bind/db.255 \ + ./files/bind/db.local \ + ./files/bind/db.root \ + $(1)/etc/bind/ + $(CP) ./files/bind/named.conf.example $(1)/etc/bind/named.conf $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/named.init $(1)/etc/init.d/named find $(1)/etc/bind/ -name ".svn" | xargs rm -rf endef +define Package/bind-server/conffiles +/etc/bind/db.0 +/etc/bind/db.127 +/etc/bind/db.255 +/etc/bind/db.local +/etc/bind/db.root +/etc/bind/named.conf +endef + define Package/bind-client/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nsupdate $(1)/usr/bin/