lld 10 reports the following error:
ld: error: relocation R_PPC64_TOC16_LO cannot be used against symbol MatchFinder_GetNumAvailableBytes; recompile with -fPIC
>>> defined in LzFind.o
>>> referenced by LzFind.c
>>> LzFind.o:(MatchFinder_CreateVTable)
Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code
of 7-Zip before 18.00 and p7zip can lead to multiple memory corruptions within
the PPMd code, allows remote attackers to cause a denial of service
(segmentation fault) or execute arbitrary code via a crafted RAR archive.
Obtained from: Debian (link in the patch file)
MFH: 2018Q1
Security: 7a2e0063-0e4e-11e8-94c0-5453ed2e2b49
Heap-based buffer overflow in 7zip/Compress/ShrinkDecoder.cpp.
Obtained from: Debian (link in the actual patch)
MFH: 2018Q1
Security: 6d337396-0e4a-11e8-94c0-5453ed2e2b49
../../../../CPP/Windows/ErrorMsg.cpp:24:10: error: case value evaluates to -2147024809, which cannot be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
case E_INVALIDARG : txt = "E_INVALIDARG"; break ;
^
../../../../CPP/Common/MyWindows.h:89:22: note: expanded from macro 'E_INVALIDARG'
#define E_INVALIDARG ((HRESULT)0x80070057L)
^
HRESULT causes the macro to be parsed as a signed long, so we need to force it
to be checked as an unsigned long instead.
PR: 224930
This fixes the following build error:
/usr/bin/ld: 7zEncode.o(.text+0x2d04): unresolvable R_ARM_MOVW_ABS_NC relocation against symbol `_ZTIi@@CXXABI_1.3'
/usr/bin/ld: final link failed: Nonrepresentable section on output
c++: error: linker command failed with exit code 1 (use -v to see invocation)
PR: 222852
Submitted by: guyyur@gmail.com
While here, use PORTREVISION?= instead of PORTREVISION= to avoid needlessly
bumping PORTREVISION in archivers/p7zip-codec-rar.
PR: 211114
Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>
MFH: 2016Q3
Security: a9bcaf57-4a7b-11e6-97f7-5453ed2e2b49
Security: d706a3a3-4a7c-11e6-97f7-5453ed2e2b49
it on extraction, which turn breaks e.g. `sysutils/namefix' port. Do not
bump port revision again as it was bumped just couple of hours ago, which
is just too small in Tier-2 land for which we do not produce any packages
anyways.
Tested on: flame
It was missed during the update in r338410 and basically made p7zip stop
handling any archive type.
Reported by: Green Dog <fiziologus@gmail.com>
Pointy hat to: rakuco
of some sed calls, supporting staging.
- Set LICENSE for the port. [1]
- Get rid of the MINIMAL and MODULES options. They were not very useful and
its handling was needlessly complicating the Makefile logic. We now always
build as if MINIMAL was unset.
- Stop installing the p7zip and Client7z wrappers.
- Move the installation of the RAR decompression codec to
archivers/p7zip-codec-rar, as its source code uses a more restrictive
license than the LGPL21 used for the rest of the code base.
PR: ports/185238 [1]
Submitted by: Hardy Schumacher <hardy.schumacher@gmx.de> [1]