summaryrefslogtreecommitdiffstats
path: root/meta-oe
Commit message (Collapse)AuthorAgeFilesLines
* toybox: Fix build with glibc 2.36+Khem Raj2022-08-142-1/+163
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* image_types_sparse: Generate "don't care" chunksSean Anderson2022-08-135-1/+366
| | | | | | | | | | By default, img2simg will only generate raw and fill chunks. This adds support for "don't care" chunks, based on file holes. This is similar to how bmaptool works. "don't care" chunks do not need to be written, speeding up flashing time. Signed-off-by: Sean Anderson <sean.anderson@seco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* image_types_sparse: Pad source image to block sizeSean Anderson2022-08-131-4/+12
| | | | | | | | | | | | | | If the source image's size is not aligned to the sparse image's block size, then conversion will fail with img2simg: libsparse/sparse.cpp:133: int write_all_blocks(sparse_file*, output_file*): Assertion `pad >= 0' failed. This is a bug in img2simg, but an easy way to work around it is to pad the source image ourselves. The default block size of 4096 matches img2simg's default block size. Signed-off-by: Sean Anderson <sean.anderson@seco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vboxguestdrivers: make kernel shared directory dependency explicitBruce Ashfield2022-08-131-0/+1
| | | | | | | | | | | | | When fixing the build against 5.19, we added a copy of stdarg.h out of the kernel source. That of course works fine if the kernel-source has already been staged, but is an error otherwise. We add the explicit dependency to the export_source task, to make sure that the source files are present. We already have a DEPENDS on virutal/kernel in the recipe, so we just tweak when the source will be in place. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libmtp: Always enable largefile supportKhem Raj2022-08-131-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sysbench: Always enable largefile supportKhem Raj2022-08-131-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* liblockfile: fix buildpaths issueMingli Yu2022-08-122-0/+34
| | | | | | | | | Fixes: WARNING: liblockfile-1.14-r0 do_package_qa: QA Issue: File /usr/lib/liblockfile.a in package liblockfile-staticdev contains reference to TMPDIR [buildpaths] WARNING: liblockfile-1.14-r0 do_package_qa: QA Issue: File /usr/lib/liblockfile.so.1.0 in package liblockfile contains reference to TMPDIR [buildpaths] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl2-ttf: upgrade 2.0.18 -> 2.20.0Wolfgang Meyer2022-08-122-27/+32
| | | | | | | | | | | | | | | | | | | | | | Changelog: * Added support for building with CMake * Added TTF_GetFontWrappedAlign() and TTF_SetFontWrappedAlign() to set alignment on wrapped text * Added functions to render using FreeType LCD algorithm: TTF_RenderText_LCD() TTF_RenderUTF8_LCD() TTF_RenderUNICODE_LCD() TTF_RenderText_LCD_Wrapped() TTF_RenderUTF8_LCD_Wrapped() TTF_RenderUNICODE_LCD_Wrapped() TTF_RenderGlyph_LCD() TTF_RenderGlyph32_LCD() * Added TTF_SetFontDirection() and TTF_SetFontScriptName() for additional control over fonts using HarfBuzz * Updated to FreeType version 2.12.1 and HarfBuzz version 2.9.1, fixing CVE-2018-25032 * Fixed crash when loading fonts at certain sizes on Windows * Fix memory corruption loading malformed TTF files (CVE-2022-27470) Signed-off-by: Wolfgang Meyer <Wolfgang.Meyer@gossenmetrawatt.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Cleanup PACKAGECONFIGsAlex Kiernan2022-08-121-3/+4
| | | | | | | | Add ed25519-libsodium to PACKAGECONFIG, mark glib/gnutls/openssl as mutual conflicts. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: Detect ptest using PTEST_ENABLEDAlex Kiernan2022-08-121-3/+2
| | | | | | | | Allow the ptest packages to be disabled even if ptest is enabled in DISTRO_FEATURES. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gnome-keyring,cunit,xfce4-panel: Do not inherit remove-libtool class hereKhem Raj2022-08-121-1/+1
| | | | | | Its in global namespace and already inherited Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmdb: Don't inherit baseRichard Purdie2022-08-111-1/+1
| | | | | | | base is always inherited so remove this code which will soon cause an error. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nspr: fix buildpaths issueMingli Yu2022-08-102-0/+31
| | | | | | | | Fixes: WARNING: nspr-4.29-r0 do_package_qa: QA Issue: File /usr/bin/nspr-config in package nspr-dev contains reference to TMPDIR [buildpaths] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fluentbit: Fix build with muslKhem Raj2022-08-104-18/+69
| | | | | | | Pass large enough default for FLB_CORO_STACK_SIZE Remove unused jemalloc patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* audit: Fix build with muslKhem Raj2022-08-102-0/+35
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fluentbit: Fix build with clangKhem Raj2022-08-108-2/+222
| | | | | | | | Fix build using clang-15 which is even stricter then clang-14 These patches are worth upstream too Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Paulo Neves <ptsneves@gmail.com>
* libftdi: update to 1.5Matthias Klein2022-08-091-3/+3
| | | | | Signed-off-by: Matthias Klein <matthias@extraklein.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Use RUST_HOST_SYS and RUST_TARGET_SYSKhem Raj2022-08-082-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pcp: Add to USERADD_PACKAGES instead of overrideKhem Raj2022-08-081-1/+1
| | | | | | Fixes https://github.com/openembedded/meta-openembedded/issues/590 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: add packageconfig for lapackeAdrian Zaharia2022-08-081-0/+3
| | | | | Signed-off-by: Adrian Zaharia <Adrian.Zaharia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* audit: Upgrade to 3.0.8 and fix build with linux 5.17+Khem Raj2022-08-082-11/+9
| | | | | | | | | | | | | | | | | | | | | | audit errors out due to swig munging it does with kernel headers | audit_wrap.c: In function '_wrap_audit_rule_data_buf_set': | audit_wrap.c:4701:17: error: cast specifies array type | 4701 | arg1->buf = (char [])(char *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size)); | | ^ | audit_wrap.c:4701:15: error: invalid use of flexible array member | 4701 | arg1->buf = (char [])(char *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size)); | | ^ | audit_wrap.c:4703:15: error: invalid use of flexible array member | 4703 | arg1->buf = 0; | | ^ These errors are due to VLAIS from kernel headers, so we copy linux/audit.h and make the needed change in local audit.h and make needed arrangements in build to use it when building audit package Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
* waylandpp: add recipeMarkus Volk2022-08-081-0/+37
| | | | | | | This adds C++ bindings for Wayland as used e.g. in the Kodi project Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xrdp: Fix buildpaths warning.Lei Maohui2022-08-081-0/+1
| | | | | | | Don't print configure message. Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dnf-plugin-tui: Fix somw issue in postinstall process.Lei Maohui2022-08-081-1/+8
| | | | | Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sdbus-c++-libsystemd: Fix build with glibc 2.36Khem Raj2022-08-062-0/+75
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Upgrade to 2022.5 releaseKhem Raj2022-08-064-1/+100
| | | | | | Backport a fix for building with glibc 2.36+ while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vboxguestdrivers: fix build against 5.19 kernel / libc-headersBruce Ashfield2022-08-062-63/+8
| | | | | | | | | | | | | | | | | | | We've bounced back and forth with the mixed libc/kernel module structure of these drivers. In particular the location and content of stdarg.h has caused compile problems, or can't be located. In particular kernel versions have issues with stdarg.h and compatibility with the sysroot and libc-headers/uapi. If we include the file directly from the kernel source (STAGING_KERNEL_DIR) we get conflicting types on many structures, due to kernel .h files being found before libc .h files. if we grab just this one file from the source, and put it into our file structure, everything holds together. Plus, we get to drop a patch we are carrying to change the include of stdarg.h Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* yasm: fix buildpaths warningAnuj Mittal2022-08-061-0/+5
| | | | | | | | | | ax_create_stdint_h.m4 includes $CC as a comment in the generated header which leads to buildpaths warning: | WARNING: yasm-1.3.0+gitAUTOINC+ba463d3c26-r0 do_package_qa: QA Issue: File /usr/include/libyasm-stdint.h in package yasm-dev contains reference to TMPDIR [buildpaths] Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xrdp: upgrade 0.9.18 -> 0.9.19wangmy2022-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: ========== New features --------------- -Both inbound and outbound clipboards can now be restricted for text, files or images Bug fixes ----------- -CVE-2022-23613: Privilege escalation on xrdp-sesman (This fix is also in the out-of-band v0.9.18.1 release) -The versions of imlib2 used on RHEL 7 and 8 are now detected correctly (#2118) -Some situations where zombie processes could exist have been resolved (#2146, #2151, #2168) -Some null-pointer exceptions which can happen in the logging module have been addressed (#2149) -Some minor logging errors have been corrected (#2152) -The signal handling in sesman has been reworked to prevent race conditions when a child exits. This has also made it possible to reliably reload the sesman configuration with SIGHUP (#1729, #2168) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spdlog: update to v1.10.0Markus Volk2022-08-062-71/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump fmt to version 8.1.1. Added file event handlers #2165, #2169 Thanks @seker. You can get callbacks from spdlog before/after log file has been opened or closed. This is useful for cleanup procedures or for adding something to the start/end of the log files. Example: void file_events_example() { // pass the spdlog::file_event_handlers to file sinks for open/close log file notifications spdlog::file_event_handlers handlers; handlers.before_open = [](spdlog::filename_t filename) { spdlog::info("Before opening {}", filename); }; handlers.after_open = [](spdlog::filename_t filename, std::FILE *fstream) { fputs("After opening\n", fstream); }; handlers.before_close = [](spdlog::filename_t filename, std::FILE *fstream) { fputs("Before closing\n", fstream); }; handlers.after_close = [](spdlog::filename_t filename) { spdlog::info("After closing {}", filename); }; auto my_logger = spdlog::basic_logger_st("some_logger", "logs/events-sample.txt", true, handlers); } Fixed rotating file sink: when disk is full log rotation resulted zero size log files. #2261. (thanks @kishorekrd for reporting). Added new udp_sink #2090. Thanks @CJLove (Experimental) Option to depend on std::format instead of fmtlib (set SPDLOG_USE_STD_FORMAT and use C++20). #2170 Thanks @sylveon . Improved file name for hourly file sink #2047. Thanks @seker . Added code location information for error handler #2048. Thanks @D-r-P-3-p-p-3-r . Fixed qt_sinks ctor #2056. Thanks @mguludag . List Debian instructions in the README #2057. Thanks @mr-c , Updated to latest Travis CI Build Status #2094. Thanks @jspraul . Fixed unhandled errors in udp sink. #2096. Thanks @mmarkeloff . CMake improvement regarding cmake_minimum_required and policy. #2098. Thanks @reddwarf69 . Fixed mongo_sink compile in older gcc versions #2102 . Thanks @yzz-ihep . Remove mutable keyword from mutex_ member in of sinks. #2140 . Thanks @sunlong169 . Fix typos #2171. Thanks @rex4539 . Fixed udp sink build on FreeBSD #2172. Thanks @keith-dev . Avoid c-style casting in stdout sinks. #2179. Thanks @ibmibmibm . Fixed tweakme.h compile error under msvcs when SPDLOG_FUNCTION is defined #2182. Thanks @Light3039 . Fixed compiling errors on AIX #2181. Thanks @lisr . Fixed runtime when build with -fsanitize=cfi #1972. Thanks @bansan85 . Remove extraneous semicolon #2190. Thanks @sylveon. Added example how to replace default logger. #2194. Thanks @rioki . Fixed usage of ranges and to_hex in the same compile unit #2195. Thanks @patrickroocks . Reduce warnings with pedantic compiler -Wuseless-cast #2216. Thanks @vnepogodin . Support using std::span in to_hex #2228. Thanks @timblechmann . Reset current size if rotated files on open #2234. Thanks @SpriteOvO . Allow forward-declaration of level_enum #2245. Thanks @daverigby . Call localtime() only if pattern_formatter really needs it #2246. Thanks @doug1234 . Removed unneeded spaces from code. #2249. Thanks @PixelParas . Added a few missing files/directories to the gitignore #2255. Thanks @LeonBrands . Fixed issue #2201 (Pattern width is not applied for missing source information). #2269. Thanks @kyuheon-kr . Limit max number of rotating files to 200000. (Fixed #1905). Thanks @surfycui (#2273) pattern_formatter: fix reorder-ctor warning #2278. Thanks @adriweb . Fixed spdlogConfig.cmake when built with SPDLOG_FMT_EXTERNAL_HO #2300. Thanks @adamcalhoon . Fixed fopen_s(..) error handling when PREVENT_CHILD_FD is defined #2305. Thanks @nUl1. Fixed compiler error when building on Windows with #define UNICODE #2317. Thanks @risa2000 . Added option to enable formatting of systemd sink #2324, #2320. Thanks @Delgan . Added optional "ident" argument to systemd sink constructor #2328. Thanks @Delgan . Special thanks to @tt4g for his support in answering community questions and issues. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imagemagick: add PACKAGECONFIG for C++ bindingsBartosz Golaszewski2022-08-061-0/+1
| | | | | | | | Add a new PACKAGECONFIG switch for building C++ bindings for imagemagick. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* zabbix: upgrade 6.0.5 -> 6.2.1wangmy2022-08-061-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xrefresh: upgrade 1.0.6 -> 1.0.7wangmy2022-08-061-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xmessage: upgrade 1.0.5 -> 1.0.6wangmy2022-08-061-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xfontsel: upgrade 1.0.6 -> 1.1.0wangmy2022-08-061-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libass: update to v1.16.0Markus Volk2022-08-061-11/+8
| | | | | | | | | - enca support has been dropped - add PACKAGECONFIG for asm - build with asm support for x86_64 Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fluentbit Upgrade to 1.3.5 -> 1.9.6Paulo Neves2022-08-0612-325/+261
| | | | | Signed-off-by: Paulo Neves <ptsneves@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poco: upgrade 1.12.0 -> 1.12.1wangmy2022-08-063-67/+4
| | | | | | | | | | | | | | The following patches removed since they're included in 1.12.1: 0001-fix-unbundled-PCRE2-dependency.patch 0002-remove-providers-unitialization.patch Changelog: ========== - GH #3677 PocoFoundationConfig.cmake should now check for PCRE2 - GH #3686 SIGSEGV in OSSL_PROVIDER_unload with static OpenSSL3 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libmxml: upgrade 3.3 -> 3.3.1wangmy2022-08-061-1/+1
| | | | | | | Fixed POSIX thread cleanup bugs (Issue #293) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* icewm: upgrade 2.9.7 -> 2.9.8wangmy2022-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: ========= Omit trailing dot in CPU temperature and add centigrade symbol for issue bbidulock/icewm#652. If there is no WM active, then a request to restart will start icewm. Don't create the ~/.icewm directory, unless required to save a file. When showing the desktop, also minimize a focused fullscreen window. Add support for COMPOUND_TEXT title names in WM_NAME strings for issue bbidulock/icewm#26. Limit window dimensions to 32732 pixels in the icesh command. Improve the truncation of titles for TaskBarTaskGrouping in issue bbidulock/icewm#658. Let TaskBarShowAllWindows influence TaskBarTaskGrouping for issue bbidulock/icewm#560. Update the TaskBarTaskGrouping menu, when tasks are added or removed. Restore the 2.5.0 container handling of button presses for issue bbidulock/icewm#649. Make the TaskBarGraphHeight preference themable for issue bbidulock/icewm#659. Clarify which preferences are themable in icewm-preferences(5). Update the translations for Macedonian and Swedish. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: upgrade 2.7.0 -> 2.8.0wangmy2022-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Noteworthy changes: ------------------- Backported API to get peer accepted channel option flags Backported API to get peer accepted channel names Backported Stream_CheckAndLogRequiredLength Backported #7954: Add server side handling for [MS-RDPET] Backported #8010: Add server side handling for [MS-RDPECAM] Backported #8041: Remove ALAW/ULAW codecs from linux backends (unreliable) Backported #8051: Relieve CLIPRDR filename restriction when connecting to non-MS Windows servers Backported #8048: TLS version control Backported #7987: Add a new command line arg to enforce tls1.2 Fixed issues: -------------- Fixed #7837: Prevent out of bound reads for FFMPEG Backported #7859 and #7861: Unwind support for backtrace generation Backported #7440: wlfreerdp appid Backported #7832: RAIL window restore Backported #7833: Refactored WinPR thread locking Backported #7893: Mac rdpsnd memory leak fixes Backported #7895: Mac audin memory leak fixes Backported #7898: Automatic android versioning Backported #7916: GFX 10.7 capability support Backported #7949: Server RDPSND API improvements Backported #7957: Server DVC API improvements Backported #7760: Fixed osMinorType values Backported #8013: Add missing osMajorType values Backported #8076: Fix wrong usage of subband diffing flag (tile artifact fix) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* debootstrap: upgrade 1.0.126 -> 1.0.127wangmy2022-08-061-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* avro-c: upgrade 1.11.0 -> 1.11.1wangmy2022-08-061-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ccid: upgrade 1.4.33 -> 1.5.0Julian Haller2022-08-061-3/+3
| | | | | Signed-off-by: Julian Haller <julian.haller@philips.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pcsc-lite: upgrade 1.9.0 -> 1.9.8Julian Haller2022-08-062-50/+5
| | | | | | | | | The python3 related patch is no longer due to similar changes in the project. This also requires changing the RDEPENDS to python3-core to avoid package QA warnings. Signed-off-by: Julian Haller <julian.haller@philips.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postgresql: Fix the buildpaths issueMingli Yu2022-08-063-0/+119
| | | | | | | | | | | | | | Fixes: WARNING: postgresql-14.4-r0 do_package_qa: QA Issue: File /usr/bin/postgres in package postgresql contains reference to TMPDIR File /usr/bin/pg_config in package postgresql contains reference to TMPDIR [buildpaths] WARNING: postgresql-14.4-r0 do_package_qa: QA Issue: File /usr/include/pg_config.h in package libpq-dev contains reference to TMPDIR [buildpaths] WARNING: postgresql-14.4-r0 do_package_qa: QA Issue: File /usr/include/postgresql/server/pg_config.h in package postgresql-server-dev contains reference to TMPDIR File /usr/lib/postgresql/pgxs/src/Makefile.global in package postgresql-server-dev contains reference to TMPDIR [buildpaths] WARNING: postgresql-14.4-r0 do_package_qa: QA Issue: File /usr/lib/libpgcommon.a in package postgresql-staticdev contains reference to TMPDIR File /usr/lib/libpgcommon_shlib.a in package postgresql-staticdev contains reference to TMPDIR [buildpaths] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Add packageconfig for lz4 and enable itKhem Raj2022-07-291-1/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Inherit pkgconfigKhem Raj2022-07-291-1/+1
| | | | | | | Fixes -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* polkit: update patches for musl compilationMarta Rybczynska2022-07-294-63/+98
| | | | | | | | | | | | | | | | | | | | Update the patch to make netgroup support optional to fit the commit merged upstream [1], update the other patch depending on one of the changes. Without this update, a compilation using duktape with musl fails with: | ../../../polkit-0.119/src/polkitbackend/polkitbackendduktapeauthority.c: In function 'js_polkit_user_is_in_netgroup': | ../../../polkit-0.119/src/polkitbackend/polkitbackendduktapeauthority.c:1039:7: warning: implicit declaration of function 'innetgr' [-Wimplicit-function-declaration] | 1039 | if (innetgr (netgroup, | | ^~~~~~~ The main patch has been split in two, to apply the duktape part only when duktape is applied. [1] https://gitlab.freedesktop.org/polkit/polkit/-/commit/b57deee8178190a7ecc75290fa13cf7daabc2c66 Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* polkit: Add --shell /bin/nologin to polkitd userAkash Hadke2022-07-281-1/+1
| | | | | | | | polkitd user has default access to /bin/sh, add --shell /bin/nologin to remove default access to /bin/sh and avoid login through it. Signed-off-by: Akash Hadke <akash.hadke@kpit.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>