Changeset 29197


Ignore:
Timestamp:
2011-11-16T21:02:31+01:00 (6 years ago)
Author:
nico
Message:

packages/bind: ship a working named.conf file, add missing conffiles define

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/bind/Makefile

    r28014 r29197  
    1010PKG_NAME:=bind 
    1111PKG_VERSION:=9.8.0-P4 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    113113        $(INSTALL_DIR) $(1)/usr/sbin 
    114114        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/named $(1)/usr/sbin/ 
    115         $(INSTALL_DIR) $(1)/etc 
    116         $(CP) ./files/bind $(1)/etc/ 
     115        $(INSTALL_DIR) $(1)/etc/bind 
     116        $(CP) \ 
     117                ./files/bind/db.0 \ 
     118                ./files/bind/db.127 \ 
     119                ./files/bind/db.255 \ 
     120                ./files/bind/db.local \ 
     121                ./files/bind/db.root \ 
     122                $(1)/etc/bind/ 
     123        $(CP) ./files/bind/named.conf.example $(1)/etc/bind/named.conf 
    117124        $(INSTALL_DIR) $(1)/etc/init.d 
    118125        $(INSTALL_BIN) ./files/named.init $(1)/etc/init.d/named 
    119126        find $(1)/etc/bind/ -name ".svn" | xargs rm -rf 
     127endef 
     128 
     129define Package/bind-server/conffiles 
     130/etc/bind/db.0 
     131/etc/bind/db.127 
     132/etc/bind/db.255 
     133/etc/bind/db.local 
     134/etc/bind/db.root 
     135/etc/bind/named.conf 
    120136endef 
    121137 
Note: See TracChangeset for help on using the changeset viewer.