diff options
author | Jens Rehsack <rehsack@gmail.com> | 2015-11-19 20:44:32 +0100 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-01-04 12:58:10 -0500 |
commit | 0db903b44c8f983823a4f35622567efbc13f0f5b (patch) | |
tree | 256f632ccd3cda26e923adc79c0e48cc3a4389c4 | |
parent | 40d6a19aa300eb114ea4aa2de3c27a3fc22706f7 (diff) | |
download | meta-openembedded-0db903b44c8f983823a4f35622567efbc13f0f5b.tar.gz |
talloc: rename to libtalloc and cleanup dependency mess
To avoid errors when building dev-images (talloc-dev is missing), and to avoid
insane empty packages for that, rename talloc -> libtalloc as libtevent shows.
With that, remove dependencies to attr/xattr - unless explicitely enabled via
PACKAGECONFIG.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 2 | ||||
-rw-r--r-- | meta-networking/recipes-support/cifs/cifs-utils_git.bb | 2 | ||||
-rw-r--r-- | meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb | 2 | ||||
-rw-r--r-- | meta-networking/recipes-support/libldb/libldb_1.1.17.bb | 6 | ||||
-rw-r--r-- | meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch | 20 | ||||
-rw-r--r-- | meta-networking/recipes-support/libtalloc/libtalloc_2.1.1.bb (renamed from meta-networking/recipes-support/talloc/talloc_2.1.1.bb) | 25 | ||||
-rw-r--r-- | meta-networking/recipes-support/libtevent/libtevent_0.9.21.bb | 3 |
7 files changed, 37 insertions, 23 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb index cb29ab9d95..40afce886e 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | |||
@@ -40,7 +40,7 @@ SRC_URI[sha256sum] = "033604674936bf5c77d7df299b0626052b84a41505a6a6afe902f6274f | |||
40 | 40 | ||
41 | inherit systemd waf-samba cpan-base perlnative | 41 | inherit systemd waf-samba cpan-base perlnative |
42 | 42 | ||
43 | DEPENDS += "readline virtual/libiconv zlib popt talloc libtdb libtevent libldb krb5 ctdb libbsd cyrus-sasl" | 43 | DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb krb5 ctdb libbsd cyrus-sasl" |
44 | 44 | ||
45 | 45 | ||
46 | SYSVINITTYPE_linuxstdbase = "lsb" | 46 | SYSVINITTYPE_linuxstdbase = "lsb" |
diff --git a/meta-networking/recipes-support/cifs/cifs-utils_git.bb b/meta-networking/recipes-support/cifs/cifs-utils_git.bb index 00617c9f2b..49a1aeccee 100644 --- a/meta-networking/recipes-support/cifs/cifs-utils_git.bb +++ b/meta-networking/recipes-support/cifs/cifs-utils_git.bb | |||
@@ -17,7 +17,7 @@ PACKAGECONFIG[cap] = "--with-libcap,--without-libcap,libcap" | |||
17 | # when enabled, it creates ${bindir}/cifscreds and --ignore-fail-on-non-empty in do_install_append is needed | 17 | # when enabled, it creates ${bindir}/cifscreds and --ignore-fail-on-non-empty in do_install_append is needed |
18 | PACKAGECONFIG[cifscreds] = "--enable-cifscreds,--disable-cifscreds,keyutils" | 18 | PACKAGECONFIG[cifscreds] = "--enable-cifscreds,--disable-cifscreds,keyutils" |
19 | # when enabled, it creates ${sbindir}/cifs.upcall and --ignore-fail-on-non-empty in do_install_append is needed | 19 | # when enabled, it creates ${sbindir}/cifs.upcall and --ignore-fail-on-non-empty in do_install_append is needed |
20 | PACKAGECONFIG[cifsupcall] = "--enable-cifsupcall,--disable-cifsupcall,krb5 talloc keyutils" | 20 | PACKAGECONFIG[cifsupcall] = "--enable-cifsupcall,--disable-cifsupcall,krb5 libtalloc keyutils" |
21 | 21 | ||
22 | inherit autotools pkgconfig | 22 | inherit autotools pkgconfig |
23 | 23 | ||
diff --git a/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb b/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb index 5718c5ffbe..a65527e9d0 100644 --- a/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb +++ b/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb | |||
@@ -26,7 +26,7 @@ inherit autotools-brokensep pkgconfig systemd | |||
26 | 26 | ||
27 | PARALLEL_MAKE = "" | 27 | PARALLEL_MAKE = "" |
28 | 28 | ||
29 | DEPENDS += "popt libtevent talloc" | 29 | DEPENDS += "popt libtevent libtalloc" |
30 | 30 | ||
31 | do_configure() { | 31 | do_configure() { |
32 | oe_runconf | 32 | oe_runconf |
diff --git a/meta-networking/recipes-support/libldb/libldb_1.1.17.bb b/meta-networking/recipes-support/libldb/libldb_1.1.17.bb index 44f061ab6b..e587858f53 100644 --- a/meta-networking/recipes-support/libldb/libldb_1.1.17.bb +++ b/meta-networking/recipes-support/libldb/libldb_1.1.17.bb | |||
@@ -3,9 +3,9 @@ HOMEPAGE = "http://ldb.samba.org" | |||
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | LICENSE = "LGPL-3.0+ & LGPL-2.1+ & GPL-3.0+" | 4 | LICENSE = "LGPL-3.0+ & LGPL-2.1+ & GPL-3.0+" |
5 | 5 | ||
6 | DEPENDS += "libtdb talloc libtevent popt" | 6 | DEPENDS += "libtdb libtalloc libtevent popt" |
7 | RDEPENDS_${PN} += "libtevent popt libtalloc openldap" | 7 | RDEPENDS_${PN} += "openldap" |
8 | RDEPENDS_pyldb += "python libtdb libtalloc" | 8 | RDEPENDS_pyldb += "python" |
9 | 9 | ||
10 | SRC_URI = "http://samba.org/ftp/ldb/ldb-${PV}.tar.gz \ | 10 | SRC_URI = "http://samba.org/ftp/ldb/ldb-${PV}.tar.gz \ |
11 | file://do-not-import-target-module-while-cross-compile.patch \ | 11 | file://do-not-import-target-module-while-cross-compile.patch \ |
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch b/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch new file mode 100644 index 0000000000..a3ee9ccd97 --- /dev/null +++ b/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | --- a/lib/replace/wscript 2015-11-13 16:04:04.000000000 +0100 | ||
2 | +++ b/lib/replace/wscript 2015-11-13 16:23:20.000000000 +0100 | ||
3 | @@ -636,8 +636,6 @@ | ||
4 | if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c' | ||
5 | if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c' | ||
6 | if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c' | ||
7 | - if not bld.CONFIG_SET('HAVE_GETXATTR') or bld.CONFIG_SET('XATTR_ADDITIONAL_OPTIONS'): | ||
8 | - REPLACE_SOURCE += ' xattr.c' | ||
9 | |||
10 | bld.SAMBA_LIBRARY('replace', | ||
11 | source=REPLACE_SOURCE, | ||
12 | @@ -648,7 +646,7 @@ | ||
13 | # at the moment: | ||
14 | # hide_symbols=bld.BUILTIN_LIBRARY('replace'), | ||
15 | private_library=True, | ||
16 | - deps='crypt dl nsl socket rt attr' + extra_libs) | ||
17 | + deps='crypt dl nsl socket rt ' + extra_libs) | ||
18 | |||
19 | bld.SAMBA_SUBSYSTEM('replace-test', | ||
20 | source='''test/testsuite.c test/strptime.c | ||
diff --git a/meta-networking/recipes-support/talloc/talloc_2.1.1.bb b/meta-networking/recipes-support/libtalloc/libtalloc_2.1.1.bb index 89c390f01d..9016f42af1 100644 --- a/meta-networking/recipes-support/talloc/talloc_2.1.1.bb +++ b/meta-networking/recipes-support/libtalloc/libtalloc_2.1.1.bb | |||
@@ -3,7 +3,9 @@ HOMEPAGE = "http://talloc.samba.org" | |||
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | LICENSE = "LGPL-3.0+ & GPL-3.0+" | 4 | LICENSE = "LGPL-3.0+ & GPL-3.0+" |
5 | 5 | ||
6 | SRC_URI = "http://samba.org/ftp/${BPN}/${BPN}-${PV}.tar.gz" | 6 | DEPENDS += "libbsd" |
7 | |||
8 | SRC_URI = "http://samba.org/ftp/${BPN}/talloc-${PV}.tar.gz" | ||
7 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \ | 9 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \ |
8 | file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" | 10 | file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" |
9 | 11 | ||
@@ -12,6 +14,12 @@ SRC_URI[sha256sum] = "3e29ce6c3ba3c4f7c2d57ce8cf0fbc24c86618c519f2b2fb6a45902548 | |||
12 | 14 | ||
13 | inherit waf-samba | 15 | inherit waf-samba |
14 | 16 | ||
17 | PACKAGECONFIG[attr] = ",,attr" | ||
18 | |||
19 | SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'attr', '', 'file://avoid-attr-unless-wanted.patch', d)}" | ||
20 | |||
21 | S = "${WORKDIR}/talloc-${PV}" | ||
22 | |||
15 | EXTRA_OECONF += "--disable-rpath \ | 23 | EXTRA_OECONF += "--disable-rpath \ |
16 | --disable-rpath-install \ | 24 | --disable-rpath-install \ |
17 | --bundled-libraries=NONE \ | 25 | --bundled-libraries=NONE \ |
@@ -20,20 +28,7 @@ EXTRA_OECONF += "--disable-rpath \ | |||
20 | --with-libiconv=${STAGING_DIR_HOST}${prefix}\ | 28 | --with-libiconv=${STAGING_DIR_HOST}${prefix}\ |
21 | " | 29 | " |
22 | 30 | ||
23 | PACKAGES += "libtalloc libtalloc-dbg libtalloc-dev pytalloc pytalloc-dbg pytalloc-dev" | 31 | PACKAGES += "pytalloc pytalloc-dbg pytalloc-dev" |
24 | |||
25 | #ALLOW_EMPTY_${PN} = "1" | ||
26 | FILES_${PN} = "" | ||
27 | FILES_${PN}-dev = "" | ||
28 | FILES_${PN}-dbg = "" | ||
29 | |||
30 | FILES_libtalloc = "${libdir}/libtalloc.so.2 \ | ||
31 | ${libdir}/libtalloc.so.2.1.1" | ||
32 | FILES_libtalloc-dbg = "/usr/src/debug/ \ | ||
33 | ${libdir}/.debug/libtalloc.so.2.1.1" | ||
34 | FILES_libtalloc-dev = "${includedir}/ \ | ||
35 | ${libdir}/libtalloc.so \ | ||
36 | ${libdir}/pkgconfig/" | ||
37 | 32 | ||
38 | FILES_pytalloc = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ | 33 | FILES_pytalloc = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ |
39 | ${libdir}/libpytalloc-util.so.2 \ | 34 | ${libdir}/libpytalloc-util.so.2 \ |
diff --git a/meta-networking/recipes-support/libtevent/libtevent_0.9.21.bb b/meta-networking/recipes-support/libtevent/libtevent_0.9.21.bb index f297f30e12..36ce7d6f77 100644 --- a/meta-networking/recipes-support/libtevent/libtevent_0.9.21.bb +++ b/meta-networking/recipes-support/libtevent/libtevent_0.9.21.bb | |||
@@ -3,8 +3,7 @@ HOMEPAGE = "http://tevent.samba.org" | |||
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | LICENSE = "LGPLv3+" | 4 | LICENSE = "LGPLv3+" |
5 | 5 | ||
6 | DEPENDS += "talloc libcap" | 6 | DEPENDS += "libtalloc libcap" |
7 | RDEPENDS_${PN} += "libtalloc" | ||
8 | RDEPENDS_python-tevent = "python" | 7 | RDEPENDS_python-tevent = "python" |
9 | 8 | ||
10 | SRC_URI = "http://samba.org/ftp/tevent/tevent-${PV}.tar.gz" | 9 | SRC_URI = "http://samba.org/ftp/tevent/tevent-${PV}.tar.gz" |