Skip to contentSkip to conversation

vsftpd-2.0.5 configuration files

PATCH In review Peter Gsellmann 1 participant 1 message Mar 17, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 vsftpd-2.0.5 configuration files

Mark some files in ${sysconfdir} as configuration files so they are not blindly overwritten when upgrading

---
 recipes/vsftpd/vsftpd_2.0.5.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
recipes/vsftpd/vsftpd_2.0.5.bb +3 -1
index 42a8236..af884b4 100644
@@ -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 \
Signature · 1 line
1.7.2.3