29 Commits

Author SHA1 Message Date
Mikko Rapeli bd4d8deaad udisks2_2.1.8.bb: set CVE_PRODUCT to udisks
It is used in NVD for CVE's like:

https://nvd.nist.gov/vuln/detail/CVE-2014-0004

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 57fac9d8ac)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-13 17:16:28 -07:00
Peter Kjellerstedt 0c31f55bcf Make use of the new bb.utils.filter() function
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-07 13:30:26 +01:00
Robert Yang 3f69e3cd85 udisks: add dbus-glib-native to DEPENDS
Fixed:
| dbus-binding-tool --prefix=daemon --mode=glib-server --output=daemon-glue.h ../data/org.freedesktop.UDisks.xml
| make[2]: dbus-binding-tool: Command not found

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2017-02-16 12:06:37 +01:00
Amarnath Valluri 26e52a2619 udisks: Make use of bitbake variables for sbin, lib locations.
Took the opportunity to patch the source to accepet the udev rules directory
from make variables.

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:35 +01:00
Mark Asselstine 8731b651cb udisks: add missing hard dependency
Because do_compile() makes calls to dbus-binding-tool we have to make
this tool available via the dbus-glib-native package. Failing this we
get errors:

  | dbus-binding-tool --prefix=port --mode=glib-server --output=port-glue.h ...
  | /bin/bash: dbus-binding-tool: command not found
  | Makefile:1150: recipe for target 'daemon-glue.h' failed

This becomes a hard build failure when per recipe sysroots are used.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:31 +01:00
Paul Gortmaker bab0cf6056 udisks2: add libxslt-native to DEPENDS for xsltproc to be in sysroot
This started showing up recently on machines w/o xsltproc in
their path:

| checking for xsltproc... no
| configure: error: xsltproc is needed
| WARNING: udisks2/2.1.7-r0/temp/run.do_configure.29255:1 exit 1
| ERROR: Function failed: do_configure (log file is located at
| build/tmp/work/core2-64-overc-linux/udisks2/2.1.7-r0/temp/log.do_configure.29255)

Presumably the splitting of the sysroot made this happen more
frequently on such machines that didn't have a host install of the
xsltproc binary.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:27 +01:00
Alexander Kanavin f119c2a2f9 gtk-doc: disable where necessary
Several recipes in meta-oe layers are so old that they don't work
with modern gtk-doc (which was added and enabled by default in oe-core);
disable that where it is necessary for the build to succeed.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-05 13:30:51 +02:00
Khem Raj b415e2a372 udisks2: Update to 2.1.7
Fix below  build with musl while here

| ../../udisks-2.1.7/udisks/udisksclient.c:2004:6: warning: '__GNUC_PREREQ' is not defined, evaluates to 0 [-Wundef]
| # if __GNUC_PREREQ(4,6) || __clang__

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:49:23 +02:00
Ross Burton 21f10c11f3 meta-oe: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:38 +02:00
Armin Kuster 40d7128be0 udisk2: fix build issue with missing depends
checking for sys/acl.h... no
| configure: error: *** ACL headers not found.
| NOTE: The following config.log files may provide further information.

add acl to DEPENDS

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-21 21:33:53 +02:00
Alexander Kanavin 3244b7e701 udisks2: fix gobject introspection
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2016-03-14 12:15:34 +01:00
Andreas Müller 3693dc71c8 udisks: update to 1.05 and fix build with latest glibc-version
From News:
This version fixes a security vulnerability (CVE-2014-0004), so please update
as soon as possible!

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23 15:39:42 +02:00
Andreas Müller 08b83eef53 udisks: replace udev by libgudev in DEPENDS
fixes:
| configure: error: Package requirements (gudev-1.0 >= 147) were not met:
|
| No package 'gudev-1.0' found

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23 15:39:42 +02:00
Andreas Müller 4920978a48 udisks2: add libgudev to DEPENDS
fixes:
| configure: error: Package requirements (gudev-1.0 >= 165) were not met:

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23 15:39:42 +02:00
Yi Zhao 8f7ee00291 meta-oe: fix the install dir for udev rules and files
When enable multilib, some packages try to install udev rules and
related files into /lib64/udev/ directory. But these files should
be installed in /lib/udev/ directory even on multilib.
Use ${nonarch_base_libdir} instead of ${base_libdir} to fix it.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2015-06-23 12:40:10 +02:00
Andreas Müller 51e459bad9 udisks2: add recipe for 2.1.5 version
tests:

* Build & run along with udisks on xfce based image
* Tested automount on kde plasma desktop

* udisks2: disable manpage creation
| I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
| warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
| cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-13 14:34:23 +02:00
Armin Kuster 2858827ae7 udisks: fix QA warnings
WARNING: QA Issue: udisks rdepends on lvm2, but it isn't a build dependency? [build-deps]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-11 10:57:10 +02:00
Richard Purdie f6ecec16d7 recipes: add missing gtk-doc class dependencies
* These recipes all use gtk-doc m4 macros but were missing
  dependencies on the class.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 13:06:13 +02:00
Richard Purdie 0ee1083568 recipes: add missing dependency on intltool-native
* These recipes all require intltool-native to build but were missing
  a dependency on it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 13:06:13 +02:00
Martin Jansa a84c2acd25 udisks: Add PACKAGECONFIG for parted
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-17 19:14:31 +02:00
Martin Jansa ab198bbcfa udisks: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:04 +02:00
Andreas Müller 14a5f1174c udisks: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller d1fa476dab udisks: remove unneeded systemd code
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-23 16:46:32 +01:00
Otavio Salvador e29a0310c5 udisks: explicitly depends on systemd
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-02-20 22:22:02 +01:00
Otavio Salvador 6ae89951a7 udisks: disable manpage building
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-01-09 10:31:00 +01:00
Andreas Müller dc32361d19 udisks: add native systemd support
Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-05 10:15:54 +01:00
Koen Kooi 7a364f8abc udisks: update to 1.0.4
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-24 14:01:17 +02:00
lumag 1a73f253dc udisks: add checksums for udisks-1.0.2
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-17 14:31:45 +02:00
Koen Kooi 5edc0def9d udisks: initial add of 1.0.2
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-09 20:15:04 +02:00