summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-connectivity/snort/snort_2.9.17.1.bb2
-rw-r--r--meta-networking/recipes-daemons/proftpd/proftpd_1.3.6.bb1
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb2
3 files changed, 4 insertions, 1 deletions
diff --git a/meta-networking/recipes-connectivity/snort/snort_2.9.17.1.bb b/meta-networking/recipes-connectivity/snort/snort_2.9.17.1.bb
index 9c20be537c..b5ff430993 100644
--- a/meta-networking/recipes-connectivity/snort/snort_2.9.17.1.bb
+++ b/meta-networking/recipes-connectivity/snort/snort_2.9.17.1.bb
@@ -74,7 +74,7 @@ do_install_append() {
74 install -d ${D}${sysconfdir}/default/volatiles 74 install -d ${D}${sysconfdir}/default/volatiles
75 install -m 0644 ${WORKDIR}/volatiles.99_snort ${D}${sysconfdir}/default/volatiles/99_snort 75 install -m 0644 ${WORKDIR}/volatiles.99_snort ${D}${sysconfdir}/default/volatiles/99_snort
76 76
77 sed -i -e 's|-fdebug-prefix-map[^ ]*||g; s|-fmacro-prefix-map[^ ]*||g; s|${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc 77 sed -i -e 's|-ffile-prefix-map[^ ]*||g; s|-fdebug-prefix-map[^ ]*||g; s|-fmacro-prefix-map[^ ]*||g; s|${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc
78} 78}
79 79
80pkg_postinst_${PN}() { 80pkg_postinst_${PN}() {
diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.6.bb b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.6.bb
index 1e4697a633..483c22a0d4 100644
--- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.6.bb
+++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.6.bb
@@ -109,6 +109,7 @@ do_install () {
109 109
110 sed -e 's|--sysroot=${STAGING_DIR_HOST}||g' \ 110 sed -e 's|--sysroot=${STAGING_DIR_HOST}||g' \
111 -e 's|${STAGING_DIR_NATIVE}||g' \ 111 -e 's|${STAGING_DIR_NATIVE}||g' \
112 -e 's|-ffile-prefix-map=[^ ]*||g' \
112 -e 's|-fdebug-prefix-map=[^ ]*||g' \ 113 -e 's|-fdebug-prefix-map=[^ ]*||g' \
113 -e 's|-fmacro-prefix-map=[^ ]*||g' \ 114 -e 's|-fmacro-prefix-map=[^ ]*||g' \
114 -i ${D}/${bindir}/prxs 115 -i ${D}/${bindir}/prxs
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb
index d9040c1647..de0aeeec7c 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb
@@ -120,6 +120,7 @@ do_install_append() {
120 sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \ 120 sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \
121 -i ${D}${bindir}/net-snmp-create-v3-user 121 -i ${D}${bindir}/net-snmp-create-v3-user
122 sed -e 's@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g' \ 122 sed -e 's@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g' \
123 -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
123 -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \ 124 -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
124 -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \ 125 -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
125 -e 's@[^ ]*--sysroot=[^ "]*@@g' \ 126 -e 's@[^ ]*--sysroot=[^ "]*@@g' \
@@ -172,6 +173,7 @@ net_snmp_sysroot_preprocess () {
172 -e "s@^includedir=.*@includedir=${STAGING_INCDIR}@g" \ 173 -e "s@^includedir=.*@includedir=${STAGING_INCDIR}@g" \
173 -e "s@^libdir=.*@libdir=${STAGING_LIBDIR}@g" \ 174 -e "s@^libdir=.*@libdir=${STAGING_LIBDIR}@g" \
174 -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=${S}@g" \ 175 -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=${S}@g" \
176 -e "s@-ffile-prefix-map=${SNMP_DBGDIR}@-ffile-prefix-map=${WORKDIR}=${SNMP_DBGDIR}@g" \
175 -e "s@-fdebug-prefix-map=${SNMP_DBGDIR}@-fdebug-prefix-map=${WORKDIR}=${SNMP_DBGDIR}@g" \ 177 -e "s@-fdebug-prefix-map=${SNMP_DBGDIR}@-fdebug-prefix-map=${WORKDIR}=${SNMP_DBGDIR}@g" \
176 -e "s@-fdebug-prefix-map= -fdebug-prefix-map=@-fdebug-prefix-map=${STAGING_DIR_NATIVE}= \ 178 -e "s@-fdebug-prefix-map= -fdebug-prefix-map=@-fdebug-prefix-map=${STAGING_DIR_NATIVE}= \
177 -fdebug-prefix-map=${STAGING_DIR_HOST}=@g" \ 179 -fdebug-prefix-map=${STAGING_DIR_HOST}=@g" \