Commit Graph

47 Commits

Author SHA1 Message Date
Mikko Rapeli 156c033a3b libpcre2_10.23.bb: set CVE_PRODUCT to pcre2
It is used in NVD as product name for CVE's like:

https://nvd.nist.gov/vuln/detail/CVE-2017-8786

(From OE-Core rev: 594a729950272b6596567dca1d4aa6f147ba3085)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit ce32c5b8ee77012b36c74323f298dc561741aebd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-29 11:57:27 +01:00
Mikko Rapeli 9b81f32906 libpcre_8.40.bb: set CVE_PRODUCT to prce
It is used in NVD for CVE's like:

https://nvd.nist.gov/vuln/detail/CVE-2017-7246

(From OE-Core rev: a561cc581ae9d9a7ae3eb90ee0563f3b47ba843c)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 523e823988f08679a384a14c4e768b2819f8a6bf)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-29 11:57:27 +01:00
Robert Yang 839568db9d libpcre2: add it for newer vte
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)

(From OE-Core rev: 69c4d94dd6b825c710c6e76fe77e5255ddd1183d)

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>
2017-02-23 12:49:49 -08:00
Robert Yang 424428b0b3 libpcre: 8.39 -> 8.40
The LIC_FILES_CHKSUM is changed because the date is changed, here is
diff result:
< Copyright (c) 1997-2017 University of Cambridge

