[oe-commits] [meta-openembedded] 11/15: proftpd: clean the host path in prxs

git at git.openembedded.org git at git.openembedded.org
Sun Aug 7 19:37:59 UTC 2016


joe_macdonald pushed a commit to branch master
in repository meta-openembedded.

commit 9fb484ed579eba3ab49cb5561ad8ac86928379c7
Author: Jackie Huang <jackie.huang at windriver.com>
AuthorDate: Thu Aug 4 04:42:26 2016 -0400

    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 <jackie.huang at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    Signed-off-by: Joe MacDonald <joe_macdonald at mentor.com>
---
 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 c9dffee..b6fd4b2 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, at SYSCONFDIR@,${sysconfdir},g' \
         -e 's, at 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list