Update xfsprogs to 3.1.4 to 3.1.7
authorJens Muecke <jens@nons.de>
Sat, 17 Mar 2012 21:30:31 +0000 (21:30 +0000)
committerJens Muecke <jens@nons.de>
Sat, 17 Mar 2012 21:30:31 +0000 (21:30 +0000)
Changelog at http://xfs.org/index.php/XFS_Status_Updates

SVN-Revision: 30965

package/xfsprogs/Makefile
package/xfsprogs/patches/001-automake-compat.patch
package/xfsprogs/patches/100-no_aio.patch
package/xfsprogs/patches/110-uclibc_no_ustat.patch
package/xfsprogs/patches/120-portability.patch
package/xfsprogs/patches/130-uclibc_no_xattr.patch

index c2538fd7766748972109064456b083922d99ac82..998d82483d59ef3ba2500cc952e161b962e2eb75 100644 (file)
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2006-2008 OpenWrt.org
+# Copyright (C) 2006-2012 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,11 +9,11 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=xfsprogs
 PKG_RELEASE:=1
-PKG_VERSION:=3.1.4
-PKG_SOURCE_URL:=http://ftp.debian.org/pool/main/x/xfsprogs
-PKG_MD5SUM:=23568a603c913b80076abe3c23521573
+PKG_VERSION:=3.1.7
+PKG_SOURCE_URL:=ftp://oss.sgi.com/projects/xfs/cmd_tars
+PKG_MD5SUM:=049cf9873794ea49d0bb3f12d45748a4
 
-PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_INSTALL:=1
 PKG_FIXUP:=autoreconf
 
index 6d170d21f5151c34f7e46f6b53e46a86f7c698c8..3003d6d21028c436428b34a07938bbaee221c1a2 100644 (file)
@@ -1,3 +1,38 @@
+commit 2222aa77e11b959e0e5a0ded3482e56799593bc2
+Author: Jens Muecke <jens@nons.de>
+Date:   Thu Jan 26 00:34:15 2012 +0100
+
+    001-automake-compat
+
+diff --git a/configure.in b/configure.in
+index 664c0e9..d91b6ec 100644
+--- a/configure.in
++++ b/configure.in
+@@ -2,7 +2,8 @@ AC_INIT(include/libxfs.h)
+ AC_PREREQ(2.50)
+ AC_CONFIG_AUX_DIR([.])
+ AC_CONFIG_MACRO_DIR([m4])
+-AC_CONFIG_HEADER(include/platform_defs.h)
++# Put a dummy here (http://www.mail-archive.com/automake@gnu.org/msg09241.html)
++AC_CONFIG_HEADERS([doesnotexist.h include/platform_defs.h])
+ AC_PREFIX_DEFAULT(/usr)
+ AC_PROG_LIBTOOL
+diff --git a/include/builddefs.in b/include/builddefs.in
+index 81ebfcd..5a4a0e8 100644
+--- a/include/builddefs.in
++++ b/include/builddefs.in
+@@ -20,6 +20,8 @@
+ ifndef _BUILDDEFS_INCLUDED_
+ _BUILDDEFS_INCLUDED_ = 1
++SHELL = @SHELL@
++
+ DEBUG = @debug_build@
+ OPTIMIZER = @opt_build@
+ MALLOCLIB = @malloc_lib@
+diff --git a/m4/package_types.m4 b/m4/package_types.m4
+index 0a0e087..66a136a 100644
 --- a/m4/package_types.m4
 +++ b/m4/package_types.m4
 @@ -9,7 +9,7 @@ AC_DEFUN([AC_TYPE_PSINT],
 +      AC_DEFINE([HAVE_64BIT_PTR], [1], [Define if char* is 64bit])
      fi
    ])
