freebsd-ports/archivers/p7zip-codec-rar/Makefile
Raphael Kubo da Costa fdb73bb664 Add patch for CVE-2018-5996
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
2018-02-10 11:00:26 +00:00

25 lines
635 B
Makefile

# $FreeBSD$
PKGNAMESUFFIX= -codec-rar
PORTREVISION= 1
COMMENT= RAR decoder codec for p7zip
LICENSE= LGPL21 UNRAR
LICENSE_COMB= multi
LICENSE_NAME_UNRAR= unRAR usage restriction license
LICENSE_FILE_UNRAR= ${WRKSRC}/DOC/unRarLicense.txt
LICENSE_PERMS_UNRAR= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
MASTERDIR= ${.CURDIR}/../p7zip
ALL_TARGET= common7z
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
OPTIONS_EXCLUDE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/p7zip/Codecs
${INSTALL_LIB} ${WRKSRC}/bin/Codecs/Rar.so ${STAGEDIR}${PREFIX}/libexec/p7zip/Codecs
.include "${MASTERDIR}/Makefile"