From 2b1920fe8e7a1faa3b26fa8d8ad91ba1e1c197e7 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 3 Mar 2011 05:17:13 +0100 Subject: [PATCH] squashfs: update to squashfs-4.2 Signed-off-by: Stephan Raue --- packages/toolchain/sysutils/squashfs/meta | 6 +-- .../patches/squashfs-4.2-defaults-0.1.patch | 21 ++++++++ .../squashfs-a56f344-defaults-0.1.patch | 48 ------------------- 3 files changed, 24 insertions(+), 51 deletions(-) create mode 100644 packages/toolchain/sysutils/squashfs/patches/squashfs-4.2-defaults-0.1.patch delete mode 100644 packages/toolchain/sysutils/squashfs/patches/squashfs-a56f344-defaults-0.1.patch diff --git a/packages/toolchain/sysutils/squashfs/meta b/packages/toolchain/sysutils/squashfs/meta index f7cc61d63e..06c5af90bb 100644 --- a/packages/toolchain/sysutils/squashfs/meta +++ b/packages/toolchain/sysutils/squashfs/meta @@ -19,13 +19,13 @@ ################################################################################ PKG_NAME="squashfs" -PKG_VERSION="a56f344" +PKG_VERSION="4.2" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://squashfs.sourceforge.net/" -#PKG_URL="$SOURCEFORGE_SRC/squashfs/squashfs/${PKG_NAME}${PKG_VERSION}/${PKG_NAME}${PKG_VERSION}.tar.gz" -PKG_URL="$OPENELEC_SRC/${PKG_NAME}-${PKG_VERSION}.tar.gz" +PKG_URL="$SOURCEFORGE_SRC/squashfs/squashfs/${PKG_NAME}${PKG_VERSION}/${PKG_NAME}${PKG_VERSION}.tar.gz" +#PKG_URL="$OPENELEC_SRC/${PKG_NAME}-${PKG_VERSION}.tar.gz" PKG_DEPENDS="" PKG_BUILD_DEPENDS="ccache xz" PKG_PRIORITY="optional" diff --git a/packages/toolchain/sysutils/squashfs/patches/squashfs-4.2-defaults-0.1.patch b/packages/toolchain/sysutils/squashfs/patches/squashfs-4.2-defaults-0.1.patch new file mode 100644 index 0000000000..1fbae0e61d --- /dev/null +++ b/packages/toolchain/sysutils/squashfs/patches/squashfs-4.2-defaults-0.1.patch @@ -0,0 +1,21 @@ +diff -Naur squashfs4.2/squashfs-tools/Makefile squashfs4.2.patch/squashfs-tools/Makefile +--- squashfs4.2/squashfs-tools/Makefile 2011-02-28 21:04:15.000000000 +0100 ++++ squashfs4.2.patch/squashfs-tools/Makefile 2011-03-03 04:07:03.566708237 +0100 +@@ -78,7 +78,7 @@ + # If your C library or build/target environment doesn't support XATTRs then + # comment out the next line to build Mksquashfs and Unsquashfs without XATTR + # support +-XATTR_SUPPORT = 1 ++#XATTR_SUPPORT = 1 + + # Select whether you wish xattrs to be stored by Mksquashfs and extracted + # by Unsquashfs by default. If selected users can disable xattr support by +@@ -86,7 +86,7 @@ + # + # If unselected, Mksquashfs/Unsquashfs won't store and extract xattrs by + # default. Users can enable xattrs by using the -xattrs option. +-XATTR_DEFAULT = 1 ++#XATTR_DEFAULT = 1 + + + ############################################### diff --git a/packages/toolchain/sysutils/squashfs/patches/squashfs-a56f344-defaults-0.1.patch b/packages/toolchain/sysutils/squashfs/patches/squashfs-a56f344-defaults-0.1.patch deleted file mode 100644 index e53e3317c3..0000000000 --- a/packages/toolchain/sysutils/squashfs/patches/squashfs-a56f344-defaults-0.1.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff -Naur squashfs-a56f344/squashfs-tools/Makefile squashfs-a56f344.patch/squashfs-tools/Makefile ---- squashfs-a56f344/squashfs-tools/Makefile 2011-02-21 23:58:19.000000000 +0100 -+++ squashfs-a56f344.patch/squashfs-tools/Makefile 2011-02-22 00:05:33.197451875 +0100 -@@ -77,7 +77,7 @@ - # If your C library or build/target environment doesn't support XATTRs then - # comment out the next line to build Mksquashfs and Unsquashfs without XATTR - # support --XATTR_SUPPORT = 1 -+#XATTR_SUPPORT = 1 - - # Select whether you wish xattrs to be stored by Mksquashfs and extracted - # by Unsquashfs by default. If selected users can disable xattr support by -@@ -85,7 +85,7 @@ - # - # If unselected, Mksquashfs/Unsquashfs won't store and extract xattrs by - # default. Users can enable xattrs by using the -xattrs option. --XATTR_DEFAULT = 1 -+#XATTR_DEFAULT = 1 - - - ############################################### -@@ -100,7 +100,7 @@ - UNSQUASHFS_OBJS = unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o \ - unsquash-4.o swap.o compressor.o - --CFLAGS = $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \ -+CFLAGS += $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \ - -D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\" -O2 -Wall - - LIBS = -lpthread -lm -@@ -196,7 +196,7 @@ - all: mksquashfs unsquashfs - - mksquashfs: $(MKSQUASHFS_OBJS) -- $(CC) $(MKSQUASHFS_OBJS) $(LIBS) -o $@ -+ $(CC) $(CFLAGS) $(LDFLAGS) $(MKSQUASHFS_OBJS) $(LIBS) -o $@ - - mksquashfs.o: mksquashfs.c squashfs_fs.h mksquashfs.h sort.h squashfs_swap.h \ - xattr.h pseudo.h compressor.h -@@ -227,7 +227,7 @@ - xz_wrapper.o: xz_wrapper.c compressor.h squashfs_fs.h - - unsquashfs: $(UNSQUASHFS_OBJS) -- $(CC) $(UNSQUASHFS_OBJS) $(LIBS) -o $@ -+ $(CC) $(CFLAGS) $(LDFLAGS) $(UNSQUASHFS_OBJS) $(LIBS) -o $@ - - unsquashfs.o: unsquashfs.h unsquashfs.c squashfs_fs.h squashfs_swap.h \ - squashfs_compat.h xattr.h read_fs.h compressor.h