1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/archivers/unrar/Makefile
Sunpoet Po-Chuan Hsieh cd61af32e2 Update to 5.50 Beta 4 (5.5.5)
This update fixed a security issue in VMSF_DELTA filter which allows arbitrary memory write.

Submitted by:	Tommy Scheunemann <net@arrishq.net> (via email)
Reference:	https://bugs.chromium.org/p/project-zero/issues/detail?id=1286&desc=6
MFH:		2017Q2
2017-06-28 15:42:32 +00:00

45 lines
1021 B
Makefile

# Created by: ache
# $FreeBSD$
PORTNAME= unrar
PORTVERSION= 5.50b4
PORTEPOCH= 5
CATEGORIES+= archivers
MASTER_SITES= http://www.rarlab.com/rar/ \
LOCAL/sunpoet
DISTNAME= unrarsrc-5.5.5
MAINTAINER?= sunpoet@FreeBSD.org
COMMENT= Extract, view & test RAR archives
LICENSE= UNRAR
LICENSE_FILE= ${WRKSRC}/license.txt
LICENSE_NAME= UnRAR license
LICENSE_PERMS= auto-accept dist-mirror pkg-mirror
BROKEN_SSL= openssl-devel
OPTIONS_DEFINE= OPENSSL_AES
OPTIONS_DEFAULT=OPENSSL_AES
OPENSSL_AES_DESC= Use OpenSSL implementation of AES
CONFLICTS_INSTALL?= zh-unrar unrar-iconv
LDFLAGS+= -lpthread
MAKE_ARGS= CXX=${CXX} CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" STRIP=${STRIP_CMD}
MAKEFILE= makefile
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/unrar
SLAVEDIRS= archivers/unrar-iconv chinese/unrar
OPENSSL_AES_CPPFLAGS= -DOPENSSL_AES -I${OPENSSLINC}
OPENSSL_AES_LDFLAGS= -L${OPENSSLLIB} -lcrypto
OPENSSL_AES_USES= ssl
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unrar ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>