From patchwork Thu Mar 17 10:54:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/3] vsftpd-2.0.5 configuration files Date: Thu, 17 Mar 2011 10:54:21 -0000 From: Peter Gsellmann X-Patchwork-Id: 1511 Message-Id: <201103171154.21792.pgsellmann@portner-elektronik.at> To: "openembedded-devel" Mark some files in ${sysconfdir} as configuration files so they are not blindly overwritten when upgrading Signed-off-by: Peter Gsellmann --- recipes/vsftpd/vsftpd_2.0.5.bb | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) 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 \