summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/apr
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* apr: remove the use of ${SHELL} to avoid bash/dash conflictionHongxu Jia2014-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | While multible hosts sharing a common sstate cache, the fist host using bash as default shell and build apr, the second host using dash as default shell and build apr-util, there was a failure in apr-util: ... | /bin/sh: 0: Can't open i586-poky-linux-libtool | make[1]: *** [dbm/apr_dbm_gdbm.lo] Error 127 | make[1]: *** Waiting for unfinished jobs.... | make[1]: Leaving directory `tmp/work/i586-poky-linux/apr-util/1.5.2-r0/apr-util-1.5.2' ... The quick way to reproduce the defect in Ubuntu 1204: 1. Create a new build 2. sudo dpkg-reconfigure dash <set bash as /bin/sh> 3. bitbake apr 4. sudo dpkg-reconfigure dash <set dash as /bin/sh> 5. bitbake apr-util Remove the use of $(SHELL) in the apr could avoid this issue. (From OE-Core rev: 53af71200b6f6d117e1e7dc2e7a7d21c6faab8f9) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie2014-02-282-2/+2
| | | | | | | | | | | | This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. (From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: enable ptest supportChong Lu2014-01-282-1/+24
| | | | | | | | | | Install apr-util test suite and run it as ptest. (From OE-Core rev: d132900b04a48193f05c04a77c324aa927970328) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: enable ptest supportChong Lu2014-01-282-2/+28
| | | | | | | | | | Install apr test suite and run it as ptest. (From OE-Core rev: d8cfe2ce6d45a375449dc3a7370516b8473b0996) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-022-2/+2
| | | | | | | | | | | | | | A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: Upgrade to v1.5.2Radu Moisan2013-07-101-4/+2
| | | | | | | | (From OE-Core rev: 6e329a8fc96eabf43c62b44ea7b082068e633ab7) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: Upgrade to v1.4.8Radu Moisan2013-07-101-4/+2
| | | | | | | | (From OE-Core rev: 54f6893c1bcdd925368c46db06aa579c13da6a10) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr_cv_mutex_recursive=yes added to apr_1.4.6.bb to make rosnodes workvictor2013-07-051-0/+3
| | | | | | | | | | | | | | | | | Working with the meta-ros project we detected that the ROS nodes didn't launch properly the reason was that by default apr_cv_mutex_recursive in apr is set to no and this leads to the APRENOTIMPL return value of apr_thread_mutex_create in thread_mutex.c when APR_THREAD_MUTEX_NESTED is requested via flags. Added CACHED_CONFIGUREVARS += "apr_cv_mutex_recursive=yes" to sources/openembedded-core/meta/recipes-support/apr/apr_1.4.6.bb to fix this issue. It has also been removed the mention of this variable in meta/site/powerpc32-linux. (From OE-Core rev: 20b9151f877978c086dcc8cbae7e0d9c9e89a45d) Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: Upgrade to v1.5.1Radu Moisan2013-03-181-3/+3
| | | | | | | | (From OE-Core rev: 526f6beb5a8a1844f3d2c03fe38087e4f4a7f68f) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: add libtool to SSTATE_SCAN_FILESJackie Huang2013-03-051-2/+2
| | | | | | | | | | | | | | The hardcoded paths in libtool will cause apache2 compile fail at link stage when the package apr is installed from sstate cache, so add libtool to SSTATE_SCAN_FILES. [ CQID: WIND00405372 ] (From OE-Core rev: 9d590d714c67ffcf1cd3f3844f5b102f72c2d006) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: fix out-of-tree buildsRoss Burton2012-12-141-3/+2
| | | | | | | (From OE-Core rev: ed4e991317ab11e8c0e6869f2be6426cc3d28ccb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-support: replace virtclass-native(sdk) with class-native(sdk)Robert Yang2012-11-021-2/+2
| | | | | | | | | | | | | | | | | | | | | The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. NOTE: There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"), otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't need this line, since it is already in the default BUILD_LDFLAGS. Remove it and we don't need to bump the PR since we just removed a unused line. [YOCTO #3297] (From OE-Core rev: cafb550fe9034754933f1708446dde155dcc3d51) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Cleanup: fix PN == BPN casesMark Hatle2012-10-021-2/+2
| | | | | | | | | | | When building target packages, it used to be enought to check for PN == BPN, however with the multilib configurations, this can lead to subtle errors. Change instances of PN == BPN, to ${CLASSOVERRIDE} == 'class-target'. (From OE-Core rev: acc988272b4e74a9ad1e6da5af5b2d208584197b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: fix the rules.mk with path to sysroot instead of the workdir of aprJackie Huang2012-08-171-2/+4
| | | | | | | | | | | | | | The copying for rules.mk was happened in do_configure_prepend, but it will be replaced by the one generated by configure, in which APR_MKEXPORT points to the workdir of apr and cause compile filure when the workdir of apr is removed. So change the copying in _prepend to _append. [YOCTO #2947] (From OE-Core rev: d6aa123fdbfa82c07e33a9b4c7aacad821184790) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/common-linux: fix incorrect size of pid_t for aprPaul Eggleton2012-07-021-1/+1
| | | | | | | | | | | | | | | If cross-compiling, apr's configure script assumes that pid_t is 64-bit which is wrong - it appears that 32-bit is a safe assumption for Linux no matter what the architecture, so use that instead by default. This fixes Apache writing garbage to its pid file when built using apr produced from this recipe. (From OE-Core rev: 81eb71736a4d14abe85d810f9862d8a9421e9ef5) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: add util-linux to DEPENDS for libuuidPaul Eggleton2012-07-021-0/+1
| | | | | | | | | | apr will use libuuid if it is present, and thus we should require that it is there so that we have a deterministic build. (From OE-Core rev: b880cebf503ca13cd4fcb741895e57e6353065be) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: Install apr-local libtool in build dirJoe MacDonald2012-06-291-0/+2
| | | | | | | | | | | | | | | | | | | Building apache with this version of apr would blow up on the results from: apr_config --apr-libtool Errors of the form: /bin/sh: /media/large/tmp/sysroots/x86_64-linux/usr/share/build-1/libtool: No such file or directory Fix that by ensuring libtool from apr's build lands in .../usr/share/build-1/. (From OE-Core rev: eefbc2f219571dd0c66e1099ea4ad72b1a973fd4) Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PR bump packages with gdbm in DEPENDSAndrei Gherzan2012-04-131-1/+1
| | | | | | | | | | This is done because of this change in gdbm: "gdbm: Package compat libs in gdbm-compat" (From OE-Core rev: b91d8a07f736b7698650d25609245c89e0ed73d5) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: upgrade to 1.4.6Shane Wang2012-03-211-3/+3
| | | | | | | (From OE-Core rev: f79819fe3d78c1da74753174efbc2fb2b1239da0) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: add apr_rules.mk to SSTATE_SCAN_FILESMartin Jansa2012-02-231-0/+2
| | | | | | | (From OE-Core rev: 9db1f3b13c7e7f37c41f6a4fabdb2fc0c5ebc227) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: refactor packages for staticdevSaul Wold2012-01-241-2/+2
| | | | | | | (From OE-Core rev: 40aeac840516f33f57134ac25fb046f6d2e43534) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: Upgrade to 1.4.1Zhai Edwin2012-01-032-7/+9
| | | | | | | (From OE-Core rev: f9ff5ecf55859984d3dbe66378eb7ee54ad28546) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: bump PR for gdbm SOVERSION changeMartin Jansa2011-12-011-1/+1
| | | | | | | (From OE-Core rev: 19008204cd6a5bbc20491b1c897d6cf4f7407506) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: extend sed call to fix libtool patch for case without SHELL in ↵Martin Jansa2011-11-161-0/+2
| | | | | | | | | LIBTOOL variable (From OE-Core rev: 94b7566ac9d07ad3e1b55f12988f53812d3651cd) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: add native supportMartin Jansa2011-10-241-0/+8
| | | | | | | | | | | | * needed for native subversion * do_configure_append_virtclass-native is needed, because apr_builddir points to /OE/shr-core/tmp/sysroots/x86_64-linux/usr/share/build-1 and we're not installing libtool from apr there (From OE-Core rev: 1cd0967672b1a82acb30baaf23eb1cbd2b2e4c67) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: add native supportMartin Jansa2011-10-241-0/+2
| | | | | | | | | * needed for native subversion (From OE-Core rev: dfecc863861fb98997f958b6530cef304100406f) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: use ${HOST_SYS}-libtoolAndrew Gabbasov2011-09-281-1/+1
| | | | | | | | | | | libtool-cross uses ${HOST_SYS}- prefix while building and installing. In some cases that may be different from ${TARGET_PREFIX}, that is currently used in apr recipe. It's better to have them consistent. (From OE-Core rev: 61cedb87446a27ddaaa880a5f3296399def441df) Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: disable pqsql support to avoid configure errorMei Lei2011-08-081-1/+2
| | | | | | | | | | | | | The pqsql config script will check host path and add host paths to compiler and linker options: adding "-I/usr/include/postgresql" to CPPFLAGS adding "-L/usr/lib" to LDFLAGS Disable pqsql support since we didn't use this feature in other recipes. (From OE-Core rev: a0034efba2c5960ef946de318438794acb13f454) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>