Re: [oe] [meta-oe][master-next][PATCH v3 17/17] libeigen: rely on cmake.bbclass to put cmake package files in dev package
On Fri, May 25, 2018 at 10:45 PM, Trevor Woernerwrote: > Sounds good; I'll take a look. Thanks! > Oops, spoke too soon; looks like someone beat me to it :-) -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][master-next][PATCH v3 17/17] libeigen: rely on cmake.bbclass to put cmake package files in dev package
On Fri, May 25, 2018 at 3:58 PM, Andre McCurdywrote: > On Fri, May 25, 2018 at 8:22 AM, Trevor Woerner > wrote: > > As Anuj pointed out with patch 16/17 of this series (opencv: rely on > > cmake.bbclass...), so too is this patch wrong and shouldn't be applied. > > Sorry! > > > > Looking closer at this recipe (on an unrelated issue) do we really want > the > > include files being part of FILES_${PN}? > > No, we don't. It looks like it's been done that way as a workaround > for the libeigen build not creating anything which would normally go > in the main package. Setting: > > ALLOW_EMPTY_${PN} = "1" > > together with careful review of the packaging rules and probably > removing the RDEPENDS and RRECOMMENDS over-rides may be a better > solution. > > You should also carefully check that things work as expected when > libeigen is added to an SDK. That's a corner case which tests > dependencies between runtime and -dev packages which isn't tested > during a normal build (for what it's worth, creating an empty runtime > package by using ALLOW_EMPTY_${PN} = "1" has always been the easiest > solution whenever I've looked into this kind of issue in the past and > it "just works" for the SDK case). > Sounds good; I'll take a look. Thanks! -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] libeigen: fix splitting files into packages
Assign ${includedir} to FILES_${PN}-dev (instead of into FILES_${PN}), as the headers belong to the -dev package and it is done the same way in boost. Signed-off-by: Adam Trhon--- meta-oe/recipes-support/libeigen/libeigen_3.3.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-support/libeigen/libeigen_3.3.4.bb b/meta-oe/recipes-support/libeigen/libeigen_3.3.4.bb index bc3b32e38..31a42a9d6 100644 --- a/meta-oe/recipes-support/libeigen/libeigen_3.3.4.bb +++ b/meta-oe/recipes-support/libeigen/libeigen_3.3.4.bb @@ -12,8 +12,8 @@ S = "${WORKDIR}/eigen-eigen-5a0156e40feb" inherit cmake -FILES_${PN} = "${includedir} ${libdir}" -FILES_${PN}-dev = "${datadir}/eigen3/cmake ${datadir}/cmake/Modules ${datadir}/pkgconfig" +FILES_${PN} = "${libdir}" +FILES_${PN}-dev = "${includedir} ${datadir}/eigen3/cmake ${datadir}/cmake/Modules ${datadir}/pkgconfig" # ${PN} is empty so we need to tweak -dev and -dbg package dependencies RDEPENDS_${PN}-dev = "" -- 2.17.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][master-next][PATCH v3 17/17] libeigen: rely on cmake.bbclass to put cmake package files in dev package
On Fri, May 25, 2018 at 8:22 AM, Trevor Woernerwrote: > As Anuj pointed out with patch 16/17 of this series (opencv: rely on > cmake.bbclass...), so too is this patch wrong and shouldn't be applied. > Sorry! > > Looking closer at this recipe (on an unrelated issue) do we really want the > include files being part of FILES_${PN}? No, we don't. It looks like it's been done that way as a workaround for the libeigen build not creating anything which would normally go in the main package. Setting: ALLOW_EMPTY_${PN} = "1" together with careful review of the packaging rules and probably removing the RDEPENDS and RRECOMMENDS over-rides may be a better solution. You should also carefully check that things work as expected when libeigen is added to an SDK. That's a corner case which tests dependencies between runtime and -dev packages which isn't tested during a normal build (for what it's worth, creating an empty runtime package by using ALLOW_EMPTY_${PN} = "1" has always been the easiest solution whenever I've looked into this kind of issue in the past and it "just works" for the SDK case). -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-qt5] Do_install_append() with qmake
Sorry all, ignore this. Do_install_append works, from what I can only call a formatting issue in my recipe seems to have stopped the _append from running. Fixing some of the formatting in my _append function seems to have started things working. My next issue seems to be that my application is building in a debug configuration and the linker is producing a pretty large binary (~150MB). But I haven't exhausted myself on that issue yet. Thanks for taking the time to reply even though this is my own fault, Dylan On Fri, 25 May 2018 at 10:31 Dylan Bartlett < dylan.bartl...@metixmedical.co.uk> wrote: > Hello all, > > I hope you'll be able to help clear some things up for me. > > I have created a recipe to build and install a Qt Application I've been > developing, so far everything has been working great and the program gets > compiled, installed and packaged. > > However there is one additional install step I need to complete, which is > creating a symbolic link to my binary in /opt to /usr/bin/b2qt. I want to > do this so that the Boot2Qt appcontroller starts my application on boot. > > There are two ways I thought I could do this. > 1. Use do_install_append() in the recipe to create the symbolic link. > However qmake5.bbclass does not export the do_install function. Modifying > the .bbclass with EXPORT_FUNCTIONS do_install breaks everything so I think > that this is the wrong way to go about it. > > 2. Use target.extra in the qmake .pro file to add the extra commands. > This one I had a bit more success with, I added my commands to > target.extra and built the recipe. > In this case do_install appeared to run properly. I could see my symbolic > link in the image directory however the binary that was complied no longer > appears in the image directory. So I've fixed one thing and broke another. > > At this point I've reached the end of what I think I can try, I'm sure I'm > missing something simple since extra install steps are a common task. Can > someone tell me what the canonically correct way that I should be doing > this is? > > I've attached my recipe and a segment of my .pro if that helps. > > Best Regards, > Dylan Bartlett > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][master-next][PATCH v3 17/17] libeigen: rely on cmake.bbclass to put cmake package files in dev package
As Anuj pointed out with patch 16/17 of this series (opencv: rely on cmake.bbclass...), so too is this patch wrong and shouldn't be applied. Sorry! Looking closer at this recipe (on an unrelated issue) do we really want the include files being part of FILES_${PN}? -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][master-next][PATCH v3 16/17] opencv: rely on cmake.bbclass to put cmake package files in dev package
On Thu, May 24, 2018 at 11:19 PM, Anuj Mittalwrote: > On 05/24/2018 10:38 PM, Trevor Woerner wrote: > > The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and > > ${datadir}/cmake end up in the dev package, so recipes no longer need to > > provide custom packaging rules to handles these files. > > > > http://git.openembedded.org/openembedded-core/commit/?id= > d91dc483a96e9d03cbbd21b8a546f9069c93 > > > > Originally-conceived-by: Andre McCurdy > > Signed-off-by: Trevor Woerner > > --- > > meta-oe/recipes-support/opencv/opencv_3.3.bb | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/meta-oe/recipes-support/opencv/opencv_3.3.bb > b/meta-oe/recipes-support/opencv/opencv_3.3.bb > > index ca62de7c8f..1cadbdb533 100644 > > --- a/meta-oe/recipes-support/opencv/opencv_3.3.bb > > +++ b/meta-oe/recipes-support/opencv/opencv_3.3.bb > > @@ -167,7 +167,7 @@ PACKAGES_DYNAMIC += "^libopencv-.*" > > > > FILES_${PN} = "" > > FILES_${PN}-dbg += "${datadir}/OpenCV/java/.debug/* > ${datadir}/OpenCV/samples/bin/.debug/*" > > -FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig > ${datadir}/OpenCV/*.cmake" > > ${datadir}/OpenCV/*.cmake won't be handled by the bbclass and if you > remove this change, *.cmake files in OpenCV directory will go to > ${PN}-apps which is probably not the intention here. > Good catch, thank you! -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-qt5] Do_install_append() with qmake
Maybe IMAGE_POSTPROCESS_COMMAND might help? https://www.yoctoproject.org/docs/2.5/ref-manual/ref-manual.html#var-IMAGE_POSTPROCESS_COMMAND There's an example of using it in: https://github.com/resin-os/meta-resin/blob/master/meta-resin-common/recipes-core/images/resin-image.bb -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH] radvd: Fix missing yacc error.
* Following error apprear in do configure. Fix it by adding bison-native in DEPENDS. ../radvd-2.17/ylwrap: line 176: yacc: command not found Signed-off-by: Noor Ahsan--- meta-networking/recipes-daemons/radvd/radvd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-daemons/radvd/radvd.inc b/meta-networking/recipes-daemons/radvd/radvd.inc index bff693c..06d16a4 100644 --- a/meta-networking/recipes-daemons/radvd/radvd.inc +++ b/meta-networking/recipes-daemons/radvd/radvd.inc @@ -8,7 +8,7 @@ addresses and some other parameters. They also can \ choose a default router based on these advertisements." HOMEPAGE = "http://www.litech.org/radvd/; SECTION = "net" -DEPENDS = "flex-native libdaemon" +DEPENDS = "flex-native bison-native libdaemon " # License is BSD-Style (with advertising clause) but also has an additional 0th clause LICENSE = "radvd" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 1/1] radvd: Fix missing yacc error.
* Following error apprear in do configure. Fix it by adding bison-native in DEPENDS. ../radvd-2.17/ylwrap: line 176: yacc: command not found Signed-off-by: Noor Ahsan--- meta-networking/recipes-daemons/radvd/radvd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-daemons/radvd/radvd.inc b/meta-networking/recipes-daemons/radvd/radvd.inc index bff693c..06d16a4 100644 --- a/meta-networking/recipes-daemons/radvd/radvd.inc +++ b/meta-networking/recipes-daemons/radvd/radvd.inc @@ -8,7 +8,7 @@ addresses and some other parameters. They also can \ choose a default router based on these advertisements." HOMEPAGE = "http://www.litech.org/radvd/; SECTION = "net" -DEPENDS = "flex-native libdaemon" +DEPENDS = "flex-native bison-native libdaemon " # License is BSD-Style (with advertising clause) but also has an additional 0th clause LICENSE = "radvd" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-qt5] Do_install_append() with qmake
Hello all, I hope you'll be able to help clear some things up for me. I have created a recipe to build and install a Qt Application I've been developing, so far everything has been working great and the program gets compiled, installed and packaged. However there is one additional install step I need to complete, which is creating a symbolic link to my binary in /opt to /usr/bin/b2qt. I want to do this so that the Boot2Qt appcontroller starts my application on boot. There are two ways I thought I could do this. 1. Use do_install_append() in the recipe to create the symbolic link. However qmake5.bbclass does not export the do_install function. Modifying the .bbclass with EXPORT_FUNCTIONS do_install breaks everything so I think that this is the wrong way to go about it. 2. Use target.extra in the qmake .pro file to add the extra commands. This one I had a bit more success with, I added my commands to target.extra and built the recipe. In this case do_install appeared to run properly. I could see my symbolic link in the image directory however the binary that was complied no longer appears in the image directory. So I've fixed one thing and broke another. At this point I've reached the end of what I think I can try, I'm sure I'm missing something simple since extra install steps are a common task. Can someone tell me what the canonically correct way that I should be doing this is? I've attached my recipe and a segment of my .pro if that helps. Best Regards, Dylan Bartlett #Define where files should be installed. Create b2qt symlink to launch on boot. target.path = /opt/$${TARGET}/bin #target.extra = mkdir -p "$(INSTALL_ROOT)/usr/bin/" && ln -sfr /opt/$${TARGET}/bin/$${TARGET} "$(INSTALL_ROOT)/usr/bin/b2qt" INSTALLS += target# Recipe created by recipetool # This is the basis of a recipe and may need further editing in order to be fully functional. # (Feel free to remove these comments when editing.) # WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is # your responsibility to verify that the values are complete and correct. # # The following license files were not able to be identified and are # represented as "Unknown" below, you will need to check them yourself: # dependencies/QtAwesome/LICENSE.md # LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://LICENSE;md5=cfda683bec95082a12c32568ef09d144" SRC_URI = "git://g...@gitlab.com/redacted.git;protocol=ssh;branch=master-simulation-yoctomods" # Modify these as desired PV = "1.0+git${SRCPV}" SRCREV = "eda003822f7bf0868482097902e4c0eccc213803" S = "${WORKDIR}/git" D = "${WORKDIR}/images" inherit qmake5 FILES_${PN} += "/opt/metix-wg-ui/bin/metix-wg-ui \" #This doesn't work with qmake #do_install_append() { # ln -sfr /opt/$${TARGET}/bin/$${TARGET} "${D}/usr/bin/b2qt" #}-- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH v4] civetweb: Add new recipe with git-based version
Add recipe for CivetWeb: easy to use, powerful, C/C++ embeddable web server with optional CGI, SSL and Lua support, under MIT license. CivetWeb provides C and C++ libraries and a standalone server binary. Choose specific post-v1.10 git revision b8148afe8fa4 which has a fixed SSL support (depending on OpenSSL v1.0.2). Signed-off-by: Krzysztof Kozlowski--- Changes since v3: 1. Rebase on sumo branch. 2. Use Makefile generator for CMake (ninja does not build). Changes since v2: 1. Bump to post-v1.10 git revision. 2. Add ssl package config. 3. Drop cgi, cpp and debug from default package config. Changes since v1: 1. Use SRCREC as suggested by Khem Raj. 2. Drop nativesdk class. 3. Fix native build with patch. 4. Explicitly disable SSL (does not build at v1.10). 5. Disable ASAN (not applicable for native builds). --- ...ssing-librt-and-libm-during-native-compil.patch | 42 +++ .../recipes-connectivity/civetweb/civetweb_git.bb | 47 ++ 2 files changed, 89 insertions(+) create mode 100644 meta-networking/recipes-connectivity/civetweb/civetweb/0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch create mode 100644 meta-networking/recipes-connectivity/civetweb/civetweb_git.bb diff --git a/meta-networking/recipes-connectivity/civetweb/civetweb/0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch b/meta-networking/recipes-connectivity/civetweb/civetweb/0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch new file mode 100644 index ..401cf39ad8df --- /dev/null +++ b/meta-networking/recipes-connectivity/civetweb/civetweb/0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch @@ -0,0 +1,42 @@ +From cd93e2c538cecb3192fd24c0fbd6e834d0c47eec Mon Sep 17 00:00:00 2001 +From: Krzysztof Kozlowski +Date: Wed, 18 Apr 2018 14:11:52 +0200 +Subject: [PATCH] Unittest: Fix missing librt and libm during native compilation + +civetweb looks for librt and libm in weird places and for native build +this fails: + +| ../third_party/lib/libcheck.a(check.c.o): In function `tcase_create': +| build/tmp/work/x86_64-linux/civetweb-native/1.10-r0/build/third_party/src/check-unit-test-framework/src/check.c:145: undefined reference to `floor' +| build/tmp/work/x86_64-linux/civetweb-native/1.10-r0/build/third_party/src/check-unit-test-framework/src/check.c:148: undefined reference to `floor' + +These are needed dependencies so try regular system linkage in such +case. + +Signed-off-by: Krzysztof Kozlowski +--- + unittest/CMakeLists.txt | 4 + 1 file changed, 4 insertions(+) + +diff --git a/unittest/CMakeLists.txt b/unittest/CMakeLists.txt +index f34b2e0e4ce4..05d25702178c 100644 +--- a/unittest/CMakeLists.txt b/unittest/CMakeLists.txt +@@ -60,10 +60,14 @@ endif() + find_package(LibM) + if (LIBM_FOUND) + set(CHECK_LIBRARIES "${CHECK_LIBRARIES};LIBM::LIBM") ++else() ++ set(CHECK_LIBRARIES "${CHECK_LIBRARIES};-lm") + endif() + find_package(LibRt) + if (LIBRT_FOUND) + set(CHECK_LIBRARIES "${CHECK_LIBRARIES};LIBRT::LIBRT") ++else() ++ set(CHECK_LIBRARIES "${CHECK_LIBRARIES};-lrt") + endif() + + # Build the C unit tests +-- +2.7.4 + diff --git a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb new file mode 100644 index ..45d6ec8864b4 --- /dev/null +++ b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb @@ -0,0 +1,47 @@ +SUMMARY = "Civetweb embedded web server" +HOMEPAGE = "https://github.com/civetweb/civetweb; + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6f28fdcba0dda735eed62bac6a397562" + +SRCREV = "b8148afe8fa44c64f75e69655c4fdc9095565568" +PV = "1.10+git${SRCPV}" +SRC_URI = "git://github.com/civetweb/civetweb.git" +SRC_URI_append_class-native = " \ +file://0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch \ +" +S = "${WORKDIR}/git" + +# civetweb supports building with make or cmake (although cmake lacks few features) +inherit cmake + +# Disable Lua and Duktape because they do not compile from CMake (as of v1.8, v1.9 and v1.10). +# Disable ASAN as it is included only in Debug build. +EXTRA_OECMAKE = " \ +-DBUILD_SHARED_LIBS=ON \ +-DCIVETWEB_ENABLE_DUKTAPE=OFF \ +-DCIVETWEB_ENABLE_LUA=OFF \ +-DCIVETWEB_ENABLE_ASAN=OFF \ +" +EXTRA_OECMAKE_class-native = " \ +-DBUILD_SHARED_LIBS=ON \ +-DCIVETWEB_ENABLE_DUKTAPE=OFF \ +-DCIVETWEB_ENABLE_LUA=OFF \ +-DCIVETWEB_ENABLE_ASAN=OFF \ +" + +# Building with ninja fails on missing third_party/lib/libcheck.a (which +# should come from external CMake project) +OECMAKE_GENERATOR = "Unix Makefiles" + +PACKAGECONFIG ??= "caching ipv6 server ssl websockets" +PACKAGECONFIG[caching] = "-DCIVETWEB_DISABLE_CACHING=OFF,-DCIVETWEB_DISABLE_CACHING=ON," +PACKAGECONFIG[cgi] = "-DCIVETWEB_DISABLE_CGI=OFF,-DCIVETWEB_DISABLE_CGI=ON," +PACKAGECONFIG[cpp] =
[oe] [meta-networking][PATCH 12/12] rdist: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao--- meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb b/meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb index cea1f08..0c97960 100644 --- a/meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb +++ b/meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb @@ -30,6 +30,9 @@ SRC_URI += "file://rdist-6.1.5-linux.patch \ file://rdist-6.1.5-makefile-add-ldflags.patch \ " +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/rdist/files/rdist/; +UPSTREAM_CHECK_REGEX = "/rdist/(?P\d+(\.\d+)+)" + DEPENDS = "bison-native" inherit autotools-brokensep -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 11/12] vlan: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao--- meta-networking/recipes-connectivity/vlan/vlan_1.9.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb index bd55efc..6258933 100644 --- a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb +++ b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb @@ -12,6 +12,9 @@ SRC_URI = "http://${BPN}.sourcearchive.com/downloads/${PV}-3ubuntu9/${BPN}_${PV} SRC_URI[md5sum] = "5f0c6060b33956fb16e11a15467dd394" SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb4868842b4cca" +UPSTREAM_CHECK_URI = "http://vlan.sourcearchive.com/; +UPSTREAM_CHECK_REGEX = "/(?P\d+(\.\d+)+)/" + S = "${WORKDIR}/${BPN}" EXTRA_OEMAKE = "-e MAKEFLAGS=" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 09/12] vblade: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao--- meta-networking/recipes-daemons/vblade/vblade_22.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-daemons/vblade/vblade_22.bb b/meta-networking/recipes-daemons/vblade/vblade_22.bb index d7b1dfa..a51a8c3 100644 --- a/meta-networking/recipes-daemons/vblade/vblade_22.bb +++ b/meta-networking/recipes-daemons/vblade/vblade_22.bb @@ -16,6 +16,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/aoetools/${BP}.tar.gz \ SRC_URI[md5sum] = "510d98ba0f231284a5fbe2da11cb2d6e" SRC_URI[sha256sum] = "a990378f273f10eb431e42954a871aed52714035bbab28c54cef600c458356bb" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/aoetools/files/vblade/; + inherit autotools-brokensep update-rc.d systemd do_install() { -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 10/12] autofs: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao--- meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb b/meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb index 68c64fd..e279995 100644 --- a/meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb +++ b/meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb @@ -31,6 +31,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.gz \ SRC_URI[md5sum] = "28cf88f99eff553a8500659ba5d45a76" SRC_URI[sha256sum] = "0d57e4138c2ec8058ca92164d035546f68ce4af93acb893369993d67c7056a10" +UPSTREAM_CHECK_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/" + INITSCRIPT_NAME = "autofs" INITSCRIPT_PARAMS = "defaults" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 08/12] vsftpd: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao--- meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb index 7a20356..80b0117 100644 --- a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb +++ b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb @@ -24,6 +24,9 @@ SRC_URI = "https://security.appspot.com/downloads/vsftpd-${PV}.tar.gz \ file://0001-sysdeputil.c-Fix-with-musl-which-does-not-have-utmpx.patch \ " +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/v/vsftpd/" +UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)\.orig\.tar" + LIC_FILES_CHKSUM = "file://COPYING;md5=a6067ad950b28336613aed9dd47b1271 \ file://COPYRIGHT;md5=04251b2eb0f298dae376d92454f6f72e \ file://LICENSE;md5=654df2042d44b8cac8a5654fc5be63eb" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 06/12] ebtables: add RECIPE_UPSTREAM_VERSION
Signed-off-by: Yi Zhao--- meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb | 9 + 1 file changed, 9 insertions(+) diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb index b9dce69..f05bd61 100644 --- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb +++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb @@ -36,6 +36,15 @@ SRC_URI_append_libc-musl = " file://0010-Adjust-header-include-sequence.patch" SRC_URI[md5sum] = "506742a3d44b9925955425a659c1a8d0" SRC_URI[sha256sum] = "dc6f7b484f207dc712bfca81645f45120cb6aee3380e77a1771e9c34a9a4455d" +# It is using '-' but not '.' as delimiter for the version in the releases page, +# which causes the version comparison unmatched. +#UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/ebtables/files/ebtables/; +#UPSTREAM_CHECK_REGEX = "ebtables-(?P\d+(\-\d+)+)" + +RECIPE_UPSTREAM_VERSION = "2.0.10-4" +RECIPE_UPSTREAM_DATE = "Dec 15, 2011" +CHECK_DATE = "May 25, 2018" + S = "${WORKDIR}/ebtables-v${PV}" inherit update-rc.d systemd -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 05/12] netkit-telnet: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao--- meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb b/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb index 807b566..28ef36b 100644 --- a/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb +++ b/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb @@ -13,6 +13,9 @@ SRC_URI = "ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${BP}.tar.gz \ file://0001-telnet-telnetd-Fix-print-format-strings.patch \ " +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/n/netkit-telnet/" +UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)\.orig\.tar" + EXTRA_OEMAKE = "INSTALLROOT=${D} SBINDIR=${sbindir} DAEMONMODE=755 \ MANMODE=644 MANDIR=${mandir}" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 07/12] dlm: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao--- meta-networking/recipes-extended/dlm/dlm_4.0.2.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-networking/recipes-extended/dlm/dlm_4.0.2.bb b/meta-networking/recipes-extended/dlm/dlm_4.0.2.bb index 31e411e..da7f98a 100644 --- a/meta-networking/recipes-extended/dlm/dlm_4.0.2.bb +++ b/meta-networking/recipes-extended/dlm/dlm_4.0.2.bb @@ -12,6 +12,9 @@ SRC_URI = "https://git.fedorahosted.org/cgit/dlm.git/snapshot/${BP}.tar.xz \ SRC_URI[md5sum] = "efc2ee6093aa6aa0a88aaad83e998a3f" SRC_URI[sha256sum] = "b89bc557aaffbab0ac005398025f247718a5589cff6574d902eaffe2b20e683e" +UPSTREAM_CHECK_URI = "https://pagure.io/dlm/releases; +UPSTREAM_CHECK_REGEX = "dlm-(?P\d+(\.\d+)+)" + LICENSE = "LGPLv2+ & GPLv2 & GPLv2+" LIC_FILES_CHKSUM = "file://README.license;md5=8f0bbcdd678df1bce9863492b6c8832d" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 02/12] geoip-perl: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao--- meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb index a8c8bcf..0a89be5 100644 --- a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb +++ b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb @@ -18,6 +18,9 @@ SRC_URI = "http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downlo SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815" SRC_URI[sha256sum] = "86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6" +UPSTREAM_CHECK_URI = "https://github.com/maxmind/geoip-api-perl/tags; +UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)" + S = "${WORKDIR}/geoip-api-perl-${PV}" DEPENDS += "geoip" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 04/12] net-snmp: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao--- meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb index faf73a5..6832b07 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb @@ -37,6 +37,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \ SRC_URI[md5sum] = "9f682bd70c717efdd9f15b686d07baee" SRC_URI[sha256sum] = "e8dfc79b6539b71a6ff335746ce63d2da2239062ad41872fff4354cafed07a3e" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/net-snmp/files/net-snmp/; +UPSTREAM_CHECK_REGEX = "/net-snmp/(?P\d+(\.\d+)+)/" + inherit autotools-brokensep update-rc.d siteinfo systemd pkgconfig perlnative EXTRA_OEMAKE = "INSTALL_PREFIX=${D} OTHERLDFLAGS='${LDFLAGS}' HOST_CPPFLAGS='${BUILD_CPPFLAGS}'" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 01/12] ntop: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao--- meta-networking/recipes-support/ntop/ntop_5.0.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-support/ntop/ntop_5.0.1.bb b/meta-networking/recipes-support/ntop/ntop_5.0.1.bb index 298fbec..4e0dd1e 100644 --- a/meta-networking/recipes-support/ntop/ntop_5.0.1.bb +++ b/meta-networking/recipes-support/ntop/ntop_5.0.1.bb @@ -21,6 +21,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/ntop/ntop-${PV}.tar.gz \ SRC_URI[md5sum] = "01710b6925a8a5ffe1a41b8b512ebd69" SRC_URI[sha256sum] = "7e8e84cb14d2173beaca4d4cb991a14d84a4bef84ec37b2276bc363f45c52ef8" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/ntop/files/ntop/Stable; + inherit autotools-brokensep useradd pythonnative pkgconfig systemd DEPENDS = "geoip rrdtool python zlib libpcap gdbm" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 03/12] ipvsadm: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao--- meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb index b35a9f4..2ac2b48 100644 --- a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb +++ b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb @@ -26,6 +26,8 @@ SRC_URI = "http://www.linuxvirtualserver.org/software/kernel-2.6/${BP}.tar.gz \ SRC_URI[md5sum] = "eac3ba3f62cd4dea2da353aeddd353a8" SRC_URI[sha256sum] = "6d6c46fecb1c532a892616b4445c73b71730e8790d5630f60269fd9cbee0eb2d" +UPSTREAM_CHECK_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/ipvsadm" + do_compile() { oe_runmake \ CC="${CC} -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3 -L${STAGING_LIBDIR}" \ -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 00/12] add UPSTREAM_CHECK_URI for recipes
Some recipes can not get upstream version with bitbake foo -c checkpkg. Add UPSTREAM_CHECK_URI for these. Yi Zhao (12): ntop: add UPSTREAM_CHECK_URI geoip-perl: add UPSTREAM_CHECK_URI ipvsadm: add UPSTREAM_CHECK_URI net-snmp: add UPSTREAM_CHECK_URI netkit-telnet: add UPSTREAM_CHECK_URI ebtables: add RECIPE_UPSTREAM_VERSION dlm: add UPSTREAM_CHECK_URI vsftpd: add UPSTREAM_CHECK_URI vblade: add UPSTREAM_CHECK_URI autofs: add UPSTREAM_CHECK_URI vlan: add UPSTREAM_CHECK_URI rdist: add UPSTREAM_CHECK_URI meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb| 3 +++ meta-networking/recipes-connectivity/vlan/vlan_1.9.bb| 3 +++ meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb | 2 ++ meta-networking/recipes-daemons/vblade/vblade_22.bb | 2 ++ meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb | 3 +++ meta-networking/recipes-extended/dlm/dlm_4.0.2.bb| 3 +++ meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb | 9 + .../recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb | 3 +++ meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 3 +++ meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | 3 +++ meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb | 2 ++ meta-networking/recipes-support/ntop/ntop_5.0.1.bb | 2 ++ 12 files changed, 38 insertions(+) -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATC v3 1/2] kernel_wireless_regdb: Add class for embedding regulatory data into the kernel
Small embedded systems might: 1. Want to get rid of daemons as much as possible (therefore be built without CRDA), 2. Not receive user-space incremental updates but an entire system upgrade (with kernel). Add class kernel_wireless_regdb which allows in such cases to embed the wireless regulatory database directly in the Linux kernel during build process. Signed-off-by: Krzysztof Kozlowski--- Changes since v2: 1. Rebase on sumo. 2. Fix task order - run do_kernel_add_regdb task after do_configure. Changes since v1: 1. Remove debugging echo. --- meta-networking/classes/kernel_wireless_regdb.bbclass | 11 +++ .../wireless-regdb/wireless-regdb_2016.06.10.bb | 8 2 files changed, 19 insertions(+) create mode 100644 meta-networking/classes/kernel_wireless_regdb.bbclass diff --git a/meta-networking/classes/kernel_wireless_regdb.bbclass b/meta-networking/classes/kernel_wireless_regdb.bbclass new file mode 100644 index ..a1eb4c532667 --- /dev/null +++ b/meta-networking/classes/kernel_wireless_regdb.bbclass @@ -0,0 +1,11 @@ +# Copies the regulatory plaintext database to kernel sources before compiling. +# Linux kernel must be compiled with CONFIG_CFG80211_INTERNAL_REGDB to use it. + +DEPENDS += "wireless-regdb-native" + +SRCTREECOVEREDTASKS += "do_kernel_add_regdb" +do_kernel_add_regdb() { +cp ${STAGING_LIBDIR_NATIVE}/crda/db.txt ${S}/net/wireless/db.txt +} +do_kernel_add_regdb[dirs] = "${S}" +addtask kernel_add_regdb before do_build after do_configure diff --git a/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2016.06.10.bb b/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2016.06.10.bb index 64e9401e7a3c..14bf272f4050 100644 --- a/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2016.06.10.bb +++ b/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2016.06.10.bb @@ -17,4 +17,12 @@ do_install() { install -m 0644 sforshee.key.pub.pem ${D}${sysconfdir}/wireless-regdb/pubkeys/sforshee.key.pub.pem } +# Native users might want to use source db.txt +do_install_append_class-native() { +install -d -m 0755 ${D}${libdir}/crda +install -m 0644 db.txt ${D}${libdir}/crda/db.txt +} + RSUGGESTS_${PN} = "crda" + +BBCLASSEXTEND = "native" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATC v3 2/2] wireless-regdb: Bump version to latest upstream 2018.05.09
Bump the wireless-regdb recipe to use newest wireless regulatory database. Signed-off-by: Krzysztof Kozlowski--- Changes since v2: 1. Bump from 2017.12.23 to 2018.05.09. Changes since v1: 1. None. --- .../{wireless-regdb_2016.06.10.bb => wireless-regdb_2018.05.09.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-networking/recipes-connectivity/wireless-regdb/{wireless-regdb_2016.06.10.bb => wireless-regdb_2018.05.09.bb} (85%) diff --git a/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2016.06.10.bb b/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.09.bb similarity index 85% rename from meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2016.06.10.bb rename to meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.09.bb index 14bf272f4050..1c7d2bd1ae48 100644 --- a/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2016.06.10.bb +++ b/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.09.bb @@ -5,8 +5,8 @@ LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c" SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz; -SRC_URI[md5sum] = "d282cce92b6e692e8673e2bd97adf33b" -SRC_URI[sha256sum] = "cfedf1c3521b3c8f32602f25ed796e96e687c3441a00e7c050fedf7fd4f1b8b7" +SRC_URI[md5sum] = "4bada6171bf89a2926bddcaebde448b5" +SRC_URI[sha256sum] = "ed5706eab62a0985ecfaf1a6055fd402882d4c7ffee0b473f39291142aba6435" inherit bin_package -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-networking][rocko][PATCH v3] civetweb: Add new recipe with git-based version
On Thu, May 24, 2018 at 4:24 PM, akuster808wrote: > > > On 05/24/2018 02:03 AM, Krzysztof Kozlowski wrote: >> Add recipe for CivetWeb: easy to use, powerful, C/C++ embeddable web >> server with optional CGI, SSL and Lua support, under MIT license. >> >> CivetWeb provides C and C++ libraries and a standalone server binary. >> >> Choose specific post-v1.10 git revision b8148afe8fa4 which has a fixed >> SSL support (depending on OpenSSL v1.0.2). >> >> Signed-off-by: Krzysztof Kozlowski > > Adding new packages to a stable branch is not allowed. Also I don't see > it in master. Thanks, I'll rebase and resend. Best regards, Krzysztof -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel