diff options
| author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2021-02-07 21:28:38 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-02-06 21:52:33 -0800 |
| commit | a12c6cf8a951115c50e8999727f79d9efa534cc3 (patch) | |
| tree | 7fffceda37bee5a8d3d507addbf4ad102049badd /meta-networking/recipes-support/libtalloc/libtalloc_2.3.2.bb | |
| parent | 32385e6c2c572269e4898e01e930b4de21662e4f (diff) | |
| download | meta-openembedded-a12c6cf8a951115c50e8999727f79d9efa534cc3.tar.gz | |
libtalloc: upgrade 2.3.1 -> 2.3.2
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/libtalloc/libtalloc_2.3.2.bb')
| -rw-r--r-- | meta-networking/recipes-support/libtalloc/libtalloc_2.3.2.bb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc_2.3.2.bb b/meta-networking/recipes-support/libtalloc/libtalloc_2.3.2.bb new file mode 100644 index 0000000000..ae92de2db3 --- /dev/null +++ b/meta-networking/recipes-support/libtalloc/libtalloc_2.3.2.bb | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | SUMMARY = "Hierarchical, reference counted memory pool system with destructors" | ||
| 2 | HOMEPAGE = "http://talloc.samba.org" | ||
| 3 | SECTION = "libs" | ||
| 4 | LICENSE = "LGPL-3.0+ & GPL-3.0+" | ||
| 5 | LIC_FILES_CHKSUM = "file://talloc.h;beginline=3;endline=27;md5=a301712782cad6dd6d5228bfa7825249 \ | ||
| 6 | file://pytalloc.h;beginline=1;endline=18;md5=2c498cc6f2263672483237b20f46b43d" | ||
| 7 | |||
| 8 | |||
| 9 | SRC_URI = "https://www.samba.org/ftp/talloc/talloc-${PV}.tar.gz \ | ||
| 10 | file://options-2.2.0.patch \ | ||
| 11 | " | ||
| 12 | SRC_URI[md5sum] = "3376a86bdf9dd4abc6b8d8d645390902" | ||
| 13 | SRC_URI[sha256sum] = "27a03ef99e384d779124df755deb229cd1761f945eca6d200e8cfd9bf5297bd7" | ||
| 14 | |||
| 15 | inherit waf-samba | ||
| 16 | |||
| 17 | PACKAGECONFIG ??= "\ | ||
| 18 | ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)} \ | ||
| 19 | ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)} \ | ||
| 20 | " | ||
| 21 | PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl" | ||
| 22 | PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr" | ||
| 23 | PACKAGECONFIG[libaio] = "--with-libaio,--without-libaio,libaio" | ||
| 24 | PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd" | ||
| 25 | PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap" | ||
| 26 | PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind" | ||
| 27 | |||
| 28 | SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'attr', '', 'file://avoid-attr-unless-wanted.patch', d)}" | ||
| 29 | |||
| 30 | S = "${WORKDIR}/talloc-${PV}" | ||
| 31 | |||
| 32 | #cross_compile cannot use preforked process, since fork process earlier than point subproces.popen | ||
| 33 | #to cross Popen | ||
| 34 | export WAF_NO_PREFORK="yes" | ||
| 35 | |||
| 36 | EXTRA_OECONF += "--disable-rpath \ | ||
| 37 | --disable-rpath-install \ | ||
| 38 | --bundled-libraries=NONE \ | ||
| 39 | --builtin-libraries=replace \ | ||
| 40 | --disable-silent-rules \ | ||
| 41 | --with-libiconv=${STAGING_DIR_HOST}${prefix}\ | ||
| 42 | " | ||
| 43 | |||
| 44 | PACKAGES += "pytalloc pytalloc-dev" | ||
| 45 | |||
| 46 | RPROVIDES_${PN}-dbg += "pytalloc-dbg" | ||
| 47 | |||
| 48 | FILES_pytalloc = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ | ||
| 49 | ${libdir}/libpytalloc-util.so.2 \ | ||
| 50 | ${libdir}/libpytalloc-util.so.2.1.1 \ | ||
| 51 | " | ||
| 52 | FILES_pytalloc-dev = "${libdir}/libpytalloc-util.so" | ||
| 53 | RDEPENDS_pytalloc = "python3" | ||
