aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/patch
Commit message (Collapse)AuthorAgeFilesLines
* patch: the CVE-2019-13638 fix also handles CVE-2018-20969Ross Burton2019-11-051-2/+2
| | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: add CVE tags to patchesRoss Burton2019-09-062-0/+2
| | | | | | | These patches improve CVE fixes but trip up patch status sanity checks, so add CVE tags to them. Signed-off-by: Ross Burton <ross.burton@intel.com>
* patch: backport fixesAnuj Mittal2019-08-223-0/+175
| | | | | | | | | | | The original fix for CVE-2018-1000156 was incomplete. Backport more fixes done later for a complete fix. Also see: https://savannah.gnu.org/bugs/index.php?53820 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* patch: fix CVE-2019-13638Trevor Gamblin2019-08-132-0/+45
| | | | | Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: fix CVE-2019-13636Anuj Mittal2019-07-312-0/+114
| | | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: fix CVE-2018-6952Hongxu Jia2018-08-232-0/+37
| | | | | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: fix CVE-2018-1000156Jackie Huang2018-04-133-0/+255
| | | | | | | | | | | | | | | | * CVE detail: https://nvd.nist.gov/vuln/detail/CVE-2018-1000156 * upstream tracking: https://savannah.gnu.org/bugs/index.php?53566 * Fix arbitrary command execution in ed-style patches: - src/pch.c (do_ed_script): Write ed script to a temporary file instead of piping it to ed: this will cause ed to abort on invalid commands instead of rejecting them and carrying on. - tests/ed-style: New test case. - tests/Makefile.am (TESTS): Add test case. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* patch: fix CVE-2018-6951Jackie Huang2018-04-132-1/+38
| | | | | | | | | | | | | * CVE detail: https://nvd.nist.gov/vuln/detail/CVE-2018-6951 * upstream tracking: http://savannah.gnu.org/bugs/?53132 * Fix segfault with mangled rename patch - src/pch.c (intuit_diff_type): Ensure that two filenames are specified for renames and copies (fix the existing check). Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* patch:2.7.5 -> 2.7.6Huang Qiyu2018-03-081-2/+2
| | | | | | | Upgrade patch from 2.7.5 to 2.7.6. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* recipes: Move out stale GPLv2 versions to a seperate layerRichard Purdie2017-03-075-10991/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These are recipes where the upstream has moved to GPLv3 and these old versions are the last ones under the GPLv2 license. There are several reasons for making this move. There is a different quality of service with these recipes in that they don't get security fixes and upstream no longer care about them, in fact they're actively hostile against people using old versions. The recipes tend to need a different kind of maintenance to work with changes in the wider ecosystem and there needs to be isolation between changes made in the v3 versions and those in the v2 versions. There are probably better ways to handle a "non-GPLv3" system but right now having these in OE-Core makes them look like a first class citizen when I believe they have potential for a variety of undesireable issues. Moving them into a separate layer makes their different needs clearer, it also makes it clear how many of these there are. Some are probably not needed (e.g. mc), I also wonder whether some are useful (e.g. gmp) since most things that use them are GPLv3 only already. Someone could now more clearly see how to streamline the list of recipes here. I'm proposing we mmove to this separate layer for 2.3 with its future maintinership and testing to be determined in 2.4 and beyond. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-011-1/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Fix Upstream-Status statementsRoss Burton2015-09-121-1/+1
| | | | | | | | Fix a variety of problems such as typos, bad punctuations, or incorrect Upstream-Status values. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Fix charset.alias for muslKhem Raj2015-04-212-1/+36
| | | | | | | | This is same gnulib fix replicated across needed recipes Change-Id: I756713407111a726eae98e26c9c1ff64981371c0 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: 2.7.1 -> 2.7.5Robert Yang2015-04-073-204/+3
| | | | | | | | * Removed backport patch patch-CVE-2015-1196.patch * Add HOMEPAGE Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: fix CVE-2015-1196Robert Yang2015-03-292-0/+201
| | | | | | | | | | | | | | A directory traversal flaw was reported in patch: References: http://www.openwall.com/lists/oss-security/2015/01/18/6 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775227 https://bugzilla.redhat.com/show_bug.cgi?id=1182154 [YOCTO #7182] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch 2.5.9: fix unknown-configure-optionRobert Yang2015-02-071-3/+0
| | | | | | | | | | | Fixed: WARNING: QA Issue: patch: configure was passed unrecognised options: --disable-xattr [unknown-configure-option] The patch 2.5.9 doesn't support --disable-xattr, there are already PACKAGECONFIG and PACKAGECONFIG[attr] in patch_2.7.1.bb, so remove them from patch.inc to fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-251-1/+1
| | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Remove PR = r0 from all recipesRichard Purdie2013-10-301-1/+0
| | | | | | | | | | | Remove all PR = "r0" from all .bb files in oe-core. This was done with the command sed -e '/^PR.*=.*r0\"/d' recipes*/*/*.bb -i We've switching to the PR server, PR bumps are no longer needed and this saves people either accidentally bumping them or forgetting to remove the lines (r0 is the default anyway). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: add PACKAGECONFIG for attrMartin Jansa2013-07-271-0/+3
| | | | | | | | * it's autodetected from sysroot * add PACKAGECONFIG to make it deterministic Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* patch: use PACKAGECONFIG to ensure correct dependency for xattrSaul Wold2013-05-301-1/+3
| | | | | | | | This will enable or disable xattr with the correct dependency on attr as needed. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: diable xattr as defaultSaul Wold2013-05-241-0/+2
| | | | | | | There is a optional dependency on xattr (and thus the attr package), disable it by default, to ensure it builds correctly. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* patch: update to upstream version 2.7.1Marko Lindqvist2012-12-182-11/+11
| | | | | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* patch: drop global-reject-file patchMarko Lindqvist2012-12-182-192/+1
| | | | | | | | | | | global-reject-file.diff was patch ported from Debian that Debian itself has dropped as upstream now has equivalent functionality. To update users of this functionality, replace "--global-reject-file=file" with simple "--reject-file=file" which no longer overwrites reject hunks from different files. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* patch: cleanup update-alternatives deprecated codeSaul Wold2012-08-153-8/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* patch: use BPN for alternativesMark Hatle2012-05-301-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj2011-08-232-5/+5
| | | | | | | Some place pnum=1 is used which is removed as well since striplevel=1 is default Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Fix the Upstream-Status formatNitin A Kamble2011-05-115-5/+5
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* patch: update upstream status for patchesNitin A Kamble2011-05-084-0/+8
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* patch-2.6.1: update patch upstream statusNitin A Kamble2011-05-081-0/+2
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* patch: Fix SRC_URI[sha256]Saul Wold2010-12-211-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* patch-2.6.1: implement new patch recipe with latest upstreamNitin A Kamble2010-12-162-0/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit patch recipe based on latest upstream code. This is GPLv3 code based. Hence the earlier patch-2.5.9 recipe is left intact for GPLv2 needs. Patches from 2.5.9 patch recipe are rebased to this new recipe except these exceptions: unified-reject-files.diff: dropped This patch implements this new parameter: " --unified-reject-files Create unified reject files." And upstream has implemented very similar parameter like this: " --reject-format=FORMAT Create 'context' or 'unified' rejects." Hence this patch is dropped for the 2.6.1 recipe. global-reject-file.diff: rebased This patch is rebased to the newer upstream codebase. install.patch: dropped Newer upstream code now includes code form this patch. debian.patch: dropped This huge (10k lines) patch was specific for 2.5.9 version of GPLv2 patch. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* patch_2.5.9: clean up the recipeNitin A Kamble2010-12-167-27409/+6
| | | | | | | | | | | Earlier the recipe was using 2.5.4 tar ball and a patch for upgrading to 2.5.9. Replaces these with pointer to 2.5.9 tarball. Also noted that both 2.5.4 & 2.5.9 are GPLv2 sources. Updated checksums and license of the recipe Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* recipes-devtools: Add Summary informationMark Hatle2010-12-161-0/+1
| | | | | | Add Summary information and update Descripts as necessary. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* patch: Add LIC_FILES_CHKSUMSaul Wold2010-12-131-1/+3
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-277-0/+38399
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>