aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended
AgeCommit message (Collapse)AuthorFilesLines
2020-01-29gzip: Fix failure from recent shell changesRichard Purdie2-0/+17
We want the shell preserved as /bin/sh, tweak the makefile to achieve this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-18mc: Drop python2 scriptsRichard Purdie1-6/+4
python2 is now EOL. To keep this old version of mc going, delete the python2 scripts to avoid the dependency. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-09diffutils: use malloc() and realloc() from libc as-isAndre' Draszik1-0/+5
diffutils' version of autoconf tries to run a test program to determine if malloc() and realloc() behave like in glibc, i.e. returning non-NULL when given 0 as size. Running a test program doesn't work when cross- compiling, so it defaults to assuming different behaviour and compiles wrappers around malloc() & realloc(). Given they behave the same in musl (these days), and given uClibc isn't supported anymore, we can specify the test-result, and avoid having to use diffutil's replacement functions. jm_cv_func_working_malloc and jm_cv_func_working_realloc are similar to ac_cv_func_malloc_0_nonnull and ac_cv_func_realloc_0_nonnull, which oe-core sets in the site configuration in meta/site/, except that the former two are the flags for the older version of autoconf used by this package. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-01-08diffutils: fix build with 64bit time_t on 32bit archesAndr? Draszik2-0/+47
See included patch. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-01-07grep: fix builds with gettext 0.20.x (musl)Andr? Draszik1-5/+30
Update patch to also AC_CHECK_FUNCS([setlocale]). Various #include <locale.h> are guarded by the outcome of that, and otherwise compilation fails, e.g.: | ../../grep-2.5.1a/src/dfa.c:1366:34: error: 'LC_COLLATE' undeclared (first use in this function); did you mean 'REG_ECOLLATE'? | 1366 | hard_LC_COLLATE = hard_locale (LC_COLLATE); | | ^~~~~~~~~~ | | REG_ECOLLATE It appears that this test used to be triggered by (implied with) the old gettext version, but now it isn't. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-12-18sed: fix builds with gettext 0.20.xAlexander Kanavin2-1/+41
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-18mc: fix builds with gettext 0.20Alexander Kanavin2-0/+53
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-18grep: fix builds with gettext 0.20.xAlexander Kanavin2-1/+40
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-25diffutils: use mempcpy instead of __mempcpy3.1_M1Nicola Lunghi3-7/+57
musl (like uclibc) doesn't define __mempcpy. This patch will replace __mempcpy with mempcpy in the internal regex.c and getopt.c implementation (similar to what is done in grep in this same repo with the uclibc-fix.patch This also render the line: EXTRA_OECONF_libc-uclibc = "--without-included-regex" not needed anymore so it drops it. Signed-off-by: Nicola Lunghi <nick83ola@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-09-20tar: Add a missing Upstream-Status to a patchPeter Kjellerstedt1-0/+1
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2019-09-18tar: Make it build with GCC 8.3Joakim Roubert2-0/+35
This avoids the following error: lib/argp-parse.c: In function 'argp_version_parser': lib/argp-parse.c:158:2: error: format not a string literal and no format arguments [-Werror=format-security] __argp_error (state, dgettext (state->root_argp->argp_domain, ^~~~~~~~~~~~ Signed-off-by: Joakim Roubert <joakim.roubert@axis.com> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2019-06-21bc: use u-a for bc as wellMartin Jansa1-1/+1
* bc can be provided by busybox as well (e.g. if you have your own defconfig and forget to explicitly disable it: ... * * Miscellaneous Utilities * adjtimex (4.7 kb) (ADJTIMEX) [N/y/?] n bbconfig (9.7 kb) (BBCONFIG) [N/y/?] n bc (45 kb) (BC) [Y/n/?] (NEW) dc (36 kb) (DC) [Y/n/?] y Use bc code base for dc (larger, more features) (FEATURE_DC_BIG) [Y] (NEW) y Interactive mode (+4kb) (FEATURE_BC_INTERACTIVE) [Y/n/?] (NEW) Enable bc/dc long options (FEATURE_BC_LONG_OPTIONS) [Y/n] (NEW) beep (2.4 kb) (BEEP) [N/y/?] n chat (6.3 kb) (CHAT) [N/y/?] n conspy (10 kb) (CONSPY) [N/y/?] n ... ), causing conflict in u-a: update-alternatives: Error: not linking /usr/bin/bc to /bin/busybox.nosuid since /usr/bin/bc exists and is not a link and then whole do_rootfs or do_populate_sdk to fail because busybox postinst is failing: do_populate_sdk: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot, then please place them into pkg_postinst_ontarget_${PN} (). Deferring to first boot via 'exit 1' is no longer supported. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-11-15grep: fix install if bindir == base_bindirWes Lindauer1-5/+7
This same fix was made to the grep recipe in poky at hash 5f137933c05646dee685d7846cba875ae74064cd. Not everyone gets the luxury of using GPLv3 code, so the same fix needs to be applied to the GPLv2 version. Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-07-20bc: addRoss Burton2-0/+54
Add 1.06 from oe-core as bc 1.07 is GPLv3. Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-04-26diffutils Make it build with compile time hardening enabledyocto-2.5.3yocto-2.5.2sumo-19.0.3sumo-19.0.2Peter Kjellerstedt2-1/+35
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2018-04-25texinfo: Update a patch to avoid fuzzPeter Kjellerstedt1-3/+3
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2018-04-25sed: Update a patch to avoid fuzzPeter Kjellerstedt1-4/+4
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2018-04-23bash: Provide /bin/{sh, bash} when usrmerge is usedPeter Kjellerstedt1-0/+2
Most shell scripts have '#!/bin/{sh,bash}' on the first line of the script, which triggers RPM to automatically add a runtime dependency on that path for any package that contains shell scripts. However, when the usrmerge feature is enabled, the path will actually be /usr/bin/{sh,bash}. So, to satisfy the runtime dependencies, add '/bin/{sh,bash}' to what the bash package provides. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-02-22time: move it from oe-coreRobert Yang2-0/+1325
The 1.8 is GPLv3, so remove the v2 one to meta-gplv2. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-10-04groff: Drop local getopt implementation in favor of the one from glibcPeter Kjellerstedt2-0/+1840
This avoids the following error with GCC 7: In file included from /usr/include/bits/getopt_posix.h:27:0, from /usr/include/unistd.h:872, from src/libs/libgroff/maxfilename.cc:28: /usr/include/bits/getopt_core.h:91:12: error: declaration of 'int getopt(int, char* const*, const char*) throw ()' has a different exception specifier extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) ^~~~~~ In file included from src/include/lib.h:42:0, from src/libs/libgroff/maxfilename.cc:23: src/include/groff-getopt.h:50:12: note: from previous declaration 'int getopt(int, char* const*, const char*)' extern int getopt(int, // __argc ^~~~~~ Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-10-04groff: Make it build with compile time hardening enabledPeter Kjellerstedt2-6/+42
This avoids the following error: src/devices/grohtml/post-html.cc: In member function 'void header_desc::write_headings(FILE*, int)': src/devices/grohtml/post-html.cc:1402:32: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(f, buffer.contents()); Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-08-18mc: disable Ctrl-g key and Ctrl-\ keyHongxu Jia2-0/+87
Since ncurses upgraded to 6.0+20170715, it compile failed ... | ../../../mc-4.7.5.2/lib/tty/tty-ncurses.c: In function 'tty_init': | ../../../mc-4.7.5.2/lib/tty/tty-ncurses.c:163:13: error: dereferencing pointer to incomplete type 'TERMINAL {aka struct term}' | cur_term->Nttyb.c_cc[VINTR] = CTRL ('g'); /* ^g */ ... We could not backport fix from the latest master which introduce gplv3 contamination, but we could revert to disable Ctrl-g key and Ctrl-\ key Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18Revert "mc: Drop from meta-gplv2 as incompatible with newer ncurses versions"Hongxu Jia2-0/+78
This reverts commit ec80d2cac67a952b06ed27fbd4d71f17641e9a7c. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17mc: Drop from meta-gplv2 as incompatible with newer ncurses versionsRichard Purdie2-78/+0
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-22grep: fix compilation with security flags enabledAndré Draszik2-0/+135
As per attached patch Signed-off-by: André Draszik <adraszik@tycoint.com> Acked-by: Sylvain Lemieux <slemieux@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-09msmtp: add old version with gplv2Jackie Huang3-0/+339
msmtp changed to gplv3 from 1.4.13 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-02Create meta-gplv2 from files from OE-CoreRichard Purdie68-0/+3754
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>