summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libevent
Commit message (Collapse)AuthorAgeFilesLines
* libevent: fix patch Upstream-StatusMichael Opdenacker2023-10-251-1/+1
| | | | | | | | | (From OE-Core rev: 6afee5ac3b419532d290d8a0c533e5d144913e92) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8c987afb2054f24d9bf86305774c186a6e015a8f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* recipes, classes: Avoid adding extra whitespace to PACKAGESPLITFUNCSPeter Kjellerstedt2023-01-121-1/+1
| | | | | | | | | | | | This is a follow-up to commit 846ff49465 to remove the extra whitespace that is no longer needed after converting :append and :prepend to += and =+. (From OE-Core rev: 5a38be49e451c9f9d973b10a33c3972507f7b18a) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes/classes: Drop prepend/append usage with PACKAGESPLITFUNCSRichard Purdie2023-01-051-1/+1
| | | | | | | | | | As far as I can tell, none of these uses of PACKAGESPLITFUNCS need append/prepend operators, the standard += and =+ can work just fine. Since OE-Core is copied a lot, use the preferred syntax which is also simpler to parse and change. (From OE-Core rev: 846ff49465337dddd75a83161f41f48117f6571c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: fix version checks in all github recipes using the github-releases classAlexander Kanavin2022-09-281-4/+3
| | | | | | | | (From OE-Core rev: b04316bdd28b7945c2c91b4e43c007b650eedc14) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent,btrfs-tools: fix Upstream-Status tagAlexandre Belloni2021-10-232-2/+2
| | | | | | | (From OE-Core rev: fe3b2d0cb23a0d4abd229682beaa0bb64f4a97bd) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: mark util/monotonic_prc_fallback as retriableThomas Perrot2021-10-014-6/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport a patch to fix the below ptest failure: # ./run-ptest Running tests: EVPORT Skipping test KQUEUE Skipping test EPOLL test-eof: OKAY test-dumpevents: OKAY (output not checked) regress: FAIL ../libevent-2.1.12-stable/test/regress_util.c:1478: assert(diff.tv_sec == 0): 1 vs 0 util/monotonic_prc_fallback: [monotonic_prc_fallback FAILED] 1/312 TESTS FAILED. (33 skipped) FAILED regress_debug: FAIL ../libevent-2.1.12-stable/test/regress_util.c:1478: assert(diff.tv_sec == 0): 1 vs 0 util/monotonic_prc_fallback: [monotonic_prc_fallback FAILED] 1/312 TESTS FAILED. (33 skipped) FAILED [snip] (From OE-Core rev: edecbbdacab5227c75e4a199e124389f8036b421) [YOCTO #14507] (From OE-Core rev: cae0eb03e8e754bd77651fc017b2669f8fd57f75) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: set precise BSD licenseRoss Burton2021-09-031-1/+1
| | | | | | | | | "BSD" is ambiguous, use the precise license BSD-3-Clause. (From OE-Core rev: 924d1d9ca51f2a45cdf0094c50434e25c0437c6a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-2/+2
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: Increase ptest timing tolerance 50 ms -> 100 msYi Fan Yu2021-05-062-0/+34
| | | | | | | | | | | | | Adjusting the tolerance to a more reasonable time given the load on the AB and given the high amount(100) of events some of the tests like `common_timeout` generates. [YOCTO #14163] (From OE-Core rev: 38b36d2b90d570149e63816e68f457aea28a5092) Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-support: Add missing HOMEPAGE and DESCRIPTION for recipesMeh Mbeh Ida Delphine2021-03-021-0/+5
| | | | | | | | | 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>
* libevent: upgrade 2.1.11 -> 2.1.12Richard Purdie2020-07-181-2/+1
| | | | | | (From OE-Core rev: cb965ea3f191672c347e91e2ffb2586f119c77db) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: disable ptests that require a DNS and an intenet connectionAlexander Kanavin2020-01-162-5/+42
| | | | | | | (From OE-Core rev: 65ef2810e94bb8feb6be5febfe8a7b73076c3420) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: update packaging (one package per shared library)André Draszik2019-11-101-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | libevent produces several libraries that might or might not be used in the end. We can prevent those potentially unused libraries from being pulled into a file-system by splitting the individual shared libraries into individual packages. Because this recipe only provides shared libraries which are handled automatically by bitbake (shlibs), there is no need to add the subpackages to the RDEPENDS of PN for backwards compatibility. The packaging process of dependees will simply pull in the sub-packages as runtime dependency as needed. This also how Debian splits this up. While updating the packaging, we can also drop event_rpcgen.py which appears to be a tool for generating rpc bindings, i.e. something that should normally be in -dev. Given Debian doesn't package this at all, and given it actually requires python to run but no runtime dependency is stated at the moment, it would appear that no users of this exist. (From OE-Core rev: d10e8384bfa08d928dfec3a00c59006badfc88ee) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: don't treat test stats line as pass/fail in ptestTrevor Gamblin2019-09-111-4/+5
| | | | | | | | | | | | | | | | | | | Supplemental to commit fb17b46e2. The libevent "regress" test outputs its own pass/fail results, e.g. "2/300 TESTS FAILED. (31 skipped)", which will be miscounted as an extra test fail in the ptest log. Fixed this to ignore the libevent results line when counting actual pass/fail results. Also removed the for loop in run-ptest and targeted only the libevent "regress" test, as the other tests being run were related to performance and did not provide a relevant pass/fail output. (From OE-Core rev: 86b8a1d534bfcd70775c6e2b59eabe10de29f526) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: add granularity to ptest logTrevor Gamblin2019-09-072-12/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The libevent ptest used to report only a global pass or a fail result. Count individual PASS, FAIL, SKIP results. The SKIP results now include tests that are disabled in the libevent code. libevent's ptest output did not comply with the automake-style output "result: testname", and reported a FAIL status at the end of the test run if any of the libevent tests failed. This patch makes the log consistent with the automake style: PASS: http/cancel_by_host_no_ns PASS: http/cancel_inactive_server PASS: http/cancel_by_host_no_ns_inactive_server SKIPPED: http/cancel_by_host_server_timeout SKIPPED: http/cancel_server_timeout and provides a summary as follows: === Test Summary === TOTAL: 316 PASSED: 300 FAILED: 0 SKIPPED: 16 DURATION: 87 END: /usr/lib/libevent/ptest (From OE-Core rev: fb17b46e202cc08277d3eeb34872067c73a6bfbc) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: update to 2.1.11Oleksandr Kravchuk2019-08-141-2/+2
| | | | | | | (From OE-Core rev: 6b36db836547a23f43c5f97bf3706d7b210c209c) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent:upgrade 2.1.8 -> 2.1.10Zang Ruochen2019-06-192-51/+2
| | | | | | | | | | | | -Upgrade from libevent_2.1.8.bb to libevent_2.1.10.bb. -libevent/0001-test-fix-32bit-linux-regress.patch Removed since this is included in 2.1.10. (From OE-Core rev: 40ea686112e4def38363edb4a5b1cec2692e34da) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: fix the multilib header conflictZhixiong Chi2018-08-141-1/+5
| | | | | | | | | | | | | | | | | Error: Transaction check error: file /usr/include/event2/event-config.h conflicts between attempted installs of libevent-dev-2.1.8-r0.skylake_64 and lib32-libevent-dev-2.1.8-r0.x86 The conflict is the size macro definition between 32bit and 64bit such as: < #define EVENT__SIZEOF_LONG 8 > #define EVENT__SIZEOF_LONG 4 < #define EVENT__SIZEOF_PTHREAD_T 8 > #define EVENT__SIZEOF_PTHREAD_T 4 (From OE-Core rev: 49f979b13f1bc6ece0f343d41421aba43f8d9e21) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: fix 32bit linux regress testMingli Yu2018-01-222-0/+49
| | | | | | | | | | | | Fix 32bit linux regress test This patch is backported from https://github.com/libevent/libevent/commit/63c4bf78d6af3c6ff46d2e8e4b53dd9f577a9ca9 (From OE-Core rev: 68d98f3de9d0caf13bdfd8ca1aa140ee3281ffdd) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: 2.0.22 -> 2.1.8Andrej Valek2017-05-162-7/+35
| | | | | | | | | | | | | Update libevent to version 2.1.8 and fix test directory creation License file has been changed due to new MIT license in source code. (From OE-Core rev: 028f3aaa29e23f0eff044698e7a39ec327450d49) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: update ptests fail conditionCatalin Enache2016-08-101-1/+1
| | | | | | | | | | If exit status is 0 test is succesfull. (From OE-Core rev: 6b91338a0c09e117cfc58084b66ffcd149765316) Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_regex.inc: split the rest of the entries to their recipesAlexander Kanavin2015-12-081-0/+2
| | | | | | | | (From OE-Core rev: 73e2555cc7d529a93362b3fcfea3fbc7a4c60ca1) 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>
* libevent_2.0.22.bb: Add native and nativesdk support to the recipe.Philip Balister2015-09-031-0/+2
| | | | | | | | | Build tested against thrift recipe under development. (From OE-Core rev: 947950242376f23808bc5b9c7ddddff46a1f1925) Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: add ptestDmitry Eremin-Solenikov2015-05-142-1/+34
| | | | | | | | | | Use provided regression testing as a ptest for libevent package. (From OE-Core rev: d32fb4c50f73d169d7b9a238801aa72d77560135) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: update 2.0.21 -> 2.0.22Andre McCurdy2015-04-083-38/+3
| | | | | | | (From OE-Core rev: 08285ef71e1b506e5802eedeefc6a6650af3cb48) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: control openssl support via PACKAGECONFIGAndre McCurdy2015-04-081-1/+2
| | | | | | | (From OE-Core rev: 1969c49b16b158324eec95da8ea56a70f8863ec9) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: fix SRC_URIRobert Yang2015-03-161-1/+1
| | | | | | | | | | | | The wget reported errors for the past URI since it can't follow the redirection well: Connecting to cloud.github.com (cloud.github.com)|54.192.140.6|:443... connected. OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure Unable to establish SSL connection. (From OE-Core rev: b2d7193da713120c97a452ca56742aca15911bee) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Don't set DESCRIPTION to the same value as SUMMARYPaul Eggleton2013-12-031-1/+0
| | | | | | | | | | | | Setting DESCRIPTION to the same value as SUMMARY doesn't do anything, since the value of DESCRIPTION will be derived from SUMMARY if not specified. (From OE-Core rev: e1e888585c84175580ad822d4a6c93f62e5ce16c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: fix build with automake-1.13Marko Lindqvist2013-02-123-2/+35
| | | | | | | | | | | | | | - Add obsolete_automake_macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. - Use of $(top_srcdir) in TESTS is an error causing automake-1.13 to abort. Disable the tests completely. (From OE-Core rev: 751b5e76768d9fa4e40405a12ad008aa9af1561d) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent : upgrade to 4.0.21Andrei Dinu2013-02-012-53/+5
| | | | | | | | | | | | | | | | | | | - removed libevent-2.0.16_fix_for_x32.patch because the newer version contained the changes done by the patch. - LICENSE file new checksum caused by : old : Copyright (c) 2007-2011 Niels Provos and Nick Mathewson new : Copyright (c) 2007-2012 Niels Provos and Nick Mathewson (From OE-Core rev: eda67a8cb2b2669c12ecda2cf9b00e1001b8c598) (From OE-Core rev: 830eeee2da5bdea2420a1eac8814e4a51eacbd7a) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: disable openssl by defaultSaul Wold2012-06-211-1/+3
| | | | | | | | | This creates a more deterministic build and also reduces the size of this library. (From OE-Core rev: 6c36fde6ce2e775ec3041f9cf2fcf02e20516b15) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: fix compilation for x32Nitin A Kamble2012-01-062-2/+50
| | | | | | | | | | Pull a patch from gentoo to avoid sysctl syscall which is not defined for x32. (From OE-Core rev: 1d0006ad137e63214e365fbccd45a610cf9661ce) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: upgrade to 2.0.16Scott Garman2012-01-032-19/+22
| | | | | | | | | | | | | | | | | | Updated HOMEPAGE and SRC_URI to reflect project's new home. From the whatsnew-2.0.txt document: COMPATIBILITY: Nearly all existing code that worked with Libevent 1.4 should still work correctly with Libevent 2.0. So this upgrade is expected to be safe. (From OE-Core rev: 03d572f3e1ec25502429b46e2b441a73ccd20061) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add missing SUMMARY fields to various recipesScott Garman2011-12-191-1/+2
| | | | | | | | | | | | | | | | | This adds the SUMMARY field to the following recipes which were missing it: * dosfstools * grep * icu * libevent * libnfsidmap * qemu-helper-nativesdk (From OE-Core rev: e8c194a627e091ef9da3b7fa83ea3897bd283d9e) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* packages: Separate out most of the remaining packages into recipesRichard Purdie2010-09-011-0/+15
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>