(From OE-Core rev: 5ad1c48cf7819eb12138706503106c7253c84df8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-15 20:06:43 -08:00
Jérémy Rosen d4583c98fa libpcre: explicitely specify CCLD_FOR_BUILD for this recipe
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

(From OE-Core rev: 07023dcf5ab15d69a336b96b73e2b0089300727f)

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-14 22:22:07 +01:00
Robert Yang 65a8f241e1 libpcre: 8.38 -> 8.39
* 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.

(From OE-Core rev: 3feb1b000482f31e2cc683c2944059d70197fa44)

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>
2016-07-12 23:10:14 +01:00
Ismo Puustinen cf1788218e libpcre: Fix CVE-2016-3191
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.

(From OE-Core rev: 386534f968f4da376ba7778b5d436bad4ce8355b)

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-11 10:33:40 +01:00
Ross Burton 1ae132e108 libpcre: enable unicode properties by default
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.

(From OE-Core rev: 839eebceecf33d106592bab154481486533ece75)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-07 17:29:59 +00:00
Ross Burton 286139973b libpcre: drop UPSTREAM_CHECK_ variables
Now the SRC_URI is the canonical FTP server, the update-detection logic works
automatically.

(From OE-Core rev: ce3c1c0942d50953704d8d866f93a3d2d49c3091)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08 10:20:53 +00:00
Fan Xin 35c28e33f9 libpcre: upgrade to 8.38
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.

(From OE-Core rev: e29091d9c80ca2cbe631dde9e893dffea91d4c6d)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08 10:20:53 +00:00
Alexander Kanavin 75c6929493 package_regex.inc: split sourceforge related entries to their own recipes
(From OE-Core rev: 4c5899fa0b8258f2754e3080dae5535e3b248e91)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08 10:20:52 +00:00
Pascal Bach be493ba7df libpcre: Allow building 16 and 32bit libpcre versions
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.

(From OE-Core rev: 6c133405c790d29859d441cc596e6459cb32537f)

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-23 09:52:56 +01:00
Robert Yang 27387f58d4 libpcre: 8.36 -> 8.37
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.

(From OE-Core rev: b0b40fc7c8117570ea01f60a62ce05e0215878f7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-14 11:43:59 +01:00
Robert Yang 60ae5c2eb0 meta: enable parallel build for several recipes
I used a for loop to build these packages more than 520 times, these
recipes never failed.

(From OE-Core rev: 7957c5bc2771a763d26e50e716733c6335cef3c2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-15 21:58:27 +00:00
Chong Lu a485eb8cfe libpcre: Upgrade to 8.36
(From OE-Core rev: 0e5a1e7d9fde3856fbf1624f065c9d1ce3286023)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-09 10:21:23 +00:00
Richard Purdie 3476a49b10 binconfig-disabled: Add class and use
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.

(From OE-Core rev: 5870bd272b0b077d0826fb900b251884c1c05061)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-16 15:31:40 +01:00
Chong Lu 0a23586271 libpcre: Update to 8.35 version
Upgrade libpcre to 8.35 version.

(From OE-Core rev: 32c007bfc4fe7a0ba75644584bb80f8bdff09a01)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-21 09:09:01 +01:00
Chong Lu e15bec02ef libpcre: enable ptest support
Install libpcre test suite and run it as ptest.

(From OE-Core rev: fadaa1c7f4d927e3003bc4750f3b677ed627febb)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-20 14:28:12 +00:00
Chong Lu 12c181f5ed libpcre: upgrade to 8.34
Upgrade libpcre to 8.34.

(From OE-Core rev: 11f90a720194499447f9b6e738fd56d78a0c2fee)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-06 11:14:01 +00:00
Saul Wold b609f91c5c libpcre: Cleanup FILESPATH
Setting of the FILESPATH is not needed anymore, so clean it up.
Move files to libprce patch directory

(From OE-Core rev: 32b2e20e7f6484830bac0510414b1950abbc1a96)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-20 14:03:25 +00:00
Richard Purdie 554c892ccf meta: Don't use deprecated bitbake API
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.

(From OE-Core rev: 6a39835af2b2b3c7797fe05479341d71a3f3aaf6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-01 15:51:42 +01:00
Bogdan Marinescu 8ec642bf2d libpcre: upgraded to 8.33
The license didn't modify, just the license years (2012->2013).

(From OE-Core rev: 8085ccf585b7d7f70f47362308ddacf9aa577649)

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>
2013-06-07 16:48:23 +01:00
Phil Blundell f18ba44ab3 libpcre: Make readline dependency conditional on 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.

(From OE-Core rev: 5bf7397cdb91d8ab0f2a525484eee9a3cec25f87)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29 14:45:07 +01:00
Richard Purdie 3fff11a7fc libpcre: Fix BUILD_CFLAGS for out of tree support
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.

(From OE-Core rev: d9130e5113c8f93f327fbe19dbfe39036c1c3995)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23 12:57:54 +00:00
Giuseppe CONDORELLI 876aba0224 libpcre: change BUILD_CPPFLAGS and BUILD_CFLAGS values
Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to set
CFLAGS_FOR_BUILD, required for the libpcre build.

(From OE-Core rev: 4f1a2bf43e286e630c30738a268df76355e19212)

Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli@st.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-10 23:43:06 +00:00
Fahad Usman 9820786bba libpcre: Improve the recipe
- 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

(From OE-Core rev: 9867a9ad7a80a26654326650752dbbe89c8de3c5)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-13 15:18:43 +00:00
Fahad Usman f615f0c140 libpcre: upgrade to 8.32
- Also improve description
- Add summary and homepage

(From OE-Core rev: 57907458fe4b6c7037f35862adabf29b8ac1f029)

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 first part upgrades the
version to 8.32

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-13 15:18:43 +00:00
Cristian Iorga 4078b7a211 libpcre: upgrade to ver. 8.31
(From OE-Core rev: 5cb5a0c0ea74d484ef100fd04cedcb66e98b6553)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26 14:55:19 +01:00
Richard Purdie bfd279de32 Convert tab indentation in python functions into four-space
(From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19 10:24:50 +01:00
Saul Wold d6259dcda1 libpcre: clean up FILE after PACKAGE reorder
(From OE-Core rev: 88588d190c8f2a9bc30d06f593089ff20fcc4348)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21 13:03:03 +01:00
Saul Wold 9ffec01bae libpcre: Clean up FILES_* after PACKAGES reoder
(From OE-Core rev: 7f08d3b6c95ed7ebc1d46852a18a785921d1cc23)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21 13:03:02 +01:00
Bogdan Marinescu 0affb563bc libpcre: updated to version 8.30
Tested by compiling lighttpd. The license file changed because the
copyright notice was updated to cover 2012.

(From OE-Core rev: 1ae74c5b1485ac438b8f83b2a7d162ef63b089d2)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-15 15:12:41 +01:00
Andreas Oberritter 10d6c4e056 bzip2: split into binary and library packages
* Create libbz2 (and -dev, -staticdev), which can be
  installed without the bzip2 executables.

(From OE-Core rev: e27af1f273e9a7348dd8f5542df9206acd9210f3)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08 12:12:06 -08:00
Richard Purdie b1aeaa8b0d meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)
sed \
 -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
 -i `grep -ril bb.data.expand *`

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05 10:23:53 -08:00
Nitin A Kamble ccd2a31003 libpcre: upgrade from 8.20 to 8.21
(From OE-Core rev: efd200bc0db4d290445f742798e20914e4db347a)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-17 14:53:15 +00:00
Nitin A Kamble f2ecc19087 libpcre: upgrade from 8.12 to 8.20
The license file has updated the copyright years, hence new checksum for license file.

(From OE-Core rev: aba671f805010313d8b7c02b560da2646de1164b)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-18 10:47:11 +00:00
Chris Larson 86c90582f4 libpcre: the generated libtool uses HOST_SYS
(From OE-Core rev: 039b1a04db32bed23536a23983c3b6d91e1166c7)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-23 18:23:31 -07:00
Khem Raj a0dc330b4a recipes: Delete patch=1, its default and replace pnum with striplevel
Some place pnum=1 is used which is removed as well since
striplevel=1 is default

(From OE-Core rev: 4e108857e0d40105f7ecbc55e99bd6c367bb7386)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-23 18:23:30 -07:00
Tom Rini f7418e2d45 libpcre: Add bzip2, zlib and readline to DEPENDS
libpcre will build, if found, optional support for bzip2/zlib in
pcregrep and a readline frontend to pcretest.  It will not however
listen to --disable-pcregrep-{libz,libbz2} and will still build
these if found.  So we add bzip2, zlib and readline to DEPENDS to make
sure that we get consistent builds.

(From OE-Core rev: dabb9585a0d6bb41eabcf8806ecd426bbf83eae4)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-14 15:02:29 +01:00
Richard Purdie 9ea184d04d libpcre: Fix QA warnings
This drops the split -dev packaging since it was broken and overcomplex. It ensures .so
symlinks end up in the correct package.

(From OE-Core rev: a71699ae1acd63a7dfe590d8b0b4cdb0f9785c6a)

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01 23:27:26 +01:00
Nitin A Kamble bcb1eb89bf libpcre: upgrade from 8.10 to 8.12
(From OE-Core rev: 8a790577c6cce584a29d2ecfdf82300f595cdbba)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-25 15:50:55 +01:00
Nitin A Kamble 2e4518bf18 recipes: Fix the Upstream-Status format
(From OE-Core rev: d7237140554ad076be12edf915d6d15206c9b8c7)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-11 17:14:26 +01:00
Nitin A Kamble 134419f9e6 libpcre: update upstream status for patches
(From OE-Core rev: 570b63ecff202949d1de1b71d2c60a111e71d9dc)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-09 14:09:01 +01:00
Qing He 763d783c62 libpcre: fix the name collision with libc
fixes [YOCTO #721] [YOCTO #722]

[sgw: added patch comment, bump PR, and changed BUGID -> YOCTO]
(From OE-Core rev: 6a4cb991ea473a84c620b33fbb82b5ae860971a3)

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-03 23:49:06 +00:00
Saul Wold 3d08b9f2c6 SRC_URI Checksums Additionals
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-09 08:18:17 -08:00
Mei Lei 7ef481cf6c libpcre:Add license checksum to bb file
Add LICENSE file checksum to bb file

Signed-off-by: Mei Lei <lei.mei@intel.com>
2010-11-24 18:35:55 +08:00
Richard Purdie d62ee7eaf2 packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-01 19:09:57 +01:00