Re: [oe] [meta-oe][PATCH] dracut: upgrade from 038 to 043

2015-07-20 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kai Kang schreef op 17-07-15 om 09:50:
 Upgrade dracut from 038 to 043. Update SRC_URI by replacing git with tar 
 ball.

Why? That makes it really hard to pull in post-release fixes :(


 And update bb file name at same time.
 
 Signed-off-by: Kai Kang kai.k...@windriver.com --- 
 .../recipes-devtools/dracut/dracut_043.bb  | 53
 + .../recipes-devtools/dracut/dracut_git.bb
 | 55 -- 2 files changed, 53 insertions(+), 55
 deletions(-) create mode 100644
 meta-initramfs/recipes-devtools/dracut/dracut_043.bb delete mode 100644
 meta-initramfs/recipes-devtools/dracut/dracut_git.bb
 
 diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_043.bb
 b/meta-initramfs/recipes-devtools/dracut/dracut_043.bb new file mode
 100644 index 000..22c6bae --- /dev/null +++
 b/meta-initramfs/recipes-devtools/dracut/dracut_043.bb @@ -0,0 +1,53 @@ 
 +SUMMARY = Initramfs generator using udev +DESCRIPTION = Dracut is an
 event driven initramfs infrastructure. dracut (the tool) is used to
 create an initramfs image by copying tools and files from an installed
 system and combining it with the dracut framework, usually found in
 /usr/lib/dracut/modules.d. + +LICENSE = GPLv2 +LIC_FILES_CHKSUM =
 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 + +PE = 1 + 
 +SRC_URI =
 ${KERNELORG_MIRROR}/linux/utils/boot/dracut/dracut-043.tar.xz + 
 +SRC_URI[md5sum] = 85de75ddf00962e7bb0ae387f05794e5 +SRC_URI[sha256sum]
 = 1484b558ed20330125aa04dcccab84da15c5689e19068285aa011f7177889cd1 + 
 +inherit distro_features_check +REQUIRED_DISTRO_FEATURES = systemd + 
 +EXTRA_OECONF = --prefix=${prefix} \ +--libdir=${libdir}
 \ +--datadir=${datadir} \ +
 --sysconfdir=${sysconfdir} \ +--sbindir=${sbindir} \ +
 --disable-documentation \ +--bindir=${bindir} \ +
 --includedir=${includedir} \ +
 --localstatedir=${localstatedir} \ +
 --systemdsystemunitdir=${systemd_unitdir}/system + +do_configure() { +
 ./configure ${EXTRA_OECONF} +} + +do_install() { +oe_runmake install
 DESTDIR=${D} +} + +PACKAGES =+ ${PN}-bash-completion + 
 +FILES_${PN}-bash-completion = ${datadir}/bash-completion + 
 +FILES_${PN} +=  ${libdir}/kernel \ +${systemd_unitdir}
 \ ++CONFFILES_${PN} += ${sysconfdir}/dracut.conf + 
 +RDEPENDS_${PN} = systemd findutils cpio util-linux-blkid
 util-linux-getopt bash ldd +RDEPENDS_${PN}-bash-completion =
 bash-completion + +# This could be optimized a bit, but let's avoid
 non-booting systems :) +RRECOMMENDS_${PN} =  \ +
 kernel-modules \ + busybox \ +
 coreutils \ + diff --git
 a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
 b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb deleted file mode
 100644 index 77c137c..000 ---
 a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb +++ /dev/null @@
 -1,55 +0,0 @@ -SUMMARY = Initramfs generator using udev -DESCRIPTION =
 Dracut is an event driven initramfs infrastructure. dracut (the tool) is
 used to create an initramfs image by copying tools and files from an
 installed system and combining it with the dracut framework, usually
 found in /usr/lib/dracut/modules.d. - -LICENSE = GPLv2 
 -LIC_FILES_CHKSUM =
 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 - -PE = 1 -PV =
 038 - -# v038 tag -SRCREV = 267a109a81715c8957f14659593deb7b6255d40e 
 -SRC_URI = git://git.kernel.org/pub/scm/boot/dracut/dracut.git - -S =
 ${WORKDIR}/git - -inherit distro_features_check 
 -REQUIRED_DISTRO_FEATURES = systemd - -EXTRA_OECONF =
 --prefix=${prefix} \ ---libdir=${libdir} \ -
 --datadir=${datadir} \ ---sysconfdir=${sysconfdir} \ -
 --sbindir=${sbindir} \ ---disable-documentation \ -
 --bindir=${bindir} \ ---includedir=${includedir} \ -
 --localstatedir=${localstatedir} \ -
 --systemdsystemunitdir=${systemd_unitdir}/system - -do_configure() { -
 ./configure ${EXTRA_OECONF} -} - -do_install() { -oe_runmake install
 DESTDIR=${D} -} - -PACKAGES =+ ${PN}-bash-completion - 
 -FILES_${PN}-bash-completion = ${datadir}/bash-completion - 
 -FILES_${PN} +=  ${libdir}/kernel \ -${systemd_unitdir}
 \ --CONFFILES_${PN} += ${sysconfdir}/dracut.conf - 
 -RDEPENDS_${PN} = systemd findutils cpio util-linux-blkid
 util-linux-getopt bash ldd -RDEPENDS_${PN}-bash-completion =
 bash-completion - -# This could be optimized a bit, but let's avoid
 non-booting systems :) -RRECOMMENDS_${PN} =  \ -
 kernel-modules \ - busybox \ -
 coreutils \ -
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFVrJl6MkyGM64RGpERAjOSAJ0eXwXMBI1/z6Gy3xLv/iGi5oMZXgCdGeGG
VmSTSLZO3ncjQ0jfrdIFa98=
=hnRL
-END PGP SIGNATURE-

-- 
___
Openembedded-devel mailing list

[oe] [meta-oe][PATCH] imagemagick: update patchset from 4 to 9

2015-07-20 Thread Kimmo Surakka
The ImageMagick-6.9.1-4.tar.xz is gone on the download server, there is
ImageMagick-6.9.1-9.tar.xz now.

Signed-off-by: Kimmo Surakka kimmo.sura...@vincit.fi
---
 meta-oe/recipes-support/imagemagick/imagemagick_6.9.1.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_6.9.1.bb
b/meta-oe/recipes-support/imagemagick/imagemagick_6.9.1.bb
index 6ee3724..e7c5374 100644
--- a/meta-oe/recipes-support/imagemagick/imagemagick_6.9.1.bb
+++ b/meta-oe/recipes-support/imagemagick/imagemagick_6.9.1.bb
@@ -5,11 +5,11 @@ LIC_FILES_CHKSUM =
file://LICENSE;md5=0887b670be7ef0c3cb37092b64d57514
 # FIXME: There are many more checked libraries. All should be added
or explicitly disabled to get consistent results.
 DEPENDS = lcms bzip2 jpeg libpng librsvg tiff zlib virtual/fftw freetype

-PATCHSET = 4
+PATCHSET = 9
 SRC_URI = 
http://www.imagemagick.org/download/releases/ImageMagick-${PV}-${PATCHSET}.tar.xz
\
 
-SRC_URI[md5sum] = b5929717d848a386f2674aeb31257c42
-SRC_URI[sha256sum] =
74973478058069ce44040ff76b61df713d70adcadfd207836cc0622cadf1e4bf
+SRC_URI[md5sum] = 5a3a60d1dae65ee7b1cc88498e3a0008
+SRC_URI[sha256sum] =
83cd785caeb26a171e185b5deba2900c5b73e79c97364caa4c879d26c9f4a91b

 S = ${WORKDIR}/ImageMagick-${PV}-${PATCHSET}

--
1.8.3.1
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build

2015-07-20 Thread Richard Leitner
Hi,

On 07/07/2015 03:57 PM, Otavio Salvador wrote:
 On Wed, Jun 3, 2015 at 3:58 AM, Richard Leitner
 richard.leit...@skidata.com wrote:
 The icedtea-jdk-nio-use-host-cc.patch disabled the build of xawt.
 Therefore all awt based java application which were run on X11 failed
 starting the GUI with an java.awt.HeadlessException.

 This patch enables xawt again by adapting
 icedtea-jdk-nio-use-host-cc.patch.

 Signed-off-by: Richard Leitner richard.leit...@skidata.com
 ---
 This patch was only tested with yocto-1.6.3 (daisy) on an armv7a
 cortexa9 with vfpv3d16. Please test it on further platforms!

 This is my first patch to this mailinglist so hopefully I got everything
 right. If not please give me some feedback on what to improve for the
 next one ;-)
 ---
 
 Sorry for the long time to get to this patch. I would like to ask if
 you could run a test in master so we avoid surprises. If you confirm
 it works I am fine in commiting it.
 

Thank you for your feedback. I will test that patch today with the
current master branches of meta-java, poky and meta-openembedded. I'll
get back to you as soon as I have any results.

best regards,
Richard L
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build

2015-07-20 Thread Richard Leitner
Hello,

On 07/07/2015 03:57 PM, Otavio Salvador wrote:
 On Wed, Jun 3, 2015 at 3:58 AM, Richard Leitner
 richard.leit...@skidata.com wrote:
 The icedtea-jdk-nio-use-host-cc.patch disabled the build of xawt.
 Therefore all awt based java application which were run on X11 failed
 starting the GUI with an java.awt.HeadlessException.

 This patch enables xawt again by adapting
 icedtea-jdk-nio-use-host-cc.patch.

 Signed-off-by: Richard Leitner richard.leit...@skidata.com
 ---
 This patch was only tested with yocto-1.6.3 (daisy) on an armv7a
 cortexa9 with vfpv3d16. Please test it on further platforms!

 This is my first patch to this mailinglist so hopefully I got everything
 right. If not please give me some feedback on what to improve for the
 next one ;-)
 ---
 
 Sorry for the long time to get to this patch. I would like to ask if
 you could run a test in master so we avoid surprises. If you confirm
 it works I am fine in commiting it.
 

I successfully compiled and tested openjdk with the patch on an armv7a
cortexa9 cpu with vfpv3d16 using following layers:

poky/meta{,-yocto}
@ master (0f8d89ce66cfffccc9911d6c61470a585173b79d)

meta-java
@ master (4aea395deed99b2725b56d4a86fb4712fcf504d7)
+ my patch

meta-openembedded/meta-oe
@ master (c12b9596afd236116b25ce26dbe0d793de9dc7ce)

best regards,
Richard L
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] OE Changelog since 2015-07-12 until 2015-07-19

2015-07-20 Thread cliff . brake
Changelog since 2015-07-12 until 2015-07-19.  Projects included in this report:

