Date: Mon, 27 Jun 2016 16:30:58 +0000 (UTC) From: Ashish SHUKLA <ashish@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417667 - head/sysutils/squashfs-tools Message-ID: <201606271630.u5RGUwVe005541@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ashish Date: Mon Jun 27 16:30:58 2016 New Revision: 417667 URL: https://svnweb.freebsd.org/changeset/ports/417667 Log: - Add LZMA support in form of an option, and enable it by default PR: 208954 Submitted by: eugen@grosbein.net Modified: head/sysutils/squashfs-tools/Makefile head/sysutils/squashfs-tools/distinfo Modified: head/sysutils/squashfs-tools/Makefile ============================================================================== --- head/sysutils/squashfs-tools/Makefile Mon Jun 27 14:50:03 2016 (r417666) +++ head/sysutils/squashfs-tools/Makefile Mon Jun 27 16:30:58 2016 (r417667) @@ -3,9 +3,11 @@ PORTNAME= squashfs-tools PORTVERSION= 4.3 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF/squashfs/squashfs/${DISTNAME}/ DISTNAME= squashfs${PORTVERSION} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ashish@FreeBSD.org COMMENT= Set of tools to manipulate squashfs images @@ -16,10 +18,11 @@ LICENSE_FILE= ${WRKSRC}/../COPYING PLIST_FILES= bin/mksquashfs \ bin/unsquashfs -OPTIONS_DEFINE= XZ LZO DOCS -OPTIONS_DEFAULT= XZ LZO +OPTIONS_DEFINE= XZ LZO LZMA DOCS +OPTIONS_DEFAULT= XZ LZO LZMA XZ_DESC= Build with XZ support LZO_DESC= Build with LZO support +LZMA_DESC= Build with LZMA support WRKSRC= ${WRKDIR}/${DISTNAME}/squashfs-tools @@ -43,6 +46,12 @@ MAKE_ARGS+= LZO_SUPPORT=1 LZO_DIR=${LOCA LIB_DEPENDS+= liblzo2.so:archivers/lzo2 .endif +.if ${PORT_OPTIONS:MLZMA} +MASTER_SITES+= SF/sevenzip/LZMA%20SDK/:lzma +DISTFILES+= lzma922.tar.bz2:lzma +MAKE_ARGS+= LZMA_SUPPORT=1 LZMA_DIR=${WRKDIR} EXTRA_CFLAGS="-D_7ZIP_ST" +.endif + post-patch: @${REINPLACE_CMD} -e "s|^\(XATTR\)|# \1|g" \ ${WRKSRC}/Makefile Modified: head/sysutils/squashfs-tools/distinfo ============================================================================== --- head/sysutils/squashfs-tools/distinfo Mon Jun 27 14:50:03 2016 (r417666) +++ head/sysutils/squashfs-tools/distinfo Mon Jun 27 16:30:58 2016 (r417667) @@ -1,2 +1,5 @@ +TIMESTAMP = 1467029943 SHA256 (squashfs4.3.tar.gz) = 0d605512437b1eb800b4736791559295ee5f60177e102e4d4ccd0ee241a5f3f6 SIZE (squashfs4.3.tar.gz) = 182550 +SHA256 (lzma922.tar.bz2) = 9aade84f229fb25f7aef39d8866b375fe6d35a9e18098d7cd86a99e294902944 +SIZE (lzma922.tar.bz2) = 546148
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606271630.u5RGUwVe005541>