vsftpd-2.0.5 configuration files
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
Signed-off-by Peter Gsellmann <[email protected]>
--- recipes/vsftpd/vsftpd_2.0.5.bb | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
recipes/vsftpd/vsftpd_2.0.5.bb +3 -1
@@ -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