FreeBSD Bugzilla – Attachment 169522 Details for
Bug 208954
[patch] sysutils/squashfs-tools: add LZMA support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
add LZMA support
squashfs-tools.diff (text/plain), 1.62 KB, created by
Eugene Grosbein
on 2016-04-21 13:04:54 UTC
(
hide
)
Description:
add LZMA support
Filename:
MIME Type:
Creator:
Eugene Grosbein
Created:
2016-04-21 13:04:54 UTC
Size:
1.62 KB
patch
obsolete
>diff -urN squashfs-tools.orig/Makefile squashfs-tools/Makefile >--- squashfs-tools.orig/Makefile 2016-04-21 19:10:49.556294000 +0700 >+++ squashfs-tools/Makefile 2016-04-21 19:52:57.953582000 +0700 >@@ -3,9 +3,11 @@ > > PORTNAME= squashfs-tools > PORTVERSION= 4.3 >+PORTREVISON= 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 @@ > 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 @@ > 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 >diff -urN squashfs-tools.orig/distinfo squashfs-tools/distinfo >--- squashfs-tools.orig/distinfo 2016-04-21 19:19:09.163404000 +0700 >+++ squashfs-tools/distinfo 2016-04-21 19:24:38.152877000 +0700 >@@ -1,2 +1,4 @@ > SHA256 (squashfs4.3.tar.gz) = 0d605512437b1eb800b4736791559295ee5f60177e102e4d4ccd0ee241a5f3f6 > SIZE (squashfs4.3.tar.gz) = 182550 >+SHA256 (lzma922.tar.bz2) = 9aade84f229fb25f7aef39d8866b375fe6d35a9e18098d7cd86a99e294902944 >+SIZE (lzma922.tar.bz2) = 546148
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208954
: 169522