18 Commits

Author SHA1 Message Date
Alexandre Truong 848ae717ce p7zip: include UPSTREAM_CHECK_* to fix UNKNOWN_BROKEN status
Adding UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX fix
UNKNOWN_BROKEN status from running devtool check-upgrade-status.

The next version of the package can be found from upstream
sources.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
2024-07-24 08:56:47 -07:00
Virendra Thakur 102abb1c33 p7zip: Fix for CVE-2016-9296
Add patch to fix CVE-2016-9296

Signed-off-by: Virendra Thakur <virendra.thakur@kpit.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-19 08:10:45 -07:00
Virendra Thakur db57123c49 p7zip: fix for CVE-2018-5996
Add patch to fix CVE-2018-5996

Signed-off-by: Virendra Thakur <virendra.thakur@kpit.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-19 08:10:45 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Martin Jansa 5aac941441 p7zip: refresh patches with devtool to apply cleanly
change_numMethods_from_bool_to_unsigned.patch added in:
https://git.openembedded.org/meta-openembedded/commit/?id=3c36a8efe2a964c3aa9bfcd836cee3f80a837fcd
doesn't apply cleanly:

ERROR: p7zip-16.02-r0 do_patch: Fuzz detected:

Applying patch change_numMethods_from_bool_to_unsigned.patch
patching file CPP/7zip/Archive/Wim/WimHandler.cpp
Hunk #1 succeeded at 298 with fuzz 1.

The context lines in the patches can be updated with devtool:

    devtool modify p7zip
    devtool finish --force-patch-refresh p7zip <layer_path>

Don't forget to review changes done by devtool!

ERROR: p7zip-16.02-r0 do_patch: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-31 07:48:02 -07:00
Nisha Parrakat 3c36a8efe2 p7zip: build and package lib7z.so needed for fastboot
a) use option 7z to build the lib7z.so library
This is needed for android-tools for building fastboot
from android-tools

b) Packaged the lib7z.so and codec libraries as a part of this recipe
Fastboot RDepends on it lib7z.so

c) Fixed a C++17 forbidden error when lib7z.so is built

fixes the below error

| ../../../../CPP/7zip/Archive/Wim/WimHandler.cpp: In member function 'virtual LONG NArchive::NWim::CHandler::GetArchiveProperty(PROPID, PROPVARIANT*)':
| ../../../../CPP/7zip/Archive/Wim/WimHandler.cpp:308:11: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
|   308 |           numMethods++;
|       |           ^~~~~~~~~~
| ../../../../CPP/7zip/Archive/Wim/WimHandler.cpp:318:9: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
|   318 |         numMethods++;

Signed-off-by: Nisha Parrakat <Nisha.Parrakat@kpit.com>
Signed-off-by: Nisha Parrakat <nishaparrakat@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-28 06:55:33 -07:00
Ross Burton 317605fd57 p7zip: simplify recipe
The plugin-based 7z binary is mostly useless because it can't find the
libraries.  Simply just install 7za, and install a compatibility symlink for 7z.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-04 06:09:58 -07:00
Khem Raj f225823e22 p7zip: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:17:03 -07:00
Radovan Scasny 203027aa0e fix(p7zip): fix CVE-2017-17969
Signed-off-by: Radovan Scasny <radovan.scasny@siemens.com>
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:12:55 -08:00
Ming Liu ebd31fd8d5 meta: do not prepend/append to BBCLASSEXTEND
Replace some "+=/=+" with "=" when setting BBCLASSEXTEND, they are
redundant and inconsistent with the same setting in other recipes.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:32 +01:00
Jonathan Liu 67d6ed40bf p7zip: do not hardcode path in native wrapper script
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-03 19:18:51 +02:00
Martin Jansa b70d4e2fb3 p7zip, mce-inject: update LIC_FILES_CHKSUM
* both were failing since last upgrade, but nobody noticed, because nobody
  reads QA issues in "bitbake world status" e-mails and LIC_FILES_CHKSUM
  mismatch wasn't fatal due to bug in insane.bbclass
* http://errors.yoctoproject.org/Errors/Details/83571/
* http://errors.yoctoproject.org/Errors/Details/83572/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-26 08:29:15 +02:00
Pascal Bach 8f6a485975 p7zip: update to version 16.02
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-11 09:11:22 +02:00
Pascal Bach d24e984e28 p7zip: update to version 15.14.1
The copying.txt file contains white space changes and the address of the
Free Software Foundation mentioned in the LGPLv3.1 changed from:
51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
to:
59 Temple Place, Suite 330, Boston, MA  02111-1307
otherwise the license text remains unchanged.

An additional License.txt containing top level license information is now
also covered by LIC_FILES_CHKSUM

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-23 15:20:04 +02:00
Yannick Gicquel c7cb15542e p7zip: add native extend
This add a support for native build of 7za, 7z and 7zr binaries.

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-12 11:07:44 +02:00
Yi Zhao e56b413ea6 p7zip: fix PN -> BPN for multilib
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2015-05-17 09:46:30 +02:00
Raphael Freudiger 2f14e0b301 p7zip: new recipe
p7zip is the command line version of 7-Zip for Unix/Linux.

Signed-off-by: Raphael Freudiger <raphael.freudiger@siemens.com>
Reviewed-By: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 09:40:02 +01:00