From 9fb484ed579eba3ab49cb5561ad8ac86928379c7 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Thu, 4 Aug 2016 04:42:26 -0400 Subject: [PATCH] proftpd: clean the host path in prxs prxs (PRoftpd eXtenSion tool) is a perl script, in which the host path should be avoided. Signed-off-by: Jackie Huang Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb index c9dffeeb26..b6fd4b2e11 100644 --- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb +++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb @@ -99,6 +99,11 @@ do_install () { -e 's,@SYSCONFDIR@,${sysconfdir},g' \ -e 's,@SBINDIR@,${sbindir},g' \ -i ${D}${systemd_unitdir}/system/*.service + + sed -e 's|--sysroot=${STAGING_DIR_HOST}||g' \ + -e 's|${STAGING_DIR_NATIVE}||g' \ + -e 's|-fdebug-prefix-map=[^ ]*||g' \ + -i ${D}/${bindir}/prxs } INITSCRIPT_NAME = "proftpd"