summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/apr
Commit message (Collapse)AuthorAgeFilesLines
* recipes-support: Add missing HOMEPAGE and DESCRIPTION for recipesMeh Mbeh Ida Delphine2021-03-021-4/+4
| | | | | | | | | Fixes: [YOCTO #13471] (From OE-Core rev: 6db24928d62aeb093a0e6da6619713eaca57a96f) Signed-off-by: Ida Delphine <idadelm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: Fix CFLAGS used in buildRichard Purdie2021-03-011-0/+2
| | | | | | | | | We need to use CFLAGS with the correct WORKDIR in them, replace those in the sysroot file with the ones appropriate to the current recipe. (From OE-Core rev: 45edf189961aff1858be9bb7b63116073c0a0c10) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: Fix to work with autoconf 2.70Richard Purdie2021-02-072-0/+23
| | | | | | | | | | | Fix an issue with autoconf 2.70 where duplicate macro includes caused configure failures. (From OE-Core rev: 4e5d7c86a8a5e752df451d988861a86236e8c8ff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: Only specify --with-dbm=gdbm if gdbm support is enabledPeter Kjellerstedt2020-12-211-3/+2
| | | | | | | | | | Support for gdbm was made optional in 3260ad9e, but it was still being used unconditionally. (From OE-Core rev: 09d303ca295dc27874c72b30c37a64d1fdf4c5c0) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: add missing descriptions in some support recipesMaxime Roussin-Bélanger2020-12-181-0/+4
| | | | | | | (From OE-Core rev: d2654384db4999c78bc3d98215a4eecdab63541b) Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: make gdbm optionalAlexander Kanavin2020-06-171-3/+3
| | | | | | | | | This helps with gpl3-free builds. (From OE-Core rev: 3260ad9e8ff185b4799269bbcdd9f638e976c4b4) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: add option for disabling time dependant testsJeremy Puhlman2020-03-292-0/+71
| | | | | | | | | [YOCTO #13839] (From OE-Core rev: ff617d478cb3213deb23cf0124c04beab4d4ecc8) Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: add multilib script for apu-1-configJeremy Puhlman2020-02-291-1/+3
| | | | | | | | | | | apu-1-config encodes library path in to script 27c27 < libdir="/usr/lib64" (From OE-Core rev: 3682d0ca3ffeb84fd2f935a9c9b253e015c9e137) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: add mulitlib scripts apr-1-config, apr_rules.mkJeremy Puhlman2020-02-291-1/+4
| | | | | | | | | | | apr_rules.mk encodes build options in to file 35c35 < CC=x86_64-montavista-linux-gcc -m64 -march=nehalem -mtune=generic -mfpmath=sse -msse4.2 --sysroot= (From OE-Core rev: 9cdfafe487fc5e7fecdc56a8fa5c3ea70829fb99) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: Check for libtoolize rather than libtoolRobert Yang2019-09-303-34/+31
| | | | | | | | | | | | | | | | Backport a patch from debian to make it check libtoolize rather than libtool. https://sources.debian.org/data/main/a/apr/1.6.5-1/debian/patches/libtoolize_check.patch This can also fix: $ bitbake nativesdk-apr buildconf: libtool not found. You need libtool version 1.4 or newer installed (From OE-Core rev: 1a1b9e3ff33dea964bdf79bc47b5c7801e4df5a5) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr/apr-util: Add ptest dependency on libgccRichard Purdie2019-05-162-0/+3
| | | | | | | | | | | | Avoid: libgcc_s.so.1 must be installed for pthread_cancel to work when running the ptest without libgcc. (From OE-Core rev: 791bb6f1c95552a44660bb78c522fd8ecc4e6384) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: upgrade 1.6.5 -> 1.7.0Hongxu Jia2019-05-122-16/+14
| | | | | | | (From OE-Core rev: 6cbdecf8236153db202d938d0ab8a546852bd564) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr/openssl10: Enable ccache for themRobert Yang2019-01-141-5/+0
| | | | | | | | | They work well now. (From OE-Core rev: 5514c6c136b4ea48cba7edb0831eb12e1870d7d2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: upgrade 1.6.3 -> 1.6.5Hongxu Jia2018-11-142-36/+3
| | | | | | | (From OE-Core rev: a9c90d3d97c928dad4bd9137bff957877bb57a3c) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: Trim license info extracted from apu_version.hPeter Kjellerstedt2018-11-071-1/+1
| | | | | | | | | | | Two unrelated lines were extracted from apu_version.h for the license information. License-Update: Only extract the relevant part from apu_version.h (From OE-Core rev: 2edb0f24a13f27b2fae94fb447221ad2ddb924a0) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: Trim license info extracted from apr_lib.hPeter Kjellerstedt2018-11-071-1/+1
| | | | | | | | | | | Two unrelated lines were extracted from apr_lib.h for the license information. License-Update: Only extract the relevant part from apr_lib.h (From OE-Core rev: 90ab83ecc509c2fdc1f6083d771031decdcaad63) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: fix ptest fail problemChangqing Li2018-09-132-0/+136
| | | | | | | | | | | | | | | | Test suite test_dbm failed after gdbm upgrtade to 13.1, from 13.1, return value of some function are changed. * gdbm_fetch, gdbm_firstkey, and gdbm_nextkey behavior If the requested key was not found, these functions return datum with dptr pointing to NULL and set gdbm_errno to GDBM_ITEM_NOT_FOUND (in prior releases, gdbm_errno was set to GDBM_NO_ERROR), (From OE-Core rev: 0952c190fc6aec333676ce3883e8232fa8595551) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: fix ptest hangs since enter non-terminating loopChangqing Li2018-07-262-0/+33
| | | | | | | | | | | ptest hangs in teststr since enter non-terminating loop, fixed by a backport patch (From OE-Core rev: daa496e7104e3f06bc5192bb4ec7d894b22dba5d) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: 1.6.2 -> 1.6.3Hongxu Jia2018-02-0611-198/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Improve inappropriate patches: - Drop inappropriate configure_fixes.patch Use setting variable ac_cv_file__dev_zero and ac_cv_sizeof_struct_iovec to replace - Drop cleanup.patch Aassign variable libtool at ./buildconf executing and use 0001-build-buildcheck.sh-improve-libtool-detection.patch to replace. Submitted it to upstream. - Rename configfix.patch to 0002-apr-Remove-workdir-path-references-from-installed-ap.patch Add its original comments and author, explain why it is inappropriate - Drop upgrade-and-fix-1.5.1.patch Use 0003-Makefile.in-configure.in-support-cross-compiling.patch to replace. And submitted it to upstream. 2. Fix build path issue to improve reproducibility (From OE-Core rev: 29c4b19e640b544c9c351aec4292a3f65b619998) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: 1.6.0 -> 1.6.1Hongxu Jia2018-02-061-4/+2
| | | | | | | | (From OE-Core rev: 2fe6961b3d6786c4acd666f78b8b2105bfa0b9d1) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: 1.5.4 -> 1.6.0Hongxu Jia2017-08-182-257/+3
| | | | | | | | | Drop backported openssl-1.1.patch (From OE-Core rev: a67800e01b9b383d2f887a82de3075b2ef234648) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: 1.5.2 -> 1.6.2Fan Xin2017-07-171-2/+2
| | | | | | | | | | Update apr from 1.5.2 to 1.6.2 (From OE-Core rev: 88e7f5c25f1e303b9d68fe25d7e785b9412c6138) Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add/fix missing Upstream-Status to patchesRichard Purdie2017-06-271-0/+2
| | | | | | | | | This adds or fixes the Upstream-Status for all remaining patches missing it in OE-Core. (From OE-Core rev: 563cab8e823c3fde8ae4785ceaf4d68a5d3e25df) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: add support for openssl 1.1 via backported patchAlexander Kanavin2017-05-182-0/+254
| | | | | | | | (From OE-Core rev: 98efbb3183a33f0a94456fd8cfe040d82a12afc3) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: fix rss+perf+gold failure on do_compile_ptest_baseAndreas Müller2017-03-082-0/+51
| | | | | | | | | | Was detected in Martin's world build (From OE-Core rev: ef9dfc361e5e97157d05dfeaf67a3e872648d372) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-011-1/+1
| | | | | | | (From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: fix off_t size can't match when configure and in target glibcDengke Du2016-12-222-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When subversion run on x86 and lib32 on x86-64, it use the APR's apr.h header file. But when configure the APR, APR meets the cross compiling, it was hardcoded in configure.in in apr source code. As the following: APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>], off_t, 8) It pass 8 bytes to off_t when meets cross compiling, but on x86 or lib32 the off_t in glibc was 4 bytes, so it let the application who use apr.h go to wrong. Such as subversion: svnadmin create test So we should let the APR detect the correct off_t when cross compiling, change it to the following: AC_CHECK_SIZEOF(off_t) The same for the following hardcoded types for cross compiling: pid_t 8 size_t 8 ssize_t 8 Change the above correspondingly. (From OE-Core rev: e18820ca9202c07e2406d702c46f45415182b7a6) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: control ipv6 support based on DISTRO_FEATURESJackie Huang2016-09-031-0/+3
| | | | | | | | | | Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. (From OE-Core rev: 91d29c5555557fb0637c886f76c859d704ecd980) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: fix path in rules.mk for nativesdkRobert Yang2016-04-091-4/+4
| | | | | | | | | | | | Fixed when build nativesdk-apr-util: | gawk: fatal: can't open source file `/opt/poky/2.0+snapshot/sysroots/x86_64-pokysdk-linux/usr/share/build-1/make_exports.awk' for reading (No such file or directory) The ${S} should be ${B}. (From OE-Core rev: ba29845a5b9bf16cda2230540d7ce17d0f82e8fa) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: add ldap crypto and sqlite3 to PACKAGECONFIGIoan-Adrian Ratiu2016-02-281-1/+5
| | | | | | | | | | | | Enable apr-util's cryptographic routines so that the apache2 package can encrypt session data. Also add sqlite3 and ldap modules, disabled by default. (From OE-Core rev: c8be8890e0a9c9d5f1532c4ee4fe9a346ed3ca5b) Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: fix loadable module packagingIoan-Adrian Ratiu2016-02-281-3/+6
| | | | | | | | | | | | | | A new QA check was introduced by 47d38d4d86ec6a which catches recipes which install loadable modules (*.so) inside -dev packages instead of symlinks. Install apr-util's modules into ${PN} and also skip the QA check [dev-so] because it is the reverse of the check introduced by 47d38d4d86ec6a (thus if a recipe passes one it fails the other). (From OE-Core rev: ef82fb5aff4ca3204b40cdf6a074d9711e543af2) Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: fix capitalisation in Upstream-StatusRoss Burton2016-01-261-1/+1
| | | | | | | (From OE-Core rev: 4084bd02796358abd432104607d9c6569a7e0238) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Drop now pointless manual -dbg packagingRichard Purdie2015-12-161-1/+0
| | | | | | | | | With the autodebug package generation logic, specifically setting FILES_${PN}-dbg isn't needed in most cases, we can remove them. (From OE-Core rev: 3ab59d49dd7c18e194b58d1248b4b87709b5a738) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: fix LTFLAGS to make it work with ccacheRobert Yang2015-12-012-0/+37
| | | | | | | | | | | | | | | | When ccache is enabled, libtool requires --tag=CC when use ccache, otherwise when building apr-util with ccache enabled: | libtool: compile: unable to infer tagged configuration | libtool: error: specify a tag with '--tag' | libtool: compile: unable to infer tagged configuration | make[1]: *** [buckets/apr_buckets.lo] Error 1 (From OE-Core rev: 52c314963e0ab90e6c1ced7bf66b06d4c304358a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: add missing RDEPENDS for ptestMaxin B. John2015-12-011-0/+2
| | | | | | | | | | | | | testxlate test case fails due to dependency on some character-sets. Install them. [YOCTO #8171] (From OE-Core rev: 814b7589ea857806db7e3d2a09cf5f52df5afd76) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: remove conflict with ccacheDmitry Eremin-Solenikov2015-10-271-0/+5
| | | | | | | | | | | | | | | If ccache is enabled, compiling apr-utils fails with the following error messages because libtool is confused by the "ccache gcc" appearing on the command line. Disable ccache for apr, so that ccache don't get enabled in all software using apr's rules.mk. The error message from apr-utils-native: (From OE-Core rev: 3533552050d0f91b669c6939755c5f6efefa9d58) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-utils: cleanup buildpaths for target stuffsWenzong Fan2015-10-011-0/+6
| | | | | | | | | | | * cleanup buildpaths from apu-1-config: - remove ${STAGING_DIR_HOST} from CC, CPP ... - set APU_SOURCE_DIR, APU_BUILD_DIR as empty (From OE-Core rev: d61e73a37f805fd56efda1a6cfe7262356fc6274) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: cleanup buildpaths from target stuffsWenzong Fan2015-10-011-1/+8
| | | | | | | | | | | | | | * cleanup buildpaths from apr_rules.mk and apr-1-config: - remove ${STAGING_DIR_HOST} from CC, CPP ... - set APR_SOURCE_DIR, APR_BUILD_DIR as empty * install ${HOST_SYS}-libtool to sysroot only, it's required for building apache2 but not suitable for target. (From OE-Core rev: 44c1a6af03ce9b45e5bfd6956062aa2b3a1be741) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: Fix packet discards HTTP redirectLi Wang2015-07-162-0/+33
| | | | | | | | | | | | | Disconnect the connection by poll() timeout. If timeout=0 and apr_wait_for_io_or_timeout()=APR_TIMEUP then apr_socket_recv() returns EAGAIN. (From OE-Core rev: cef4de5cd6c12091146dc1ef02cd80e094c6728e) Signed-off-by: Noriaki Yoshitane <yoshitane.nrs@cnt.ncos.nec.co.jp> Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: 1.5.1 -> 1.5.2Robert Yang2015-05-142-9/+6
| | | | | | | | | Updated upgrade-and-fix-1.5.1.patch. (From OE-Core rev: 49dd0b1ae91bd869c55ec3bd22bda1bdd4815088) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: Allow use in SDKTimo Mueller2015-02-081-1/+12
| | | | | | | | | | | | | | | | This adds 'nativesdk' in the BBCLASSEXTEND. Building apr-util for the SDK requires that some paths in the rules.mk file are fixed to point to the actual enviroment. These include pointing the apr configuration variables to the actual apr builddir and correcting the name of the libtool. (From OE-Core rev: 4595e4832418afc651300c88ad2b835f0aedd8bc) Signed-off-by: Timo Mueller <timo.mueller@bmw-carit.de> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: Allow use in SDKTimo Mueller2015-02-031-1/+1
| | | | | | | | | | | This adds 'nativesdk' in the BBCLASSEXTEND. (From OE-Core rev: de17201509d16210ead076f0e11d30593d65df25) Signed-off-by: Timo Mueller <timo.mueller@bmw-carit.de> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: fix B != SRobert Yang2015-01-161-7/+10
| | | | | | | | | | And bump PR to avoid: x86_64-linux-libtool: error: 'dbm/apr_dbm_gdbm.la' is not a valid libtool archive (From OE-Core rev: e712a31287eb830f365df456e68bc95bdacb1a4a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: upgrade to 1.5.4Hongxu Jia2014-12-251-2/+2
| | | | | | | (From OE-Core rev: 92f6e8f485af959e1e8d1d5f585b39d77c30fc12) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: avoid absolute paths for grepJackie Huang2014-12-111-0/+5
| | | | | | | | | | | | | | | | | | | The apr provides usr/share/build-1/libtool which is required by the recipe such as apache2, and it will find grep on the host and set absolute paths in libtool: GREP="/usr/bin/grep" If we build apr/apr-native on a host that grep is in "/usr/bin/grep", and re-use the sstate on another host with "/bin/grep", it will fail when build apache2/apache2-native with: | tmp/sysroots/x86_64-linux/usr/share/build-1/libtool: line 1093: /usr/bin/grep: No such file or directory | tmp/sysroots/intel-x86-64/usr/share/build-1/libtool: line 1093: /usr/bin/grep: No such file or directory (From OE-Core rev: 475709fc4f32e1ed01f45ee44819cd24e739eb43) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-native: Set CONFIG_SHELL to /bin/bashRobert Yang2014-11-121-0/+2
| | | | | | | | | | | | | | | | | The apr-native provides usr/share/build-1/libtool which is required by the recipe such as apache2-native. If we don't set the CONFIG_SHELL to /bin/bash, then: 1) If we build apr-native on a host which is "/bin/sh -> bash", the interpreter in usr/share/build-1/libtool would be "#!/bin/sh". 2) When we re-use apr-native's sstate on a host which is "/bin/sh -> dash", there would be errors. (From OE-Core rev: 38d83009dfe77437533969ce681605a9ab9534ac) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: add bash to RDEPENDS_apr-devRobert Yang2014-08-231-0/+1
| | | | | | | | | | | | | | | | | | | Bashsim in apr-dev/usr/share/build-1/libtool: possible bashism in apr-dev/usr/share/build-1/libtool line 1004 ($RANDOM): my_tmpdir="${my_template}-${RANDOM-0}$$" possible bashism in apr-dev/usr/share/build-1/libtool line 3797 (should be '.', not 'source'): dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` possible bashism in apr-dev/usr/share/build-1/libtool line 8237 (shopt): test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob` possible bashism in apr-dev/usr/share/build-1/libtool line 8240 (shopt): shopt -s nocaseglob possible bashism in apr-dev/usr/share/build-1/libtool line 9255 (should be VAR="${VAR}foo"): rpath+=" $flag" (From OE-Core rev: c9bf36cfd577a77f505b72d22144e5a6d608c129) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: upgrade to 1.5.1Hongxu Jia2014-06-062-3/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The LICENSE has no change, except a newline added. Fix do_compile failed: | tools/gen_test_char > include/private/apr_escape_test_char.h | /bin/sh: tools/gen_test_char: No such file or directory | make[1]: *** [include/private/apr_escape_test_char.h] Error 127 The tools/gen_test_char was invoked at build time, and it didn't work for the cross compiling, so we built it with $BUILD_CC. To make sure there was no side effect on the change, not adding this patch, I did the test: 1. Built the native tools/gen_test_char on x86-64 host, and invoke it on that host; 2. Built the target tools/gen_test_char which arch was arm, and invoke it on the qemuarm; 3. Comparing the results, they were total the same; ... /* this file is automatically generated by gen_test_char, do not edit. "make include/private/apr_escape_test_char.h" to regenerate. */ static const unsigned char test_char_table[256] = { 32,30,30,30,30,30,30,30,30,30,31,30,30,30,30,30,30,30,30,30, 30,30,30,30,30,30,30,30,30,30,30,30,6,16,63,22,17,22,49,17, 17,17,1,16,16,0,0,18,0,0,0,0,0,0,0,0,0,0,16,23, 55,16,55,23,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,23,31,23,23,0,23,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,23,23,23,17,30,30,30,30,30,30,30,30,30,30,30,30,30, 30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30, 30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30, 30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30, 30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30, 30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30, 30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30 }; ... Fix do_install failed: | DEBUG: Executing shell function do_install | NOTE: make -j 16 DESTDIR=tmp/work/x86_64-linux/apr-native/1.5.1-r0/image install | tmp/work/x86_64-linux/apr-native/1.5.1-r0/apr-1.5.1/build/mkdir.sh tools | gcc -isystem/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/ build/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe tools/gen_test_char.c -o tools/gen_test_char | make[1]: Entering directory `tmp/work/x86_64-linux/apr-native/1.5.1-r0/ apr-1.5.1' | tmp/work/x86_64-linux/apr-native/1.5.1-r0/apr-1.5.1/build/mkdir.sh tools | gcc -isystem/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/ build/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe tools/gen_test_char.c -o tools/gen_test_char | tmp/work/x86_64-linux/apr-native/1.5.1-r0/apr-1.5.1/build/mkdir.sh include/private | tools/gen_test_char > include/private/apr_escape_test_char.h | /bin/sh: tools/gen_test_char: Permission denied Remove the 'tools' dir creation, it always existed. And it caused gen_test_char unexpected rebuilt at do_install time. (From OE-Core rev: b751144ba467b1358af2db8a4c30b8e0644cffa5) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: upgrade to 1.5.3Hongxu Jia2014-06-061-2/+2
| | | | | | | | (From OE-Core rev: 512ec9fb677d920c813d084b85238f3be86f376f) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: do not try to use sctp.hJoe Slater2014-04-241-0/+4
| | | | | | | | | | | If we let configure look for sctp.h it might find it on the host, so suppress the search with two cached config variables. (From OE-Core rev: 4aa6616661cc7a0eda4e9ba3e82a22472b444595) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>