Patchwork [2/3] vsftpd-2.0.5 configuration files

login
register
mail settings
Submitter Peter Gsellmann
Date March 17, 2011, 10:54 a.m.
Message ID <201103171154.21792.pgsellmann@portner-elektronik.at>
Download mbox | patch
Permalink /patch/1511/
State Accepted
Headers show

Comments

Peter Gsellmann - March 17, 2011, 10:54 a.m.
Mark some files in ${sysconfdir} as configuration files so they are not blindly overwritten when upgrading

Signed-off-by: Peter Gsellmann <pgsellmann@portner-elektronik.at>
---
 recipes/vsftpd/vsftpd_2.0.5.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Patch

diff --git a/recipes/vsftpd/vsftpd_2.0.5.bb b/recipes/vsftpd/vsftpd_2.0.5.bb
index 42a8236..af884b4 100644
--- a/recipes/vsftpd/vsftpd_2.0.5.bb
+++ b/recipes/vsftpd/vsftpd_2.0.5.bb
@@ -1,7 +1,7 @@ 
 DESCRIPTION = "Secure ftp daemon"
 SECTION = "console/network"
 LICENSE = "GPL"
-PR = "r3"
+PR = "r4"
 
 DEPENDS = "libcap"
 
@@ -14,6 +14,8 @@  SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \
 
 inherit update-rc.d
 
+CONFFILES_${PN} = "${sysconfdir}/vsftpd.conf"
+
 do_configure() {
         # Fix hardcoded /usr, /etc, /var mess.
         cat tunables.c|sed s:\"/usr:\"${prefix}:g|sed s:\"/var:\"${localstatedir}:g \