---- a/include/builddefs.in
-+++ b/include/builddefs.in
-@@ -20,6 +20,8 @@
- ifndef _BUILDDEFS_INCLUDED_
- _BUILDDEFS_INCLUDED_ = 1
-+SHELL = @SHELL@
-+
- DEBUG = @debug_build@
- OPTIMIZER = @opt_build@
- MALLOCLIB = @malloc_lib@
---- a/include/buildmacros
-+++ b/include/buildmacros
-@@ -32,7 +32,6 @@ OBJECTS = $(ASFILES:.s=.o) \
- INSTALL       = $(TOPDIR)/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
--SHELL = /bin/sh
- IMAGES_DIR = $(TOPDIR)/all-images
- DIST_DIR = $(TOPDIR)/dist
---- a/configure.in
-+++ b/configure.in
-@@ -1,7 +1,8 @@
- AC_INIT(include/libxfs.h)
- AC_CONFIG_AUX_DIR([.])
- AC_CONFIG_MACRO_DIR([m4])
--AC_CONFIG_HEADER(include/platform_defs.h)
-+# Put a dummy here (http://www.mail-archive.com/automake@gnu.org/msg09241.html)
-+AC_CONFIG_HEADERS([doesnotexist.h include/platform_defs.h])
- AC_PREFIX_DEFAULT(/usr)
- AC_PROG_LIBTOOL
index b16faa88ab46d855efff0677d7393db74c0589c5..30d36b4da8ab81cdb40275e4d15169e93514b9e4 100644 (file)
@@ -1,6 +1,14 @@
+commit e72b7bd12fdef06c3494b919376bfe886aa8bb4d
+Author: Jens Muecke <jens@nons.de>
+Date:   Thu Jan 26 00:35:43 2012 +0100
+
+    100-no_aio
+
+diff --git a/configure.in b/configure.in
+index d91b6ec..8dc8b4a 100644
 --- a/configure.in
 +++ b/configure.in
-@@ -87,8 +87,8 @@ AC_PACKAGE_GLOBALS(xfsprogs)
+@@ -92,8 +92,8 @@ AC_PACKAGE_GLOBALS(xfsprogs)
  AC_PACKAGE_UTILITIES(xfsprogs)
  AC_MULTILIB($enable_lib64)
  
index 9cd2dc2bb9f95171042a6b5c3aead9c983539cd2..c46e8025cd7c9dce529fdf8407a189aaf274682a 100644 (file)
@@ -1,3 +1,11 @@
+commit 7b1d0a98e779170232c0a81b4749ab934ec67a7e
+Author: Jens Muecke <jens@nons.de>
+Date:   Thu Jan 26 00:36:42 2012 +0100
+
+    110-uclibc_no_ustat
+
+diff --git a/libxfs/linux.c b/libxfs/linux.c
+index 2e07d54..6a6c905 100644
 --- a/libxfs/linux.c
 +++ b/libxfs/linux.c
 @@ -21,7 +21,9 @@
@@ -18,7 +26,7 @@
        /* Pad ust; pre-2.6.28 linux copies out too much in 32bit compat mode */
        struct ustat    ust[2];
        struct stat64   st;
-@@ -68,6 +71,7 @@ platform_check_ismounted(char *name, cha
+@@ -68,6 +71,7 @@ platform_check_ismounted(char *name, char *block, struct stat64 *s, int verbose)
                                progname, name);
                return 1;
        }
index d8bda81f0d7fbed8cadc83ea276ab37cb116b6fc..1e9b533654b569cd4ab6ffada3ad078043e8ae3f 100644 (file)
@@ -1,6 +1,14 @@
+commit d2aef8b3967e53fe58178f5af50fef488ee0faed
+Author: Jens Muecke <jens@nons.de>
+Date:   Thu Jan 26 00:37:52 2012 +0100
+
+    120-portability
+
+diff --git a/copy/xfs_copy.c b/copy/xfs_copy.c
+index c01e0b9..2e2f320 100644
 --- a/copy/xfs_copy.c
 +++ b/copy/xfs_copy.c
-@@ -463,6 +463,15 @@ read_ag_header(int fd, xfs_agnumber_t ag
+@@ -463,6 +463,15 @@ read_ag_header(int fd, xfs_agnumber_t agno, wbuf *buf, ag_header_t *ag,
  }
  
  
index 30cb861b5b14c51e56b6031090d0ed31dae4b58f..b1ecda71e5427c96bf13df0353a5ca97726d1ed2 100644 (file)
@@ -1,3 +1,11 @@
+commit 10d6058b24f18cb31889154f830b191849f45106
+Author: Jens Muecke <jens@nons.de>
+Date:   Thu Jan 26 00:38:27 2012 +0100
+
+    130-uclibc_no_xattr
+
+diff --git a/fsr/xfs_fsr.c b/fsr/xfs_fsr.c
+index 40c2e6f..4f54059 100644
 --- a/fsr/xfs_fsr.c
 +++ b/fsr/xfs_fsr.c
 @@ -35,7 +35,9 @@