bitbake: git://git.openembedded.org/bitbake
openembedded-core: git://git.openembedded.org/openembedded-core
meta-openembedded: git://git.openembedded.org/meta-openembedded
meta-angstrom: git://github.com/Angstrom-distribution/meta-angstrom.git
meta-arago: git://arago-project.org/git/meta-arago.git
meta-atmel: https://github.com/linux4sam/meta-atmel.git
meta-beagleboard: git://github.com/beagleboard/meta-beagleboard.git
meta-browser: git://github.com/OSSystems/meta-browser.git
meta-bug: git://github.com/buglabs/meta-bug.git
meta-chicken: git://github.com/OSSystems/meta-chicken
meta-efikamx: git://github.com/kraj/meta-efikamx.git
meta-ettus: http://github.com/koenkooi/meta-ettus.git
meta-fsl-arm: git://git.yoctoproject.org/meta-fsl-arm
meta-fsl-arm-extra: git://github.com/Freescale/meta-fsl-arm-extra.git
meta-fsl-ppc: git://git.yoctoproject.org/meta-fsl-ppc
meta-guacamayo: git://github.com/Guacamayo/meta-guacamayo.git
meta-gumstix: git://github.com/gumstix/meta-gumstix.git
meta-gumstix-community: 
https://github.com/schnitzeltony/meta-gumstix-community.git
meta-handheld: git://git.openembedded.org/meta-handheld
meta-igep: http://github.com/ebutera/meta-igep.git
meta-intel: git://git.yoctoproject.org/meta-intel
meta-ivi: git://git.yoctoproject.org/meta-ivi
meta-java: git://github.com/woglinde/meta-java
meta-jetson-tk1: https://github.com/cubicool/meta-jetson-tk1.git
meta-kde: git://gitorious.org/openembedded-core-layers/meta-kde.git
meta-micro: git://git.openembedded.org/meta-micro
meta-mono: git://git.yoctoproject.org/meta-mono.git
meta-netbookpro: git://github.com/tworaz/meta-netbookpro
meta-nodejs: https://github.com/imyller/meta-nodejs.git
meta-nslu2: git://github.com/kraj/meta-nslu2
meta-opie: git://git.openembedded.org/meta-opie
meta-qt3: git://git.yoctoproject.org/meta-qt3
meta-qt5: git://github.com/meta-qt5/meta-qt5.git
meta-slugos: git://github.com/kraj/meta-slugos
meta-systemd: git://git.yoctoproject.org/meta-systemd
meta-raspberrypi: git://github.com/djwillis/meta-raspberrypi.git
meta-smartphone: http://git.shr-project.org/repo/meta-smartphone.git
meta-ti: git://git.yoctoproject.org/meta-ti
meta-webos: git://github.com/openwebos/meta-webos.git
meta-xilinx: git://git.yoctoproject.org/meta-xilinx
meta-yocto: git://git.yoctoproject.org/meta-yocto
openembedded: git://git.openembedded.org/openembedded


Changelog for bitbake:

Aníbal Limón (5):
  fetch2/wget.py: Add support of connection cache in checkstatus.
  tests/fetch.py: Add FetchCheckStatusTest tests.
  fetch2/wget.py: checkstatus fix using proxy handler
  tests/fetch.py: FetchCheckStatusTest add cases for ftp and https.
  fetch2/wget.py: checkstatus disable SSL cert validation.

Olof Johansson (1):
  fetch2/sftp: Set BatchMode=yes as argument to sftp

Paul Eggleton (3):
  lib/bb: set up infrastructure for shell message functions
  lib/bb/process: check output of select() before reading extrafiles
  lib/bb: provide mechanism to bypass UI log suppression

Richard Purdie (18):
  prserv/db: Document history modes
  cooker/taskdata: Make NoProvider errors non-fatal to -e/-g options
  data_smart: Defer append/prepend handling
  data_smart: Remove need for update_data calls
  data_smart: Improve override handling
  data_smart: Fix cache clearance problems
  data_smart: Cache overrides and fix data store
  data_smart: Move override handling to getVar
  parse/ast/data_smart: Add parsing flag to getVar/setVar
  data_smart: VariableHistory: Ignore override duplicates and overlap with CoW
  data_smart: Seperate out the override cache
  data_smart: Tweak OVERRIDES value cache for performance
  data_smart: Improve override recursion handling
  data_smart: Cache set(self.overrides)
  data_smart: Fix keys() missing overrides
  data_smart: Fix data expansion cache issues
  data_smart: Fix appendVar/prependVar
  tests/data: Add new data tests

Robert Yang (1):
  git.py: create a branch when checkout


Changelog for openembedded-core:

Alejandro Hernandez (1):
  opkg-build: Ignore tar error due to hardlinks issue when creating ipk files

Amarnath Valluri (1):
  mc: Upgrade to release 4.8.14

Andre McCurdy (3):
  grep: use internal regex library with musl-libc
  gnupg: fix build of GPLv2 version of gnupg with gcc 5
  sstate.bbclass: remove redundant cd and mkdir commands

Aníbal Limón (2):
  oe/recipeutils.py: get_recipe_upstream_version returns 1.0 when not SRC_URI
  classes/sstate.bbclass: Improve checkstatus using connection cache.

Ash Charles (1):
  python-io: Add runtime dependency on contextlib

Awais Belal (1):
  initrdscripts: handle mmc device as installer medium

Ben Shelton (1):
  create-pull-request: Fix error on 2.0 versions of git

Bian Naimeng (1):
  do_unpack: move qa check of unpack into insane.bbclass

Chen Qi (1):
  systemd: add PACKAGECONFIG for valgrind

Costin 

Re: [oe] REMINDER! Fwd: meta-oe and oe-core mirror repos going away at the end of June

2015-07-20 Thread Trevor Woerner
Could http://patchwork.openembedded.org/ be also updated?
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] dracut: upgrade from 038 to 043

2015-07-20 Thread Kang Kai

On 2015年07月20日 14:47, Koen Kooi wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kai Kang schreef op 17-07-15 om 09:50:

Upgrade dracut from 038 to 043. Update SRC_URI by replacing git with tar
ball.

Why? That makes it really hard to pull in post-release fixes :(


No special reason. For most packages, if it has specfic releases, we 
often have the recipe pkg_version.bb.
For dracut, I didn't realize the necessary to keep the _git version. For 
the post-release fixes, I thought

it should be take them as backport patches.

If this change makes hard to backport patches, I'll send V2 to keep _git 
version.


--Kai





And update bb file name at same time.

Signed-off-by: Kai Kang kai.k...@windriver.com ---
.../recipes-devtools/dracut/dracut_043.bb  | 53
+ .../recipes-devtools/dracut/dracut_git.bb
| 55 -- 2 files changed, 53 insertions(+), 55
deletions(-) create mode 100644
meta-initramfs/recipes-devtools/dracut/dracut_043.bb delete mode 100644
meta-initramfs/recipes-devtools/dracut/dracut_git.bb

diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_043.bb
b/meta-initramfs/recipes-devtools/dracut/dracut_043.bb new file mode
100644 index 000..22c6bae --- /dev/null +++
b/meta-initramfs/recipes-devtools/dracut/dracut_043.bb @@ -0,0 +1,53 @@
+SUMMARY = Initramfs generator using udev +DESCRIPTION = Dracut is an
event driven initramfs infrastructure. dracut (the tool) is used to
create an initramfs image by copying tools and files from an installed
system and combining it with the dracut framework, usually found in
/usr/lib/dracut/modules.d. + +LICENSE = GPLv2 +LIC_FILES_CHKSUM =
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 + +PE = 1 +
+SRC_URI =
${KERNELORG_MIRROR}/linux/utils/boot/dracut/dracut-043.tar.xz +
+SRC_URI[md5sum] = 85de75ddf00962e7bb0ae387f05794e5 +SRC_URI[sha256sum]
= 1484b558ed20330125aa04dcccab84da15c5689e19068285aa011f7177889cd1 +
+inherit distro_features_check +REQUIRED_DISTRO_FEATURES = systemd +
+EXTRA_OECONF = --prefix=${prefix} \ +--libdir=${libdir}
\ +--datadir=${datadir} \ +
--sysconfdir=${sysconfdir} \ +--sbindir=${sbindir} \ +
--disable-documentation \ +--bindir=${bindir} \ +
--includedir=${includedir} \ +
--localstatedir=${localstatedir} \ +
--systemdsystemunitdir=${systemd_unitdir}/system + +do_configure() { +
./configure ${EXTRA_OECONF} +} + +do_install() { +oe_runmake install
DESTDIR=${D} +} + +PACKAGES =+ ${PN}-bash-completion +
+FILES_${PN}-bash-completion = ${datadir}/bash-completion +
+FILES_${PN} +=  ${libdir}/kernel \ +${systemd_unitdir}
\ ++CONFFILES_${PN} += ${sysconfdir}/dracut.conf +
+RDEPENDS_${PN} = systemd findutils cpio util-linux-blkid
util-linux-getopt bash ldd +RDEPENDS_${PN}-bash-completion =
bash-completion + +# This could be optimized a bit, but let's avoid
non-booting systems :) +RRECOMMENDS_${PN} =  \ +
kernel-modules \ + busybox \ +
coreutils \ + diff --git
a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb deleted file mode
100644 index 77c137c..000 ---
a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb +++ /dev/null @@
-1,55 +0,0 @@ -SUMMARY = Initramfs generator using udev -DESCRIPTION =
Dracut is an event driven initramfs infrastructure. dracut (the tool) is
used to create an initramfs image by copying tools and files from an
installed system and combining it with the dracut framework, usually
found in /usr/lib/dracut/modules.d. - -LICENSE = GPLv2
-LIC_FILES_CHKSUM =
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 - -PE = 1 -PV =
038 - -# v038 tag -SRCREV = 267a109a81715c8957f14659593deb7b6255d40e
-SRC_URI = git://git.kernel.org/pub/scm/boot/dracut/dracut.git - -S =
${WORKDIR}/git - -inherit distro_features_check
-REQUIRED_DISTRO_FEATURES = systemd - -EXTRA_OECONF =
--prefix=${prefix} \ ---libdir=${libdir} \ -
--datadir=${datadir} \ ---sysconfdir=${sysconfdir} \ -
--sbindir=${sbindir} \ ---disable-documentation \ -
--bindir=${bindir} \ ---includedir=${includedir} \ -
--localstatedir=${localstatedir} \ -
--systemdsystemunitdir=${systemd_unitdir}/system - -do_configure() { -
./configure ${EXTRA_OECONF} -} - -do_install() { -oe_runmake install
DESTDIR=${D} -} - -PACKAGES =+ ${PN}-bash-completion -
-FILES_${PN}-bash-completion = ${datadir}/bash-completion -
-FILES_${PN} +=  ${libdir}/kernel \ -${systemd_unitdir}
\ --CONFFILES_${PN} += ${sysconfdir}/dracut.conf -
-RDEPENDS_${PN} = systemd findutils cpio util-linux-blkid
util-linux-getopt bash ldd -RDEPENDS_${PN}-bash-completion =
bash-completion - -# This could be optimized a bit, but let's avoid
non-booting systems :) -RRECOMMENDS_${PN} =  \ -
kernel-modules \ - busybox \ -
coreutils \ -



[oe] [meta-oe][PATCH] lvm2: fix shared object file dlopen failed

2015-07-20 Thread Zhixiong Chi
Add the variable snapshot_library into config file(lvm.conf), so it
can link the correct shared object files with correct path.

Signed-off-by: Zhixiong Chi zhixiong@windriver.com
---
 meta-oe/recipes-support/lvm2/lvm2.inc  |  1 +
 meta-oe/recipes-support/lvm2/lvm2/lvm.conf | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc 
