[oe] [meta-python2][PATCH] python-lxml: License is BSD-3-Clause
Silences: WARNING: python-lxml-native-4.4.2-r0 do_populate_lic: QA Issue: python-lxml-native: No generic license file exists for: BSD in any provider [license-exists] Signed-off-by: Douglas Royds --- recipes-devtools/python/python-lxml_4.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/python/python-lxml_4.4.2.bb b/recipes-devtools/python/python-lxml_4.4.2.bb index 29bace5c..72288d16 100644 --- a/recipes-devtools/python/python-lxml_4.4.2.bb +++ b/recipes-devtools/python/python-lxml_4.4.2.bb @@ -6,7 +6,7 @@ significantly to offer support for XPath, RelaxNG, XML Schema, XSLT, \ C14N and much more." HOMEPAGE = "http://codespeak.net/lxml; SECTION = "devel/python" -LICENSE = "BSD & GPL-2.0-only & MIT & PSF-2.0" +LICENSE = "BSD-3-Clause & GPL-2.0-only & MIT & PSF-2.0" LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=e4c045ebad958ead4b48008f70838403 \ file://doc/licenses/elementtree.txt;md5=eb34d036a6e3d56314ee49a6852ac891 \ file://doc/licenses/BSD.txt;md5=700a1fc17f4797d4f2d34970c8ee694b \ -- 2.32.0 -- This communication is confidential. We only send and receive email on the basis of the terms set out at www.taitcommunications.com/email_disclaimer <http://www.taitcommunications.com/email_disclaimer> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97187): https://lists.openembedded.org/g/openembedded-devel/message/97187 Mute This Topic: https://lists.openembedded.org/mt/91206298/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-python2][PATCH] python-lxml: License is BSD-3-Clause
Silences: WARNING: python-lxml-native-4.4.2-r0 do_populate_lic: QA Issue: python-lxml-native: No generic license file exists for: BSD in any provider [license-exists] Signed-off-by: Douglas Royds --- recipes-devtools/python/python-lxml_4.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/python/python-lxml_4.4.2.bb b/recipes-devtools/python/python-lxml_4.4.2.bb index 29bace5c..72288d16 100644 --- a/recipes-devtools/python/python-lxml_4.4.2.bb +++ b/recipes-devtools/python/python-lxml_4.4.2.bb @@ -6,7 +6,7 @@ significantly to offer support for XPath, RelaxNG, XML Schema, XSLT, \ C14N and much more." HOMEPAGE = "http://codespeak.net/lxml; SECTION = "devel/python" -LICENSE = "BSD & GPL-2.0-only & MIT & PSF-2.0" +LICENSE = "BSD-3-Clause & GPL-2.0-only & MIT & PSF-2.0" LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=e4c045ebad958ead4b48008f70838403 \ file://doc/licenses/elementtree.txt;md5=eb34d036a6e3d56314ee49a6852ac891 \ file://doc/licenses/BSD.txt;md5=700a1fc17f4797d4f2d34970c8ee694b \ -- 2.32.0 -- This communication is confidential. We only send and receive email on the basis of the terms set out at www.taitcommunications.com/email_disclaimer <http://www.taitcommunications.com/email_disclaimer> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97188): https://lists.openembedded.org/g/openembedded-devel/message/97188 Mute This Topic: https://lists.openembedded.org/mt/91206298/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-java][PATCH] BSD licenses: Updated to SPDX namings
From: Douglas Royds javasqlite has an MIT license, not a BSD one. Silences warnings of this form: WARNING: jzlib-native-1.0.7-r0 do_populate_lic: QA Issue: jzlib-native: No generic license file exists for: BSD in any provider [license-exists] Signed-off-by: Douglas Royds --- recipes-core/javasqlite/javasqlite_20150419.bb | 4 ++-- recipes-core/jcraft/jsch_0.1.40.bb | 2 +- recipes-core/jcraft/jzlib_1.0.7.bb | 2 +- recipes-core/jdepend/jdepend_2.9.1.bb | 2 +- recipes-core/xml-commons/dom4j_1.6.1.bb| 2 +- recipes-core/xml-commons/jaxen_1.1.6.bb| 2 +- recipes-core/xml-commons/jdom_1.1.3.bb | 2 +- recipes-core/xml-commons/xpp2_2.1.10.bb| 2 +- recipes-core/xml-commons/xpp3_1.1.3.4.O.bb | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/recipes-core/javasqlite/javasqlite_20150419.bb b/recipes-core/javasqlite/javasqlite_20150419.bb index 1ae072f..27dad88 100644 --- a/recipes-core/javasqlite/javasqlite_20150419.bb +++ b/recipes-core/javasqlite/javasqlite_20150419.bb @@ -5,7 +5,7 @@ This is a Java wrapper including a basic JDBC driver for the SQLite 2/3 \ database engine. It is designed using JNI to interface to the SQLite API. \ That API is wrapped by methods in the SQLite.Database class." -LICENSE = "BSD" +LICENSE = "MIT-Modern-Variant" SECTION = "application" PR = "r1" SRC_URI = " \ @@ -13,7 +13,7 @@ SRC_URI = " \ file://0001-fix-errors-during-cross-compile.patch \ " -LIC_FILES_CHKSUM = "file://license.terms;md5=3da0e50feac5f64f08184584a8cad58a" +LIC_FILES_CHKSUM = "file://license.terms;md5=788a765d15de8312110c282b2ef53c83" inherit autotools-brokensep diff --git a/recipes-core/jcraft/jsch_0.1.40.bb b/recipes-core/jcraft/jsch_0.1.40.bb index a0f70d8..8ad71b4 100644 --- a/recipes-core/jcraft/jsch_0.1.40.bb +++ b/recipes-core/jcraft/jsch_0.1.40.bb @@ -1,6 +1,6 @@ SUMMARY = "SSH implementation in Java" HOMEPAGE = "http://www.jcraft.com/jsch; -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=55e3b6a0987ccd0c34530f3df2d206ae" SRC_URI = "${SOURCEFORGE_MIRROR}/jsch/jsch-${PV}.zip" diff --git a/recipes-core/jcraft/jzlib_1.0.7.bb b/recipes-core/jcraft/jzlib_1.0.7.bb index 70b5212..1e34d2c 100644 --- a/recipes-core/jcraft/jzlib_1.0.7.bb +++ b/recipes-core/jcraft/jzlib_1.0.7.bb @@ -1,5 +1,5 @@ SUMMARY = "zlib implementation in Java" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a2b2e5b95bf768dd5c4ca097c9cde9e9" HOMEPAGE = "http://www.jcraft.com/jzlib; diff --git a/recipes-core/jdepend/jdepend_2.9.1.bb b/recipes-core/jdepend/jdepend_2.9.1.bb index deae6a8..1fa156c 100644 --- a/recipes-core/jdepend/jdepend_2.9.1.bb +++ b/recipes-core/jdepend/jdepend_2.9.1.bb @@ -1,7 +1,7 @@ SUMMARY = "Design quality metrics generator for each Java" # see https://github.com/clarkware/jdepend/blob/master/LICENSE -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=f5777d32a7709d558c2877d4a6616230" HOMEPAGE = "https://github.com/clarkware/jdepend; diff --git a/recipes-core/xml-commons/dom4j_1.6.1.bb b/recipes-core/xml-commons/dom4j_1.6.1.bb index ee46dfd..0ba3f0e 100644 --- a/recipes-core/xml-commons/dom4j_1.6.1.bb +++ b/recipes-core/xml-commons/dom4j_1.6.1.bb @@ -1,6 +1,6 @@ SUMMARY = "A simple and flexible library for working with XML, XPath and XSLT" DESCRIPTION = "dom4j is a simple and flexible Java library for working with XML, XPath and XSLT" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3f752b663f2a821c3b32482fc6aece3c" HOMEPAGE = "http://dom4j.github.io; diff --git a/recipes-core/xml-commons/jaxen_1.1.6.bb b/recipes-core/xml-commons/jaxen_1.1.6.bb index 3823212..13f5fdc 100644 --- a/recipes-core/xml-commons/jaxen_1.1.6.bb +++ b/recipes-core/xml-commons/jaxen_1.1.6.bb @@ -4,7 +4,7 @@ DOM, XOM, dom4j, and JDOM. Is it also possible to write adapters that \ treat non-XML trees such as compiled Java byte code or Java beans as XML, \ thus enabling you to query these trees with XPath too.\ " -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a2e66c2e2482aa23c11342f1469fa3b6" HOMEPAGE = "http://jaxen.org/; diff --git a/recipes-core/xml-commons/jdom_1.1.3.bb b/recipes-core/xml-commons/jdom_1.1.3.bb index df9125d..acd2ae1 100644 --- a/recipes-core/xml-commons/jdom_1.1.3.bb +++ b/recipes-core/xml-commons/jdom_1.1.3.bb @@ -1,7 +1,7 @@ SUMMARY = "Parses, manipulates, and outputs XML using standard Java constructs" DESCRIPTION = "JDOM aims to provide a co
[oe] [meta-java][PATCH] jaxen: github protocol=https, branch=master
From: Douglas Royds Silences: WARNING: jaxen-1.1.6-r0 do_fetch: URL: git://github.com/codehaus/jaxen uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. WARNING: jaxen-1.1.6-r0 do_fetch: URL: git://github.com/codehaus/jaxen does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls. Signed-off-by: Douglas Royds --- recipes-core/xml-commons/jaxen_1.1.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/xml-commons/jaxen_1.1.6.bb b/recipes-core/xml-commons/jaxen_1.1.6.bb index 2741f2c..3823212 100644 --- a/recipes-core/xml-commons/jaxen_1.1.6.bb +++ b/recipes-core/xml-commons/jaxen_1.1.6.bb @@ -15,7 +15,7 @@ DEPENDS = "fastjar-native virtual/javac-native xerces-j xom" SRCREV = "7d7755ac8b19daa2ff6f319f432b864cc72d89b6" SRC_URI = "\ -git://github.com/codehaus/${BPN} \ +git://github.com/codehaus/${BPN};protocol=https;branch=master \ http://www.jdom.org/dist/binary/archive/jdom-1.1.tar.gz;name=jdom \ " SRC_URI[jdom.md5sum] = "22745cbaaddb12884ed8ee09083d8fe2" -- 2.32.0 -- This communication is confidential. We only send and receive email on the basis of the terms set out at www.taitcommunications.com/email_disclaimer <http://www.taitcommunications.com/email_disclaimer> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97167): https://lists.openembedded.org/g/openembedded-devel/message/97167 Mute This Topic: https://lists.openembedded.org/mt/91200399/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-oe][PATCH 2/2] packagegroup-meta-oe: RDEPENDS on googletest
The gtest and gmock projects were combined under googletest in 2015, and the former gtest recipe has now been renamed to googletest. Signed-off-by: Douglas Royds --- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb index e34cce4eb..9a6c1dec5 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb @@ -265,7 +265,7 @@ RDEPENDS_packagegroup-meta-oe-support-egl ="\ RDEPENDS_packagegroup-meta-oe-test ="\ catch2 cppunit cunit cxxtest evtest fb-test \ -fwts gtest pm-qa stress-ng testfloat \ +fwts googletest pm-qa stress-ng testfloat \ " RDEPENDS_packagegroup-meta-oe-test_remove_libc-musl = "pm-qa" RDEPENDS_packagegroup-meta-oe-test_remove_arm = "fwts" -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 1/2] grpc: DEPENDS on googletest
The gtest and gmock projects were combined under googletest in 2015, and the former gtest recipe has now been renamed to googletest. Signed-off-by: Douglas Royds --- meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb b/meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb index d23671432..0550866e5 100644 --- a/meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb +++ b/meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb @@ -7,7 +7,7 @@ LICENSE = "Apache-2" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" DEPENDS = "gflags c-ares protobuf protobuf-native protobuf-c protobuf-c-native openssl" -DEPENDS_append_class-target = " gtest grpc-native " +DEPENDS_append_class-target = " googletest grpc-native " DEPENDS_append_class-nativesdk = " grpc-native " S = "${WORKDIR}/git" -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 0/2] googletest: Former gtest recipe has been renamed
The gtest and gmock projects were combined under googletest in 2015, and the former gtest recipe has now been renamed to googletest. Douglas Royds (2): grpc: DEPENDS on googletest packagegroup-meta-oe: RDEPENDS on googletest meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb | 2 +- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] libtar: Enable libtar-native build
Signed-off-by: Douglas Royds --- meta-oe/recipes-support/libtar/libtar_1.2.20.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-support/libtar/libtar_1.2.20.bb b/meta-oe/recipes-support/libtar/libtar_1.2.20.bb index 60710f416..f93d9c09a 100644 --- a/meta-oe/recipes-support/libtar/libtar_1.2.20.bb +++ b/meta-oe/recipes-support/libtar/libtar_1.2.20.bb @@ -19,3 +19,5 @@ inherit autotools-brokensep PACKAGECONFIG ??= "zlib" PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" + +BBCLASSEXTEND += "native" -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 2/2] googletest: The gtest and gmock projects were combined under googletest in 2015
PROVIDES gmock and gtest for backwards-compatibility with existing DEPENDS. Signed-off-by: Douglas Royds --- .../{gtest/gtest_1.8.1.bb => googletest/googletest_1.8.1.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-test/{gtest/gtest_1.8.1.bb => googletest/googletest_1.8.1.bb} (95%) diff --git a/meta-oe/recipes-test/gtest/gtest_1.8.1.bb b/meta-oe/recipes-test/googletest/googletest_1.8.1.bb similarity index 95% rename from meta-oe/recipes-test/gtest/gtest_1.8.1.bb rename to meta-oe/recipes-test/googletest/googletest_1.8.1.bb index 6e7ab92e5..362d69ff9 100644 --- a/meta-oe/recipes-test/gtest/gtest_1.8.1.bb +++ b/meta-oe/recipes-test/googletest/googletest_1.8.1.bb @@ -5,7 +5,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://googlemock/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a \ file://googletest/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a" -PROVIDES += "gmock" +PROVIDES += "gmock gtest" S = "${WORKDIR}/git" SRCREV = "2fe3bd994b3189899d93f1d5a881e725e046fdc2" -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 1/2] gtest: Googletest project is back under github.com/google/googletest
No longer under the Abseil project. Signed-off-by: Douglas Royds --- meta-oe/recipes-test/gtest/gtest_1.8.1.bb | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meta-oe/recipes-test/gtest/gtest_1.8.1.bb b/meta-oe/recipes-test/gtest/gtest_1.8.1.bb index 23862c930..6e7ab92e5 100644 --- a/meta-oe/recipes-test/gtest/gtest_1.8.1.bb +++ b/meta-oe/recipes-test/gtest/gtest_1.8.1.bb @@ -1,5 +1,5 @@ DESCRIPTION = "Google's framework for writing C++ tests" -HOMEPAGE = "https://github.com/abseil/googletest; +HOMEPAGE = "https://github.com/google/googletest; SECTION = "libs" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://googlemock/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a \ @@ -9,9 +9,7 @@ PROVIDES += "gmock" S = "${WORKDIR}/git" SRCREV = "2fe3bd994b3189899d93f1d5a881e725e046fdc2" -SRC_URI = "\ -git://github.com/abseil/googletest.git;protocol=https; \ -" +SRC_URI = "git://github.com/google/googletest.git" inherit cmake -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] Steps for adding new python module to meta-python
You need: python3-aiohttp_3.5.4.bb Note the ".bb" extension. On 1/05/19 10:45 AM, Parthiban Nallathambi wrote: Hello All, I am currently trying to add a python module for aiohttp into meta-python. But this recipes are not detected during bitbake. Do we have any specific ways to add it or mention about the addition for it to compile? Also I would like to know how the package is referenced and cheksums are calculated. Thanks in advance for the feedback. python-aiohttp.inc: SUMMARY = "Asynchronous HTTP client/server framework for asyncio and Python" DESCRIPTION = "Asynchronous HTTP client/server framework for asyncio and Python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c" SRC_URI[md5sum] = "7a152f5236ee3b3ef97b6f1965a7c62c" SRC_URI[sha256sum] = "9385ff2ea20249be9119236b3367356465cb92dc55b463d12239c7cf36024bba" PYPI_PACKAGE = "aiohttp" inherit pypi RDEPENDS_${PN} = "\ ${PYTHON_PN}-chardet \ ${PYTHON_PN}-idna-ssl \ ${PYTHON_PN}-multidict \ " python3-aiohttp_3.5.4: inherit setuptools3 require python-aiohttp.inc Error: bitbake python3-aiohttp Loading cache: 100% |##| Time: 0:00:00 Loaded 3034 entries from dependency cache. ERROR: Nothing PROVIDES 'python3-aiohttp'. Close matches: python3-attr python3-isort python3-attrs Summary: There was 1 ERROR message shown, returning a non-zero exit code. -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH] net-snmp: Licenses are in the COPYING file
A bit of an unholy mixture of MIT, BSD 3-clause, and too old to really know BSD-style, with a wide variety of copyright holders. I'm open to better suggestions on how to handle this. Signed-off-by: Douglas Royds --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index 482eaf2cc..673142b4a 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -1,9 +1,9 @@ SUMMARY = "Various tools relating to the Simple Network Management Protocol" HOMEPAGE = "http://www.net-snmp.org/; SECTION = "net" -LICENSE = "BSD" +LICENSE = "BSD & MIT" -LIC_FILES_CHKSUM = "file://README;beginline=3;endline=8;md5=7f7f00ba639ac8e8deb5a622ea24634e" +LIC_FILES_CHKSUM = "file://COPYING;md5=9d100a395a38584f2ec18a8275261687" DEPENDS = "openssl libnl pciutils" -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] net-snmp: reproducibility: Strip host paths from ptest files
net-snmp also installs net-snmp-config and gen-variables files that need to have host paths stripped. --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index 0250743e7..e1c780b4d 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -78,6 +78,8 @@ PERLPROG_append = "${@bb.utils.contains('PACKAGECONFIG', 'perl', ' -I${WORKDIR}' HAS_PERL = "${@bb.utils.contains('PACKAGECONFIG', 'perl', '1', '0', d)}" +PTEST_BUILD_HOST_FILES += "net-snmp-config gen-variables" + do_configure_prepend() { sed -i -e "s|I/usr/include|I${STAGING_INCDIR}|g" \ "${S}"/configure \ -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2 6/6] net-snmp: Simplify sed expressions
Readability. The existing patterns allowed each pattern to be matched multiple times (with no intevening spaces), but the "g" modifier achieves this anyway. Signed-off-by: Douglas Royds --- .../recipes-protocols/net-snmp/net-snmp_5.8.bb | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index 2a0d88ab2..7794f3880 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -119,12 +119,12 @@ do_install_append() { sed-e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \ -i ${D}${bindir}/net-snmp-create-v3-user sed -e 's@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g' \ --e 's@\([^ ]*-fdebug-prefix-map=[^ "]*\)\1*@@g' \ --e 's@\([^ ]*--sysroot=[^ "]*\)\1*@@g' \ --e 's@\([^ ]*--with-libtool-sysroot=[^ "]*\)\1*@@g' \ --e 's@\([^ ]*--with-install-prefix=[^ "]*\)\1*@@g' \ --e 's@\([^ ]*PKG_CONFIG_PATH=[^ "]*\)\1*@@g' \ --e 's@\([^ ]*PKG_CONFIG_LIBDIR=[^ "]*\)\1*@@g' \ +-e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \ +-e 's@[^ ]*--sysroot=[^ "]*@@g' \ +-e 's@[^ ]*--with-libtool-sysroot=[^ "]*@@g' \ +-e 's@[^ ]*--with-install-prefix=[^ "]*@@g' \ +-e 's@[^ ]*PKG_CONFIG_PATH=[^ "]*@@g' \ +-e 's@[^ ]*PKG_CONFIG_LIBDIR=[^ "]*@@g' \ -i ${D}${bindir}/net-snmp-config if [ "${HAS_PERL}" = "1" ]; then -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2 5/6] net-snmp: Reproducibility: Set NETSNMP_CONFIGURE_OPTIONS null
To avoid build host paths being written into binaries, accept a null NETSNMP_CONFIGURE_OPTIONS from the environment. Upstream-Status: Submitted https://sourceforge.net/p/net-snmp/patches/1384/ Signed-off-by: Douglas Royds --- ...bility-accept-configure-options-from-env.patch | 15 +++ .../recipes-protocols/net-snmp/net-snmp_5.8.bb| 2 ++ 2 files changed, 17 insertions(+) create mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-accept-configure-options-from-env.patch diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-accept-configure-options-from-env.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-accept-configure-options-from-env.patch new file mode 100644 index 0..b0dbf5ad3 --- /dev/null +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-accept-configure-options-from-env.patch @@ -0,0 +1,15 @@ +Reproducible build: To avoid build host paths being written into binaries, +accept NETSNMP_CONFIGURE_OPTIONS from the environment. +NETSNMP_CONFIGURE_OPTIONS can be set either null or to a fixed value. + +--- net-snmp-5.8.original/configure.ac 2018-11-20 17:41:39.926529072 +1300 net-snmp-5.8/configure.ac 2018-11-20 17:54:44.488180224 +1300 +@@ -28,7 +28,7 @@ + # + # save the configure arguments + # +-AC_DEFINE_UNQUOTED(NETSNMP_CONFIGURE_OPTIONS,"$ac_configure_args", ++AC_DEFINE_UNQUOTED(NETSNMP_CONFIGURE_OPTIONS,"${NETSNMP_CONFIGURE_OPTIONS-$ac_configure_args}", + [configure options specified]) + CONFIGURE_OPTIONS="\"$ac_configure_args\"" + AC_SUBST(CONFIGURE_OPTIONS) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index f556c5898..2a0d88ab2 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -25,6 +25,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \ file://net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch \ file://net-snmp-fix-for-disable-des.patch \ file://reproducibility-have-printcap.patch \ + file://reproducibility-accept-configure-options-from-env.patch \ " SRC_URI[md5sum] = "6aae5948df7efde626613d6a4b3cd9d4" SRC_URI[sha256sum] = "c6291385b8ed84f05890fe4197005daf7e7ee7b082c2e390fa114a9477a56042" @@ -70,6 +71,7 @@ CACHED_CONFIGUREVARS = " \ lt_cv_shlibpath_overrides_runpath=yes \ ac_cv_path_UNAMEPROG=${base_bindir}/uname \ ac_cv_file__etc_printcap=no \ +NETSNMP_CONFIGURE_OPTIONS= \ " export PERLPROG="${bindir}/env perl" PERLPROG_append = "${@bb.utils.contains('PACKAGECONFIG', 'perl', ' -I${WORKDIR}', '', d)}" -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2 1/6] Revert "net-snmp: improve reproducibility"
This reverts commit 57d8e2c673d5f5686bbf411333f1d39c3e29690e. Signed-off-by: Douglas Royds --- ...e-configure-options-from-versioninfo.patch | 42 --- .../net-snmp/net-snmp_5.8.bb | 7 2 files changed, 49 deletions(-) delete mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch deleted file mode 100644 index 2d540967e..0 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch +++ /dev/null @@ -1,42 +0,0 @@ -From f592398b1c659f84168f5c84f63af3b71454b8f5 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Fri, 28 Sep 2018 22:59:23 +0800 -Subject: [PATCH] remove configure options from versioninfo - -Configure options contains host build paths which breaks -binary reproducibility. - -It is no harm to remove it from version info. - -Upstream-Status: Inappropriate [cross compile specific] - -Signed-off-by: Hongxu Jia - agent/mibgroup/ucd-snmp/versioninfo.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/agent/mibgroup/ucd-snmp/versioninfo.c b/agent/mibgroup/ucd-snmp/versioninfo.c -index a5151c1..1160382 100644 a/agent/mibgroup/ucd-snmp/versioninfo.c -+++ b/agent/mibgroup/ucd-snmp/versioninfo.c -@@ -92,7 +92,7 @@ var_extensible_version(struct variable *vp, - static char errmsg[300]; - char *cptr; - time_t curtime; --#ifdef NETSNMP_CONFIGURE_OPTIONS -+#if 0 - static char config_opts[] = NETSNMP_CONFIGURE_OPTIONS; - #endif - -@@ -126,7 +126,7 @@ var_extensible_version(struct variable *vp, - *var_len = strlen(errmsg); - return ((u_char *) errmsg); - case VERCONFIG: --#ifdef NETSNMP_CONFIGURE_OPTIONS -+#if 0 - *var_len = strlen(config_opts); - if (*var_len > 1024) - *var_len = 1024;/* mib imposed restriction */ --- -2.7.4 - diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index d47f9e4a3..a32d09d77 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -24,7 +24,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \ file://0004-configure-fix-incorrect-variable.patch \ file://net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch \ file://net-snmp-fix-for-disable-des.patch \ - file://0001-remove-configure-options-from-versioninfo.patch \ " SRC_URI[md5sum] = "6aae5948df7efde626613d6a4b3cd9d4" SRC_URI[sha256sum] = "c6291385b8ed84f05890fe4197005daf7e7ee7b082c2e390fa114a9477a56042" @@ -169,12 +168,6 @@ net_snmp_sysroot_preprocess () { fi } -PACKAGE_PREPROCESS_FUNCS += "net_snmp_package_preprocess" -net_snmp_package_preprocess () { -sed -e 's@${RECIPE_SYSROOT}@@g' \ - -i ${PKGD}${bindir}/net-snmp-config -} - PACKAGES += "${PN}-libs ${PN}-mibs ${PN}-server ${PN}-client \ ${PN}-server-snmpd ${PN}-server-snmptrapd \ ${PN}-lib-netsnmp ${PN}-lib-agent ${PN}-lib-helpers \ -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2 4/6] net-snmp: Reproducibility: Don't check build host for /etc/printcap
Don't check for /etc/printcap on the build machine when cross-compiling. Use AC_CHECK_FILE to set the cached variable ac_cv_file__etc_printcap instead. When cross-compiling, this variable should be set in the environment to "yes" or "no" as appropriate for the target platform. I have taken the simple expedient of setting ac_cv_file__etc_printcap=no. If this proves to be a problem, we can easily add a new variable, HAS_PRINTCAP. Upstream-Status: Submitted https://sourceforge.net/p/net-snmp/patches/1385/ Signed-off-by: Douglas Royds --- .../reproducibility-have-printcap.patch | 19 +++ .../net-snmp/net-snmp_5.8.bb | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-have-printcap.patch diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-have-printcap.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-have-printcap.patch new file mode 100644 index 0..4316c7a71 --- /dev/null +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-have-printcap.patch @@ -0,0 +1,19 @@ +Reproducible build: Don't check for /etc/printcap on the build machine when +cross-compiling. Use AC_CHECK_FILE to set the cached variable +ac_cv_file__etc_printcap instead. When cross-compiling, this variable should be +set in the environment to "yes" or "no" as appropriate for the target platform. + +--- net-snmp-5.8.original/configure.d/config_os_misc4 2018-11-20 17:05:03.986274522 +1300 net-snmp-5.8/configure.d/config_os_misc4 2018-11-20 17:08:32.250700448 +1300 +@@ -116,9 +116,9 @@ + [Path to the lpstat command]) + AC_DEFINE(HAVE_LPSTAT, 1, [Set if the lpstat command is available]) + fi +-if test -r /etc/printcap; then ++AC_CHECK_FILE([/etc/printcap], + AC_DEFINE(HAVE_PRINTCAP, 1, [Set if /etc/printcap exists]) +-fi ++) + + + # Check ps args diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index 03fe24bdd..f556c5898 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -24,6 +24,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \ file://0004-configure-fix-incorrect-variable.patch \ file://net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch \ file://net-snmp-fix-for-disable-des.patch \ + file://reproducibility-have-printcap.patch \ " SRC_URI[md5sum] = "6aae5948df7efde626613d6a4b3cd9d4" SRC_URI[sha256sum] = "c6291385b8ed84f05890fe4197005daf7e7ee7b082c2e390fa114a9477a56042" @@ -68,6 +69,7 @@ CACHED_CONFIGUREVARS = " \ ac_cv_ETC_MNTTAB=/etc/mtab \ lt_cv_shlibpath_overrides_runpath=yes \ ac_cv_path_UNAMEPROG=${base_bindir}/uname \ +ac_cv_file__etc_printcap=no \ " export PERLPROG="${bindir}/env perl" PERLPROG_append = "${@bb.utils.contains('PACKAGECONFIG', 'perl', ' -I${WORKDIR}', '', d)}" -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2 0/6] net-snmp: Reproducibility
There was a breakage in the "Remove PKG_CONFIG paths" patch, in which I was unwittingly trimming the trailing close double quotes from the CFLAGS in net-snmp-config. I have also added a readability improvement for the sed expressions in do_install(). Douglas Royds (6): Revert "net-snmp: improve reproducibility" net-snmp: Reproducibility: Fixed path to /bin/uname net-snmp: Reproducibility: Remove PKG_CONFIG paths from net-snmp-config net-snmp: Reproducibility: Don't check build host for /etc/printcap net-snmp: Reproducibility: Set NETSNMP_CONFIGURE_OPTIONS null net-snmp: Simplify sed expressions ...e-configure-options-from-versioninfo.patch | 42 --- ...ty-accept-configure-options-from-env.patch | 15 +++ .../reproducibility-have-printcap.patch | 19 + .../net-snmp/net-snmp_5.8.bb | 24 +-- 4 files changed, 46 insertions(+), 54 deletions(-) delete mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch create mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-accept-configure-options-from-env.patch create mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-have-printcap.patch -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2 2/6] net-snmp: Reproducibility: Fixed path to /bin/uname
Signed-off-by: Douglas Royds --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index a32d09d77..089946032 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -67,6 +67,7 @@ CACHED_CONFIGUREVARS = " \ ac_cv_header_valgrind_memcheck_h=no \ ac_cv_ETC_MNTTAB=/etc/mtab \ lt_cv_shlibpath_overrides_runpath=yes \ +ac_cv_path_UNAMEPROG=${base_bindir}/uname \ " export PERLPROG="${bindir}/env perl" PERLPROG_append = "${@bb.utils.contains('PACKAGECONFIG', 'perl', ' -I${WORKDIR}', '', d)}" -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2 3/6] net-snmp: Reproducibility: Remove PKG_CONFIG paths from net-snmp-config
PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR point into the net-snmp recipe-sysroot. Careful not to trim trailing quotes from the CFLAGS Signed-off-by: Douglas Royds --- .../recipes-protocols/net-snmp/net-snmp_5.8.bb | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index 089946032..03fe24bdd 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -114,11 +114,13 @@ do_install_append() { install -m 0644 ${WORKDIR}/snmptrapd.service ${D}${systemd_unitdir}/system sed-e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \ -i ${D}${bindir}/net-snmp-create-v3-user -sed-e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \ - -e "s@\([^ ]*-fdebug-prefix-map=[^ ]*\)\1*@@g" \ - -e "s@\([^ ]*--sysroot=[^ ]*\)\1*@@g" \ - -e "s@\([^ ]*--with-libtool-sysroot=[^ ]*\)\1*@@g" \ - -e "s@\([^ ]*--with-install-prefix=[^ ]*\)\1*@@g" \ +sed -e 's@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g' \ +-e 's@\([^ ]*-fdebug-prefix-map=[^ "]*\)\1*@@g' \ +-e 's@\([^ ]*--sysroot=[^ "]*\)\1*@@g' \ +-e 's@\([^ ]*--with-libtool-sysroot=[^ "]*\)\1*@@g' \ +-e 's@\([^ ]*--with-install-prefix=[^ "]*\)\1*@@g' \ +-e 's@\([^ ]*PKG_CONFIG_PATH=[^ "]*\)\1*@@g' \ +-e 's@\([^ ]*PKG_CONFIG_LIBDIR=[^ "]*\)\1*@@g' \ -i ${D}${bindir}/net-snmp-config if [ "${HAS_PERL}" = "1" ]; then -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 5/5] net-snmp: Reproducibility: Set NETSNMP_CONFIGURE_OPTIONS null
To avoid build host paths being written into binaries, accept a null NETSNMP_CONFIGURE_OPTIONS from the environment. Upstream-Status: Submitted https://sourceforge.net/p/net-snmp/patches/1384/ Signed-off-by: Douglas Royds --- ...bility-accept-configure-options-from-env.patch | 15 +++ .../recipes-protocols/net-snmp/net-snmp_5.8.bb| 2 ++ 2 files changed, 17 insertions(+) create mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-accept-configure-options-from-env.patch diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-accept-configure-options-from-env.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-accept-configure-options-from-env.patch new file mode 100644 index 0..b0dbf5ad3 --- /dev/null +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-accept-configure-options-from-env.patch @@ -0,0 +1,15 @@ +Reproducible build: To avoid build host paths being written into binaries, +accept NETSNMP_CONFIGURE_OPTIONS from the environment. +NETSNMP_CONFIGURE_OPTIONS can be set either null or to a fixed value. + +--- net-snmp-5.8.original/configure.ac 2018-11-20 17:41:39.926529072 +1300 net-snmp-5.8/configure.ac 2018-11-20 17:54:44.488180224 +1300 +@@ -28,7 +28,7 @@ + # + # save the configure arguments + # +-AC_DEFINE_UNQUOTED(NETSNMP_CONFIGURE_OPTIONS,"$ac_configure_args", ++AC_DEFINE_UNQUOTED(NETSNMP_CONFIGURE_OPTIONS,"${NETSNMP_CONFIGURE_OPTIONS-$ac_configure_args}", + [configure options specified]) + CONFIGURE_OPTIONS="\"$ac_configure_args\"" + AC_SUBST(CONFIGURE_OPTIONS) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index 08015c67b..e91d80af5 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -25,6 +25,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \ file://net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch \ file://net-snmp-fix-for-disable-des.patch \ file://reproducibility-have-printcap.patch \ + file://reproducibility-accept-configure-options-from-env.patch \ " SRC_URI[md5sum] = "6aae5948df7efde626613d6a4b3cd9d4" SRC_URI[sha256sum] = "c6291385b8ed84f05890fe4197005daf7e7ee7b082c2e390fa114a9477a56042" @@ -70,6 +71,7 @@ CACHED_CONFIGUREVARS = " \ lt_cv_shlibpath_overrides_runpath=yes \ ac_cv_path_UNAMEPROG=${base_bindir}/uname \ ac_cv_file__etc_printcap=no \ +NETSNMP_CONFIGURE_OPTIONS= \ " export PERLPROG="${bindir}/env perl" PERLPROG_append = "${@bb.utils.contains('PACKAGECONFIG', 'perl', ' -I${WORKDIR}', '', d)}" -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 1/5] Revert "net-snmp: improve reproducibility"
This reverts commit 57d8e2c673d5f5686bbf411333f1d39c3e29690e. Signed-off-by: Douglas Royds --- ...e-configure-options-from-versioninfo.patch | 42 --- .../net-snmp/net-snmp_5.8.bb | 7 2 files changed, 49 deletions(-) delete mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch deleted file mode 100644 index 2d540967e..0 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch +++ /dev/null @@ -1,42 +0,0 @@ -From f592398b1c659f84168f5c84f63af3b71454b8f5 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Fri, 28 Sep 2018 22:59:23 +0800 -Subject: [PATCH] remove configure options from versioninfo - -Configure options contains host build paths which breaks -binary reproducibility. - -It is no harm to remove it from version info. - -Upstream-Status: Inappropriate [cross compile specific] - -Signed-off-by: Hongxu Jia - agent/mibgroup/ucd-snmp/versioninfo.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/agent/mibgroup/ucd-snmp/versioninfo.c b/agent/mibgroup/ucd-snmp/versioninfo.c -index a5151c1..1160382 100644 a/agent/mibgroup/ucd-snmp/versioninfo.c -+++ b/agent/mibgroup/ucd-snmp/versioninfo.c -@@ -92,7 +92,7 @@ var_extensible_version(struct variable *vp, - static char errmsg[300]; - char *cptr; - time_t curtime; --#ifdef NETSNMP_CONFIGURE_OPTIONS -+#if 0 - static char config_opts[] = NETSNMP_CONFIGURE_OPTIONS; - #endif - -@@ -126,7 +126,7 @@ var_extensible_version(struct variable *vp, - *var_len = strlen(errmsg); - return ((u_char *) errmsg); - case VERCONFIG: --#ifdef NETSNMP_CONFIGURE_OPTIONS -+#if 0 - *var_len = strlen(config_opts); - if (*var_len > 1024) - *var_len = 1024;/* mib imposed restriction */ --- -2.7.4 - diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index d47f9e4a3..a32d09d77 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -24,7 +24,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \ file://0004-configure-fix-incorrect-variable.patch \ file://net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch \ file://net-snmp-fix-for-disable-des.patch \ - file://0001-remove-configure-options-from-versioninfo.patch \ " SRC_URI[md5sum] = "6aae5948df7efde626613d6a4b3cd9d4" SRC_URI[sha256sum] = "c6291385b8ed84f05890fe4197005daf7e7ee7b082c2e390fa114a9477a56042" @@ -169,12 +168,6 @@ net_snmp_sysroot_preprocess () { fi } -PACKAGE_PREPROCESS_FUNCS += "net_snmp_package_preprocess" -net_snmp_package_preprocess () { -sed -e 's@${RECIPE_SYSROOT}@@g' \ - -i ${PKGD}${bindir}/net-snmp-config -} - PACKAGES += "${PN}-libs ${PN}-mibs ${PN}-server ${PN}-client \ ${PN}-server-snmpd ${PN}-server-snmptrapd \ ${PN}-lib-netsnmp ${PN}-lib-agent ${PN}-lib-helpers \ -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 2/5] net-snmp: Reproducibility: Fixed path to /bin/uname
Signed-off-by: Douglas Royds --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index a32d09d77..089946032 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -67,6 +67,7 @@ CACHED_CONFIGUREVARS = " \ ac_cv_header_valgrind_memcheck_h=no \ ac_cv_ETC_MNTTAB=/etc/mtab \ lt_cv_shlibpath_overrides_runpath=yes \ +ac_cv_path_UNAMEPROG=${base_bindir}/uname \ " export PERLPROG="${bindir}/env perl" PERLPROG_append = "${@bb.utils.contains('PACKAGECONFIG', 'perl', ' -I${WORKDIR}', '', d)}" -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 0/5] net-snmp: Reproducibility
With this patch-set, I have achieved a reproducible build of net-snmp over two different hosts, Ubuntu releases, usernames, paths, etc. I have come up with a patch for the NETSNMP_CONFIGURE_OPTIONS problem that might be acceptable to the upstream net-snmp project, see https://sourceforge.net/p/net-snmp/patches/1384/ Consequently, I have reverted Hongxu Jia's earlier commit 57d8e2c6. Note that I have turned off printcap support, hard-coded. If this proves to be a problem, we can easily add a new variable, HAS_PRINTCAP. Douglas Royds (5): Revert "net-snmp: improve reproducibility" net-snmp: Reproducibility: Fixed path to /bin/uname net-snmp: Reproducibility: Remove PKG_CONFIG paths from net-snmp-config net-snmp: Reproducibility: Don't check build host for /etc/printcap net-snmp: Reproducibility: Set NETSNMP_CONFIGURE_OPTIONS null ...e-configure-options-from-versioninfo.patch | 42 --- ...ty-accept-configure-options-from-env.patch | 15 +++ .../reproducibility-have-printcap.patch | 19 + .../net-snmp/net-snmp_5.8.bb | 14 +++ 4 files changed, 41 insertions(+), 49 deletions(-) delete mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch create mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-accept-configure-options-from-env.patch create mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-have-printcap.patch -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 3/5] net-snmp: Reproducibility: Remove PKG_CONFIG paths from net-snmp-config
PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR point into the net-snmp recipe-sysroot. Signed-off-by: Douglas Royds --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index 089946032..4b1267b3c 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -119,6 +119,8 @@ do_install_append() { -e "s@\([^ ]*--sysroot=[^ ]*\)\1*@@g" \ -e "s@\([^ ]*--with-libtool-sysroot=[^ ]*\)\1*@@g" \ -e "s@\([^ ]*--with-install-prefix=[^ ]*\)\1*@@g" \ + -e "s@\([^ ]*PKG_CONFIG_PATH=[^ ]*\)\1*@@g" \ + -e "s@\([^ ]*PKG_CONFIG_LIBDIR=[^ ]*\)\1*@@g" \ -i ${D}${bindir}/net-snmp-config if [ "${HAS_PERL}" = "1" ]; then -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 4/5] net-snmp: Reproducibility: Don't check build host for /etc/printcap
Don't check for /etc/printcap on the build machine when cross-compiling. Use AC_CHECK_FILE to set the cached variable ac_cv_file__etc_printcap instead. When cross-compiling, this variable should be set in the environment to "yes" or "no" as appropriate for the target platform. I have taken the simple expedient of setting ac_cv_file__etc_printcap=no. If this proves to be a problem, we can easily add a new variable, HAS_PRINTCAP. Upstream-Status: Submitted https://sourceforge.net/p/net-snmp/patches/1385/ Signed-off-by: Douglas Royds --- .../reproducibility-have-printcap.patch | 19 +++ .../net-snmp/net-snmp_5.8.bb | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-have-printcap.patch diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-have-printcap.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-have-printcap.patch new file mode 100644 index 0..4316c7a71 --- /dev/null +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/reproducibility-have-printcap.patch @@ -0,0 +1,19 @@ +Reproducible build: Don't check for /etc/printcap on the build machine when +cross-compiling. Use AC_CHECK_FILE to set the cached variable +ac_cv_file__etc_printcap instead. When cross-compiling, this variable should be +set in the environment to "yes" or "no" as appropriate for the target platform. + +--- net-snmp-5.8.original/configure.d/config_os_misc4 2018-11-20 17:05:03.986274522 +1300 net-snmp-5.8/configure.d/config_os_misc4 2018-11-20 17:08:32.250700448 +1300 +@@ -116,9 +116,9 @@ + [Path to the lpstat command]) + AC_DEFINE(HAVE_LPSTAT, 1, [Set if the lpstat command is available]) + fi +-if test -r /etc/printcap; then ++AC_CHECK_FILE([/etc/printcap], + AC_DEFINE(HAVE_PRINTCAP, 1, [Set if /etc/printcap exists]) +-fi ++) + + + # Check ps args diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index 4b1267b3c..08015c67b 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -24,6 +24,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \ file://0004-configure-fix-incorrect-variable.patch \ file://net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch \ file://net-snmp-fix-for-disable-des.patch \ + file://reproducibility-have-printcap.patch \ " SRC_URI[md5sum] = "6aae5948df7efde626613d6a4b3cd9d4" SRC_URI[sha256sum] = "c6291385b8ed84f05890fe4197005daf7e7ee7b082c2e390fa114a9477a56042" @@ -68,6 +69,7 @@ CACHED_CONFIGUREVARS = " \ ac_cv_ETC_MNTTAB=/etc/mtab \ lt_cv_shlibpath_overrides_runpath=yes \ ac_cv_path_UNAMEPROG=${base_bindir}/uname \ +ac_cv_file__etc_printcap=no \ " export PERLPROG="${bindir}/env perl" PERLPROG_append = "${@bb.utils.contains('PACKAGECONFIG', 'perl', ' -I${WORKDIR}', '', d)}" -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 0/2] ntp: Reproducible build
I have marked the "Use fixed path to posix shell" patch as submitted upstream, but I have only raised an issue on the ntp project, asking for advice on an approach. This patch does the job for OE, but isn't appropriate in its current form for upstream. The "Respect SOURCE_DATE_EPOCH" patch has been submitted upstream in this form. Douglas Royds (2): ntp: Reproducible build: Respect SOURCE_DATE_EPOCH ntp: Reproducible build: Use fixed path to posix shell ...producibility-fixed-path-to-posix-shell.patch | 15 +++ ...producibility-respect-source-date-epoch.patch | 16 .../recipes-support/ntp/ntp_4.2.8p12.bb | 2 ++ 3 files changed, 33 insertions(+) create mode 100644 meta-networking/recipes-support/ntp/ntp/reproducibility-fixed-path-to-posix-shell.patch create mode 100644 meta-networking/recipes-support/ntp/ntp/reproducibility-respect-source-date-epoch.patch -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 1/2] ntp: Reproducible build: Respect SOURCE_DATE_EPOCH
If a SOURCE_DATE_EPOCH is set in the environment, use that date in the build version string, otherwise use the current build date. See https://reproducible-builds.org/docs/source-date-epoch/ Should GNU date options fail, try BSD date options as a fall-back. This patch can potentially be pushed upstream for use on Mac OSX or OpenBSD, though it has not been tested on OSX or any BSD platform. Upstream-Status: Submitted http://bugs.ntp.org/show_bug.cgi?id=3550 Signed-off-by: Douglas Royds --- ...producibility-respect-source-date-epoch.patch | 16 .../recipes-support/ntp/ntp_4.2.8p12.bb | 1 + 2 files changed, 17 insertions(+) create mode 100644 meta-networking/recipes-support/ntp/ntp/reproducibility-respect-source-date-epoch.patch diff --git a/meta-networking/recipes-support/ntp/ntp/reproducibility-respect-source-date-epoch.patch b/meta-networking/recipes-support/ntp/ntp/reproducibility-respect-source-date-epoch.patch new file mode 100644 index 0..58e71c3b8 --- /dev/null +++ b/meta-networking/recipes-support/ntp/ntp/reproducibility-respect-source-date-epoch.patch @@ -0,0 +1,16 @@ +--- ntp-4.2.8p12.original/scripts/build/mkver.in 2018-11-12 14:06:49.333020430 +1300 ntp-4.2.8p12/scripts/build/mkver.in2018-11-12 14:15:04.947480167 +1300 +@@ -15,7 +15,12 @@ + *) ConfStr="${ConfStr}-@VER_SUFFIX@" ;; + esac + +-ConfStr="$ConfStr `LC_TIME=C TZ=UTC date`" ++if [ -n "$SOURCE_DATE_EPOCH" ]; then ++ ConfStr="$ConfStr `LC_TIME=C TZ=UTC date -d@$SOURCE_DATE_EPOCH 2>/dev/null`" || ++ ConfStr="$ConfStr `LC_TIME=C TZ=UTC date -r $SOURCE_DATE_EPOCH`" ++else ++ ConfStr="$ConfStr `LC_TIME=C TZ=UTC date`" ++fi + + if [ ! -f .version ]; then + echo 0 > .version diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb index 425430115..536679f4d 100644 --- a/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb +++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb @@ -12,6 +12,7 @@ DEPENDS = "libevent" SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.gz \ file://ntp-4.2.4_p6-nano.patch \ + file://reproducibility-respect-source-date-epoch.patch \ file://ntpd \ file://ntp.conf \ file://ntpdate \ -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 2/2] ntp: Reproducible build: Use fixed path to posix shell
At configure time, the ntp build goes looking on the build machine for a posix shell, using `which` to find it. Under OE, it settles on hosttools/bash, resulting in this build host path being written into several binaries. This did not affect the Debian reproducibility project, presumably because it consistently found bash at /bin/bash. Don't go looking, just use a fixed path to /bin/sh instead. Upstream-Status: Submitted http://bugs.ntp.org/show_bug.cgi?id=3551 Signed-off-by: Douglas Royds --- ...eproducibility-fixed-path-to-posix-shell.patch | 15 +++ .../recipes-support/ntp/ntp_4.2.8p12.bb | 1 + 2 files changed, 16 insertions(+) create mode 100644 meta-networking/recipes-support/ntp/ntp/reproducibility-fixed-path-to-posix-shell.patch diff --git a/meta-networking/recipes-support/ntp/ntp/reproducibility-fixed-path-to-posix-shell.patch b/meta-networking/recipes-support/ntp/ntp/reproducibility-fixed-path-to-posix-shell.patch new file mode 100644 index 0..571db75f7 --- /dev/null +++ b/meta-networking/recipes-support/ntp/ntp/reproducibility-fixed-path-to-posix-shell.patch @@ -0,0 +1,15 @@ +--- ntp-4.2.8p12.original/sntp/libopts/m4/libopts.m4 2018-11-12 17:54:57.747220846 +1300 ntp-4.2.8p12/sntp/libopts/m4/libopts.m42018-11-12 18:00:50.626211641 +1300 +@@ -114,12 +114,6 @@ + AC_PROG_SED + [while : + do +- POSIX_SHELL=`which bash` +- test -x "$POSIX_SHELL" && break +- POSIX_SHELL=`which dash` +- test -x "$POSIX_SHELL" && break +- POSIX_SHELL=/usr/xpg4/bin/sh +- test -x "$POSIX_SHELL" && break + POSIX_SHELL=`/bin/sh -c ' + exec 2>/dev/null + if ! true ; then exit 1 ; fi diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb index 536679f4d..53e41297a 100644 --- a/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb +++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb @@ -12,6 +12,7 @@ DEPENDS = "libevent" SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.gz \ file://ntp-4.2.4_p6-nano.patch \ + file://reproducibility-fixed-path-to-posix-shell.patch \ file://reproducibility-respect-source-date-epoch.patch \ file://ntpd \ file://ntp.conf \ -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] openldap: Reproducibility: Remove user, hostname, pwd from version string
This updated patch also sets the date and time strings to the SOURCE_DATE_EPOCH. The WHOWHERE string will now be set to simply "openldap" in the case that a SOURCE_DATE_EPOCH is set. Upstream-Status: Submitted [https://www.openldap.org/its/index.cgi/Incoming?id=8928] Signed-off-by: Douglas Royds --- .../remove-user-host-pwd-from-version.patch | 27 +++ 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch b/meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch index 478a680ca..4eb389797 100644 --- a/meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch +++ b/meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch @@ -1,12 +1,29 @@ -diff -ru openldap-2.4.46.original/build/mkversion openldap-2.4.46/build/mkversion openldap-2.4.46.original/build/mkversion 2018-03-23 04:44:27.0 +1300 -+++ openldap-2.4.46/build/mkversion2018-10-09 14:34:51.152684040 +1300 -@@ -50,7 +50,7 @@ +diff -ru openldap-2.4.46.orig/build/mkversion openldap-2.4.46/build/mkversion +--- openldap-2.4.46.orig/build/mkversion 2018-10-25 18:46:10.383750480 +1300 openldap-2.4.46/build/mkversion2018-10-25 18:46:33.156232586 +1300 +@@ -50,7 +50,15 @@ fi APPLICATION=$1 -WHOWHERE="$USER@`uname -n`:`pwd`" -+WHOWHERE="${SOURCE_DATE_EPOCH:-$USER@`uname -n`:`pwd`}" ++if [ -n "${SOURCE_DATE_EPOCH}" ]; then ++ WHOWHERE="openldap" ++ DATE=$(date -d@$SOURCE_DATE_EPOCH +' %b %d %Y ') ++ TIME=$(date -d@$SOURCE_DATE_EPOCH +' %H:%M:%S ') ++else ++ WHOWHERE="$USER@$(uname -n):$(pwd)" ++ DATE='" __DATE__ "' ++ TIME='" __TIME__ "' ++fi cat << __EOF__ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. +@@ -72,7 +80,7 @@ + "COPYING RESTRICTIONS APPLY\n"; + + $static $const char $SYMBOL[] = +-"@(#) \$$PACKAGE: $APPLICATION $VERSION (" __DATE__ " " __TIME__ ") \$\n" ++"@(#) \$$PACKAGE: $APPLICATION $VERSION ($DATE $TIME) \$\n" + "\t$WHOWHERE\n"; + + __EOF__ -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] openldap: Reproducibility: Remove user, hostname, pwd from version string
This patch is already on meta-openembedded master: http://git.openembedded.org/meta-openembedded/commit/?id=ed5c1c19963546f09201747b11b94b71729b0bcd For the record, I have just submitted it upstream: http://www.openldap.org/its/index.cgi/Incoming?id=8928 Should I submit a new patch, changing the upstream-status to "Submitted"? On 9/10/18 5:55 PM, Douglas Royds wrote: Upstream-Status: Pending Signed-off-by: Douglas Royds --- ... diff --git a/meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch b/meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch ... +-WHOWHERE="$USER@`uname -n`:`pwd`" ++WHOWHERE="${SOURCE_DATE_EPOCH:-$USER@`uname -n`:`pwd`}" -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] openldap: Reproducibility: Remove user, hostname, pwd from version string
Debian have set this string to their own Debian-specific value: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833179 WHOWHERE="$(dpkg-vendor --query vendor) package version $(dpkg-parsechangelog -SVersion)" -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] openldap: Reproducibility: Remove user, hostname, pwd from version string
Is this a good idea? We need to replace the WHOWHERE value with something fixed, so I've opted for the SOURCE_DATE_EPOCH. If you're not trying to do a reproducible build, it won't be set, so the existing WHOWHERE string will apply. I'll wait for other opinions before submitting this upstream. On 09/10/18 17:55, Douglas Royds wrote: Upstream-Status: Pending ... +-WHOWHERE="$USER@`uname -n`:`pwd`" ++WHOWHERE="${SOURCE_DATE_EPOCH:-$USER@`uname -n`:`pwd`}" -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] openldap: Reproducibility: Remove user, hostname, pwd from version string
Upstream-Status: Pending Signed-off-by: Douglas Royds --- .../openldap/remove-user-host-pwd-from-version.patch | 12 meta-oe/recipes-support/openldap/openldap_2.4.46.bb | 1 + 2 files changed, 13 insertions(+) create mode 100644 meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch diff --git a/meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch b/meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch new file mode 100644 index 0..478a680ca --- /dev/null +++ b/meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch @@ -0,0 +1,12 @@ +diff -ru openldap-2.4.46.original/build/mkversion openldap-2.4.46/build/mkversion +--- openldap-2.4.46.original/build/mkversion 2018-03-23 04:44:27.0 +1300 openldap-2.4.46/build/mkversion2018-10-09 14:34:51.152684040 +1300 +@@ -50,7 +50,7 @@ + fi + + APPLICATION=$1 +-WHOWHERE="$USER@`uname -n`:`pwd`" ++WHOWHERE="${SOURCE_DATE_EPOCH:-$USER@`uname -n`:`pwd`}" + + cat << __EOF__ + /* This work is part of OpenLDAP Software <http://www.openldap.org/>. diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.46.bb b/meta-oe/recipes-support/openldap/openldap_2.4.46.bb index 0c2550671..7fe9fb0d7 100644 --- a/meta-oe/recipes-support/openldap/openldap_2.4.46.bb +++ b/meta-oe/recipes-support/openldap/openldap_2.4.46.bb @@ -23,6 +23,7 @@ SRC_URI = "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${BP}.tgz \ file://slapd.service \ file://thread_stub.patch \ file://openldap-CVE-2015-3276.patch \ +file://remove-user-host-pwd-from-version.patch \ " SRC_URI[md5sum] = "829016c5a9f45c51adc50073ac6f9fd7" -- 2.17.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] task-base: conditional wifi and bluetooth tasks in PACKAGES
On 09/02/11 07:23, Koen Kooi wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08-02-11 18:29, Tom Rini wrote: On 02/07/2011 03:13 PM, Filip Zyzniewski wrote: This reduces amount of tasks for bootstrap-image from around 3400 to around 1600 for jlime. Signed-off-by: Filip Zyzniewskifilip.zyzniew...@gmail.com Can some of the other distro folks chime in here? Yeah, this patch is wrong, since task-base is supposed to drag in bt and wifi when it's available which includes usb, pci, serial, etc. I believe Filip's patch is correct, in removing them from the PACKAGES list when these features are not set. task-base already checks the MACHINE_FEATURES and DISTRO_FEATURES for bluetooth and wifi: RDEPENDS_task-base = \ ... ${@base_contains('COMBINED_FEATURES', 'bluetooth', 'task-base-bluetooth', '',d)} \ ${@base_contains('COMBINED_FEATURES', 'wifi', 'task-base-wifi', '',d)} \ ... The dependency on usb, pci, etc. is implemented in a python __anonymous function lower down in the file. --- recipes/tasks/task-base.bb |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/tasks/task-base.bb b/recipes/tasks/task-base.bb index 32d871d..c8d6df7 100644 --- a/recipes/tasks/task-base.bb +++ b/recipes/tasks/task-base.bb @@ -1,5 +1,5 @@ DESCRIPTION = Merge machine and distro options to create a basic machine task/package -PR = r92 +PR = r93 inherit task @@ -31,8 +31,8 @@ PACKAGES = ' \ ${@base_contains(MACHINE_FEATURES, redboot, task-base-redboot, ,d)} \ ${@base_contains(MACHINE_FEATURES, apex, task-base-apex, ,d)} \ \ -task-base-bluetooth \ -task-base-wifi \ +${@base_contains(MACHINE_FEATURES, bluetooth, task-base-bluetooth, ,d)} \ +${@base_contains(MACHINE_FEATURES, wifi, task-base-wifi, ,d)} \ \ ${@base_contains(DISTRO_FEATURES, cramfs, task-base-cramfs, , d)} \ ${@base_contains(DISTRO_FEATURES, ipsec, task-base-ipsec, , d)} \ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iD8DBQFNUYoQMkyGM64RGpERAuFAAJ9Y5jiml8NdBJpg5XmD7b8BlwjjFQCfXL8H xuKrNII4OscMLUu/S2dAejQ= =j2V5 -END PGP SIGNATURE- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel === This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. === ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] Does the OS make a difference?
On 03/09/10 05:19, J. L. wrote: I would be interested to know as well I am building on 9.10 and seem to get more errors than those building on 10.04 or 10.10 with 64 bit On Thu, Sep 2, 2010 at 8:46 AM, AJ ONealcoola...@gmail.com wrote: It would be worth it to upgrade from Ubuntu 8.10 to 10.04 if it really makes a difference... but it would take time and disrupt workflow and otherwise provide little advantage. As an aside, you should both be aware that neither 9.10 nor 8.10 are LTS (long-term support) Ubuntu releases. As such, Ubuntu are no longer back-porting security fixes. I recommend that you both upgrade to 10.04 LTS. Ubuntu will support 10.04 for 3 years (ie. until April 2013). Douglas. === This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. === ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] A new bitbake extension: .bbappend files
On 17/07/10 02:25, Richard Purdie wrote: Whilst our layers mechanism, is great it does have a drawback which has bugged me for a while. If you have a recipe like pointercal which has machine specific information in it and you have your new machine code in a layer, how do you add a pointercal file for your machine? Answer is you copy the whole pointercal recipe and files into your layer, then add the single file for your machine. For our overlay distro, I solved this problem as follows (in conf/distro/tait.conf): # Compute a FILESPATHBASE that will cause the FILESPATH search string (for file:// URIs) to # list tait.openembedded directories first, and org.openembedded directories second. # This allows us to put a single file, eg. lighttpd.conf, into our tait.openembedded distribution, # and it will be picked up by OE in preference to the deault lighttpd.conf. # The directory containing the recipe is not necessarily the same as the package name. # For instance, for lighttpd_1.2.3.bb, we want # FILE_DIRBASENAME = lighttpd # FILESPATHBASE = /home/roydsd/Work/DBS/tait.openembedded/branches/2.6.32/recipes/lighttpd: # /home/roydsd/Work/DBS/org.openembedded.dev/branches/2010-02-23/recipes/lighttpd # BBFILES is a space-separated list of /path/to/recipes/*/*.bb patterns. # Split each pattern at the recipes keyword to get /home/roydsd/Work/DBS/tait.oe/trunk/, # then tack on recipes/lighttpd, and # join the whole lot together with colons FILE_DIRBASENAME = $...@os.path.basename(os.path.dirname(bb.data.getVar('FILE', d)))} FILESPATHBASE = ${@':'.join([ pattern.split('recipes')[0] + 'recipes/${FILE_DIRBASENAME}' for pattern in '${BBFILES}'.split() ])} For example: tait.openembedded/trunk/recipes/ntp/ └── files/ └── ntp.conf BBFILES=/home/roydsd/Work/DBS/tait.openembedded/trunk/recipes/*/*.bb /home/roydsd/Work/DBS/org.openembedded.dev/branches/2010-02-23/recipes/*/*.bb FILESPATHBASE=/home/roydsd/Work/DBS/tait.openembedded/trunk/recipes/ntp:/home/roydsd/Work/DBS/org.openembedded.dev/branches/2010-02-23/recipes/ntp Does this achieve what you had in mind? Douglas. === This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. === ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] COMPATIBLE_MACHINE - how can use?
COMPATIBLE_MACHINE uses Python's re.match(), so COMPATIBLE_MACHINE is a regular expression that must match the start of the MACHINE variable. For instance, from recipes/linux/linux-davinci_2.6.30.bb: COMPATIBLE_MACHINE = (dm6446-evm|dm6467-evm|dm355-evm|davinci-sffsdr|dm355-leopard) The following line would have much the same effect: COMPATIBLE_MACHINE = (dm6446|dm6467|dm355|davinci) If you try to build this recipe for any non-matching MACHINE, it will refuse. Additionally, if MACHINE=dm6446-evm and you ask for a build of the kernel, only three recipes are compatible: * linux-davinci_2.6.28.bb * linux-davinci_2.6.30.bb * linux-davinci_git.bb The one that actually gets built will be chosen either alphanumerically, or by respecting the DEFAULT_PREFERENCE or PREFERRED_VERSION variables. Hope this helps, Douglas. Leo wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi at all, It's not long ago that I use OE and some things do not know very well.. :D For example, can someone explain me how (and where) can use COMPATIBLE_MACHINE? thanks a lot for all response! :D hachreak ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 4/4] Renamed prefix_native, bindir_native, etc using hyphens
Frans Meulenbroeks wrote: 2010/3/18 Douglas Royds douglas.ro...@tait.co.nz: - Avoids clashing with the machine override when MACHINE=native - bindir_cross similarly renamed for consistency [...] # Path prefixes base_prefix = ${STAGING_DIR_NATIVE} -prefix = ${STAGING_DIR_NATIVE}${prefix_native} -exec_prefix = ${STAGING_DIR_NATIVE}${prefix_native} +prefix = ${STAGING_DIR_NATIVE}${prefix-native} +exec_prefix = ${STAGING_DIR_NATIVE}${prefix-native} [...] Shouldn't we then for consistent naming also go to exex-prefix etc ? In the spirit of keeping a single patch for a single purpose, I have not modified anything that is not required to fix the problem at hand (um, except for bindir_cross). I have only modified the variable names that were modified in Richard's commit Start removal of layout_* variables and replace these with new mechanisms to allow nextgen SDK generation (from Poky): http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=bea72c2fecde175add169bb55df1922b048030c8 Any renaming of base_prefix, exec_prefix, base_bindir, target_datadir, c is a separate matter. Note that some of these names are imposed on us by Autotools convention. This is why these variables are in lower case in the first place: http://www.gnu.org/prep/standards/html_node/Directory-Variables.html#Directory-Variables Douglas. === This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. === ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 2/2] Renamed prefix_native, bindir_native, etc using camelCaps
Richard Purdie wrote: On Thu, 2010-03-18 at 04:37 +0100, Holger Hans Peter Freyther wrote: On Thursday 18 March 2010 02:31:11 Douglas Royds wrote: - Avoids clashing with the machine override when MACHINE=native - bindir_cross similarly renamed for consistency Thank you for that much work. I think we established the usage of '-' instead of '_' to avoid clashes with the override detection though. I just noticed this problem. It makes me very very nervous to introduce yet another variable naming convention, particularly one we don't use anywhere else :/. Might it be simpler to rename the native machine? Using native in the override namespace is asking for trouble :(. I have no objection to renaming the native machine, but I think we should also ensure that we never use _thing variable names (in lower case). We have a weak distinction between overrides and underscored variable names. By convention, BitBake variables are entirely in uppercase, and overrides in lower case, but this convention fails when the variable names are externally imposed (by the Autotools), exec_prefix being a case in point. I propose that we rename prefix_native and friends to avoid any risk of clashing with the overrides. Separately, if we wish, we can rename the native machine. I suggest buildhost. This would also help to clarify that the following two builds have quite different intentions, though the result is similar: bitbake thing-native MACHINE=native bitbake thing Douglas === This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. === ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] Patches and patchwork
I have submitted a patch, and after discussion want to correct it. Do I submit the corrected patch as a reply to the existing email thread, or start a new thread? If I submit the new patch as a reply to the existing thread, will patchwork pick up the corrected patch, or remain on the original one? Thanks, Douglas. === This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. === ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH 4/4] Renamed prefix_native, bindir_native, etc using hyphens
- Avoids clashing with the machine override when MACHINE=native - bindir_cross similarly renamed for consistency Signed-off-by: Douglas Royds douglas.ro...@taitradio.com --- classes/cross-canadian.bbclass |2 +- classes/native.bbclass |4 +- classes/packaged-staging.bbclass| 16 ++-- conf/bitbake.conf | 36 +- conf/distro/micro.conf |4 +- recipes/gcc/gcc-cross-sdk_4.1.2.bb |2 +- recipes/gcc/gcc-cross-sdk_4.2.2.bb |2 +- recipes/gcc/gcc-cross-sdk_4.2.3.bb |2 +- recipes/gcc/gcc-cross-sdk_4.2.4.bb |2 +- recipes/gcc/gcc-cross-sdk_4.3.1.bb |2 +- recipes/gcc/gcc-cross-sdk_4.3.2.bb |2 +- recipes/gcc/gcc-cross-sdk_4.3.3.bb |2 +- recipes/gcc/gcc-cross-sdk_4.3.4.bb |2 +- recipes/gcc/gcc-cross-sdk_4.4.1.bb |2 +- recipes/gcc/gcc-cross-sdk_4.4.2.bb |2 +- recipes/gcc/gcc-cross-sdk_4.4.3.bb |2 +- recipes/gcc/gcc-cross-sdk_csl-arm-2007q3.bb |2 +- recipes/gcc/gcc-cross-sdk_svn.bb|2 +- recipes/gcc/gcc-cross_4.1.0.bb |2 +- recipes/gcc/gcc-cross_4.1.1.bb |2 +- recipes/gcc/gcc-cross_4.1.2.bb |2 +- recipes/gcc/gcc-cross_4.2.1.bb |2 +- recipes/gcc/gcc-cross_4.2.2.bb |2 +- recipes/gcc/gcc-cross_4.2.3.bb |2 +- recipes/gcc/gcc-cross_4.2.4.bb |2 +- recipes/gcc/gcc-cross_4.3.1.bb |2 +- recipes/gcc/gcc-cross_4.3.2.bb |2 +- recipes/gcc/gcc-cross_4.3.3.bb |2 +- recipes/gcc/gcc-cross_4.3.4.bb |2 +- recipes/gcc/gcc-cross_4.4.1.bb |2 +- recipes/gcc/gcc-cross_4.4.2.bb |2 +- recipes/gcc/gcc-cross_4.4.3.bb |2 +- recipes/gcc/gcc-cross_csl-arm-2007q3.bb |2 +- recipes/gcc/gcc-cross_csl-arm-2008q1.bb |2 +- recipes/gcc/gcc-cross_csl-arm-2008q3.bb |2 +- recipes/gcc/gcc-cross_svn.bb|2 +- recipes/libtool/libtool-cross_1.5.10.bb |4 +- recipes/libtool/libtool-cross_1.5.22.bb |4 +- recipes/libtool/libtool-cross_1.5.24.bb |4 +- recipes/libtool/libtool-cross_2.2.4.bb |4 +- recipes/libtool/libtool-cross_2.2.6a.bb |4 +- recipes/libtool/libtool-cross_2.2.6b.bb |4 +- 42 files changed, 74 insertions(+), 74 deletions(-) diff --git a/classes/cross-canadian.bbclass b/classes/cross-canadian.bbclass index bd738ec..04a7130 100644 --- a/classes/cross-canadian.bbclass +++ b/classes/cross-canadian.bbclass @@ -17,7 +17,7 @@ INHIBIT_DEFAULT_DEPS = 1 STAGING_DIR_HOST = ${STAGING_DIR}/${HOST_SYS}-nativesdk STAGING_DIR_TARGET = ${STAGING_DIR}/${BASEPKG_TARGET_SYS} -PATH_append = :${TMPDIR}/cross/${HOST_ARCH}/${bindir_cross} +PATH_append = :${TMPDIR}/cross/${HOST_ARCH}/${bindir-cross} PKGDATA_DIR = ${TMPDIR}/pkgdata/${HOST_ARCH}-nativesdk${HOST_VENDOR}-${HOST_OS} HOST_ARCH = ${SDK_ARCH} diff --git a/classes/native.bbclass b/classes/native.bbclass index 6698b61..dc57211 100644 --- a/classes/native.bbclass +++ b/classes/native.bbclass @@ -55,8 +55,8 @@ export STRIP = ${HOST_PREFIX}strip # Path prefixes base_prefix = ${STAGING_DIR_NATIVE} -prefix = ${STAGING_DIR_NATIVE}${prefix_native} -exec_prefix = ${STAGING_DIR_NATIVE}${prefix_native} +prefix = ${STAGING_DIR_NATIVE}${prefix-native} +exec_prefix = ${STAGING_DIR_NATIVE}${prefix-native} # Since we actually install these into situ there is no staging prefix STAGING_DIR_HOST = diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass index 1ede25c..ae0aec4 100644 --- a/classes/packaged-staging.bbclass +++ b/classes/packaged-staging.bbclass @@ -149,11 +149,11 @@ staging_helper () { done echo dest root / $conffile fi - if [ ! -e ${TMPDIR}${libdir_native}/opkg/info/ ]; then - mkdir -p ${TMPDIR}${libdir_native}/opkg/info/ + if [ ! -e ${TMPDIR}${libdir-native}/opkg/info/ ]; then + mkdir -p ${TMPDIR}${libdir-native}/opkg/info/ fi - if [ ! -e ${TMPDIR}${libdir_native}/ipkg/ ]; then - ln -sf opkg/ ${TMPDIR}${libdir_native}/ipkg || true + if [ ! -e ${TMPDIR}${libdir-native}/ipkg/ ]; then + ln -sf opkg/ ${TMPDIR}${libdir-native}/ipkg || true fi } @@ -182,7 +182,7 @@ python packagestage_scenefunc () { # # Install the staging package somewhere temporarily so we can extract the stamp files # - bb.mkdirhier(bb.data.expand(${WORKDIR}/tstage/${libdir_native}/opkg/info/ , d)) + bb.mkdirhier(bb.data.expand(${WORKDIR}/tstage/${libdir-native}/opkg/info/ , d)) cmd = bb.data.expand(${PSTAGE_PKGMANAGER} -f ${PSTAGE_MACHCONFIG} -force-depends -o ${WORKDIR}/tstage
Re: [oe] Need help with No GNU_HASH in the elf binary
For some background reading, try this: http://lwn.net/Articles/192624/ The -Wl,-O1 linker option is set in bitbake.conf (see TARGET_LDFLAGS). Angstrom sets -Wl,--hash-style=gnu in angstrom-glibc.inc (see TARGET_LINK_HASH_STYLE). Hope this helps, Douglas. === This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. === ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] Boost library version
The short answer is that yes, that should work. It's certainly worth a crack. The long answer is definitely maybe. Building Boost is non-trivial. You will observe several patch files in boost_1.36.0.bb, and quite a lot of intelligence in boost-36.inc, that may or may not all work with 1.37. Good luck, Douglas. saleh usman wrote: I am bitbaking OSSIE image which requires boost library.Openembedded doesn't contain recipe of boost version 1.37 and I want to use that version during my build.Which code I need to edit of the existing recipes say of boost_1.36.0.bb for this.Will simply changing name of recipe to boost_1.37.0 work? Saleh _ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ === This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. === ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel