mdns: Upgrade 2559.40.32 -> 2559.60.39.0.1
PATCH 1/3 mdns: Upgrade 2559.40.32 -> 2559.60.39.0.1
---
.../mdns/{mdns_2559.40.32.bb => mdns_2559.60.39.0.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-networking/recipes-protocols/mdns/{mdns_2559.40.32.bb => mdns_2559.60.39.0.1.bb} (99%)meta-networking/recipes-protocols/mdns/mdns_2559.60.39.0.1.bb renamed from meta-networking/recipes-protocols/mdns/mdns_2559.40.32.bb +1 -1
@@ -28,7 +28,7 @@ SRC_URI = "git://github.com/apple-oss-distributions/mDNSResponder;protocol=https file://0004-Add-definition-for-MAX.patch \ " BRANCH = "rel/mDNSResponder-2559" -SRCREV = "0b8a5dbcefd6cc72846385aebfe4f6111f2814cb" +SRCREV = "e8a63bd04dda3f83a80f1dbc6db03e7806d87c11" # We install a stub Makefile in the top directory so that the various checks # in base.bbclass pass their tests for a Makefile, this ensures (that amongst
Signature · 1 line
2.25.1
PATCH 2/3 mdns: Correct RPROVIDE to match libdns-sd in avahi
We want to select libdns_sd.so from either Avahi or mDNSResponder, make the RPROVIDE match the one in Avahi.
--- meta-networking/recipes-protocols/mdns/mdns_2559.60.39.0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-protocols/mdns/mdns_2559.60.39.0.1.bb +1 -1
@@ -134,4 +134,4 @@ INITSCRIPT_NAME = "mdns" FILES_SOLIBSDEV = "${libdir}/libdns_sd.so" FILES:${PN} += "${libdir}/libnss_mdns-0.2.so" -RPROVIDES:${PN} += "libdns_sd.so" +RPROVIDES:${PN} += "libdns-sd"
Signature · 1 line
2.25.1
PATCH 3/3 mdns: Separate out mdns-libnss-mdns package
In reply to Alex KiernanExtract mdns-libnss-mdns from the main package so we can mark it as an RPROVIDE for libnss-mdns (matching avahi-libnss-mdns) and then RRECOMMEND this when building with glibc.
--- .../recipes-protocols/mdns/mdns_2559.60.39.0.1.bb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)
meta-networking/recipes-protocols/mdns/mdns_2559.60.39.0.1.bb +8 -3
@@ -112,7 +112,7 @@ do_install () { install mdnsd.sh ${D}${INIT_D_DIR}/mdns } -pkg_postinst:${PN} () { +pkg_postinst:${PN}-libnss-mdns () { if [ -r $D${sysconfdir}/nsswitch.conf ]; then sed -e '/^hosts:/s/\s*\<mdns\>//' \ -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 mdns\3\4\5/' \
@@ -120,7 +120,7 @@ pkg_postinst:${PN} () { fi } -pkg_prerm:${PN} () { +pkg_prerm:${PN}-libnss-mdns () { if [ -r $D${sysconfdir}/nsswitch.conf ]; then sed -e '/^hosts:/s/\s*\<mdns\>//' \ -e '/^hosts:/s/\s*mdns//' \
@@ -131,7 +131,12 @@ pkg_prerm:${PN} () { SYSTEMD_SERVICE:${PN} = "mdns.service" INITSCRIPT_NAME = "mdns" +PACKAGE_BEFORE_PN = "${PN}-libnss-mdns" + +RRECOMMENDS:${PN}:append:libc-glibc = " ${PN}-libnss-mdns" + FILES_SOLIBSDEV = "${libdir}/libdns_sd.so" -FILES:${PN} += "${libdir}/libnss_mdns-0.2.so" +FILES:${PN}-libnss-mdns = "${sysconfdir}/nss_mdns.conf ${libdir}/libnss_mdns*.so*" +RPROVIDES:${PN}-libnss-mdns = "libnss-mdns" RPROVIDES:${PN} += "libdns-sd"
Signature · 1 line
2.25.1
I am seeing
NOTE: Multiple providers are available for runtime libnss-mdns (libnss-mdns, mdns)
Consider defining a PREFERRED_RPROVIDER entry to match libnss-mdns
Does this need to apply along with relevant patches you sent to oe-core ml ?
Quoted 35 lines · Alex Kiernan via lists.openembedded.org
Signed-off-by Alex Kiernan <[email protected]>--- .../mdns/{mdns_2559.40.32.bb => mdns_2559.60.39.0.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-networking/recipes-protocols/mdns/{mdns_2559.40.32.bb => mdns_2559.60.39.0.1.bb} (99%)meta-networking/recipes-protocols/mdns/mdns_2559.60.39.0.1.bb renamed from meta-networking/recipes-protocols/mdns/mdns_2559.40.32.bb +1
-2@@ -28,7 +28,7 @@ SRC_URI = "git://github.com/apple-oss-distributions/mDNSResponder;protocol=https file://0004-Add-definition-for-MAX.patch \ " BRANCH = "rel/mDNSResponder-2559" -SRCREV = "0b8a5dbcefd6cc72846385aebfe4f6111f2814cb" +SRCREV = "e8a63bd04dda3f83a80f1dbc6db03e7806d87c11" # We install a stub Makefile in the top directory so that the various checks # in base.bbclass pass their tests for a Makefile, this ensures (that amongst --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115213): https://lists.openembedded.org/g/openembedded-devel/message/115213
Mute This Topic: https://lists.openembedded.org/mt/110937760/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Yeah, it will - I'm not seeing it here. I spent some time thinking about this exact problem, which isn't to say I've not got something else wrong. In fact I think I've missed the last patch I have for OE-Core, but that just makes the selection of Avahi/mDNSResponder by packagegroup-base-zeroconf a configuration item and I don't think should change this.
Quoted 46 lines · Khem Raj
I am seeing
NOTE: Multiple providers are available for runtime libnss-mdns (libnss-mdns, mdns)
Consider defining aPREFERRED_RPROVIDERentry to match libnss-mdnsDoes this need to apply along with relevant patches you sent to oe-core ml ?
Quoted 35 lines · Alex Kiernan via lists.openembedded.org
Signed-off-by Alex Kiernan <[email protected]>--- .../mdns/{mdns_2559.40.32.bb => mdns_2559.60.39.0.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-networking/recipes-protocols/mdns/{mdns_2559.40.32.bb => mdns_2559.60.39.0.1.bb} (99%)meta-networking/recipes-protocols/mdns/mdns_2559.60.39.0.1.bb renamed from meta-networking/recipes-protocols/mdns/mdns_2559.40.32.bb +1
-2@@ -28,7 +28,7 @@ SRC_URI = "git://github.com/apple-oss-distributions/mDNSResponder;protocol=https file://0004-Add-definition-for-MAX.patch \ " BRANCH = "rel/mDNSResponder-2559" -SRCREV = "0b8a5dbcefd6cc72846385aebfe4f6111f2814cb" +SRCREV = "e8a63bd04dda3f83a80f1dbc6db03e7806d87c11" # We install a stub Makefile in the top directory so that the various checks # in base.bbclass pass their tests for a Makefile, this ensures (that amongst --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115213): https://lists.openembedded.org/g/openembedded-devel/message/115213
Mute This Topic: https://lists.openembedded.org/mt/110937760/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 1 line
Alex Kiernan