summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/memcached
Commit message (Collapse)AuthorAgeFilesLines
* memcached: drop libhugetlbfsJoao Marcos Costa2026-04-242-40/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Linux, memcached relies on transparent huge pages, and even if libhugetlbfs is enabled by the PACKAGECONFIG (and detected during do_configure, of course), it is simply not used: root@qemuriscv64:~# ldd $(which memcached) linux-vdso.so.1 (0x0000003fa4358000) libevent-2.1.so.7 => /lib/libevent-2.1.so.7 (0x0000003fa42b0000) libc.so.6 => /lib/libc.so.6 (0x0000003fa4157000) /usr/lib/ld-linux-riscv64-lp64d.so.1 (0x0000003fa435a000) The main reason is the fact that the only call to a function coming from libhugetlbfs is here: https://github.com/memcached/memcached/blob/master/memcached.c#L4274 and getpagesizes() is only called if the #if block evaluates to true: int ret = -1; size_t sizes[32]; int avail = getpagesizes(sizes, 32); (...) /* check if transparent hugepages is compiled into the kernel */ /* RH based systems possibly uses a different path */ static const char *mm_thp_paths[] = { "/sys/kernel/mm/transparent_hugepage/enabled", "/sys/kernel/mm/redhat_transparent_hugepage/enabled", NULL }; (...) This block relies on HAVE_MEMCNTL, which is a Solaris-specific feature. Therefore, the dependency link between memcached and libhugetlbfs doesn't exist in Linux. Drop libhugetlbfs from memcached's recipe. Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
* memcached: upgrade 1.6.40 -> 1.6.41Wang Mingyu2026-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | Changelog: =========== - tests: make slabs-reassign2 test more resilient - proxy: reduce flakiness in t/proxyunits.t - proxy: fix off by one in temp string with 250b key - slabs: fix hang and crash. - Fix failing proxy*.t tests on some systems like OL8 - Account for absent 'ssl_proto_errors' in stats during SSL tests - Fix test compatibility on IPv6-only systems. - Use SSLv23 method when TLSv1.3 is unsupported (e.g., macOS) - extstore: more compaction write patience - parser: fix lru command regression - Fix: avoid null print for slab busy reason - extstore: testing around rescued compaction items - extstore: fix compaction checks wrong refcount - proto: armor against empty commands Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: upgrade 1.6.39 -> 1.6.40Wang Mingyu2025-12-241-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: upgrade 1.6.38 -> 1.6.39Wang Mingyu2025-08-041-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: upgrade 1.6.37 -> 1.6.38Wang Mingyu2025-03-251-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: upgrade 1.6.36 -> 1.6.37Wang Mingyu2025-02-261-1/+1
| | | | | | | | Changelog: - proto: -X disables stats detail as well Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: upgrade 1.6.34 -> 1.6.36Wang Mingyu2025-02-101-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: upgrade 1.6.33 -> 1.6.34Wang Mingyu2024-12-301-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: upgrade 1.6.17 -> 1.6.33Peter Marko2024-12-203-116/+10
| | | | | | | | | Solves CVE-2023-46852 and CVE-2023-46853. Upgrade done via "devtool upgrade". Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: add UPSTREAM_CHECK_URIPeter Marko2024-12-201-0/+2
| | | | | | | | Download URL is not listable so devtool upgrade fails. Using homepage works as it contains link to latest release, Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: ignore disputed CVE-2022-26635Peter Marko2024-12-191-0/+2
| | | | | | | | | | | | | | Per [1] this is a problem of applications using memcached inproperly. This should not be a CVE against php-memcached, but for whatever software the issue was actually found in. php-memcached and libmemcached provide a VERIFY_KEY flag if they're too lazy to filter untrusted user input. [1] https://github.com/php-memcached-dev/php-memcached/issues/519 Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: Upgrade to 1.6.17Khem Raj2022-08-302-2/+116
| | | | | | Fix build with clang while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: Upgrade to 1.6.15Khem Raj2022-04-132-50/+1
| | | | | | Drop upstreamed patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-2/+2
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* memcached: upgrade to 1.6.9Khem Raj2021-06-053-76/+50
| | | | | | | Fix Set but unused clang warning sigignore issue is already fixed in 1.6.9 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: Upgrade to 1.6.6Khem Raj2020-07-223-12/+81
| | | | | | Add patch to not use deprecated sigignore API Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: Add aarch64 to COMPATIBLE_HOST.Drew Moseley2020-04-161-1/+1
| | | | | | | | This gets it in sync with libhugetlbfs which according to the comment, is supposed to be correct. Signed-off-by: Drew Moseley <drew.moseley@northern.tech> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: upgrade to 1.5.20Khem Raj2019-12-251-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: Update to 1.5.10Khem Raj2018-08-291-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: Upgrade to 1.5.7Khem Raj2018-05-171-2/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* memcached: Update to 1.5.0Khem Raj2017-09-121-2/+2
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* memcached: Upgrade to 1.4.36Khem Raj2017-04-252-17/+4
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* memcached: Update to 1.4.33Khem Raj2016-12-023-17/+16
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* remove True option to getVar callsJoshua Lock2016-12-021-1/+1
| | | | | | | | | getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
* meta-networking: standardize SECTION valuesJoe MacDonald2015-06-051-1/+1
| | | | | | | SECTION has been used inconsistently throughout the recipes in this layer. Convert them to all use the same convention. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* memcached: add bash to RDEPENDS_memcachedRobert Yang2014-09-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | Bashism: possible bashism in memcached/etc/init.d/memcached line 40 (bash arrays, ${name[0|*|@]}): if [ -r "${FILES[0]}" ]; then possible bashism in memcached/etc/init.d/memcached line 42 (bash arrays, ${name[0|*|@]}): for FILE in "${FILES[@]}"; possible bashism in memcached/etc/init.d/memcached line 53 (should be VAR="${VAR}foo"): CONFIGS+=($NAME) possible bashism in memcached/etc/init.d/memcached line 54 (should be 'b = a'): elif [ "memcached_$2" == "$NAME" ]; possible bashism in memcached/etc/init.d/memcached line 62 (bash arrays, ${name[0|*|@]}): if [ ${#CONFIGS[@]} == 0 ]; possible bashism in memcached/etc/init.d/memcached line 71 (bash arrays, ${name[0|*|@]}): CONFIG_NUM=${#CONFIGS[@]} possible bashism in memcached/etc/init.d/memcached line 72 ('((' should be '$(('): for ((i=0; i < $CONFIG_NUM; i++)); do possible bashism in memcached/etc/init.d/memcached line 73 (bash arrays, ${name[0|*|@]}): NAME=${CONFIGS[${i}]} Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* memcached: add knob to detect whether hugetlbfs are checkedChong Lu2014-09-082-3/+42
| | | | | | | | | Add knob to detect whether hugetlbfs are checked or not. This patch fixed the error: ld: cannot find -lhugetlbfs Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* memcached: Use "foreign" automake strictnessRichard Purdie2014-07-222-1/+15
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-networking: use BPN in SRC_URIRobert Yang2014-07-151-1/+1
| | | | | | | | | | | | Fixed SRC_URI: * ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV} * ${P} -> ${BP} Otherwise we would meet do_fetch errors when we do the multilib, native or nativesdk build. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Uprev memcached from upstreamAmy Fong2014-06-292-15/+43
| | | | | | | | | | memcached 1.4.15 has some configuration errors: configure:5798: error: cannot run test program while cross compiling Uprev has the needed fix for the configuration error and some other fixes. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* memcached: add 1.4.15Marcin Juszkiewicz2013-04-261-0/+15
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>