packages: add missing conffiles define
packages: add missing conffiles define

git-svn-id: svn://svn.openwrt.org/openwrt/packages@29199 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/admin/muninlite/Makefile
+++ b/admin/muninlite/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=muninlite
 PKG_VERSION:=1.0.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
@@ -44,6 +44,10 @@
 	$(INSTALL_DATA) ./files/etc/xinetd.d/munin $(1)/etc/xinetd.d/
 endef
 
+define Package/muninlite/conffiles
+/etc/xinetd.d/munin
+endef
+
 define Build/Configure
 endef
 

--- a/admin/nagios/Makefile
+++ b/admin/nagios/Makefile
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2008-2009 OpenWrt.org
+# Copyright (C) 2008-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=nagios
 PKG_VERSION:=2.10
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/nagios
@@ -58,5 +58,13 @@
 	$(CP)	$(PKG_INSTALL_DIR)/usr/share/* $(1)/usr/share/
 endef
 
+define Package/nagios/conffiles
+/etc/nagios/cgi.cfg
+/etc/nagios/commands.cfg
+/etc/nagios/localhost.cfg
+/etc/nagios/nagios.cfg
+/etc/nagios/resource.cfg
+endef
+
 $(eval $(call BuildPackage,nagios))
 

--- a/admin/nrpe/Makefile
+++ b/admin/nrpe/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=nrpe
 PKG_VERSION:=2.12
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/nagios
@@ -47,6 +47,10 @@
 	$(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
 endef
 
+define Package/nrpe/conffiles
+/etc/nrpe.cfg
+endef
+
 $(eval $(call RequireCommand,openssl, \
 	$(PKG_NAME) requires openssl installed on the host-system. \
 ))

--- a/ipv6/gw6c/Makefile
+++ b/ipv6/gw6c/Makefile
@@ -6,7 +6,7 @@
 
 PKG_NAME:=gw6c
 PKG_VERSION:=5.1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://openwrt.linux-appliance.net/sources
@@ -72,5 +72,9 @@
 	$(INSTALL_CONF) ./files/gw6c.config $(1)/etc/config/gw6c
 endef
 
+define Package/gw6c/conffiles
+/etc/config/gw6c
+endef
+
 $(eval $(call BuildPackage,gw6c))
 

--- a/ipv6/totd/Makefile
+++ b/ipv6/totd/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=totd
 PKG_VERSION:=1.5.1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.dillema.net/software/totd
@@ -53,5 +53,9 @@
 	$(INSTALL_BIN) ./files/totd.init $(1)/etc/init.d/totd
 endef
 
+define Package/totd/conffiles
+/etc/totd.conf
+endef
+
 $(eval $(call BuildPackage,totd))
 

--- a/ipv6/tspc/Makefile
+++ b/ipv6/tspc/Makefile
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=tspc
 PKG_VERSION:=2.1.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
 PKG_SOURCE_URL:=http://ftp.fr.debian.org/debian/pool/main/t/tspc/
@@ -45,5 +45,9 @@
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/template/checktunnel.sh $(1)/etc/tsp/
 endef
 
+define Package/tspc/conffiles
+/etc/tsp/tspc.conf
+endef
+
 $(eval $(call BuildPackage,tspc))
 

--- a/libs/mysql/Makefile
+++ b/libs/mysql/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=mysql
 PKG_VERSION:=5.1.53
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=\
@@ -195,6 +195,10 @@
 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/mysql/mysql_system_tables_data.sql $(1)/usr/share/mysql/
 endef
 
+define Package/mysql-server/conffiles
+/etc/my.cnf
+endef
+
 $(eval $(call BuildPackage,mysql-server))
 $(eval $(call BuildPackage,libmysqlclient))
 $(eval $(call BuildPackage,libmysqlclient_r))

--- a/libs/postgresql/Makefile
+++ b/libs/postgresql/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=postgresql
 PKG_VERSION:=9.0.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=\
@@ -199,6 +199,10 @@
 		$(1)/usr/lib
 endef
 
+define Package/pgsql-server/conffiles
+/etc/config/postgresql
+endef
+
 define Package/pgsql-server/postinst
 #!/bin/sh
 grep -q '^postgres:' /etc/passwd && exit 0

--- a/mail/nullmailer/Makefile
+++ b/mail/nullmailer/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2010 OpenWrt.org
+# Copyright (C) 2007-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=nullmailer
 PKG_VERSION:=1.05
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://untroubled.org/nullmailer/
@@ -47,6 +47,10 @@
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/protocols/smtp $(1)/usr/lib/nullmailer/
 endef
 
+define Package/nullmailer/conffiles
+/etc/nullmailer/remotes
+endef
+
 define Package/nullmailer/postinst
 	ln -sf ../sbin/sendmail $${IPKG_INSTROOT}/usr/lib/sendmail
 	ln -sf nullmailer-sendmail $${IPKG_INSTROOT}/usr/sbin/sendmail

--- a/mail/xmail/Makefile
+++ b/mail/xmail/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2009 OpenWrt.org
+# Copyright (C) 2007-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=xmail
 PKG_VERSION:=1.26
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.xmailserver.org/
@@ -53,5 +53,9 @@
 	$(INSTALL_BIN) ./files/xmail.init $(1)/etc/init.d/xmail
 endef
 
+define Package/xmail/conffiles
+/etc/config/xmail
+endef
+
 $(eval $(call BuildPackage,xmail))
 

--- a/multimedia/darkice/Makefile
+++ b/multimedia/darkice/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=darkice
 PKG_VERSION:=1.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://darkice.googlecode.com/files/
@@ -50,5 +50,9 @@
 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/darkice.cfg $(1)/etc/
 endef
 
+define Package/darkice/conffiles
+/etc/darkice.cfg
+endef
+
 $(eval $(call BuildPackage,darkice))
 

--- a/multimedia/ftpd-topfield/Makefile
+++ b/multimedia/ftpd-topfield/Makefile
@@ -1,9 +1,15 @@
+#
+# Copyright (C) 2008-2011 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ftpd-topfield
 PKG_VERSION:=0.7.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/puppy
@@ -35,5 +41,9 @@
 	$(INSTALL_DATA) ./files/ftpd-topfield.conf $(1)/etc/config/ftpd-topfield
 endef
 
+define Package/ftpd-topfield/conffiles
+/etc/config/ftpd-topfield
+endef
+
 $(eval $(call BuildPackage,ftpd-topfield))
 

--- a/multimedia/gmediaserver/Makefile
+++ b/multimedia/gmediaserver/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007 OpenWrt.org
+# Copyright (C) 2007-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=gmediaserver
 PKG_VERSION:=0.13.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://savannah.nongnu.org/download/gmediaserver/
@@ -60,5 +60,9 @@
 	$(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
 endef
 
+define Package/gmediaserver/conffiles
+/etc/config/gmediaserver
+endef
+
 $(eval $(call BuildPackage,gmediaserver))
 

--- a/multimedia/icecast/Makefile
+++ b/multimedia/icecast/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=icecast
 PKG_VERSION:=2.3.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://downloads.us.xiph.org/releases/icecast/
@@ -74,7 +74,7 @@
 		all install
 endef
 
-define Package/icecast/install	
+define Package/icecast/install
 	$(INSTALL_DIR) $(1)/etc
 	$(CP) $(PKG_INSTALL_DIR)/etc/icecast.xml $(1)/etc/
 	$(INSTALL_DIR) $(1)/usr/bin
@@ -84,5 +84,9 @@
 	$(CP) $(PKG_INSTALL_DIR)/usr/share/icecast/web $(1)/usr/share/icecast/
 endef
 
+define Package/icecast/conffiles
+/etc/icecast.xml
+endef
+
 $(eval $(call BuildPackage,icecast))
 

--- a/multimedia/kissdx/Makefile
+++ b/multimedia/kissdx/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=kissdx
 PKG_VERSION:=0.14.0.b1a
-PKG_RELEASE:=8
+PKG_RELEASE:=9
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
 PKG_SOURCE_URL:=http://kissdx.vidartysse.net
@@ -52,5 +52,9 @@
 	$(INSTALL_BIN) ./files/kissdx.init $(1)/etc/init.d/kissdx
 endef
 
+define Package/kissdx/conffiles
+/etc/config/kissdx
+endef
+
 $(eval $(call BuildPackage,kissdx))
 

--- a/multimedia/mjpg-streamer/Makefile
+++ b/multimedia/mjpg-streamer/Makefile
@@ -10,7 +10,7 @@
 PKG_NAME:=mjpg-streamer
 PKG_REV:=148
 PKG_VERSION:=r$(PKG_REV)
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://mjpg-streamer.svn.sourceforge.net/svnroot/mjpg-streamer/mjpg-streamer/
@@ -48,5 +48,9 @@
 	$(INSTALL_DATA) ./files/mjpg-streamer.hotplug $(1)/etc/hotplug.d/usb/20-mjpg-streamer
 endef
 
+define Package/mjpg-streamer/conffiles
+/etc/config/mjpg-streamer
+endef
+
 $(eval $(call BuildPackage,mjpg-streamer))
 

--- a/multimedia/spca5xx-view/Makefile
+++ b/multimedia/spca5xx-view/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=spca5xx-view
 PKG_VERSION:=1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=spca5xx-view.tar.bz2
 PKG_SOURCE_URL:=http://www.acmesystems.it/download/owrt
@@ -47,5 +47,9 @@
 	$(INSTALL_BIN) ./files/servfox.init $(1)/etc/init.d/servfox
 endef
 
+define Package/spca5xx-view/conffiles
+/etc/config/servfox
+endef
+
 $(eval $(call BuildPackage,spca5xx-view))
 

--- a/net/amwall/Makefile
+++ b/net/amwall/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=amwall
 PKG_VERSION:=0.1.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=ftp://ftp.amselinux.net/source/
@@ -49,5 +49,9 @@
 	$(CP) $(PKG_INSTALL_DIR)/etc/amsel* $(1)/etc/
 endef
 
+define Package/amwall/conffiles
+/etc/amsel/firewall.conf
+endef
+
 $(eval $(call BuildPackage,amwall))
 

--- a/net/apcupsd/Makefile
+++ b/net/apcupsd/Makefile
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=apcupsd
 PKG_VERSION:=3.14.7
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/apcupsd
@@ -61,5 +61,15 @@
 	$(INSTALL_BIN)	./files/apcupsd.init $(1)/etc/init.d/apcupsd
 endef
 
+define Package/apcupsd/conffiles
+/etc/apcupsd/apcupsd.conf
+/etc/apcupsd/apcupsd_mail.conf
+/etc/apcupsd/changeme
+/etc/apcupsd/commfailure
+/etc/apcupsd/commok
+/etc/apcupsd/offbattery
+/etc/apcupsd/onbattery
+endef
+
 $(eval $(call BuildPackage,apcupsd))
 

--- a/net/apf/Makefile
+++ b/net/apf/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=apf
 PKG_VERSION:=0.8.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://gray-world.net/projects/af/
@@ -38,5 +38,10 @@
 	$(INSTALL_DATA) $(PKG_BUILD_DIR)/doc/afserver_example.conf $(1)/etc/afserver.conf
 endef
 
+define Package/apf/conffiles
+/etc/afclient.conf
+/etc/afserver.conf
+endef
+
 $(eval $(call BuildPackage,apf))
 

--- a/net/aprx/Makefile
+++ b/net/aprx/Makefile
@@ -10,7 +10,7 @@
 PKG_NAME:=aprx
 PKG_REV:=421
 PKG_VERSION:=2.00_r$(PKG_REV)
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://repo.ham.fi/svn/aprx/trunk/
@@ -45,5 +45,9 @@
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/aprx-stat $(1)/usr/sbin/
 endef
 
+define Package/aprx/conffiles
+/etc/aprx.conf
+endef
+
 $(eval $(call BuildPackage,aprx))
 

--- a/net/autossh/Makefile
+++ b/net/autossh/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=autossh
 PKG_VERSION:=1.4b
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=http://www.harding.motd.ca/autossh/
@@ -43,5 +43,9 @@
 	$(INSTALL_DATA) ./files/autossh.hotplug $(1)/etc/hotplug.d/iface/20-autossh
 endef
 
+define Package/autossh/conffiles
+/etc/config/autossh
+endef
+
 $(eval $(call BuildPackage,autossh))
 

--- a/net/axel/Makefile
+++ b/net/axel/Makefile
@@ -1,4 +1,5 @@
 #
+# Copyright (C) 2010-2011 OpenWrt.org
 # Copyright (C) 2010 Gianluigi Tiesi <sherpya@netfarm.it>
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -9,7 +10,7 @@
 
 PKG_NAME:=axel
 PKG_VERSION:=2.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://alioth.debian.org/frs/download.php/3015
@@ -36,13 +37,13 @@
 endef
 
 # notes:
-#  - I'm using = and not += because it is not a standard configure script
+#  - I'm using := and not += because it is not a standard configure script
 #  - I ask not to strip, because it should be handled by the toolchain
-CONFIGURE_ARGS =	\
-	--prefix=/usr	\
-	--etcdir=/etc	\
-	--debug=0		\
-	--i18n=0		\
+CONFIGURE_ARGS := \
+	--prefix=/usr \
+	--etcdir=/etc \
+	--debug=0 \
+	--i18n=0 \
 	--strip=0
 
 define Package/axel/install
@@ -53,5 +54,9 @@
 	echo "alternate_output = 1" >> $(1)/etc/axelrc
 endef
 
+define Package/axel/conffiles
+/etc/axelrc
+endef
+
 $(eval $(call BuildPackage,axel))
 

--- a/net/batman/Makefile
+++ b/net/batman/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2008-2010 OpenWrt.org
+# Copyright (C) 2008-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -11,7 +11,7 @@
 PKG_NAME:=batmand
 PKG_REV:=1439
 PKG_VERSION:=r$(PKG_REV)
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_EXTRA_CFLAGS=-DDEBUG_MALLOC -DMEMORY_USAGE -DPROFILE_DATA -DREVISION_VERSION=\"\ rv$(PKG_REV)\"
 
 PKG_SOURCE_PROTO:=svn
@@ -132,6 +132,10 @@
 	$(INSTALL_DATA) ./files/etc/config/batmand $(1)/etc/config
 endef
 
+define Package/batmand/conffiles
+/etc/config/batmand
+endef
+
 define Package/vis/install
 	$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/config $(1)/etc/init.d
 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/vis $(1)/usr/sbin/
@@ -139,6 +143,10 @@
 	$(INSTALL_DATA) ./files/etc/config/vis $(1)/etc/config
 endef
 
+define Package/vis/conffiles
+/etc/config/vis
+endef
+
 $(eval $(call BuildPackage,batmand))
 $(eval $(call BuildPackage,vis))
 $(eval $(call KernelPackage,batgat))

--- a/net/bird/Makefile
+++ b/net/bird/Makefile
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2009 OpenWrt.org
+# Copyright (C) 2009-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,7 +8,7 @@
 
 PKG_NAME:=bird
 PKG_VERSION:=1.3.3
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird
@@ -138,6 +138,10 @@
 
 endef
 
+define Package/bird$(2)/conffiles
+/etc/bird$(2).conf
+endef
+
 define Package/birdc$(2)/install
 	$(INSTALL_DIR) $$(1)/usr/sbin
 	$(INSTALL_BIN) $$(PKG_BUILD_DIR)/birdc$(2) $$(1)/usr/sbin/

--- a/net/crowdcontrol/Makefile
+++ b/net/crowdcontrol/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=crowdcontrol
 PKG_VERSION:=0.4b
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
@@ -45,5 +45,14 @@
 	$(CP) $(PKG_BUILD_DIR)/*-{domains,expressions,urls} $(1)/etc/crowdcontrol/
 endef
 
+define Package/crowdcontrol/conffiles
+/etc/crowdcontrol/blocked-domains
+/etc/crowdcontrol/blocked-expressions
+/etc/crowdcontrol/blocked-urls
+/etc/crowdcontrol/permitted-domains
+/etc/crowdcontrol/permitted-expressions
+/etc/crowdcontrol/permitted-urls
+endef
+
 $(eval $(call BuildPackage,crowdcontrol))
 

--- a/net/djbdns/Makefile
+++ b/net/djbdns/Makefile
@@ -1,4 +1,5 @@
-# Copyright (C) 2007 OpenWrt.org
+#
+# Copyright (C) 2007-2011 OpenWrt.org
 # Original port by FreeWRT project.
 #
 # 2007     Alexander Tsvyashchenko  Adapted FreeWRT port for OpenWRT (Trac ticket 2497)
@@ -13,7 +14,7 @@
 
 PKG_NAME:=djbdns
 PKG_VERSION:=1.05
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 
 PKG_SOURCE:=${PKG_NAME}-${PKG_VERSION}.tar.gz
 PKG_SOURCE_URL:=http://cr.yp.to/djbdns/
@@ -136,6 +137,10 @@
 	$(INSTALL_DATA) ./files/djbdns.conf $(1)/etc/config/djbdns
 endef
 
+define Package/djbdns-base/conffiles
+/etc/config/djbdns
+endef
+
 define Package/djbdns-dnscache/install
 	$(INSTALL_DIR) $(1)/usr/bin
 	(cd $(PKG_BUILD_DIR); \

--- a/net/etherwake/Makefile
+++ b/net/etherwake/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2009 OpenWrt.org
+# Copyright (C) 2007-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=etherwake
 PKG_VERSION:=1.09
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/e/etherwake
@@ -47,5 +47,9 @@
 	$(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
 endef
 
+define Package/etherwake/conffiles
+/etc/config/etherwake
+endef
+
 $(eval $(call BuildPackage,etherwake))
 

--- a/net/ez-ipupdate/Makefile
+++ b/net/ez-ipupdate/Makefile
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=ez-ipupdate
 PKG_VERSION:=3.0.11b8
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/e/ez-ipupdate \
@@ -41,5 +41,9 @@
 	$(INSTALL_BIN) ./files/ez-ipupdate.hotplug $(1)/etc/hotplug.d/iface/30-ez-ipupdate
 endef
 
+define Package/ez-ipupdate/conffiles
+/etc/config/ddns
+endef
+
 $(eval $(call BuildPackage,ez-ipupdate))
 

--- a/net/gpsd/Makefile
+++ b/net/gpsd/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=gpsd
 PKG_VERSION:=2.94
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://download.berlios.de/gpsd/
@@ -71,5 +71,9 @@
 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/gpsd $(1)/usr/sbin/
 endef
 
+define Package/gpsd/conffiles
+/etc/config/gpsd
+endef
+
 $(eval $(call BuildPackage,gpsd))
 

--- a/net/httptunnel/Makefile
+++ b/net/httptunnel/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=httptunnel
 PKG_VERSION:=3.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.nocrew.org/pub/nocrew/unix/
@@ -31,14 +31,18 @@
 	The HTTP requests can be sent via an HTTP proxy if so desired.
 endef
 
-define Package/httptunnel/install	
+define Package/httptunnel/install
 	$(INSTALL_DIR) $(1)/usr/sbin
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/hts $(1)/usr/sbin/
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/htc $(1)/usr/sbin/
 	$(INSTALL_DIR) $(1)/etc/init.d
 	$(INSTALL_BIN) ./files/httptunnel.init $(1)/etc/init.d/httptunnel
 	$(INSTALL_DIR) $(1)/etc/config
-	$(INSTALL_DATA) ./files/httptunnel.conf $(1)/etc/config/httptunnel	
+	$(INSTALL_DATA) ./files/httptunnel.conf $(1)/etc/config/httptunnel
+endef
+
+define Package/httptunnel/conffiles
+/etc/config/httptunnel
 endef
 
 $(eval $(call BuildPackage,httptunnel))

--- a/net/imsnif/Makefile
+++ b/net/imsnif/Makefile
@@ -1,17 +1,19 @@
 # 
-# Copyright (C) 2008 OpenWrt.org
+# Copyright (C) 2008-2011 OpenWrt.org
 #
-# $ Id:$
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=imsnif
 PKG_VERSION:=0.04
-PKG_RELEASE:=2
-PKG_MD5SUM:=689c456f8edb77b9b4199a25514ac683
+PKG_RELEASE:=3
 
 PKG_SOURCE_URL:=@SF/im-snif
 PKG_SOURCE:=$(PKG_NAME)f_$(PKG_VERSION).tgz
+PKG_MD5SUM:=689c456f8edb77b9b4199a25514ac683
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -53,5 +55,9 @@
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/imsnif $(1)/usr/bin
 endef
 
+define Package/imsnif/conffiles
+/etc/imsnif.conf
+endef
+
 $(eval $(call BuildPackage,imsnif))
 

--- a/net/iodine/Makefile
+++ b/net/iodine/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=iodine
 PKG_VERSION:=0.6.0-rc1
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://code.kryo.se/iodine/
@@ -61,6 +61,10 @@
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/iodined $(1)/usr/sbin
 endef
 
+define Package/iodined/conffiles
+/etc/config/iodined
+endef
+
 $(eval $(call BuildPackage,iodine))
 $(eval $(call BuildPackage,iodined))
 

--- a/net/ipupdate/Makefile
+++ b/net/ipupdate/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=ipupdate
 PKG_VERSION:=1.1.1
-PKG_RELEASE:=0
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/ipupdate
@@ -63,5 +63,9 @@
 	$(INSTALL_CONF) $(PKG_BUILD_DIR)/ipupdate.conf $(1)/etc/
 endef
 
+define Package/ipupdate/conffiles
+/etc/ipupdate.conf
+endef
+
 $(eval $(call BuildPackage,ipupdate))
 

--- a/net/lldpd/Makefile
+++ b/net/lldpd/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=lldpd
 PKG_VERSION:=0.3
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.luffy.cx/lldpd/
@@ -55,5 +55,9 @@
 	$(INSTALL_DATA) ./files/lldpd.config $(1)/etc/config/lldpd
 endef
 
+define Package/lldpd/conffiles
+/etc/config/lldpd
+endef
+
 $(eval $(call BuildPackage,lldpd))
 

--- a/net/lsm/Makefile
+++ b/net/lsm/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=lsm
 PKG_VERSION:=0.60
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://lsm.foobar.fi/download
@@ -53,5 +53,9 @@
 	$(INSTALL_BIN) ./files/lsm.init $(1)/etc/init.d/lsm
 endef
 
+define Package/lsm/conffiles
+/etc/lsm/lsm.conf
+endef
+
 $(eval $(call BuildPackage,lsm))
 

--- a/net/mdnsresponder/Makefile
+++ b/net/mdnsresponder/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=mDNSResponder
 PKG_VERSION:=214.3.2
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=mDNSResponder-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://opensource.apple.com/tarballs/mDNSResponder/
@@ -142,6 +142,10 @@
 	$(INSTALL_BIN) ./files/mDNSResponder.init $(1)/etc/init.d/mDNSResponder
 endef
 
+define Package/mdns-utils/conffiles
+/etc/mDNSResponder.conf
+endef
+
 define Package/mdnsd/install
 	$(INSTALL_DIR) $(1)/usr/sbin/
 	$(CP) $(PKG_INSTALL_DIR)/usr/sbin/mdnsd $(1)/usr/sbin/

--- a/net/n2n/Makefile
+++ b/net/n2n/Makefile
@@ -1,9 +1,9 @@
 #
-## Copyright (C) 2007-2011 OpenWrt.org
+# Copyright (C) 2007-2011 OpenWrt.org
 #
-## This is free software, licensed under the GNU General Public License v2.
+# This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
-
+#
 
 include $(TOPDIR)/rules.mk
 
@@ -13,7 +13,7 @@
 
 PKG_NAME:=n2n
 PKG_VERSION:=$(PKG_REV)
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
@@ -48,5 +48,9 @@
 	$(INSTALL_BIN) ./files/n2n.init $(1)/etc/init.d/n2n
 endef
 
+define Package/n2n/conffiles
+/etc/config/n2n
+endef
+
 $(eval $(call BuildPackage,n2n))
 

--- a/net/natpmp/Makefile
+++ b/net/natpmp/Makefile
@@ -1,8 +1,15 @@
+#
+# Copyright (C) 2007-2011 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=natpmp
 PKG_VERSION:=0.2.3
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_URL:=http://download.savannah.nongnu.org/releases/natpmp/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -47,5 +54,9 @@
 	$(INSTALL_BIN) ./files/natpmp.init $(1)/etc/init.d/natpmp
 endef
 
+define Package/natpmp/conffiles
+/etc/config/natpmp
+endef
+
 $(eval $(call BuildPackage,natpmp))
 

--- a/net/nfs-server/Makefile
+++ b/net/nfs-server/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=nfs-server
 PKG_VERSION:=2.2beta47
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/n/nfs-user-server
 PKG_SOURCE:=nfs-user-server_$(PKG_VERSION).orig.tar.gz
@@ -46,5 +46,9 @@
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/rpc.* $(1)/usr/sbin/
 endef
 
+define Package/nfs-server/conffiles
+/etc/exports
+endef
+
 $(eval $(call BuildPackage,nfs-server))
 

--- a/net/nocatauth/Makefile
+++ b/net/nocatauth/Makefile
@@ -1,16 +1,15 @@
 #
-# Copyright (C) 2009 OpenWrt.org
+# Copyright (C) 2009-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nocatauth
 PKG_VERSION:=nightly
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=NoCatAuth-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=http://nocat.net/downloads/NoCatAuth/
@@ -62,5 +61,9 @@
 	$(INSTALL_BIN) ./files/nocatauth-gateway $(1)/etc/init.d/nocatauth-gateway
 endef
 
+define Package/nocatauth/conffiles
+/etc/nocat.conf
+endef
+
 $(eval $(call BuildPackage,nocatauth))
 

--- a/net/nodogsplash/Makefile
+++ b/net/nodogsplash/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2010 OpenWrt.org
+# Copyright (C) 2007-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=nodogsplash
 PKG_VERSION:=0.9_beta9.9.6
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://kokoro.ucsd.edu/nodogsplash/ \
@@ -72,5 +72,9 @@
 	$(SED) 's,\(do_module_tests "sch_htb"\),#\1,' $(1)/etc/init.d/$(PKG_NAME)
 endef
 
+define Package/nodogsplash/conffiles
+/etc/nodogsplash/nodogsplash.conf
+endef
+
 $(eval $(call BuildPackage,nodogsplash))
 

--- a/net/nuttcp/Makefile
+++ b/net/nuttcp/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=nuttcp
 PKG_VERSION:=6.1.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=ftp://ftp.lcp.nrl.navy.mil/pub/nuttcp
@@ -70,6 +70,12 @@
 	$(SED) 's,/local,,' $(1)/etc/xinetd.d/nuttcp*
 endef
 
+define Package/nuttcp-xinetd/conffiles
+/etc/xinetd.d/nuttcp
+/etc/xinetd.d/nuttcp4
+/etc/xinetd.d/nuttcp6
+endef
+
 $(eval $(call BuildPackage,nuttcp))
 $(eval $(call BuildPackage,nuttcp-xinetd))
 

--- a/net/nzbget/Makefile
+++ b/net/nzbget/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2009-2010 OpenWrt.org
+# Copyright (C) 2009-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=nzbget
 PKG_VERSION:=0.7.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/nzbget
@@ -69,5 +69,9 @@
 	$(INSTALL_DATA) $(PKG_BUILD_DIR)/nzbget.conf.example $(1)/etc/nzbget.conf
 endef
 
+define Package/nzbget/conffiles
+/etc/nzbget.conf
+endef
+
 $(eval $(call BuildPackage,nzbget))
 

--- a/net/openslp/Makefile
+++ b/net/openslp/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2008-2009 OpenWrt.org
+# Copyright (C) 2008-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=openslp
 PKG_VERSION:=1.2.1
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/openslp
@@ -47,5 +47,9 @@
 	$(INSTALL_BIN) ./files/etc/init.d/* $(1)/etc/init.d/
 endef
 
+define Package/openslp/conffiles
+/etc/slp.*
+endef
+
 $(eval $(call BuildPackage,openslp))
 

--- a/net/radsecproxy/Makefile
+++ b/net/radsecproxy/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=radsecproxy
 PKG_VERSION:=1.4.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://software.uninett.no/radsecproxy/
@@ -44,6 +44,10 @@
 	$(INSTALL_BIN) ./files/radsecproxy.init $(1)/etc/init.d/radsecproxy
 endef
 
+define Package/radsecproxy/conffiles
+/etc/radsecproxy.conf
+endef
+
 $(eval $(call BuildPackage,radsecproxy))
 
 

--- a/net/restund/Makefile
+++ b/net/restund/Makefile
@@ -10,7 +10,7 @@
 
 PKG_NAME:=restund
 PKG_VERSION:=0.3.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.creytiv.com/pub/
@@ -81,6 +81,9 @@
 	$(INSTALL_BIN) ./files/restund.init $(1)/etc/init.d/restund
 endef
 
+define Package/restund/conffiles
+/etc/restund.conf
+endef
 
 #
 # 1. Name

--- a/net/rp-l2tp/Makefile
+++ b/net/rp-l2tp/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=rp-l2tp
 PKG_VERSION:=0.4
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/rp-l2tp
@@ -34,7 +34,7 @@
 
 TARGET_CFLAGS := -I$(PKG_BUILD_DIR)/libevent $(TARGET_CFLAGS)
 
-define Package/rp-l2tpd/install	
+define Package/rp-l2tpd/install
 	$(INSTALL_DIR) $(1)/etc
 	$(CP) $(PKG_INSTALL_DIR)/etc/l2tp.conf.example $(1)/etc/l2tp.conf
 	$(INSTALL_DIR) $(1)/usr/lib/l2tp
@@ -47,7 +47,11 @@
 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/l2tp-control $(1)/usr/sbin/
 endef
 
-#define Package/rp-l2tpd-mod-cmd/install	
+define Package/rp-l2tpd/conffiles
+/etc/l2tp.conf
+endef
+
+#define Package/rp-l2tpd-mod-cmd/install
 #	$(INSTALL_DIR) $(1)/usr/lib/l2tp
 #	$(CP) $(PKG_INSTALL_DIR)/usr/lib/l2tp/cmd.so $(1)/usr/lib/l2tp/
 #	$(INSTALL_DIR) $(1)/usr/sbin

--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2009 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,11 +9,11 @@
 
 PKG_NAME:=samba
 PKG_VERSION:=2.0.10
-PKG_RELEASE:=6
-PKG_MD5SUM:=54870482fe036b7e69dd48c90661eec6
+PKG_RELEASE:=7
 
 PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/samba/old-versions
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_MD5SUM:=54870482fe036b7e69dd48c90661eec6
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -189,6 +189,10 @@
 	$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/samba/unicode_map.{866,ISO8859-5,KOI8-R,1251} $(1)/usr/share/samba/
 endef
 
+define Package/samba2-common/conffiles
+/etc/samba/smb.conf
+endef
+
 define Package/samba2-server/install
 	$(INSTALL_DIR) $(1)/etc/init.d
 	$(INSTALL_BIN) ./files/samba.init $(1)/etc/init.d/samba

--- a/net/softflowd/Makefile
+++ b/net/softflowd/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=softflowd
 PKG_VERSION:=0.9.8
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.mindrot.org/files/softflowd/
@@ -45,5 +45,9 @@
 	$(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
 endef
 
+define Package/softflowd/conffiles
+/etc/config/softflowd
+endef
+
 $(eval $(call BuildPackage,softflowd))
 

--- a/net/stun/Makefile
+++ b/net/stun/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=stund
 PKG_VERSION:=0.96
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION)_Aug13.tgz
 PKG_SOURCE_URL:=@SF/stun
@@ -73,6 +73,10 @@
 	$(INSTALL_DATA) ./files/stund.config $(1)/etc/config/stund
 endef
 
+define Package/stund/conffiles
+/etc/config/stund
+endef
+
 define Package/stun-client/install
  	$(INSTALL_DIR) $(1)/usr/sbin
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/client $(1)/usr/sbin/stun-client

--- a/net/tinc/Makefile
+++ b/net/tinc/Makefile
@@ -52,5 +52,9 @@
 	$(INSTALL_DATA) files/tinc.upgrade $(1)/lib/upgrade/keep.d/tinc
 endef
 
+define Package/tinc/conffiles
+/etc/config/tinc
+endef
+
 $(eval $(call BuildPackage,tinc))
 

--- a/net/uhub/Makefile
+++ b/net/uhub/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2009 OpenWrt.org
+# Copyright (C) 2009-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=uhub
 PKG_VERSION:=0.2.8
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
 PKG_SOURCE_URL:=http://www.extatic.org/downloads/uhub/
@@ -39,5 +39,9 @@
 	$(INSTALL_CONF) $(PKG_BUILD_DIR)/doc/uhub.conf $(1)/etc/uhub/
 endef
 
+define Package/uhub/conffiles
+/etc/uhub/uhub.conf
+endef
+
 $(eval $(call BuildPackage,uhub))
 

--- a/net/unfs3/Makefile
+++ b/net/unfs3/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=unfs3
 PKG_VERSION:=0.9.22
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
@@ -47,5 +47,9 @@
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/unfsd $(1)/usr/sbin
 endef
 
+define Package/unfs3/conffiles
+/etc/exports
+endef
+
 $(eval $(call BuildPackage,unfs3))
 

--- a/net/uob-nomad/Makefile
+++ b/net/uob-nomad/Makefile
@@ -1,4 +1,5 @@
-# Copyright (C) 2006 OpenWrt.org
+#
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,11 +9,11 @@
 
 PKG_NAME:=uob-nomad
 PKG_VERSION:=0.11
-PKG_RELEASE:=1
-PKG_MD5SUM:=9c7445cefaf8d6160017aef606f2e558
+PKG_RELEASE:=2
 
 PKG_SOURCE_URL:=http://www.comnets.uni-bremen.de/~mab/openwrt/source/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_MD5SUM:=9c7445cefaf8d6160017aef606f2e558
 
 PKG_BUILD_PARALLEL:=0
 
@@ -52,5 +53,9 @@
 	$(CP) $(PKG_BUILD_DIR)/conf/mip{agent,mn,mn-filters}.conf $(1)/etc/
 endef
 
+define Package/uob-nomad/conffiles
+/etc/mip{agent,mn,mn-filters}.conf
+endef
+
 $(eval $(call BuildPackage,uob-nomad))
 

--- a/net/wol/Makefile
+++ b/net/wol/Makefile
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2007 OpenWrt.org
+# Copyright (C) 2007-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=wol
 PKG_VERSION:=0.7.1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_URL:=@SF/ahh
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -47,5 +47,9 @@
 	$(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
 endef
 
+define Package/wol/conffiles
+/etc/config/wol
+endef
+
 $(eval $(call BuildPackage,wol))
 

--- a/net/wshaper/Makefile
+++ b/net/wshaper/Makefile
@@ -9,6 +9,7 @@
 
 PKG_NAME:=wshaper
 PKG_VERSION:=0.2
+PKG_RELEASE:=2
 
 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
 
@@ -47,5 +48,9 @@
 	$(INSTALL_DATA) ./files/wshaper.config $(1)/etc/config/wshaper
 endef
 
+define Package/wshaper/conffiles
+/etc/config/wshaper
+endef
+
 $(eval $(call BuildPackage,wshaper))
 

--- a/sound/scmpc/Makefile
+++ b/sound/scmpc/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=scmpc
 PKG_VERSION:=0.2.2
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://download.berlios.de/scmpc
@@ -49,7 +49,11 @@
 	$(INSTALL_DIR) $(1)/etc/init.d
 	$(INSTALL_BIN) ./files/scmpc.init $(1)/etc/init.d/scmpc
 	$(INSTALL_DIR) $(1)/etc
-	$(CP) $(PKG_BUILD_DIR)/examples/scmpc.conf $(1)/etc
+	$(CP) $(PKG_BUILD_DIR)/examples/scmpc.conf $(1)/etc/
+endef
+
+define Package/scmpc/conffiles
+/etc/scmpc.conf
 endef
 
 $(eval $(call BuildPackage,scmpc))

--- a/utils/anyremote/Makefile
+++ b/utils/anyremote/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=anyremote
 PKG_VERSION:=4.7.1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/${PKG_NAME}
@@ -44,5 +44,9 @@
 	$(INSTALL_BIN) ./files/anyremote.init $(1)/etc/init.d/anyremote
 endef
 
+define Package/anyremote/conffiles
+/etc/anyremote.cfg
+endef
+
 $(eval $(call BuildPackage,anyremote))
 

--- a/utils/ap51-flash/Makefile
+++ b/utils/ap51-flash/Makefile
@@ -9,7 +9,7 @@
 PKG_NAME:=ap51-flash
 PKG_REV:=232
 PKG_VERSION:=r$(PKG_REV)
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=svn
 PKG_SOURCE_VERSION:=$(PKG_REV)
@@ -50,5 +50,9 @@
 	$(INSTALL_DATA) ./files/ap51-flash.conf $(1)/etc/config/ap51-flash
 endef
 
+define Package/ap51-flash/conffiles
+/etc/config/ap51-flash
+endef
+
 $(eval $(call BuildPackage,ap51-flash))
 

--- a/utils/bandwidthd/Makefile
+++ b/utils/bandwidthd/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=bandwidthd
 PKG_VERSION:=2.0.1
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=@SF/bandwidthd
@@ -53,5 +53,9 @@
 	$(INSTALL_DATA) $(PKG_BUILD_DIR)/htdocs/logo.gif $(1)/www/
 endef
 
+define Package/bandwidthd/conffiles
+/etc/config/bandwidthd
+endef
+
 $(eval $(call BuildPackage,bandwidthd))
 

--- a/utils/bash-completion/Makefile
+++ b/utils/bash-completion/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2009 OpenWrt.org
+# Copyright (C) 2009-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=bash-completion
 PKG_VERSION:=20080705
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/b/bash-completion/
@@ -42,8 +42,12 @@
 endef
 
 define Package/bash-completion/install
-	$(INSTALL_DIR) $(1)/etc/
-	$(INSTALL_BIN) $(PKG_BUILD_DIR)/bash_completion $(1)/etc
+	$(INSTALL_DIR) $(1)/etc
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/bash_completion $(1)/etc/
+endef
+
+define Package/bash-completion/conffiles
+/etc/bash_completion
 endef
 
 $(eval $(call BuildPackage,bash-completion))

--- a/utils/bemused/Makefile
+++ b/utils/bemused/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=bemused-mpd
 PKG_VERSION:=r062
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://download.origo.ethz.ch/bemused-lnx-mpdhack/526
@@ -59,5 +59,10 @@
 	$(INSTALL_BIN) ./files/bemused.init $(1)/etc/init.d/bemused
 endef
 
+define Package/bemusedlinuxserver/conffiles
+/etc/bemused.conf
+/etc/bemused-bookmarks
+endef
+
 $(eval $(call BuildPackage,bemusedlinuxserver))
 

--- a/utils/cmdpad/Makefile
+++ b/utils/cmdpad/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=cmdpad
 PKG_VERSION:=0.0.3
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=@SF/cmdpad
@@ -45,9 +45,13 @@
 	$(INSTALL_DIR) $(1)/usr/sbin
 	$(INSTALL_DIR) $(1)/etc
 	$(INSTALL_DIR) $(1)/etc/init.d 
-	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/cmdpad $(1)/usr/sbin
-	$(INSTALL_CONF) $(PKG_BUILD_DIR)/src/cmdpad.conf $(1)/etc
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/cmdpad $(1)/usr/sbin/
+	$(INSTALL_CONF) $(PKG_BUILD_DIR)/src/cmdpad.conf $(1)/etc/
 	$(INSTALL_BIN) ./files/cmdpad.init $(1)/etc/init.d/cmdpad
+endef
+
+define Package/cmdpad/conffiles
+/etc/cmdpad.conf
 endef
 
 $(eval $(call BuildPackage,cmdpad))

--- a/utils/hd-idle/Makefile
+++ b/utils/hd-idle/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=hd-idle
 PKG_VERSION:=1.03
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
@@ -40,5 +40,9 @@
 	$(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
 endef
 
+define Package/hd-idle/conffiles
+/etc/config/hd-idle
+endef
+
 $(eval $(call BuildPackage,hd-idle))
 

--- a/utils/hplip/Makefile
+++ b/utils/hplip/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=hplip
 PKG_VERSION:=3.9.12
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/hplip
@@ -73,5 +73,9 @@
 	$(INSTALL_DATA) ./files/hplib.conf $(1)/etc/sane.d/dll.d/hplib
 endef
 
+define Package/hplip/conffiles
+/etc/hp/hplip.conf
+endef
+
 $(eval $(call BuildPackage,hplip))
 

--- a/utils/mksh/Makefile
+++ b/utils/mksh/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2008 OpenWrt.org
+# Copyright (C) 2007-2011 OpenWrt.org
 # Copyright (c) 2009 Thorsten Glaser <tg@mirbsd.org>
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -10,7 +10,7 @@
 
 PKG_NAME:=mksh
 PKG_VERSION:=39
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-R$(PKG_VERSION).cpio.gz
 PKG_SOURCE_URL:=http://www.mirbsd.org/MirOS/dist/mir/mksh
@@ -76,5 +76,9 @@
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/mksh $(1)/bin/
 endef
 
+define Package/mksh/conffiles
+/etc/mkshrc
+endef
+
 $(eval $(call BuildPackage,mksh))
 

--- a/utils/pcmciautils/Makefile
+++ b/utils/pcmciautils/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=pcmciautils
 PKG_VERSION:=018
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@KERNEL/linux/utils/kernel/pcmcia
@@ -45,5 +45,10 @@
 	$(CP) $(PKG_BUILD_DIR)/config/config.opts $(1)/etc/pcmcia/
 	$(CP) files/* $(1)/
 endef
+
+define Package/pcmciautils/conffiles
+/etc/pcmcia/config.opts
+endef
+
 $(eval $(call BuildPackage,pcmciautils))
 

--- a/utils/screen/Makefile
+++ b/utils/screen/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@
 
 PKG_NAME:=screen
 PKG_VERSION:=4.0.3
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.uni-erlangen.de/pub/utilities/screen \
@@ -38,12 +38,16 @@
 	)
 endef
 
-define Package/screen/install	
+define Package/screen/install
 	$(INSTALL_DIR) $(1)/usr/sbin
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/screen $(1)/usr/sbin/
 	$(INSTALL_DIR) $(1)/etc
 	$(INSTALL_DATA) ./files/etc/screenrc $(1)/etc/screenrc
 endef
 
+define Package/screen/conffiles
+/etc/screenrc
+endef
+
 $(eval $(call BuildPackage,screen))
 

--- a/utils/smartmontools/Makefile
+++ b/utils/smartmontools/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=smartmontools
 PKG_VERSION:=5.40
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/smartmontools
@@ -84,6 +84,10 @@
 	$(INSTALL_BIN) ./files/smartd.init $(1)/etc/init.d/smartd
 endef
 
+define Package/smartd/conffiles
+/etc/smartd.conf
+endef
+
 $(eval $(call BuildPackage,smartmontools))
 $(eval $(call BuildPackage,smartd))
 

comments