From owner-svn-ports-all@freebsd.org Mon Jun 27 16:30:59 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5CA4B849F8; Mon, 27 Jun 2016 16:30:59 +0000 (UTC) (envelope-from ashish@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C73B295B; Mon, 27 Jun 2016 16:30:59 +0000 (UTC) (envelope-from ashish@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5RGUwf1005543; Mon, 27 Jun 2016 16:30:58 GMT (envelope-from ashish@FreeBSD.org) Received: (from ashish@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5RGUwVe005541; Mon, 27 Jun 2016 16:30:58 GMT (envelope-from ashish@FreeBSD.org) Message-Id: <201606271630.u5RGUwVe005541@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ashish set sender to ashish@FreeBSD.org using -f From: Ashish SHUKLA Date: Mon, 27 Jun 2016 16:30:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417667 - head/sysutils/squashfs-tools X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2016 16:30:59 -0000 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