[oe] [meta-oe][PATCH] lssci: Add package
The lsscsi command lists information about SCSI devices in Linux Signed-off-by: Armin Kuster--- meta-oe/recipes-extended/lssci/lsscsi_0.28.bb | 12 1 file changed, 12 insertions(+) create mode 100644 meta-oe/recipes-extended/lssci/lsscsi_0.28.bb diff --git a/meta-oe/recipes-extended/lssci/lsscsi_0.28.bb b/meta-oe/recipes-extended/lssci/lsscsi_0.28.bb new file mode 100644 index 000..4b8cbaf --- /dev/null +++ b/meta-oe/recipes-extended/lssci/lsscsi_0.28.bb @@ -0,0 +1,12 @@ +SUMMARY = "The lsscsi command lists information about SCSI devices in Linux" +HOMEPAGE = "http://sg.danny.cz/scsi/lsscsi.html; +LICENSE = "GPLv2" +SECTION = "base" +LIC_FILES_CHKSUM="file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" + +SRC_URI = "http://sg.danny.cz/scsi/${BP}.tgz; + +SRC_URI[md5sum] = "4a39e3b09cd422e2cae3edbaf56b3176" +SRC_URI[sha256sum] = "025d009a1af42bc5b2fca664c44c9ecdfd754356e4a44f5c6aced2420afadd50" + +inherit autotools -- 1.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-qt5][PATCH] nativesdk-qtbase: use runtime linked dbus
On Tue, Feb 16, 2016 at 12:13 PM, Samuli Piippowrote: > On 16.02.2016 13:38, Otavio Salvador wrote: >> >> On Tue, Feb 16, 2016 at 7:13 AM, Samuli Piippo >> wrote: >>> >>> On 16.02.2016 00:34, Otavio Salvador wrote: On Sun, Feb 14, 2016 at 2:25 PM, Samuli Piippo wrote: > > > Remove direct dependency to nativesdk-dbus. Instead configure > qtbase to use runtime linked dbus library, if that is found. > > Signed-off-by: Samuli Piippo Why? This puts a dependency on the host operating system version. Am I missing something? >>> >>> Currently nativesdk-qtbase does not package libQt5DBus.so, so there >>> nothing >>> in the SDK that actual uses dbus, but it's still built as a dependency. >>> If "qt5: add Qml support to lupdate" patch is merged, then nativesdk-dbus >>> would be pulled into SDK as well, although I think it's still unlikely >>> that >>> anyone would need it. If there is really need for it, then you can always >>> add nativesdk-dbus to your toolchain. >> >> >> So why not remove libQt5Dbus.so at all, from the nativesdk? >> > > Point I'm trying make is, let's not depend on and build nativesdk-dbus if we > don't need it. > On nativesdk-qtbase, we want to enable dbus, because that gives us also Qt > dbus tools (which don't need libdbus). What will happen if the host version of the libdbus does not match the one used during the build? -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 0/4] Fido pull request
Wrong list, this should have been mailed to oe-core. Apologies, Joshua On Tue, 2016-02-16 at 14:25 +, Joshua Lock wrote: > Please consider the following fixes for inclusion in the Fido branch. > > - libpcre security fix not required in jethro or master because the > newer > version they carry isn't affected > - backport a fix for some memory leaks in rpmresolve > - backport a fix for kernel.bbclass which already exists in jethro & > master > - remove a stray tzdata file, this change isn't required for jethro > or master as > the file isn't present in those branches > > The following changes since commit > 4dea3e7b9a0041e7359981e68c561e7de8ad3ae5: > > dpkg: Security fix CVE-2015-0860 (2016-02-07 17:22:53 +) > > are available in the git repository at: > > git://git.openembedded.org/openembedded-core-contrib joshuagl/fido- > next > http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log > /?h=joshuagl/fido-next > > Armin Kuster (1): > libpcre: Security fixes and package update. > > Mariano Lopez (1): > rpmresolve.c: Fix unfreed pointers that keep DB opened > > Markus Lehtonen (1): > kernel.bbclass: do not mv/link sources when externalsrc enabled > > Martin Jansa (1): > tzdata: remove 2015d version > > meta/classes/kernel.bbclass| 10 > +++--- > meta/recipes-devtools/rpm/rpmresolve/rpmresolve.c | 10 > ++ > meta/recipes-extended/tzdata/tzdata_2015d.bb | 6 > -- > .../libpcre/{libpcre_8.36.bb => libpcre_8.38.bb} | 7 > +++ > 4 files changed, 16 insertions(+), 17 deletions(-) > delete mode 100644 meta/recipes-extended/tzdata/tzdata_2015d.bb > rename meta/recipes-support/libpcre/{libpcre_8.36.bb => > libpcre_8.38.bb} (91%) > > -- > 2.5.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 0/4] Fido pull request
Please consider the following fixes for inclusion in the Fido branch. - libpcre security fix not required in jethro or master because the newer version they carry isn't affected - backport a fix for some memory leaks in rpmresolve - backport a fix for kernel.bbclass which already exists in jethro & master - remove a stray tzdata file, this change isn't required for jethro or master as the file isn't present in those branches The following changes since commit 4dea3e7b9a0041e7359981e68c561e7de8ad3ae5: dpkg: Security fix CVE-2015-0860 (2016-02-07 17:22:53 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib joshuagl/fido-next http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=joshuagl/fido-next Armin Kuster (1): libpcre: Security fixes and package update. Mariano Lopez (1): rpmresolve.c: Fix unfreed pointers that keep DB opened Markus Lehtonen (1): kernel.bbclass: do not mv/link sources when externalsrc enabled Martin Jansa (1): tzdata: remove 2015d version meta/classes/kernel.bbclass| 10 +++--- meta/recipes-devtools/rpm/rpmresolve/rpmresolve.c | 10 ++ meta/recipes-extended/tzdata/tzdata_2015d.bb | 6 -- .../libpcre/{libpcre_8.36.bb => libpcre_8.38.bb} | 7 +++ 4 files changed, 16 insertions(+), 17 deletions(-) delete mode 100644 meta/recipes-extended/tzdata/tzdata_2015d.bb rename meta/recipes-support/libpcre/{libpcre_8.36.bb => libpcre_8.38.bb} (91%) -- 2.5.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-qt5][PATCH] nativesdk-qtbase: use runtime linked dbus
On 16.02.2016 13:38, Otavio Salvador wrote: On Tue, Feb 16, 2016 at 7:13 AM, Samuli Piippowrote: On 16.02.2016 00:34, Otavio Salvador wrote: On Sun, Feb 14, 2016 at 2:25 PM, Samuli Piippo wrote: Remove direct dependency to nativesdk-dbus. Instead configure qtbase to use runtime linked dbus library, if that is found. Signed-off-by: Samuli Piippo Why? This puts a dependency on the host operating system version. Am I missing something? Currently nativesdk-qtbase does not package libQt5DBus.so, so there nothing in the SDK that actual uses dbus, but it's still built as a dependency. If "qt5: add Qml support to lupdate" patch is merged, then nativesdk-dbus would be pulled into SDK as well, although I think it's still unlikely that anyone would need it. If there is really need for it, then you can always add nativesdk-dbus to your toolchain. So why not remove libQt5Dbus.so at all, from the nativesdk? Point I'm trying make is, let's not depend on and build nativesdk-dbus if we don't need it. On nativesdk-qtbase, we want to enable dbus, because that gives us also Qt dbus tools (which don't need libdbus). -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-webserver][PATCH 0/2] nginx: make mainline and stable version available
On Tue, Feb 16, 2016 at 9:40 AM, Pascal Bachwrote: > Nginx has two supported branches, mainline and stable. > Currently meta-webserver contains the mainline version (1.9.x) of nginx. > For embedded system it might however be more appropriate to use the stable > version (1.8.x) > which only receives security updates and bugfixes. Agreed; I also think 1.9 recipe ought to have default preference as -1 so users take the stable by default. -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-webserver][PATCH 1/2] nginx: split parts out of the recipe into nginx.inc
nginx has two maintained branches. - stable: is the long term maintained branch where only bugfixes occur - mainline: is the branch where new features get added This change is in preparation to support these two branches. --- meta-webserver/recipes-httpd/nginx/nginx.inc | 136 + meta-webserver/recipes-httpd/nginx/nginx_1.9.10.bb | 136 + 2 files changed, 137 insertions(+), 135 deletions(-) create mode 100644 meta-webserver/recipes-httpd/nginx/nginx.inc diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc new file mode 100644 index 000..a785e7b --- /dev/null +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc @@ -0,0 +1,136 @@ +SUMMARY = "HTTP and reverse proxy server" + +DESCRIPTION = "Nginx is a web server and a reverse proxy server for \ +HTTP, SMTP, POP3 and IMAP protocols, with a strong focus on high \ +concurrency, performance and low memory usage." + +HOMEPAGE = "http://nginx.org/; +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0bb58ed0dfd4f5dbece3b52aba79f023" +SECTION = "net" + +DEPENDS = "libpcre gzip openssl" + +SRC_URI = " \ + http://nginx.org/download/nginx-${PV}.tar.gz \ + file://nginx-cross.patch \ + file://nginx.conf \ + file://nginx.init \ + file://nginx-volatile.conf \ + file://nginx.service \ +" + +inherit update-rc.d useradd + +CFLAGS_append = " -fPIE -pie" +CXXFLAGS_append = " -fPIE -pie" + +NGINX_WWWDIR ?= "${localstatedir}/www/localhost" +NGINX_USER ?= "www" + +EXTRA_OECONF = "" + +do_configure () { + if [ "${SITEINFO_BITS}" = "64" ]; then + PTRSIZE=8 + else + PTRSIZE=4 + fi + + echo $CFLAGS + echo $LDFLAGS + + ./configure \ + --crossbuild=Linux:${TUNE_ARCH} \ + --with-endian=${@base_conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ + --with-int=4 \ + --with-long=${PTRSIZE} \ + --with-long-long=8 \ + --with-ptr-size=${PTRSIZE} \ + --with-sig-atomic-t=${PTRSIZE} \ + --with-size-t=${PTRSIZE} \ + --with-off-t=${PTRSIZE} \ + --with-time-t=${PTRSIZE} \ + --with-sys-nerr=132 \ + --conf-path=${sysconfdir}/nginx/nginx.conf \ + --http-log-path=${localstatedir}/log/nginx/access.log \ + --error-log-path=${localstatedir}/log/nginx/error.log \ + --pid-path=/run/nginx/nginx.pid \ + --prefix=${prefix} \ + --with-http_ssl_module \ + --with-http_gzip_static_module \ + ${EXTRA_OECONF} +} + +do_install () { + oe_runmake 'DESTDIR=${D}' install + rm -fr ${D}${localstatedir}/run ${D}/run + if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then + install -d ${D}${sysconfdir}/tmpfiles.d + echo "d /run/${BPN} - - - -" \ +> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf + fi + install -d ${D}${sysconfdir}/${BPN} + ln -snf ${localstatedir}/run/${BPN} ${D}${sysconfdir}/${BPN}/run + install -d ${D}${NGINX_WWWDIR} + mv ${D}/usr/html ${D}${NGINX_WWWDIR}/ + chown ${NGINX_USER}:www-data -R ${D}${NGINX_WWWDIR} + + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/nginx.init ${D}${sysconfdir}/init.d/nginx + sed -i 's,/usr/sbin/,${sbindir}/,g' ${D}${sysconfdir}/init.d/nginx + sed -i 's,/etc/,${sysconfdir}/,g' ${D}${sysconfdir}/init.d/nginx + + install -d ${D}${sysconfdir}/nginx + install -m 0644 ${WORKDIR}/nginx.conf ${D}${sysconfdir}/nginx/nginx.conf + sed -i 's,/var/,${localstatedir}/,g' ${D}${sysconfdir}/nginx/nginx.conf + install -d ${D}${sysconfdir}/nginx/sites-enabled + + install -d ${D}${sysconfdir}/default/volatiles + install -m 0644 ${WORKDIR}/nginx-volatile.conf ${D}${sysconfdir}/default/volatiles/99_nginx + sed -i 's,/var/,${localstatedir}/,g' ${D}${sysconfdir}/default/volatiles/99_nginx + +if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)};then +install -d ${D}${systemd_unitdir}/system +install -m 0644 ${WORKDIR}/nginx.service ${D}${systemd_unitdir}/system/ +sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \ +-e 's,@LOCALSTATEDIR@,${localstatedir},g' \ +-e 's,@BASEBINDIR@,${base_bindir},g' \ +${D}${systemd_unitdir}/system/nginx.service +fi +} + +pkg_postinst_${PN} () { + if [ -z "$D" ]; then + if type systemd-tmpfiles >/dev/null; then + systemd-tmpfiles --create + elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then + ${sysconfdir}/init.d/populate-volatile.sh update + fi + fi +} + +FILES_${PN} += "${localstatedir}/ \ +${systemd_unitdir}/system/nginx.service \ +" + +CONFFILES_${PN} =
[oe] [meta-webserver][PATCH 0/2] nginx: make mainline and stable version available
Nginx has two supported branches, mainline and stable. Currently meta-webserver contains the mainline version (1.9.x) of nginx. For embedded system it might however be more appropriate to use the stable version (1.8.x) which only receives security updates and bugfixes. This changeset restructures the nginx recipe to provide recipes for both 1.8 and 1.9 branches. Pascal Bach (2): nginx: split parts out of the recipe into nginx.inc nginx: add stable version 1.8.1 as alternative to the mainline version 1.9.x meta-webserver/recipes-httpd/nginx/nginx.inc | 136 + meta-webserver/recipes-httpd/nginx/nginx_1.8.1.bb | 4 + meta-webserver/recipes-httpd/nginx/nginx_1.9.10.bb | 136 + 3 files changed, 141 insertions(+), 135 deletions(-) create mode 100644 meta-webserver/recipes-httpd/nginx/nginx.inc create mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.8.1.bb -- 2.1.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-webserver][PATCH 2/2] nginx: add stable version 1.8.1 as alternative to the mainline version 1.9.x
The 1.8 branch is the current stable branch of nginx. This means the branch doesn't get new features, but is still supported with bugfixes. Depending on the use case it is more suitable to use on an embedded device than the 1.9 branch which adds new features with every release. --- meta-webserver/recipes-httpd/nginx/nginx_1.8.1.bb | 4 1 file changed, 4 insertions(+) create mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.8.1.bb diff --git a/meta-webserver/recipes-httpd/nginx/nginx_1.8.1.bb b/meta-webserver/recipes-httpd/nginx/nginx_1.8.1.bb new file mode 100644 index 000..ec3aef2 --- /dev/null +++ b/meta-webserver/recipes-httpd/nginx/nginx_1.8.1.bb @@ -0,0 +1,4 @@ +require nginx.inc + +SRC_URI[md5sum] = "2e91695074dbdfbf1bcec0ada9fda462" +SRC_URI[sha256sum] = "8f4b3c630966c044ec72715754334d1fdf741caa1d5795fb4646c27d09f797b7" -- 2.1.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-qt5][PATCH] nativesdk-qtbase: use runtime linked dbus
On Tue, Feb 16, 2016 at 7:13 AM, Samuli Piippowrote: > On 16.02.2016 00:34, Otavio Salvador wrote: >> >> On Sun, Feb 14, 2016 at 2:25 PM, Samuli Piippo >> wrote: >>> >>> Remove direct dependency to nativesdk-dbus. Instead configure >>> qtbase to use runtime linked dbus library, if that is found. >>> >>> Signed-off-by: Samuli Piippo >> >> >> Why? This puts a dependency on the host operating system version. >> >> Am I missing something? >> > > Currently nativesdk-qtbase does not package libQt5DBus.so, so there nothing > in the SDK that actual uses dbus, but it's still built as a dependency. > If "qt5: add Qml support to lupdate" patch is merged, then nativesdk-dbus > would be pulled into SDK as well, although I think it's still unlikely that > anyone would need it. If there is really need for it, then you can always > add nativesdk-dbus to your toolchain. So why not remove libQt5Dbus.so at all, from the nativesdk? -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-qt5][PATCH] nativesdk-qtbase: use runtime linked dbus
On 16.02.2016 00:34, Otavio Salvador wrote: On Sun, Feb 14, 2016 at 2:25 PM, Samuli Piippowrote: Remove direct dependency to nativesdk-dbus. Instead configure qtbase to use runtime linked dbus library, if that is found. Signed-off-by: Samuli Piippo Why? This puts a dependency on the host operating system version. Am I missing something? Currently nativesdk-qtbase does not package libQt5DBus.so, so there nothing in the SDK that actual uses dbus, but it's still built as a dependency. If "qt5: add Qml support to lupdate" patch is merged, then nativesdk-dbus would be pulled into SDK as well, although I think it's still unlikely that anyone would need it. If there is really need for it, then you can always add nativesdk-dbus to your toolchain. -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 3/4] libsdl2-ttf: update to 2.0.14
On Tue, Feb 16, 2016 at 12:55 AM, Khem Rajwrote: > On Mon, Feb 15, 2016 at 1:17 PM, Andreas Müller > wrote: >> Licence checksum was changed by change of copyright year. >> >> Signed-off-by: Andreas Müller >> --- >> .../{libsdl2-ttf_2.0.12.bb => libsdl2-ttf_2.0.14.bb} | 10 >> +++--- >> 1 file changed, 3 insertions(+), 7 deletions(-) >> rename meta-oe/recipes-support/libsdl-ttf/{libsdl2-ttf_2.0.12.bb => >> libsdl2-ttf_2.0.14.bb} (66%) >> >> diff --git a/meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.12.bb >> b/meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.14.bb >> similarity index 66% >> rename from meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.12.bb >> rename to meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.14.bb >> index 47ce115..af5a55c 100644 >> --- a/meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.12.bb >> +++ b/meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.14.bb >> @@ -2,20 +2,19 @@ SUMMARY = "Simple DirectMedia Layer truetype font library" >> SECTION = "libs" >> DEPENDS = "virtual/libsdl2 freetype" >> LICENSE = "Zlib" >> -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=cdd16c6436d6b8fcbdd22a54d68c6dd3" >> +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=cb33e7c4df9fbde389f149ad6bc93ce5" >> >> SRC_URI = " \ >> http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PV}.tar.gz \ >> file://use.pkg-config.for.freetype2.patch \ >> " >> +SRC_URI[md5sum] = "e53c05e1e7f1382c316afd6c763388b1" >> +SRC_URI[sha256sum] = >> "34db5e20bcf64e7071fe9ae25acaa7d72bdc4f11ab3ce59acc768ab62fe39276" >> >> S = "${WORKDIR}/SDL2_ttf-${PV}" >> -#EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config " >> >> inherit autotools >> >> -TARGET_CC_ARCH += "${LDFLAGS}" >> - > > why is this removed ? > It is not necessary anymore - builds fine without it Andreas -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel