quagga{,-unstable}: Install config files with proper permissions
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>
Tue, 16 Mar 2010 23:27:17 +0000 (23:27 +0000)
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>
Tue, 16 Mar 2010 23:27:17 +0000 (23:27 +0000)
SVN-Revision: 20249

net/quagga-unstable/Makefile
net/quagga/Makefile

index 78edca4894ed0b801974dbd6e3dfbe98841f8f41..67a519b2d66afce60cc2665db131ac06d5475b9e 100644 (file)
@@ -124,7 +124,7 @@ define Package/quagga-unstable/install
        # avoid /etc being set to 0750
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/zebra.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/zebra.conf
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/quagga $(1)/usr/sbin/quagga.init
        $(INSTALL_BIN) ./files/quagga.init $(1)/etc/init.d/quagga
@@ -183,7 +183,7 @@ define Package/quagga-unstable-bgpd/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/bgpd $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/bgpd.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/bgpd.conf
 endef
 
 define Package/quagga-unstable-isisd/install
@@ -191,7 +191,7 @@ define Package/quagga-unstable-isisd/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/isisd $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/isisd.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/isisd.conf
 endef
 
 define Package/quagga-unstable-ospfd/install
@@ -199,7 +199,7 @@ define Package/quagga-unstable-ospfd/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ospfd $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/ospfd.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/ospfd.conf
 endef
 
 define Package/quagga-unstable-ospf6d/install
@@ -207,7 +207,7 @@ define Package/quagga-unstable-ospf6d/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ospf6d $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/ospf6d.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/ospf6d.conf
 endef
 
 define Package/quagga-unstable-ripd/install
@@ -215,7 +215,7 @@ define Package/quagga-unstable-ripd/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ripd $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/ripd.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/ripd.conf
 endef
 
 define Package/quagga-unstable-ripngd/install
@@ -223,7 +223,7 @@ define Package/quagga-unstable-ripngd/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ripngd $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/ripngd.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/ripngd.conf
 endef
 
 define Package/quagga-unstable-vtysh/install
index 7a637effb1a856131a6738e3fba28bb2fb797ede..752b48e6084cf6eedab6a8c99d0b945f3309bfde 100644 (file)
@@ -127,7 +127,7 @@ define Package/quagga/install
        # avoid /etc being set to 0750
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/zebra.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/zebra.conf
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/quagga $(1)/usr/sbin/quagga.init
        $(INSTALL_BIN) ./files/quagga.init $(1)/etc/init.d/quagga
@@ -186,7 +186,7 @@ define Package/quagga-bgpd/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/bgpd $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/bgpd.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/bgpd.conf
 endef
 
 define Package/quagga-isisd/install
@@ -194,7 +194,7 @@ define Package/quagga-isisd/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/isisd $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/isisd.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/isisd.conf
 endef
 
 define Package/quagga-ospfd/install
@@ -202,7 +202,7 @@ define Package/quagga-ospfd/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ospfd $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/ospfd.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/ospfd.conf
 endef
 
 define Package/quagga-ospf6d/install
@@ -210,7 +210,7 @@ define Package/quagga-ospf6d/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ospf6d $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/ospf6d.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/ospf6d.conf
 endef
 
 define Package/quagga-ripd/install
@@ -218,7 +218,7 @@ define Package/quagga-ripd/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ripd $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/ripd.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/ripd.conf
 endef
 
 define Package/quagga-ripngd/install
@@ -226,7 +226,7 @@ define Package/quagga-ripngd/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ripngd $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/quagga
        chmod 0750 $(1)/etc/quagga
-       $(INSTALL_DATA) ./files/quagga.conf $(1)/etc/quagga/ripngd.conf
+       $(INSTALL_CONF) ./files/quagga.conf $(1)/etc/quagga/ripngd.conf
 endef
 
 define Package/quagga-vtysh/install