Index: head/sysutils/squashfs-tools/Makefile =================================================================== --- head/sysutils/squashfs-tools/Makefile (revision 378696) +++ head/sysutils/squashfs-tools/Makefile (revision 378697) @@ -1,52 +1,52 @@ # Created by: Ashish SHUKLA # $FreeBSD$ PORTNAME= squashfs-tools -PORTVERSION= 4.2 +PORTVERSION= 4.3 CATEGORIES= sysutils MASTER_SITES= SF/squashfs/squashfs/${DISTNAME}/ DISTNAME= squashfs${PORTVERSION} MAINTAINER= ashish@FreeBSD.org COMMENT= Set of tools to manipulate squashfs images LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/../COPYING PLIST_FILES= bin/mksquashfs \ bin/unsquashfs OPTIONS_DEFINE= XZ LZO DOCS OPTIONS_DEFAULT= XZ LZO XZ_DESC= Build with XZ support LZO_DESC= Build with LZO support WRKSRC= ${WRKDIR}/${DISTNAME}/squashfs-tools USE_CSTD= gnu89 USES= alias gmake .include PORTDOCS= ACKNOWLEDGEMENTS CHANGES COPYING \ PERFORMANCE.README README README-${PORTVERSION} .if ${PORT_OPTIONS:MXZ} MAKE_ARGS+= XZ_SUPPORT=1 .endif .if ${PORT_OPTIONS:MLZO} MAKE_ARGS+= LZO_SUPPORT=1 LZO_DIR=${LOCALBASE} LIB_DEPENDS+= liblzo2.so:${PORTSDIR}/archivers/lzo2 .endif post-patch: @${REINPLACE_CMD} -e "s|^\(XATTR\)|# \1|g" \ ${WRKSRC}/Makefile post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC:H}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/sysutils/squashfs-tools/distinfo =================================================================== --- head/sysutils/squashfs-tools/distinfo (revision 378696) +++ head/sysutils/squashfs-tools/distinfo (revision 378697) @@ -1,2 +1,2 @@ -SHA256 (squashfs4.2.tar.gz) = d9e0195aa922dbb665ed322b9aaa96e04a476ee650f39bbeadb0d00b24022e96 -SIZE (squashfs4.2.tar.gz) = 133173 +SHA256 (squashfs4.3.tar.gz) = 0d605512437b1eb800b4736791559295ee5f60177e102e4d4ccd0ee241a5f3f6 +SIZE (squashfs4.3.tar.gz) = 182550 Index: head/sysutils/squashfs-tools/files/patch-action.c =================================================================== --- head/sysutils/squashfs-tools/files/patch-action.c (nonexistent) +++ head/sysutils/squashfs-tools/files/patch-action.c (revision 378697) @@ -0,0 +1,19 @@ +Hack for lack of strdupa() in BSD libc + +$FreeBSD$ + +--- action.c.orig ++++ action.c +@@ -44,6 +44,12 @@ + #include "action.h" + #include "error.h" + ++#ifndef strdupa ++#include // required for str*() ++#include // required for alloca ++#define strdupa(foo) (strncpy( alloca( strlen(foo) + 1 ), foo, strlen( foo ) + 1 )) ++#endif ++ + /* + * code to parse actions + */ Property changes on: head/sysutils/squashfs-tools/files/patch-action.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c =================================================================== --- head/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c (revision 378696) +++ head/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c (revision 378697) @@ -1,21 +1,19 @@ $FreeBSD$ ---- unsquashfs.c.orig 2010-09-20 03:14:38.000000000 +0530 -+++ unsquashfs.c 2010-09-29 09:34:43.000000000 +0530 -@@ -29,9 +29,16 @@ - #include "compressor.h" - #include "xattr.h" +--- unsquashfs.c.orig ++++ unsquashfs.c +@@ -31,7 +31,14 @@ + #include "unsquashfs_info.h" + #include "stdarg.h" +#ifdef __linux__ #include +#endif + - #include - +#ifdef __FreeBSD__ +#include +#endif + - struct cache *fragment_cache, *data_cache; - struct queue *to_reader, *to_deflate, *to_writer, *from_writer; - pthread_t *thread, *deflator_thread; + #include + #include + #include Index: head/sysutils/squashfs-tools/pkg-descr =================================================================== --- head/sysutils/squashfs-tools/pkg-descr (revision 378696) +++ head/sysutils/squashfs-tools/pkg-descr (revision 378697) @@ -1,10 +1,10 @@ Squashfs is a compressed read-only filesystem for Linux. Squashfs is intended for general read-only filesystem use, for archival use (i.e. in cases where a .tar.gz file may be used), and in constrained block device/memory systems (e.g. embedded systems) where low overhead is needed. The filesystem is currently stable, and has been tested on PowerPC, i586, Sparc and ARM architectures. squashfs-tools are the set of tools to manipulate squashfs images. -WWW: http://squashfs.sourceforge.net/ +WWW: http://squashfs.sourceforge.net/