summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libpcre
Commit message (Collapse)AuthorAgeFilesLines
* libpcre: Drop old/stale patchRichard Purdie2021-02-232-42/+0
| | | | | | | | | | | | | According to my tests this incorrect symbols resolution at runtime no longer happens. Ubuntu is still carrying the patch but also probably doesn't need to, they are also on a much older version. It sounds like there was once a linkage bug somewhere which has likely been resolved since. Drop the patch as it doesn't seem needed anymore. If it were a real issue it should be submitted upstream too, the status is incorrect. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre2: upgrade 10.35 -> 10.36Alexander Kanavin2020-12-301-2/+2
| | | | | | License-Update: email address changed Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcpre2: update 10.34 -> 10.35Alexander Kanavin2020-06-032-77/+3
| | | | | | | | | | | | | Replace pcre-cross.patch with the (default) option to use pre-built tables; the README says it's ok, and recommended in cross-compile situations. The option was in the recipe from the start and neither the commit that adds the recipe, nor the patch to make it work explain why. License-Update: copyright years Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: upgrade 8.43 -> 8.44Alexander Kanavin2020-02-282-31/+4
| | | | | | License-Update: copyright years Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre2: upgrade 10.33 -> 10.34Alexander Kanavin2020-02-031-2/+2
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: Clarify BSD license variantChristophe PRIOUZEAU2019-10-152-2/+2
| | | | | | | The license of the two libraries are BSD-3-Clause. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: Add make dependency for ptestRichard Purdie2019-05-221-0/+2
| | | | | | The tests are run from a makefile so this dependency is needed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre2: upgrade 10.32 -> 10.33Alexander Kanavin2019-05-211-3/+3
| | | | | | | License-update: copyright years Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: update patch statusRoss Burton2019-03-241-1/+1
| | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: enable JITRoss Burton2019-02-282-1/+29
| | | | | | | | | | | | PCRE has an optional JIT for performance. Add a PACKAGECONFIG for this, enabled by default. Also add a patch so that auto-detection of JIT availablity, which is required to enable the JIT by default, works with out-of-tree builds. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: recipe cleanupRoss Burton2019-02-282-64/+1
| | | | | | | | | | | | | | | | | | | | | | The following options are the defaults, so remove them: --enable-newline-is-lf --with-match-size=2 --with-match-limit=10000000 We don't appear to need to pass -D_REENTRANT anymore (added with no explanation to oe-classic in 2006). Explicitly adding -lstdc++ doesn't appear to be required anymore (added for PowerPC in 2008). This recipe has always rebuilt the character tables but back in PCRE 4.4 (first added to OE) a copy of the tables wasn't distributed with the tarball so this was required. Since 2007 the tarball includes the tables for ASCII and regeneration is only required if we wish to use EBCDIC, which we do not. Drop the patch adding CC_FOR_BUILD support and remove --enable-rebuild-chartables Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: upgrade to 8.43Ross Burton2019-02-251-3/+3
| | | | | | | Licence checksum updated because the copyright dates were changed. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre2: update to 10.32Armin Kuster2018-11-091-3/+3
| | | | | | | | LIC_FILES_CHKSUM changed do to typo fixes and tidies for 10.32 see: https://www.pcre.org/changelog.txt Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libpcre2: update to 10.31Armin Kuster2018-05-041-3/+3
| | | | | | | LICENSE changed do to updating copyrige date Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: 8.41 -> 8.42Andrej Valek2018-05-041-3/+3
| | | | | | | | | License-Update: The checksum of LIC_FILES_CHKSUM has been changed due to time update of copyright LICENCE to 2018. The content of LICENCE has no change. Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpcre-ptest: skip locale testJuro Bystricky2018-03-301-0/+4
| | | | | | | | | | | | If a fr_FR locale is found, it is automatically tested. The test will fail if the locale is UTF-8, as the test blindly assumes (and expects) a non-UTF fr_FR locale. The remedy is to skip the test. [YOCTO #12215] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: refresh patchesRoss Burton2018-03-071-12/+12
| | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpcre2: add packages for 16-bit and 32-bit code unit supportStefan Müller-Klieser2018-01-061-2/+5
| | | | | | | | | The packages loosely follow the debian package names. In that way more projects, e.g. Qt5 for 16-bit, are able use system libraries. This does not change the existing default package. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre2: update to 10.30Armin Kuster2017-11-053-194/+3
| | | | | | | | | | | | LICENSE files changed: Amend licence to relax its conditions for chains of binary distributions. removed included patches includes CVE-2017-8399 Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre2: Fix CVE-2017-7186Robert Yang2017-08-302-0/+97
| | | | | | | | | | | | | | A fuzz on libpcre1 through the pcretest utility revealed an invalid read in the library. For who is interested in a detailed description of the bug, will follow a feedback from upstream: This was a genuine bug in the 32-bit library. Thanks for finding it. The crash was caused by trying to find a Unicode property for a code value greater than 0x10ffff, the Unicode maximum, when running in non-UTF mode (where character values can be up to 0xffffffff). Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre2: Fix CVE-2017-8786Robert Yang2017-08-302-0/+94
| | | | | | | | | The pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: upgrade 8.40 -> 8.41Andrej Valek2017-07-301-2/+2
| | | | | Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre2_10.23.bb: set CVE_PRODUCT to pcre2Mikko Rapeli2017-07-241-0/+2
| | | | | | | | | It is used in NVD as product name for CVE's like: https://nvd.nist.gov/vuln/detail/CVE-2017-8786 Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpcre_8.40.bb: set CVE_PRODUCT to prceMikko Rapeli2017-07-241-0/+2
| | | | | | | | | It is used in NVD for CVE's like: https://nvd.nist.gov/vuln/detail/CVE-2017-7246 Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpcre2: 10.22 -> 10.23Fan Xin2017-06-281-3/+3
| | | | | | | | | | 1. Upgrade libpcre2 from 10.22 to 10.23 2. Update the checksum of LIC_FILES_CHKSUM The copyright time of LICENCE is updated to 2017, the content of LICENCE has no change. Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpcre: switch from ftp to httpsMaxin B. John2017-06-141-1/+1
| | | | | | | | For the same reasons as Debian: https://www.debian.org/News/2017/20170425 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre2: add it for newer vteRobert Yang2017-02-232-0/+121
| | | | | | | | | | | | | | | | | | There are two major versions of the PCRE library. The newest version, PCRE2, was released in 2015 and is at version 10.22. The original, very widely deployed PCRE library, originally released in 1997, is at version 8.40, and the API and feature set are stable, future releases will be for bugfixes only. All new future features will be to PCRE2, not the original PCRE 8.x series. The newer vte depends on libpcre2, so add it. (From OE-Core rev: f7165d379cb67c4d4918a8a3e9509d3d823d61da) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: 8.39 -> 8.40Robert Yang2017-02-151-3/+3
| | | | | | | | The LIC_FILES_CHKSUM is changed because the date is changed, here is diff result: < Copyright (c) 1997-2017 University of Cambridge Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpcre: explicitely specify CCLD_FOR_BUILD for this recipeJérémy Rosen2016-09-131-0/+2
| | | | | | | | | libpcre uses CCLD_FOR_BUILD as the name of the host command to use for linking. This is not a standard autotools symbol but particular to this recipe. We need to set it explicitely Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpcre: 8.38 -> 8.39Robert Yang2016-07-122-178/+3
| | | | | | | | | * Remove CVE-2016-3191.patch which is already in the source. * The LIC_FILES_CHKSUM is changed since it has updated the date from 2015 to 2016, the contents are the same. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpcre: Fix CVE-2016-3191Ismo Puustinen2016-05-092-0/+175
| | | | | | | | | | | Fix workspace overflow for (*ACCEPT) with deeply nested parentheses. The patch is from libpcre version control at http://vcs.pcre.org/pcre?view=revision&revision=1631 with the ChangeLog part removed. Original author is Philip Hazel. Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpcre: enable unicode properties by defaultRoss Burton2016-02-071-2/+3
| | | | | | | | | | | Enable Unicode properties by default, as they're useful and for example GLib needs them. As there is an impact to code size add this as a PACKAGECONFIG so tightly constrained environments can save space by potentially disabling them. Also change --enable-utf8 to --enable-utf, as the former is a compatibility option for the latter. Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpcre: drop UPSTREAM_CHECK_ variablesRoss Burton2015-12-081-3/+0
| | | | | | | Now the SRC_URI is the canonical FTP server, the update-detection logic works automatically. Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpcre: upgrade to 8.38Fan Xin2015-12-081-3/+3
| | | | | | | | | | | This is the latest release in the 8.xx series. It fixes 46 bugs as listed: http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup Vulnerabilities from CVE-2015-8380 to CVE-2015-8395 have been fixed in 8.38. Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* package_regex.inc: split sourceforge related entries to their own recipesAlexander Kanavin2015-12-081-0/+3
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpcre: Allow building 16 and 32bit libpcre versionsPascal Bach2015-09-211-0/+5
| | | | | | | | | | | | This change allows selecting the 8, 16 or 32 bit version via PACKAGECONFIG. By default only the 8bit version is built, this corresponds to the old behavior. Some packages like Qt5 require the 16 bit version of libpcre. After this change the corresponding layer can easily enable the version needed via .bbappend. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpcre: 8.36 -> 8.37Robert Yang2015-05-141-3/+3
| | | | | | | | | | | The LICENSE's md5sum has changed mainly because the new version added this line: The data in the testdata directory is not copyrighted and is in the public domain. The license is the same, so just update the md5sum. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* meta: enable parallel build for several recipesRobert Yang2015-02-141-2/+0
| | | | | | | I used a for loop to build these packages more than 520 times, these recipes never failed. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* libpcre: Upgrade to 8.36Chong Lu2014-11-092-3/+3
| | | | | Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* binconfig-disabled: Add class and useRichard Purdie2014-06-161-1/+3
| | | | | | | | | | | | | | | | | | | | This adds a binconfig-disabled class which can be used by recipes where a -config file is installed but we wish to disable it and just rely on the .pc files instead. Rather than simply deleting it, we make the script "exit 1" so that it can be found in PATH and raise a build error rather than something silently falling back to the build system for example. Rather than randomly finding -config files, this adds in the specification of a list of binconfig scripts which is more deterministic and maintainable moving forward. This patch converts various users in OE-Core to use this, a world build of OE-Core tests out ok with this change. There will likely be issues in other layers however, hence this being a RFT. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: Update to 8.35 versionChong Lu2014-05-211-3/+3
| | | | | | | Upgrade libpcre to 8.35 version. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libpcre: enable ptest supportChong Lu2014-02-203-2/+203
| | | | | | | Install libpcre test suite and run it as ptest. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libpcre: upgrade to 8.34Chong Lu2014-01-061-2/+2
| | | | | | | Upgrade libpcre to 8.34. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libpcre: Cleanup FILESPATHSaul Wold2013-11-203-2/+0
| | | | | | | Setting of the FILESPATH is not needed anymore, so clean it up. Move files to libprce patch directory Signed-off-by: Saul Wold <sgw@linux.intel.com>
* meta: Don't use deprecated bitbake APIRichard Purdie2013-09-011-1/+1
| | | | | | | | These have been deprecated for a long time, convert the remaining references to the correct modules and prepare for removal of the compatibility support from bitbake. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: upgraded to 8.33Bogdan Marinescu2013-06-041-4/+3
| | | | | | | | The license didn't modify, just the license years (2012->2013). Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: Make readline dependency conditional on ↵Phil Blundell2013-04-291-1/+3
| | | | | | | | | | PACKAGECONFIG[pcretest-readline] The only place in pcre that requires readline is pcretest, and even there it's optional. This allows the dependency to be removed unless specifically requested. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libpcre: Fix BUILD_CFLAGS for out of tree supportRichard Purdie2013-03-231-1/+1
| | | | | | | The BUILD_CFLAGS were broken since /include no longer exists in this package. We do need to include ${B} in the include path for pcre.h though. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: change BUILD_CPPFLAGS and BUILD_CFLAGS valuesGiuseppe CONDORELLI2013-01-091-2/+3
| | | | | | | | Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to set CFLAGS_FOR_BUILD, required for the libpcre build. Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli@st.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libpcre: Improve the recipeFahad Usman2012-12-132-46/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Improve the cross patch to determine *_FOR_BUILD in configure - Leverage the fact that autotools.bbclass handles *_FOR_BUILD now - Drop the now unnecessary do_compile override - Drop the do_split_packages - Split out packages for pcregrep, pcretest, in addition to libpcrecpp and libpcreposix - add nativesdk to BBCLASSEXTEND as well as native Signed-off-by: Christopher Larson <chris_larson@mentor.com> - the patch was imported from meta-mentor layer on yoctoproject git server http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id 62f819b97e356c1d7468fbccbf3a3ceed78b09a8 - broken up the original patch in two parts, this part contains some improvements to the recipe and the cross patch Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>