b/meta-oe/recipes-support/lvm2/lvm2.inc
index 34fec99..7b21a35 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -41,6 +41,7 @@ inherit autotools pkgconfig systemd
 do_install_append() {
 # Install machine specific configuration file
 install -m 0644 ${WORKDIR}/lvm.conf ${D}${sysconfdir}/lvm/lvm.conf
+sed -i -e 's:@libdir@:${libdir}:g' ${D}${sysconfdir}/lvm/lvm.conf
 install -d ${D}${systemd_unitdir}/system
 install -m 0644 ${B}/scripts/lvm2_monitoring_systemd_red_hat.service 
${D}${systemd_unitdir}/system/lvm2-monitor.service
 install -m 0644 ${B}/scripts/dm_event_systemd_red_hat.socket 
${D}${systemd_unitdir}/system/dm-event.socket
diff --git a/meta-oe/recipes-support/lvm2/lvm2/lvm.conf 
b/meta-oe/recipes-support/lvm2/lvm2/lvm.conf
index c44c6a7..9e3b5fe 100644
--- a/meta-oe/recipes-support/lvm2/lvm2/lvm.conf
+++ b/meta-oe/recipes-support/lvm2/lvm2/lvm.conf
@@ -289,4 +289,38 @@ activation {
 # dirs = [ /etc/lvm/metadata, /mnt/disk2/lvm/metadata2 ]
 #}
 
+# Event daemon
+#
+dmeventd {
+# mirror_library is the library used when monitoring a mirror device.
+#
+# libdevmapper-event-lvm2mirror.so attempts to recover from
+# failures.  It removes failed devices from a volume group and
+# reconfigures a mirror as necessary. If no mirror library is
+# provided, mirrors are not monitored through dmeventd.
+
+mirror_library = @libdir@/device-mapper/libdevmapper-event-lvm2mirror.so
+
+# snapshot_library is the library used when monitoring a snapshot device.
+#
+# libdevmapper-event-lvm2snapshot.so monitors the filling of
+# snapshots and emits a warning through syslog when the use of
+# the snapshot exceeds 80%. The warning is repeated when 85%, 90% and
+# 95% of the snapshot is filled.
+
+snapshot_library = 
@libdir@/device-mapper/libdevmapper-event-lvm2snapshot.so
+
+# thin_library is the library used when monitoring a thin device.
+#
+# libdevmapper-event-lvm2thin.so monitors the filling of
+# pool and emits a warning through syslog when the use of
+# the pool exceeds 80%. The warning is repeated when 85%, 90% and
+# 95% of the pool is filled.
+
+thin_library = @libdir@/device-mapper/libdevmapper-event-lvm2thin.so
+
+# Full path of the dmeventd binary.
+#
+# executable = @DMEVENTD_PATH@
+}
 
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH v2 4/8] konkretcmpi: add new recipe for openlmi

2015-07-20 Thread Lei Maohui
Konkretcmpi is dependence of openlmi.

Signed-off-by: Lei Maohui leimao...@cn.fujitsu.com
---
 .../konkretcmpi/konkretcmpi-native_0.9.2.bb| 27 +++
 ...-0.9.2-fix-returning-instance-from-method.patch | 38 ++
 .../konkretcmpi/konkretcmpi_0.9.2.bb   | 32 ++
 3 files changed, 97 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/konkretcmpi/konkretcmpi-native_0.9.2.bb
 create mode 100644 
meta-oe/recipes-extended/konkretcmpi/konkretcmpi/konkretcmpi-0.9.2-fix-returning-instance-from-method.patch
 create mode 100644 meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb

diff --git a/meta-oe/recipes-extended/konkretcmpi/konkretcmpi-native_0.9.2.bb 
b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi-native_0.9.2.bb
new file mode 100644
index 000..b4b8147
--- /dev/null
+++ b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi-native_0.9.2.bb
@@ -0,0 +1,27 @@
+SUMMARY = Tool for rapid CMPI providers development
+DESCRIPTION = \
+KonkretCMPI makes CMPI provider development easier by generating type-safe \
+concrete CIM interfaces from MOF definitions and by providing default \
+implementations for many of the provider operations.
+HOMEPAGE = https://github.com/rnovacek/konkretcmpi;
+LICENSE = MIT
+LIC_FILES_CHKSUM = file://COPYING;md5=f673270bfc350d9ce1efc8724c6c1873
+DEPENDS = cmake-native cmpi-bindings-native
+
+SRC_URI = https://github.com/rnovacek/${BPN}/archive/${PV}/${BP}.tar.gz \
+   file://konkretcmpi-0.9.2-fix-returning-instance-from-method.patch
+SRC_URI[md5sum] = 7e8ed4f47d1a9e5cbed4208920f89d64
+SRC_URI[sha256sum] = 
2ac52fc374e46d68317194bbd6b44e0b2f934df24b201efb395d3eccf0fed634
+
+inherit native cmake
+LDFLAGS_append = ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', ' 
-fuse-ld=bfd ', '', d)}
+
+EXTRA_OECMAKE = -DWITH_PYTHON=ON
+
+do_install_append() {
+if [ -d ${D}${prefix}/lib64 ]; then
+mv ${D}${prefix}/lib64 ${D}${libdir}
+fi
+
+rm -rf ${D}${datadir}
+}
diff --git 
a/meta-oe/recipes-extended/konkretcmpi/konkretcmpi/konkretcmpi-0.9.2-fix-returning-instance-from-method.patch
 
b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi/konkretcmpi-0.9.2-fix-returning-instance-from-method.patch
new file mode 100644
index 000..b54d091
--- /dev/null
+++ 
b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi/konkretcmpi-0.9.2-fix-returning-instance-from-method.patch
@@ -0,0 +1,38 @@
+Port from Fedora20
+
+| commit aca6c7f910ffe9930b5789969f0adfadd668bb46
+| Author: Michal Minar mimi...@redhat.com
+| Date:   Fri Jun 20 10:50:45 2014 +0200
+| 
+| Fix returning instance as an output argument from method
+| 
+| Submitted By: Radek Novacek rnova...@redhat.com
+
+Upstream-Status: Pending
+Signed-off-by: Qian Lei qianl.f...@cn.fujitsu.com
+
+diff --git a/src/program/main.cpp b/src/program/main.cpp
+index 885dc12..9e7108a 100644
+--- a/src/program/main.cpp
 b/src/program/main.cpp
+@@ -506,7 +506,11 @@ static void gen_feature_decls(
+ 
+ // Add sig entry [type][length][name][zero-terminator]
+ 
+-KTag tag = _ktag(pd-data_type, pd-array_index, key, false, 
false);
++KTag tag;
++if (pd-qualifiers-has_key(EmbeddedInstance))
++tag = _ktag(TOK_INSTANCE, pd-array_index, key, false, false);
++else
++tag = _ktag(pd-data_type, pd-array_index, key, false, 
false);
+ pack_tag(sig, tag);
+ pack_name(sig, pd-name);
+ count++;
+@@ -640,6 +644,7 @@ static void gen_param(FILE* os, MOF_Parameter* p, 
vectorunsigned char sig)
+ const char* ktn = _ktype_name(p-data_type);
+ 
+ if (p-qualifiers-has_key(EmbeddedInstance)) {
++tag = _ktag(TOK_INSTANCE, p-array_index, false, in, out);
+ if (p-array_index)
+ put(os, KInstanceA $0;\n, p-name, NULL);
+ else
diff --git a/meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb 
b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb
new file mode 100644
index 000..5924c35
--- /dev/null
+++ b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb
@@ -0,0 +1,32 @@
+SUMMARY = Tool for rapid CMPI providers development
+DESCRIPTION = \
+KonkretCMPI makes CMPI provider development easier by generating type-safe \
+concrete CIM interfaces from MOF definitions and by providing default \
+implementations for many of the provider operations.
+HOMEPAGE = https://github.com/rnovacek/konkretcmpi;
+LICENSE = MIT
+LIC_FILES_CHKSUM = file://COPYING;md5=f673270bfc350d9ce1efc8724c6c1873
+DEPENDS = swig sblim-cmpi-devel python cmake-native
+
+SRC_URI = https://github.com/rnovacek/${BPN}/archive/${PV}/${BP}.tar.gz \
+   file://konkretcmpi-0.9.2-fix-returning-instance-from-method.patch
+SRC_URI[md5sum] = 7e8ed4f47d1a9e5cbed4208920f89d64
+SRC_URI[sha256sum] = 
2ac52fc374e46d68317194bbd6b44e0b2f934df24b201efb395d3eccf0fed634
+
+inherit cmake
+

[oe] [meta-oe][PATCH v2 8/8] openlmi: add openlmi and it's depends

2015-07-20 Thread Lei Maohui
OpenLMI  = Open Linux Management Infrastructure.
OpenLMI is open-source project aiming to improve management of Linux systems 
using WBEM standards.

Signed-off-by: Lei Maohui leimao...@cn.fujitsu.com
---
 .../openlmi/openlmi-networking_0.3.1.bb| 29 
 .../openlmi/openlmi-providers/0001-fix-error.patch | 26 +++
 .../openlmi/openlmi-providers_0.6.0.bb | 54 ++
 .../openlmi/openlmi-storage_0.8.1.bb   | 31 +
 .../openlmi/openlmi-tools_0.10.5.bb| 23 +
 5 files changed, 163 insertions(+)
 create mode 100644 meta-oe/recipes-extended/openlmi/openlmi-networking_0.3.1.bb
 create mode 100644 
meta-oe/recipes-extended/openlmi/openlmi-providers/0001-fix-error.patch
 create mode 100644 meta-oe/recipes-extended/openlmi/openlmi-providers_0.6.0.bb
 create mode 100644 meta-oe/recipes-extended/openlmi/openlmi-storage_0.8.1.bb
 create mode 100644 meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb

diff --git a/meta-oe/recipes-extended/openlmi/openlmi-networking_0.3.1.bb 
b/meta-oe/recipes-extended/openlmi/openlmi-networking_0.3.1.bb
new file mode 100644
index 000..0bb4890
--- /dev/null
+++ b/meta-oe/recipes-extended/openlmi/openlmi-networking_0.3.1.bb
@@ -0,0 +1,29 @@
+SUMMARY = CIM providers for network management
+DESCRIPTION = \
+openlmi-networking is set of CMPI providers for network management using \
+Common Information Model (CIM).
+HOMEPAGE = http://www.openlmi.org/;
+LICENSE = LGPLv2+
+LIC_FILES_CHKSUM = file://COPYING;md5=7c13b3376cea0ce68d2d2da0a1b3a72c
+SECTION = System/Management
+DEPENDS = openlmi-providers konkretcmpi sblim-cmpi-devel cim-schema-exper 
networkmanager dbus libcheck glib-2.0
+
+SRC_URI = http://fedorahosted.org/released/${BPN}/${BP}.tar.gz \
+  
+SRC_URI[md5sum] = f20de8c76fb6a80001b14c1eb035953e
+SRC_URI[sha256sum] = 
578eaa5c65fe924b5d7aeb635509dd46443166cd6a88b019bc42646e3518a460
+
+inherit cmake
+
+do_configure_prepend() {
+export STAGING_DATADIR=${STAGING_DATADIR}
+}
+
+do_install_append() {
+if [ -d ${D}${prefix}/lib64 ]; then
+mv ${D}${prefix}/lib64 ${D}${libdir}
+fi
+}
+
+FILES_${PN} =+ ${libdir}/cmpi/libcmpiLMI_Networking.so ${prefix}/libexec*
+FILES_${PN}-dbg =+ ${libdir}/cmpi/.debug*
diff --git 
a/meta-oe/recipes-extended/openlmi/openlmi-providers/0001-fix-error.patch 
b/meta-oe/recipes-extended/openlmi/openlmi-providers/0001-fix-error.patch
new file mode 100644
index 000..85dfd55
--- /dev/null
+++ b/meta-oe/recipes-extended/openlmi/openlmi-providers/0001-fix-error.patch
@@ -0,0 +1,26 @@
+From 764171866b84e0198b67538f63022abde3e628ad Mon Sep 17 00:00:00 2001
+From: Qian Lei qianl.f...@cn.fujitsu.com
+Date: Fri, 16 Jan 2015 14:15:25 +0800
+Subject: [PATCH] fix error
+
+Signed-off-by: Qian Lei qianl.f...@cn.fujitsu.com
+---
+ cmake/modules/OpenLMIMacros.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmake/modules/OpenLMIMacros.cmake 
b/cmake/modules/OpenLMIMacros.cmake
+index d55f983..dbc32ec 100644
+--- a/cmake/modules/OpenLMIMacros.cmake
 b/cmake/modules/OpenLMIMacros.cmake
+@@ -89,7 +89,7 @@ macro(konkretcmpi_generate MOFS CIM_PROVIDERS CIM_HEADERS 
CIM_CLASSES)
+ endforeach(CLASS ${CIM_CLASS_NAMES})
+ 
+ # Generate headers for CIM classes
+-set(ENV{KONKRET_SCHEMA_DIR} /usr/share/mof/cim-current)
++set(ENV{KONKRET_SCHEMA_DIR} $ENV{STAGING_DATADIR}/mof/cim-current)
+ execute_process(COMMAND ${KONKRETCMPI_KONKRET}
+ ${KONKRET_MOF_FILES}
+ ${GENERATE_PROVIDERS}
+-- 
+1.8.3.1
+
diff --git a/meta-oe/recipes-extended/openlmi/openlmi-providers_0.6.0.bb 
b/meta-oe/recipes-extended/openlmi/openlmi-providers_0.6.0.bb
new file mode 100644
index 000..5ed97b9
--- /dev/null
+++ b/meta-oe/recipes-extended/openlmi/openlmi-providers_0.6.0.bb
@@ -0,0 +1,54 @@
+SUMMARY = Set of basic CIM providers
+DESCRIPTION = \
+openlmi-providers is set of (usually) small CMPI providers (agents) for \
+basic monitoring and management of host system using Common Information \
+Model (CIM).
+HOMEPAGE = http://www.openlmi.org/;
+LICENSE = LGPLv2+
+LIC_FILES_CHKSUM = file://COPYING;md5=7c13b3376cea0ce68d2d2da0a1b3a72c
+SECTION = System/Management
+DEPENDS = konkretcmpi-native konkretcmpi sblim-sfcb sblim-cmpi-devel 
cim-schema-exper lmsensors libuser swig swig-native dbus udev 
systemd-systemctl-native pciutils
+
+SRC_URI = http://fedorahosted.org/released/${BPN}/${BP}.tar.gz \
+   file://0001-fix-error.patch
+SRC_URI[md5sum] = 5904f23cf494946237cfbbdbe644a3cd
+SRC_URI[sha256sum] = 
e2b2fbeaec45a83905d0da3b87da83904d9cd94c1b86312f844587b3fff11f56
+
+inherit cmake
+LDFLAGS_append = ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', ' 
-fuse-ld=bfd ', '', d)}
+EXTRA_OECMAKE =  \
+ -DWITH-DEVASSISTANT=OFF \
+ -DWITH-JOURNALD=OFF \
+ -DWITH-SERVICE=OFF \
+ 

[oe] [meta-oe][PATCH v2 6/8] sblim-sfcb: add new recipe for openlmi

2015-07-20 Thread Lei Maohui
Sblim-sfcb is dependence of openlmi.

Signed-off-by: Lei Maohui leimao...@cn.fujitsu.com
---
 .../recipes-extended/sblim-sfcb/files/sfcb.service | 11 +++
 .../sblim-sfcb-1.3.15-fix-provider-debugging.patch | 12 
 .../sblim-sfcb-1.3.16-maxMsgLen.patch  | 14 
 .../sblim-sfcb-1.3.16-multilib-man-cfg.patch   | 41 +++
 ...blim-sfcb-1.3.9-sfcbrepos-schema-location.patch | 42 +++
 .../sblim-sfcb-1.4.5-service.patch | 27 +++
 .../sblim-sfcb-1.4.8-default-ecdh-curve-name.patch | 26 +++
 .../sblim-sfcb/sblim-sfcb_1.4.8.bb | 82 ++
 8 files changed, 255 insertions(+)
 create mode 100644 meta-oe/recipes-extended/sblim-sfcb/files/sfcb.service
 create mode 100644 
meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.15-fix-provider-debugging.patch
 create mode 100644 
meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.16-maxMsgLen.patch
 create mode 100644 
meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.16-multilib-man-cfg.patch
 create mode 100644 
meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.9-sfcbrepos-schema-location.patch
 create mode 100644 
meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.4.5-service.patch
 create mode 100644 
meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.4.8-default-ecdh-curve-name.patch
 create mode 100644 meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.8.bb

diff --git a/meta-oe/recipes-extended/sblim-sfcb/files/sfcb.service 
b/meta-oe/recipes-extended/sblim-sfcb/files/sfcb.service
new file mode 100644
index 000..5adf63c
--- /dev/null
+++ b/meta-oe/recipes-extended/sblim-sfcb/files/sfcb.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Small Footprint CIM Broker Service
+After=syslog.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/sfcbd -d
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target
diff --git 
a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.15-fix-provider-debugging.patch
 
b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.15-fix-provider-debugging.patch
new file mode 100644
index 000..4fbecaa
--- /dev/null
+++ 
b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.15-fix-provider-debugging.patch
@@ -0,0 +1,12 @@
+diff -up sblim-sfcb-1.4.5/providerDrv.c.orig sblim-sfcb-1.4.5/providerDrv.c
+--- sblim-sfcb-1.4.5/providerDrv.c.orig2013-09-04 12:59:22.140813239 
+0200
 sblim-sfcb-1.4.5/providerDrv.c 2013-09-04 12:59:40.511870274 +0200
+@@ -3585,7 +3585,7 @@ processProviderInvocationRequests(char *
+ rc = spRecvReq(providerSockets.receive, parms-requestor,
+(void **) parms-req, rl, mqg);
+ if (mqg.rdone) {
+-  int debug_break = 0;
++  volatile int debug_break = 0;
+   if (rc != 0) {
+ mlogf(M_ERROR,M_SHOW, spRecvReq returned error %d. Skipping 
message.\n, rc);
+ free(parms);
diff --git 
a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.16-maxMsgLen.patch
 
b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.16-maxMsgLen.patch
new file mode 100644
index 000..a0dd816
--- /dev/null
+++ 
b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.16-maxMsgLen.patch
@@ -0,0 +1,14 @@
+diff -up sblim-sfcb-1.3.16/sfcb.cfg.pre.in.old 
sblim-sfcb-1.3.16/sfcb.cfg.pre.in
+--- sblim-sfcb-1.3.16/sfcb.cfg.pre.in.old  2012-06-13 23:21:09.0 
+0200
 sblim-sfcb-1.3.16/sfcb.cfg.pre.in  2013-06-24 15:34:38.881992781 +0200
+@@ -113,8 +113,8 @@ provProcs:  32
+ 
+ ## Max message length, in bytes. This is a limit on the size of messages
+ ## written across sockets, for instance, between providers and SFCB.
+-## Default is 1000
+-maxMsgLen:  1000
++## Default is 1
++maxMsgLen:  1
+ 
+ ## Location of the registration directory, where providerRegister can be found
+ ## Default is @localstatedir@/lib/sfcb/registration
diff --git 
a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.16-multilib-man-cfg.patch
 
b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.16-multilib-man-cfg.patch
new file mode 100644
index 000..c8cece2
--- /dev/null
+++ 
b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.16-multilib-man-cfg.patch
@@ -0,0 +1,41 @@
+diff -up sblim-sfcb-1.3.16/man/sfcbd.1.pre.in.orig 
sblim-sfcb-1.3.16/man/sfcbd.1.pre.in
+--- sblim-sfcb-1.3.16/man/sfcbd.1.pre.in.orig  2014-02-26 14:05:32.213091734 
+0100
 sblim-sfcb-1.3.16/man/sfcbd.1.pre.in   2014-02-26 15:10:54.476196379 
+0100
+@@ -151,7 +151,7 @@ Default=\fI@localstatedir@/lib/sfcb/regi
+ .TP
+ .B providerDirs
+ A space separated list of directories where sfcb is looking for provider
+-libraries. Default=\fI@libdir@\ @libdir@/cmpi\fR
++libraries. Default=\fI/usr/lib\ /usr/lib/cmpi /usr/lib64\ /usr/lib64/cmpi\fR
+ .TP
+ 

[oe] [meta-oe][PATCH v2 5/8] sblim-sfcCommon: add new recipe

2015-07-20 Thread Lei Maohui
Sblim-sfcCommon is dependence of sblim-sfcb.

Signed-off-by: Lei Maohui leimao...@cn.fujitsu.com
---
 .../sblim-sfcCommon/sblim-sfcCommon_1.0.1.bb   | 25 ++
 1 file changed, 25 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/sblim-sfcCommon/sblim-sfcCommon_1.0.1.bb

diff --git a/meta-oe/recipes-extended/sblim-sfcCommon/sblim-sfcCommon_1.0.1.bb 
b/meta-oe/recipes-extended/sblim-sfcCommon/sblim-sfcCommon_1.0.1.bb
new file mode 100644
index 000..0f5515a
--- /dev/null
+++ b/meta-oe/recipes-extended/sblim-sfcCommon/sblim-sfcCommon_1.0.1.bb
@@ -0,0 +1,25 @@
+SUMMARY = Common functions for SBLIM Small Footprint CIM Broker and CIM 
Client Library.
+DESCRIPTION = \
+This package provides a common library for functions shared between Small 
Footprint CIM Broker (sblim-sfcb) \
+Small Footprint CIM Client (and sblim-sfcc).
+HOMEPAGE = http://sourceforge.net/projects/sblim/;
+LICENSE = EPL
+LIC_FILES_CHKSUM = file://COPYING;md5=f300afd598546add034364cd0a533261
+SECTION = Development/Libraries
+
+DEPENDS = cmpi-bindings
+
+SRC_URI = http://downloads.sourceforge.net/sblim/${PN}-${PV}.tar.bz2 \
+  
+SRC_URI[md5sum] = 8aa2655d97bdea54c4750f220b40990c
+SRC_URI[sha256sum] = 
b9b1037173d6ae0181c3bd5a316ddab5afd6a342ad0dbdc18e940fc0ad2c3297
+
+inherit autotools
+
+do_install() {
+oe_runmake DESTDIR=${D} install
+
+rm -rf ${D}${libdir}/libsfcUtil.a
+rm -rf ${D}${libdir}/libsfcUtil.la
+}
+
-- 
1.8.4.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH v2 7/8] cim-schema-exper: add new recipe for openlmi

2015-07-20 Thread Lei Maohui
- cim-schema(Experimental-MOFs) is dependence of openlmi.
- Cim-schema_2.40.0.bb is renamed to cim-schema-final_2.40.0.bb.

Signed-off-by: Lei Maohui leimao...@cn.fujitsu.com
---
 .../cim-schema/cim-schema-exper_2.39.0.bb  | 26 +
 .../cim-schema/cim-schema-final_2.40.0.bb  | 31 
 .../cim-schema/cim-schema/files/LICENSE| 34 ++
 .../cim-schema/cim-schema_2.40.0.bb| 31 
 4 files changed, 91 insertions(+), 31 deletions(-)
 create mode 100644 
meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb
 create mode 100644 
meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb
 create mode 100644 
meta-networking/recipes-support/cim-schema/cim-schema/files/LICENSE
 delete mode 100644 
meta-networking/recipes-support/cim-schema/cim-schema_2.40.0.bb

diff --git 
a/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb 
b/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb
new file mode 100644
index 000..3b973bf
--- /dev/null
+++ b/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb
@@ -0,0 +1,26 @@
+require cim-schema.inc
+
+LICENSE = DMTF
+
+SRC_URI = 
http://dmtf.org/sites/default/files/cim/cim_schema_v2390/cim_schema_${PV}Experimental-MOFs.zip;subdir=${BPN}-${PV}
 \
+   file://LICENSE \
+  
+SRC_URI[md5sum] = b82b31c609c6bcc69521829409f58ccc
+SRC_URI[sha256sum] = 
ed2096ef1ea25d189a02bbc6603fed7a48297f2987f254265763a6eecb7fc870
+LIC_FILES_CHKSUM = 
file://${WORKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4
+
+do_install() {
+install -d -m 0755 ${D}${datadir}/mof/cimv${PV}/
+install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}
+install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
+
+cp -a ${S}/* ${D}${datadir}/mof/cimv${PV}/ 
+for i in `find ${D}${datadir}/mof/cimv${PV} -name *.mof`; do
+sed -i -e 's/\r//g' $i
+done
+ln -s cimv${PV} ${D}${datadir}/mof/cim-current
+ln -s cim_schema_${PV}.mof 
${D}${datadir}/mof/cim-current/CIM_Schema.mof
+}
+
+FILES_${PN} = ${datadir}/mof/* ${datadir}/doc/*
+FILES_${PN}-doc = 
diff --git 
a/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb 
b/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb
new file mode 100644
index 000..ff6c29d
--- /dev/null
+++ b/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb
@@ -0,0 +1,31 @@
+require cim-schema.inc
+
+LICENSE = DMTF
+
+SRC_URI = 
http://dmtf.org/sites/default/files/cim/cim_schema_v2400/cim_schema_${PV}Final-MOFs.zip
 \
+   file://LICENSE \
+  
+SRC_URI[md5sum] = a9bdf17c7374e3b5b7adeaac4842c4ad
+SRC_URI[sha256sum] = 
dbfa3064ea427acd71a4bebbc172ca2dc44b0b09a6d83b0945b9ffa988a9058a
+LIC_FILES_CHKSUM = 
file://${WORKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4
+
+do_unpack() {
+unzip -q ${DL_DIR}/cim_schema_${PV}Final-MOFs.zip -d ${S}
+cp -f ${FILE_DIRNAME}/files/LICENSE ${WORKDIR}/
+}
+
+do_install() {
+install -d -m 0755 ${D}${datadir}/mof/cimv${PV}/
+install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}
+install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
+
+cp -a ${S}/* ${D}${datadir}/mof/cimv${PV}/ 
+for i in `find ${D}${datadir}/mof/cimv${PV} -name *.mof`; do
+sed -i -e 's/\r//g' $i
+done
+ln -s cimv${PV} ${D}${datadir}/mof/cim-current
+ln -s cim_schema_${PV}.mof 
${D}${datadir}/mof/cim-current/CIM_Schema.mof
+}
+
+FILES_${PN} = ${datadir}/mof/* ${datadir}/doc/*
+FILES_${PN}-doc = 
diff --git 
a/meta-networking/recipes-support/cim-schema/cim-schema/files/LICENSE 
b/meta-networking/recipes-support/cim-schema/cim-schema/files/LICENSE
new file mode 100644
index 000..54a2812
--- /dev/null
+++ b/meta-networking/recipes-support/cim-schema/cim-schema/files/LICENSE
@@ -0,0 +1,34 @@
+// Copyright 1998-2008 Distributed Management Task Force, Inc. (DMTF).
+// All rights reserved.
+// DMTF is a not-for-profit association of industry members dedicated
+// to promoting enterprise and systems management and interoperability.
+// DMTF specifications and documents may be reproduced by
+// members and non-members, provided that correct attribution is given.
+// As DMTF specifications may be revised from time to time,
+// the particular version and release date should always be noted.
+// 
+// Implementation of certain elements of this standard or proposed
+// standard may be subject to third party patent rights, including
+// provisional patent rights (herein patent rights). DMTF makes
+// no representations to users of the standard as to the existence
+// of such rights, and is not responsible to recognize, disclose, or
+// identify any or all such third party patent right, owners or
+// claimants, nor for any incomplete or 

[oe] [meta-oe][PATCH v2 3/8] cmpi-bindings: add new recipe

2015-07-20 Thread Lei Maohui
Cmpi-bindings is the dependence of openlmi.

Signed-off-by: Lei Maohui leimao...@cn.fujitsu.com
---
 .../cmpi-bindings/0001-Fix-error.patch | 26 +
 .../cmpi-bindings/0001-Modify-cmakelist.patch  | 41 
 .../0001-fix-the-build-error-when-python-3.0.patch | 31 +++
 .../cmpi-bindings-0.4.17-no-ruby-perl.patch| 44 ++
 .../cmpi-bindings-0.4.17-sblim-sigsegv.patch   | 22 +++
 .../cmpi-bindings-0.9.5-python-lib-dir.patch   | 17 +
 .../cmpi-bindings/cmpi-bindings_git.bb | 36 ++
 7 files changed, 217 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Fix-error.patch
 create mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Modify-cmakelist.patch
 create mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-fix-the-build-error-when-python-3.0.patch
 create mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/cmpi-bindings-0.4.17-no-ruby-perl.patch
 create mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/cmpi-bindings-0.4.17-sblim-sigsegv.patch
 create mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/cmpi-bindings-0.9.5-python-lib-dir.patch
 create mode 100644 meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_git.bb

diff --git 
a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Fix-error.patch 
b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Fix-error.patch
new file mode 100644
index 000..d1a303c
--- /dev/null
+++ b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Fix-error.patch
@@ -0,0 +1,26 @@
+From b8e791ce93a467081fb1594b91841e2f57c634a0 Mon Sep 17 00:00:00 2001
+From: Qian Lei qianl.f...@cn.fujitsu.com
+Date: Fri, 16 Jan 2015 18:37:26 +0800
+Subject: [PATCH] Fix error
+
+Signed-off-by: Qian Lei qianl.f...@cn.fujitsu.com
+---
+ swig/python/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/swig/python/CMakeLists.txt b/swig/python/CMakeLists.txt
+index 3976296..8073fc8 100644
+--- a/swig/python/CMakeLists.txt
 b/swig/python/CMakeLists.txt
+@@ -27,7 +27,7 @@ SET( SWIG_INPUT ${CMAKE_CURRENT_SOURCE_DIR}/../cmpi.i )
+ ADD_CUSTOM_COMMAND (
+OUTPUT  ${SWIG_OUTPUT}
+COMMAND ${CMAKE_COMMAND} -E echo_append Creating wrapper code for Python 
...
+-   COMMAND ${SWIG_EXECUTABLE} -python -Wall -threads -features autodoc -o 
${SWIG_OUTPUT} -outdir ${CMAKE_CURRENT_BINARY_DIR} -I/usr/include ${SWIG_INPUT}
++   COMMAND ${SWIG_EXECUTABLE} -python -Wall -threads -features autodoc -o 
${SWIG_OUTPUT} -outdir ${CMAKE_CURRENT_BINARY_DIR} -I$ENV{STAGING_INCDIR} 
${SWIG_INPUT}
+COMMAND ${CMAKE_COMMAND} -E echo Done.
+WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../*.i
+-- 
+1.8.3.1
+
diff --git 
a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Modify-cmakelist.patch
 
b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Modify-cmakelist.patch
new file mode 100644
index 000..92e5e56
--- /dev/null
+++ 
b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Modify-cmakelist.patch
@@ -0,0 +1,41 @@
+From 070822507befe7c1b8bb1be2d36cb12141d03b8f Mon Sep 17 00:00:00 2001
+From: Qian Lei qianl.f...@cn.fujitsu.com
+Date: Tue, 6 Jan 2015 18:38:32 +0800
+Subject: [PATCH] Change the install path in cmakelist
+
+Upstream-Status: Pending
+Signed-off-by: Qian Lei qianl.f...@cn.fujitsu.com
+---
+ swig/python/CMakeLists.txt | 8 
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/swig/python/CMakeLists.txt b/swig/python/CMakeLists.txt
+index 3976296..93c87c1 100644
+--- a/swig/python/CMakeLists.txt
 b/swig/python/CMakeLists.txt
+@@ -56,18 +56,18 @@ TARGET_LINK_LIBRARIES( ${NAME} util )
+ 
+ INSTALL(TARGETS ${NAME} LIBRARY DESTINATION ${CMPI_LIBRARY_DIR})
+ # .py: swig generated
+-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/cmpi.py DESTINATION 
${PYTHON_SITE_DIR} )
++INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/cmpi.py DESTINATION 
$ENV{ENV_INSTALL_PATH} )
+ 
+ 
+ #
+ # cmpi_pywbem_bindings.py: provider implementation
+ #
+-INSTALL(FILES cmpi_pywbem_bindings.py DESTINATION ${PYTHON_SITE_DIR} )
++INSTALL(FILES cmpi_pywbem_bindings.py DESTINATION $ENV{ENV_INSTALL_PATH} )
+ #INSTALL(FILES Py_UnixProcessProvider.py DESTINATION /usr/lib/pycim )
+ 
+-INSTALL(CODE EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c \from 
py_compile import compile; compile('\$ENV{DESTDIR}${PYTHON_SITE_DIR}/cmpi.py', 
dfile='${PYTHON_SITE_DIR}/cmpi.py')\))
++INSTALL(CODE EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c \from 
py_compile import compile; 
compile('\$ENV{DESTDIR}$ENV{ENV_INSTALL_PATH}/cmpi.py', 
dfile='\$ENV{ENV_INSTALL_PATH}/cmpi.py')\))
+ 
+-INSTALL(CODE EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c \from 
py_compile import compile; 
compile('\$ENV{DESTDIR}${PYTHON_SITE_DIR}/cmpi_pywbem_bindings.py', 

[oe] [meta-oe][PATCH v2 2/8] sblim-cmpi-devel: add new recipe

2015-07-20 Thread Lei Maohui
sblim-cmpi-devel is dependence of cmpi-bindings.

Signed-off-by: Lei Maohui leimao...@cn.fujitsu.com
---
 .../sblim-cmpi-devel-2.0.3-docdir.patch| 17 +
 .../sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb | 18 ++
 2 files changed, 35 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel/sblim-cmpi-devel-2.0.3-docdir.patch
 create mode 100644 
meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb

diff --git 
a/meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel/sblim-cmpi-devel-2.0.3-docdir.patch
 
b/meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel/sblim-cmpi-devel-2.0.3-docdir.patch
new file mode 100644
index 000..58940c1
--- /dev/null
+++ 
b/meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel/sblim-cmpi-devel-2.0.3-docdir.patch
@@ -0,0 +1,17 @@
+Port from Fedora20
+
+Upstream-Status: Pending
+Signed-off-by: Qian Lei qianl.f...@cn.fujitsu.com
+
+diff -up sblim-cmpi-devel-2.0.3/Makefile.in.orig 
sblim-cmpi-devel-2.0.3/Makefile.in
+--- sblim-cmpi-devel-2.0.3/Makefile.in.orig2012-07-31 06:11:51.0 
+0200
 sblim-cmpi-devel-2.0.3/Makefile.in 2013-08-07 18:28:09.600712807 +0200
+@@ -221,7 +221,7 @@ build_vendor = @build_vendor@
+ builddir = @builddir@
+ datadir = @datadir@
+ datarootdir = @datarootdir@
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
++docdir = $(datadir)/doc/$(PACKAGE)
+ dvidir = @dvidir@
+ exec_prefix = @exec_prefix@
+ host = @host@
diff --git 
a/meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb 
b/meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb
new file mode 100644
index 000..0e5fc7b
--- /dev/null
+++ b/meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb
@@ -0,0 +1,18 @@
+SUMMARY = SBLIM CMPI Provider Development Support
+DESCRIPTION = \
+This packages provides the C and C++ CMPI header files needed by provider \
+developers and can be used standalone. If used for C++ provider development \
+it is also necessary to have tog-pegasus-devel installed.
+HOMEPAGE = http://sblim.wiki.sourceforge.net/;
+LICENSE = EPL-1.0
+LIC_FILES_CHKSUM = file://COPYING;md5=5f63d3a4e701129e869e89d7dcac8982
+SECTION = Development/Libraries
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/sblim/${BP}.tar.bz2 \
+   file://sblim-cmpi-devel-2.0.3-docdir.patch
+SRC_URI[md5sum] = b934616f88a848f17ca3cf1b9e792cbf
+SRC_URI[sha256sum] = 
1671cabff6b922b6fde897673d9fdafd56c9310f82a7eacc0547d596b9cdfea6
+
+inherit autotools
+
+BBCLASSEXTEND = native
-- 
1.8.4.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH v2 0/8] add openlmi and it's depends

2015-07-20 Thread Lei Maohui
OpenLMI  = Open Linux Management Infrastructure.
OpenLMI is open-source project aiming to improve management of Linux systems 
using WBEM standards.

Lei Maohui (8):
  pywbem:add new recipe
  sblim-cmpi-devel: add  new recipe
  cmpi-bindings: add new recipe
  konkretcmpi: add new recipe for openlmi
  sblim-sfcCommon: add new recipe
  sblim-sfcb: add new recipe for openlmi
  cim-schema-exper: add new recipe for openlmi
  openlmi: add openlmi and it's depends

 .../cim-schema/cim-schema-exper_2.39.0.bb  | 26 +++
 .../cim-schema/cim-schema-final_2.40.0.bb  | 31 
 .../cim-schema/cim-schema/files/LICENSE| 34 +
 .../cim-schema/cim-schema_2.40.0.bb| 31 
 .../cmpi-bindings/0001-Fix-error.patch | 26 +++
 .../cmpi-bindings/0001-Modify-cmakelist.patch  | 41 +++
 .../0001-fix-the-build-error-when-python-3.0.patch | 31 
 .../cmpi-bindings-0.4.17-no-ruby-perl.patch| 44 
 .../cmpi-bindings-0.4.17-sblim-sigsegv.patch   | 22 ++
 .../cmpi-bindings-0.9.5-python-lib-dir.patch   | 17 +
 .../cmpi-bindings/cmpi-bindings_git.bb | 36 ++
 .../konkretcmpi/konkretcmpi-native_0.9.2.bb| 27 +++
 ...-0.9.2-fix-returning-instance-from-method.patch | 38 ++
 .../konkretcmpi/konkretcmpi_0.9.2.bb   | 32 +
 .../openlmi/openlmi-networking_0.3.1.bb| 29 
 .../openlmi/openlmi-providers/0001-fix-error.patch | 26 +++
 .../openlmi/openlmi-providers_0.6.0.bb | 54 ++
 .../openlmi/openlmi-storage_0.8.1.bb   | 31 
 .../openlmi/openlmi-tools_0.10.5.bb| 23 ++
 meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb| 36 ++
 .../sblim-cmpi-devel-2.0.3-docdir.patch| 17 +
 .../sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb | 18 +
 .../sblim-sfcCommon/sblim-sfcCommon_1.0.1.bb   | 25 +++
 .../recipes-extended/sblim-sfcb/files/sfcb.service | 11 +++
 .../sblim-sfcb-1.3.15-fix-provider-debugging.patch | 12 
 .../sblim-sfcb-1.3.16-maxMsgLen.patch  | 14 
 .../sblim-sfcb-1.3.16-multilib-man-cfg.patch   | 41 +++
 ...blim-sfcb-1.3.9-sfcbrepos-schema-location.patch | 42 +++
 .../sblim-sfcb-1.4.5-service.patch | 27 +++
 .../sblim-sfcb-1.4.8-default-ecdh-curve-name.patch | 26 +++
 .../sblim-sfcb/sblim-sfcb_1.4.8.bb | 82 ++
 31 files changed, 919 insertions(+), 31 deletions(-)
 create mode 100644 
meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb
 create mode 100644 
meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb
 create mode 100644 
meta-networking/recipes-support/cim-schema/cim-schema/files/LICENSE
 delete mode 100644 
meta-networking/recipes-support/cim-schema/cim-schema_2.40.0.bb
 create mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Fix-error.patch
 create mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Modify-cmakelist.patch
 create mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-fix-the-build-error-when-python-3.0.patch
 create mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/cmpi-bindings-0.4.17-no-ruby-perl.patch
 create mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/cmpi-bindings-0.4.17-sblim-sigsegv.patch
 create mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/cmpi-bindings-0.9.5-python-lib-dir.patch
 create mode 100644 meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_git.bb
 create mode 100644 
meta-oe/recipes-extended/konkretcmpi/konkretcmpi-native_0.9.2.bb
 create mode 100644 
meta-oe/recipes-extended/konkretcmpi/konkretcmpi/konkretcmpi-0.9.2-fix-returning-instance-from-method.patch
 create mode 100644 meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb
 create mode 100644 meta-oe/recipes-extended/openlmi/openlmi-networking_0.3.1.bb
 create mode 100644 
meta-oe/recipes-extended/openlmi/openlmi-providers/0001-fix-error.patch
 create mode 100644 meta-oe/recipes-extended/openlmi/openlmi-providers_0.6.0.bb
 create mode 100644 meta-oe/recipes-extended/openlmi/openlmi-storage_0.8.1.bb
 create mode 100644 meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb
 create mode 100644 meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
 create mode 100644 
meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel/sblim-cmpi-devel-2.0.3-docdir.patch
 create mode 100644 
meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb
 create mode 100644 
meta-oe/recipes-extended/sblim-sfcCommon/sblim-sfcCommon_1.0.1.bb
 create mode 100644 meta-oe/recipes-extended/sblim-sfcb/files/sfcb.service
 create mode 100644 
meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.8/sblim-sfcb-1.3.15-fix-provider-debugging.patch
 create mode 100644 

[oe] [PATCH 4/5] ipsec-tools: Security Advisory - CVE-2015-4047

2015-07-20 Thread Armin Kuster
From: Roy Li rongqing...@windriver.com

This fixed the CVE-2015-4047:
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-4047

Signed-off-by: Roy Li rongqing...@windriver.com
Signed-off-by: Martin Jansa martin.ja...@gmail.com
Signed-off-by: Joe MacDonald joe_macdon...@mentor.com
Signed-off-by: Armin Kuster akuster...@gmail.com

Conflicts:
meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb
---
 .../ipsec-tools/fix-CVE-2015-4047.patch| 36 ++
 .../ipsec-tools/ipsec-tools_0.8.2.bb   |  1 +
 2 files changed, 37 insertions(+)
 create mode 100644 
meta-networking/recipes-support/ipsec-tools/ipsec-tools/fix-CVE-2015-4047.patch

diff --git 
a/meta-networking/recipes-support/ipsec-tools/ipsec-tools/fix-CVE-2015-4047.patch
 
b/meta-networking/recipes-support/ipsec-tools/ipsec-tools/fix-CVE-2015-4047.patch
new file mode 100644
index 000..5286376
--- /dev/null
+++ 
b/meta-networking/recipes-support/ipsec-tools/ipsec-tools/fix-CVE-2015-4047.patch
@@ -0,0 +1,36 @@
+[PATCH] fix CVE-2015-4047
+
+Upstream-Status: Backport
+
+http://www.openwall.com/lists/oss-security/2015/05/20/1
+
+racoon/gssapi.c in IPsec-Tools 0.8.2 allows remote attackers to cause
+a denial of service (NULL pointer dereference and IKE daemon crash) via
+a series of crafted UDP requests.
+
+https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-4047
+
+Signed-off-by: Roy Li rongqing...@windriver.com
+---
+ src/racoon/gssapi.c | 5 +
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/racoon/gssapi.c b/src/racoon/gssapi.c
+index e64b201..1ad3b42 100644
+--- a/src/racoon/gssapi.c
 b/src/racoon/gssapi.c
+@@ -192,6 +192,11 @@ gssapi_init(struct ph1handle *iph1)
+   gss_name_t princ, canon_princ;
+   OM_uint32 maj_stat, min_stat;
+ 
++  if (iph1-rmconf == NULL) {
++  plog(LLV_ERROR, LOCATION, NULL, no remote config\n);
++  return -1;
++  }
++
+   gps = racoon_calloc(1, sizeof (struct gssapi_ph1_state));
+   if (gps == NULL) {
+   plog(LLV_ERROR, LOCATION, NULL, racoon_calloc failed\n);
+-- 
+1.9.1
+
diff --git a/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb 
b/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb
index 8cc55ef..c526820 100644
--- a/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb
+++ b/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb
@@ -15,6 +15,7 @@ SRC_URI = 
ftp://ftp.netbsd.org/pub/NetBSD/misc/ipsec-tools/0.8/ipsec-tools-${PV
file://racoon-check-invalid-ivm.patch \
file://glibc-2.20.patch \

file://racoon-Resend-UPDATE-message-when-received-EINTR-message.patch \
+   file://fix-CVE-2015-4047.patch \
   
 SRC_URI[md5sum] = d53ec14a0a3ece64e09e5e34b3350b41
 SRC_URI[sha256sum] = 
8eb6b38716e2f3a8a72f1f549c9444c2bc28d52c9536792690564c74fe722f2d
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 2/5] libssh2: fix CVE-2015-1782

2015-07-20 Thread Armin Kuster
From: Hugo Vasconcelos Saldanha hugo.salda...@aker.com.br

Refer to: http://www.libssh2.org/adv_20150311.html

Signed-off-by: Hugo Vasconcelos Saldanha hugo.salda...@aker.com.br
Signed-off-by: Armin Kuster akuster...@gmail.com
---
 .../libssh2/libssh2-1.4.3/CVE-2015-1782.patch  | 115 +
 meta-oe/recipes-support/libssh2/libssh2_1.4.3.bb   |   4 +-
 2 files changed, 118 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-support/libssh2/libssh2-1.4.3/CVE-2015-1782.patch

diff --git a/meta-oe/recipes-support/libssh2/libssh2-1.4.3/CVE-2015-1782.patch 
b/meta-oe/recipes-support/libssh2/libssh2-1.4.3/CVE-2015-1782.patch
new file mode 100644
index 000..5f4a7c7
--- /dev/null
+++ b/meta-oe/recipes-support/libssh2/libssh2-1.4.3/CVE-2015-1782.patch
@@ -0,0 +1,115 @@
+From c7f66cca285033da9b8c9de8eceff52d7b3c3ef3 Mon Sep 17 00:00:00 2001
+From: Mariusz Ziulek m...@owasp.org
+Date: Sat, 21 Feb 2015 23:31:36 +0100
+Subject: [PATCH] kex: bail out on rubbish in the incoming packet
+
+Upstream-Status: Backport
+
+Signed-off-by: Hugo Vasconcelos Saldanha hugo.salda...@aker.com.br
+
+---
+ src/kex.c | 73 +++
+ 1 file changed, 41 insertions(+), 32 deletions(-)
+
+diff --git a/src/kex.c b/src/kex.c
+index fa4c4e1..ad7498a 100644
+--- a/src/kex.c
 b/src/kex.c
+@@ -1547,10 +1547,34 @@ static int kex_agree_comp(LIBSSH2_SESSION *session,
+ 
+ /* TODO: When in server mode we need to turn this logic on its head
+  * The Client gets to make the final call on agreed methods
+  */
+ 
++/*
++ * kex_string_pair() extracts a string from the packet and makes sure it fits
++ * within the given packet.
++ */
++static int kex_string_pair(unsigned char **sp,   /* parsing position */
++   unsigned char *data,  /* start pointer to packet */
++   size_t data_len,  /* size of total packet */
++   size_t *lenp, /* length of the string */
++   unsigned char **strp) /* pointer to string start */
++{
++unsigned char *s = *sp;
++*lenp = _libssh2_ntohu32(s);
++
++/* the length of the string must fit within the current pointer and the
++   end of the packet */
++if (*lenp  (data_len - (s - data) -4))
++return 1;
++*strp = s + 4;
++s += 4 + *lenp;
++
++*sp = s;
++return 0;
++}
++
+ /* kex_agree_methods
+  * Decide which specific method to use of the methods offered by each party
+  */
+ static int kex_agree_methods(LIBSSH2_SESSION * session, unsigned char *data,
+  unsigned data_len)
+@@ -1566,42 +1590,27 @@ static int kex_agree_methods(LIBSSH2_SESSION * 
session, unsigned char *data,
+ 
+ /* Skip cookie, don't worry, it's preserved in the kexinit field */
+ s += 16;
+ 
+ /* Locate each string */
+-kex_len = _libssh2_ntohu32(s);
+-kex = s + 4;
+-s += 4 + kex_len;
+-hostkey_len = _libssh2_ntohu32(s);
+-hostkey = s + 4;
+-s += 4 + hostkey_len;
+-crypt_cs_len = _libssh2_ntohu32(s);
+-crypt_cs = s + 4;
+-s += 4 + crypt_cs_len;
+-crypt_sc_len = _libssh2_ntohu32(s);
+-crypt_sc = s + 4;
+-s += 4 + crypt_sc_len;
+-mac_cs_len = _libssh2_ntohu32(s);
+-mac_cs = s + 4;
+-s += 4 + mac_cs_len;
+-mac_sc_len = _libssh2_ntohu32(s);
+-mac_sc = s + 4;
+-s += 4 + mac_sc_len;
+-comp_cs_len = _libssh2_ntohu32(s);
+-comp_cs = s + 4;
+-s += 4 + comp_cs_len;
+-comp_sc_len = _libssh2_ntohu32(s);
+-comp_sc = s + 4;
+-#if 0
+-s += 4 + comp_sc_len;
+-lang_cs_len = _libssh2_ntohu32(s);
+-lang_cs = s + 4;
+-s += 4 + lang_cs_len;
+-lang_sc_len = _libssh2_ntohu32(s);
+-lang_sc = s + 4;
+-s += 4 + lang_sc_len;
+-#endif
++if(kex_string_pair(s, data, data_len, kex_len, kex))
++   return -1;
++if(kex_string_pair(s, data, data_len, hostkey_len, hostkey))
++   return -1;
++if(kex_string_pair(s, data, data_len, crypt_cs_len, crypt_cs))
++   return -1;
++if(kex_string_pair(s, data, data_len, crypt_sc_len, crypt_sc))
++   return -1;
++if(kex_string_pair(s, data, data_len, mac_cs_len, mac_cs))
++   return -1;
++if(kex_string_pair(s, data, data_len, mac_sc_len, mac_sc))
++   return -1;
++if(kex_string_pair(s, data, data_len, comp_cs_len, comp_cs))
++   return -1;
++if(kex_string_pair(s, data, data_len, comp_sc_len, comp_sc))
++   return -1;
++
+ /* If the server sent an optimistic packet, assume that it guessed wrong.
+  * If the guess is determined to be right (by kex_agree_kex_hostkey)
+  * This flag will be reset to zero so that it's not ignored */
+ session-burn_optimistic_kexinit = *(s++);
+ /* Next uint32 in packet is all zeros (reserved) */
+-- 
+2.1.4
+
diff --git a/meta-oe/recipes-support/libssh2/libssh2_1.4.3.bb 
b/meta-oe/recipes-support/libssh2/libssh2_1.4.3.bb
index b537663..9af0f7f 100644
--- 

[oe] [meta-oe][PATCH v2 1/8] pywbem:add new recipe

2015-07-20 Thread Lei Maohui
pywbem is dependence of openlmi.

Signed-off-by: Lei Maohui leimao...@cn.fujitsu.com
---
 meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb | 36 +
 1 file changed, 36 insertions(+)
 create mode 100644 meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb

diff --git a/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb 
b/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
new file mode 100644
index 000..2f9a5bd
--- /dev/null
+++ b/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
@@ -0,0 +1,36 @@
+SUMMARY = Python WBEM Client and Provider Interface
+DESCRIPTION = \
+A Python library for making CIM (Common Information Model) operations over \
+HTTP using the WBEM CIM-XML protocol. It is based on the idea that a good \
+WBEM client should be easy to use and not necessarily require a large amount \
+of programming knowledge. It is suitable for a large range of tasks from \
+simply poking around to writing web and GUI applications. \
+\
+WBEM, or Web Based Enterprise Management is a manageability protocol, like \
+SNMP, standardised by the Distributed Management Task Force (DMTF) available \
+at http://www.dmtf.org/standards/wbem. \
+\
+It also provides a Python provider interface, and is the fastest and easiest \
+way to write providers on the planet.
+HOMEPAGE = http://pywbem.sf.net/;
+LICENSE = LGPLv2
+LIC_FILES_CHKSUM = 
file://pywbem/LICENSE.txt;md5=fbc093901857fcd118f065f900982c24
+SECTION = Development/Libraries
+DEPENDS = python-m2crypto-native
+SRC_URI = 
http://jaist.dl.sourceforge.net/project/${BPN}/${BPN}/${BP}/${BP}-dev.r704.zip;
+SRC_URI[md5sum] = 84072451dcdd1aa9ee82363848faf7ad
+SRC_URI[sha256sum] = 
898035866d3cc741bbcd62c4ac26e633ad07b7c11d89db2472b9f923f3fd3ed8
+
+S = ${WORKDIR}/${BP}-dev
+
+inherit setuptools python-dir
+
+do_install_append() {
+mv ${D}${bindir}/wbemcli.py ${D}${bindir}/pywbemcli
+mv ${D}${bindir}/mof_compiler.py ${D}${bindir}/mofcomp
+
+rm ${D}${libdir}/python2.7/site-packages/${BPN}/wbemcli.py*
+rm ${D}${libdir}/python2.7/site-packages/${BPN}/mof_compiler.py*
+}
+
+BBCLASSEXTEND = native
-- 
1.8.4.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 5/5] fuse: fix for CVE-2015-3202 Privilege Escalation

2015-07-20 Thread Armin Kuster
From: Tudor Florea tudor.flo...@enea.com

fusermount in FUSE before 2.9.3-15 does not properly clear the environment 
before
invoking (1) mount or (2) umount as root, which allows local users to write
to arbitrary files via a crafted LIBMOUNT_MTAB environment variable that is
used by mount's debugging feature.

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-3202
http://www.openwall.com/lists/oss-security/2015/05/21/9

Signed-off-by: Tudor Florea tudor.flo...@enea.com
Signed-off-by: Martin Jansa martin.ja...@gmail.com
Signed-off-by: Armin Kuster akuster...@gmail.com
---
 ...fix_exec_environment_for_mount_and_umount.patch | 63 ++
 .../recipes-support/fuse/fuse_2.9.3.bb |  1 +
 2 files changed, 64 insertions(+)
 create mode 100644 
meta-filesystems/recipes-support/fuse/files/001-fix_exec_environment_for_mount_and_umount.patch

diff --git 
a/meta-filesystems/recipes-support/fuse/files/001-fix_exec_environment_for_mount_and_umount.patch
 
b/meta-filesystems/recipes-support/fuse/files/001-fix_exec_environment_for_mount_and_umount.patch
new file mode 100644
index 000..8332bfb
--- /dev/null
+++ 
b/meta-filesystems/recipes-support/fuse/files/001-fix_exec_environment_for_mount_and_umount.patch
@@ -0,0 +1,63 @@
+From cfe13b7a217075ae741c018da50cd600e5330de2 Mon Sep 17 00:00:00 2001
+From: Miklos Szeredi mszer...@suse.cz
+Date: Fri, 22 May 2015 10:58:43 +0200
+Subject: [PATCH] libfuse: fix exec environment for mount and umount
+
+Found by Tavis Ormandy (CVE-2015-3202).
+
+Upstream-Status: Submitted
+Signed-off-by: Tudor Florea tudor.flo...@enea.com
+
+---
+--- a/lib/mount_util.c
 b/lib/mount_util.c
+@@ -95,10 +95,12 @@ static int add_mount(const char *prognam
+   goto out_restore;
+   }
+   if (res == 0) {
++  char *env = NULL;
++
+   sigprocmask(SIG_SETMASK, oldmask, NULL);
+   setuid(geteuid());
+-  execl(/bin/mount, /bin/mount, --no-canonicalize, -i,
+--f, -t, type, -o, opts, fsname, mnt, NULL);
++  execle(/bin/mount, /bin/mount, --no-canonicalize, -i,
++ -f, -t, type, -o, opts, fsname, mnt, NULL, env);
+   fprintf(stderr, %s: failed to execute /bin/mount: %s\n,
+   progname, strerror(errno));
+   exit(1);
+@@ -146,10 +148,17 @@ static int exec_umount(const char *progn
+   goto out_restore;
+   }
+   if (res == 0) {
++  char *env = NULL;
++
+   sigprocmask(SIG_SETMASK, oldmask, NULL);
+   setuid(geteuid());
+-  execl(/bin/umount, /bin/umount, -i, rel_mnt,
+-lazy ? -l : NULL, NULL);
++  if (lazy) {
++  execle(/bin/umount, /bin/umount, -i, rel_mnt,
++ -l, NULL, env);
++  } else {
++  execle(/bin/umount, /bin/umount, -i, rel_mnt,
++ NULL, env);
++  }
+   fprintf(stderr, %s: failed to execute /bin/umount: %s\n,
+   progname, strerror(errno));
+   exit(1);
+@@ -205,10 +214,12 @@ static int remove_mount(const char *prog
+   goto out_restore;
+   }
+   if (res == 0) {
++  char *env = NULL;
++
+   sigprocmask(SIG_SETMASK, oldmask, NULL);
+   setuid(geteuid());
+-  execl(/bin/umount, /bin/umount, --no-canonicalize, -i,
+---fake, mnt, NULL);
++  execle(/bin/umount, /bin/umount, --no-canonicalize, -i,
++ --fake, mnt, NULL, env);
+   fprintf(stderr, %s: failed to execute /bin/umount: %s\n,
+   progname, strerror(errno));
+   exit(1);
diff --git a/meta-filesystems/recipes-support/fuse/fuse_2.9.3.bb 
b/meta-filesystems/recipes-support/fuse/fuse_2.9.3.bb
index 60fea87..2e2f7a1 100644
--- a/meta-filesystems/recipes-support/fuse/fuse_2.9.3.bb
+++ b/meta-filesystems/recipes-support/fuse/fuse_2.9.3.bb
@@ -13,6 +13,7 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 SRC_URI = ${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz \
file://gold-unversioned-symbol.patch \
file://aarch64.patch \
+   file://001-fix_exec_environment_for_mount_and_umount.patch \
 
 SRC_URI[md5sum] = 33cae22ca50311446400daf8a6255c6a
 SRC_URI[sha256sum] = 
0beb83eaf2c5e50730fc553406ef124d77bc02c64854631bdfc86bfd6437391c
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 3/5] mariadb: Security Advisory -CVE-2015-2305

2015-07-20 Thread Armin Kuster
From: Roy Li rongqing...@windriver.com

https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-2305

Signed-off-by: Roy Li rongqing...@windriver.com
Signed-off-by: Martin Jansa martin.ja...@gmail.com
Signed-off-by: Armin Kuster akuster...@gmail.com

Conflicts:
meta-oe/recipes-support/mysql/mariadb_5.5.39.inc
---
 .../mysql/mariadb/fix-CVE-2015-2305.patch  | 43 ++
 meta-oe/recipes-support/mysql/mariadb_5.5.39.inc   |  1 +
 2 files changed, 44 insertions(+)
 create mode 100644 
meta-oe/recipes-support/mysql/mariadb/fix-CVE-2015-2305.patch

diff --git a/meta-oe/recipes-support/mysql/mariadb/fix-CVE-2015-2305.patch 
b/meta-oe/recipes-support/mysql/mariadb/fix-CVE-2015-2305.patch
new file mode 100644
index 000..2d1b467
--- /dev/null
+++ b/meta-oe/recipes-support/mysql/mariadb/fix-CVE-2015-2305.patch
@@ -0,0 +1,43 @@
+From f5c1d00a9ceb61acfe038dcf2ec0236c2939328c Mon Sep 17 00:00:00 2001
+From: Roy Li rongqing...@windriver.com
+Date: Mon, 1 Jun 2015 15:31:48 +0800
+Subject: [PATCH] From 70bc2965604b6b8aaf260049e64c708dddf85334 Mon Sep 17
+ 00:00:00 2001 From: Gary Houston ghous...@arglist.com Date: Wed, 25 Feb
+ 2015 13:29:03 +1100 Subject: [PATCH] Bug fix for integer overflow in regcomp
+ for excessively long  pattern strings. CERT Vulnerability Note VU#695940.
+ Found by Guido Vranken.
+
+Upsteam-Status: Backport
+
+https://bugzilla.suse.com/attachment.cgi?id=627001
+
+Signed-off-by: Roy Li rongqing...@windriver.com
+---
+ regex/regcomp.c | 11 ++-
+ 1 file changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/regex/regcomp.c b/regex/regcomp.c
+index abc1817..31e57c1 100644
+--- a/regex/regcomp.c
 b/regex/regcomp.c
+@@ -138,7 +138,16 @@ struct cclass cclasses[CCLASS_LAST+1]= {
+   (NC-1)*sizeof(cat_t));
+   if (g == NULL)
+   return(REG_ESPACE);
+-  p-ssize = (long) (len/(size_t)2*(size_t)3 + (size_t)1); /* ugh */
++  {
++/* Patched for CERT Vulnerability Note VU#695940, Feb 2015. */
++size_t new_ssize = len/(size_t)2*(size_t)3 + (size_t)1; /* ugh */
++if (new_ssize  len || new_ssize  LONG_MAX / sizeof(sop)) {
++  free((char *) g);
++  return REG_INVARG;
++}
++p-ssize = new_ssize;
++  }
++
+   p-strip = (sop *)malloc(p-ssize * sizeof(sop));
+   p-slen = 0;
+   if (p-strip == NULL) {
+-- 
+1.9.1
+
diff --git a/meta-oe/recipes-support/mysql/mariadb_5.5.39.inc 
b/meta-oe/recipes-support/mysql/mariadb_5.5.39.inc
index ae2e92b..bf15163 100644
--- a/meta-oe/recipes-support/mysql/mariadb_5.5.39.inc
+++ b/meta-oe/recipes-support/mysql/mariadb_5.5.39.inc
@@ -10,6 +10,7 @@ SRC_URI = 
http://mirror.stshosting.co.uk/mariadb/mariadb-${PV}/source/mariadb-$
file://fix-mysqlclient-r-version.patch \
file://my.cnf \
file://mysqld.service \
+   file://fix-CVE-2015-2305.patch \
   
 
 SRC_URI[md5sum] = 917a807d8cf2c8ef9deedd2a89b6decd
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 0/5] meta-oe Dizzy-next

2015-07-20 Thread Armin Kuster
please consider these patches for meta-openembedded dizzy-next

The following changes since commit 5b6f39ce325d490fc382d5d59c5b8b9d5fa38b38:

  gsoap: fold .inc and -native into one recipe (2015-04-29 19:24:09 +0200)

are available in the git repository at:

  git://github.com/akuster/meta-openembedded akuster/dizzy-next
  https://github.com/akuster/meta-openembedded/tree/akuster/dizz-next

Hugo Vasconcelos Saldanha (1):
  libssh2: fix CVE-2015-1782

Roy Li (2):
  mariadb: Security Advisory -CVE-2015-2305
  ipsec-tools: Security Advisory - CVE-2015-4047

Stefan Agner (1):
  ptpd: disable libpcap detection via pcap-config

Tudor Florea (1):
  fuse: fix for CVE-2015-3202 Privilege Escalation

 ...fix_exec_environment_for_mount_and_umount.patch |  63 +++
 .../recipes-support/fuse/fuse_2.9.3.bb |   1 +
 .../recipes-daemons/ptpd/ptpd_2.3.1-rc2.bb |   4 +-
 .../ipsec-tools/fix-CVE-2015-4047.patch|  36 +++
 .../ipsec-tools/ipsec-tools_0.8.2.bb   |   1 +
 .../libssh2/libssh2-1.4.3/CVE-2015-1782.patch  | 115 +
 meta-oe/recipes-support/libssh2/libssh2_1.4.3.bb   |   4 +-
 .../mysql/mariadb/fix-CVE-2015-2305.patch  |  43 
 meta-oe/recipes-support/mysql/mariadb_5.5.39.inc   |   1 +
 9 files changed, 265 insertions(+), 3 deletions(-)
 create mode 100644 
meta-filesystems/recipes-support/fuse/files/001-fix_exec_environment_for_mount_and_umount.patch
 create mode 100644 
meta-networking/recipes-support/ipsec-tools/ipsec-tools/fix-CVE-2015-4047.patch
 create mode 100644 
meta-oe/recipes-support/libssh2/libssh2-1.4.3/CVE-2015-1782.patch
 create mode 100644 
meta-oe/recipes-support/mysql/mariadb/fix-CVE-2015-2305.patch

-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 1/5] ptpd: disable libpcap detection via pcap-config

2015-07-20 Thread Armin Kuster
From: Stefan Agner ste...@agner.ch

When the host system provides pcap-config, the configure scripts
detect that and add a bogous CPPFLAG:

checking for pcap-config... /usr/bin/pcap-config
checking if we want to build with libpcap support... yes, pcap-config
...
PCAP_CPPFLAGS =  -I/usr/include

Which down the line can lead to compile errors due to wrong headers
being included. Fix this issue by using --with-pcap-config=no which
prevents detection using pcap-config but does guessing, which works
fine for OE.

Signed-off-by: Stefan Agner ste...@agner.ch
Signed-off-by: Armin Kuster akuster...@gmail.com
---
 meta-networking/recipes-daemons/ptpd/ptpd_2.3.1-rc2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1-rc2.bb 
b/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1-rc2.bb
index db74e44..b6abfee 100644
--- a/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1-rc2.bb
+++ b/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1-rc2.bb
@@ -8,7 +8,7 @@ SECTION = network
 LICENSE = BSD
 LIC_FILES_CHKSUM = file://README;md5=2452033fe374283f29579898663b1aa8
 
-DEPENDS = libpcap
+DEPENDS = linux-libc-headers libpcap
 
 inherit autotools
 
@@ -30,7 +30,7 @@ S = ${WORKDIR}/ptpd-${PV}
 
 EXTRA_OEMAKE = 
 
-EXTRA_OECONF += --disable-snmp
+EXTRA_OECONF += --disable-snmp --with-pcap-config=no
 
 do_install() {
 install -d ${D}${bindir} ${D}${mandir}/man8
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][fido][PATCH] nodejs: fix qemuarm build without thumb and drop unused patch

2015-07-20 Thread akuster808

merged to staging

- armin

On 06/23/2015 04:35 AM, Martin Jansa wrote:

Signed-off-by: Martin Jansa martin.ja...@gmail.com
---
  ...uiltin-define-to-denote-hard-abi-when-in-.patch | 60 --
  .../nodejs/nodejs/enable-armv5e-build.patch| 22 
  meta-oe/recipes-devtools/nodejs/nodejs_0.12.2.bb   |  4 +-
  3 files changed, 25 insertions(+), 61 deletions(-)
  delete mode 100644 
meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch
  create mode 100644 
meta-oe/recipes-devtools/nodejs/nodejs/enable-armv5e-build.patch

diff --git 
a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch
 
b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch
deleted file mode 100644
index 6268d69..000
--- 
a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From bf701e7cb3616631a354ed9ecbed6dd16f60c60d Mon Sep 17 00:00:00 2001
-From: Koen Kooi k...@dominion.thruhere.net
-Date: Wed, 30 Jan 2013 10:43:47 +0100
-Subject: [PATCH] gcc has a builtin define to denote hard abi when in use, e.g.
- when using -mfloat-abi=hard it will define __ARM_PCS_VFP to 1 and therefore
- we should check that to determine which calling convention is in use and not
- __VFP_FP__ which merely indicates presence of VFP unit
-
-The fix has been provided by Khem Raj raj.k...@gmail.com
-
-Upstream-Status: Forwarded
-
-Signed-off-by: Koen Kooi k...@dominion.thruhere.net

- deps/v8/src/arm/assembler-arm.cc | 4 ++--
- deps/v8/src/platform-linux.cc| 4 ++--
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/deps/v8/src/arm/assembler-arm.cc 
b/deps/v8/src/arm/assembler-arm.cc
-index 1787d15..c64ef58 100644
 a/deps/v8/src/arm/assembler-arm.cc
-+++ b/deps/v8/src/arm/assembler-arm.cc
-@@ -71,10 +71,10 @@ static unsigned CpuFeaturesImpliedByCompiler() {
-   // If the compiler is allowed to use VFP then we can use VFP too in our code
-   // generation even when generating snapshots. ARMv7 and hardware floating
-   // point support implies VFPv3, see ARM DDI 0406B, page A1-6.
--#if defined(CAN_USE_ARMV7_INSTRUCTIONS)  defined(__VFP_FP__) \
-+#if defined(CAN_USE_ARMV7_INSTRUCTIONS)  defined(__ARM_PCS_VFP) \
-  !defined(__SOFTFP__)
-   answer |= 1u  VFP3 | 1u  ARMv7 | 1u  VFP2;
--#endif  // defined(CAN_USE_ARMV7_INSTRUCTIONS)  defined(__VFP_FP__)
-+#endif  // defined(CAN_USE_ARMV7_INSTRUCTIONS)  defined(__ARM_PCS_VFP)
- //  !defined(__SOFTFP__)
- #endif  // _arm__
-
-diff --git a/deps/v8/src/platform-linux.cc b/deps/v8/src/platform-linux.cc
-index ed9eb79..10d1879 100644
 a/deps/v8/src/platform-linux.cc
-+++ b/deps/v8/src/platform-linux.cc
-@@ -170,7 +170,7 @@ bool OS::ArmCpuHasFeature(CpuFeature feature) {
- // calling this will return 1.0 and otherwise 0.0.
- static void ArmUsingHardFloatHelper() {
-   asm(mov r0, #0:::r0);
--#if defined(__VFP_FP__)  !defined(__SOFTFP__)
-+#if defined(__ARM_PCS_VFP)  !defined(__SOFTFP__)
-   // Load 0x3ff0 into r1 using instructions available in both ARM
-   // and Thumb mode.
-   asm(mov r1, #3:::r1);
-@@ -195,7 +195,7 @@ static void ArmUsingHardFloatHelper() {
- #else
-   asm(vmov d0, r0, r1);
- #endif  // __thumb__
--#endif  // defined(__VFP_FP__)  !defined(__SOFTFP__)
-+#endif  // defined(__ARM_PCS_VFP)  !defined(__SOFTFP__)
-   asm(mov r1, #0:::r1);
- }
-
---
-1.8.1
-
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/enable-armv5e-build.patch 
b/meta-oe/recipes-devtools/nodejs/nodejs/enable-armv5e-build.patch
new file mode 100644
index 000..cc7c9ab
--- /dev/null
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/enable-armv5e-build.patch
@@ -0,0 +1,22 @@
+Building for qemuarm without thumb enabled is using -march=armv5e which isn't
+recognized here. Fix it by adding __ARM_ARCH_5E__.
+
+v0.12.2 branch of node doesn't seem to be affected, because it's using
+different version of v8
+
+Upstream-Status: Pending
+
+Signed-off-by: Martin Jansa martin.ja...@gmail.com
+
+diff -uNr node-v0.12.2/deps/v8/src/base/atomicops_internals_arm_gcc.h 
node-v0.12.2-fix/deps/v8/src/base/atomicops_internals_arm_gcc.h
+--- node-v0.12.2/deps/v8/src/base/atomicops_internals_arm_gcc.h
2015-04-01 00:13:01.0 +0200
 node-v0.12.2-fix/deps/v8/src/base/atomicops_internals_arm_gcc.h
2015-04-28 14:30:43.119509207 +0200
+@@ -156,7 +156,7 @@
+
+ // This tests against any known ARMv5 variant.
+ #elif defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5T__) || \
+-  defined(__ARM_ARCH_5TE__) || defined(__ARM_ARCH_5TEJ__)
++  defined(__ARM_ARCH_5E__) || defined(__ARM_ARCH_5TE__) || 
defined(__ARM_ARCH_5TEJ__)
+
+ // The kernel also provides a helper function to perform an atomic
+ // compare-and-swap operation at the hard-wired address 0x0fc0.
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_0.12.2.bb