quagga{,-unstable}: Add conffiles sections to prevent overwritting of config files
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>
Tue, 16 Mar 2010 23:27:22 +0000 (23:27 +0000)
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>
Tue, 16 Mar 2010 23:27:22 +0000 (23:27 +0000)
SVN-Revision: 20250

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

index 67a519b2d66afce60cc2665db131ac06d5475b9e..c307851bb27a017945befb8e556121802565a132 100644 (file)
@@ -98,6 +98,34 @@ define Package/quagga-unstable-vtysh
   TITLE:=integrated shell for Quagga routing software
 endef
 
+define Package/quagga-unstable/conffiles
+/etc/quagga/zebra.conf
+endef
+
+define Package/quagga-unstable-bgpd/conffiles
+/etc/quagga/bgpd.conf
+endef
+
+define Package/quagga-unstable-isisd/conffiles
+/etc/quagga/isisd.conf
+endef
+
+define Package/quagga-unstable-ospfd/conffiles
+/etc/quagga/ospfd.conf
+endef
+
+define Package/quagga-unstable-ospf6d/conffiles
+/etc/quagga/ospf6d.conf
+endef
+
+define Package/quagga-unstable-ripd/conffiles
+/etc/quagga/ripd.conf
+endef
+
+define Package/quagga-unstable-ripngd/conffiles
+/etc/quagga/ripngd.conf
+endef
+
 CONFIGURE_ARGS+= \
        --localstatedir=/var/run/quagga \
        --sysconfdir=/etc/quagga/ \
index 752b48e6084cf6eedab6a8c99d0b945f3309bfde..cb9261a2592334299a60e9906c2a8a81bc010206 100644 (file)
@@ -96,6 +96,34 @@ define Package/quagga-vtysh
   TITLE:=integrated shell for Quagga routing software
 endef
 
+define Package/quagga/conffiles
+/etc/quagga/zebra.conf
+endef
+
+define Package/quagga-bgpd/conffiles
+/etc/quagga/bgpd.conf
+endef
+
+define Package/quagga-isisd/conffiles
+/etc/quagga/isisd.conf
+endef
+
+define Package/quagga-ospfd/conffiles
+/etc/quagga/ospfd.conf
+endef
+
+define Package/quagga-ospf6d/conffiles
+/etc/quagga/ospf6d.conf
+endef
+
+define Package/quagga-ripd/conffiles
+/etc/quagga/ripd.conf
+endef
+
+define Package/quagga-ripngd/conffiles
+/etc/quagga/ripngd.conf
+endef
+
 CONFIGURE_ARGS+= \
        --localstatedir=/var/run/quagga \
        --sysconfdir=/etc/quagga/ \