1
0
forked from pool/xfsdump

Accepting request 253879 from home:dsterba:branches:filesystems

- Update to version 3.1.4:
  - fix partial region segfault and debug code
  - dump wholly sparse files correctly
  - restore capabilities correctly
  - memory leak fixes
  - sys_getdents modernisation
  - Error message fixes
  - Updated polish translation
  - debian package build updates
- Removed patch: getdents.diff
- minor spec update

OBS-URL: https://build.opensuse.org/request/show/253879
OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsdump?expand=0&rev=20
This commit is contained in:
David Sterba 2014-10-03 22:29:44 +00:00 committed by Git OBS Bridge
parent ff11b2a05b
commit 888c860a69
5 changed files with 21 additions and 42 deletions

View File

@ -1,28 +0,0 @@
Index: xfsdump-3.0.5/common/getdents.c
===================================================================
--- xfsdump-3.0.5.orig/common/getdents.c
+++ xfsdump-3.0.5/common/getdents.c
@@ -51,6 +51,9 @@
#ifdef __hppa__
# define __ASSUME_GETDENTS64_SYSCALL 1
#endif
+#ifndef SYS_getdents
+# define __ASSUME_GETDENTS64_SYSCALL 1
+#endif
#ifndef __set_errno
#define __set_errno(e) (errno = (e))
@@ -207,6 +210,7 @@ getdents_wrap (int fd, char *buf, size_t
# endif
}
#endif
+#ifdef SYS_getdents
{
size_t red_nbytes;
struct kernel_dirent *skdp, *kdp;
@@ -265,4 +269,5 @@ getdents_wrap (int fd, char *buf, size_t
}
return (char *) dp - buf;
+#endif
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f02138a5d96e06c506ac8cb6e4fedeb0bf7d7cf8b9747f262d0735b885dbf8fa
size 826922

3
xfsdump-3.1.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:570eafd0721515bdd79cb0e295b701d49cdf81e71a0a0ff0df6d4c5cc1960943
size 848188

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sat Oct 4 00:21:44 CEST 2014 - dsterba@suse.cz
- Update to version 3.1.4:
- fix partial region segfault and debug code
- dump wholly sparse files correctly
- restore capabilities correctly
- memory leak fixes
- sys_getdents modernisation
- Error message fixes
- Updated polish translation
- debian package build updates
- Removed patch: getdents.diff
- minor spec update
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 2 11:34:10 UTC 2014 - jack@suse.cz Mon Jun 2 11:34:10 UTC 2014 - jack@suse.cz

View File

@ -21,15 +21,14 @@ BuildRequires: e2fsprogs-devel
BuildRequires: libattr-devel BuildRequires: libattr-devel
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: xfsprogs-devel BuildRequires: xfsprogs-devel
Version: 3.1.3 Version: 3.1.4
Release: 0 Release: 0
Url: http://oss.sgi.com/projects/xfs/ Url: http://oss.sgi.com/projects/xfs/
Summary: Administrative Utilities for the XFS File System Summary: Administrative Utilities for the XFS File System
License: GPL-2.0+ License: GPL-2.0+
Group: System/Filesystems Group: System/Filesystems
Source0: xfsdump-%version.tar.gz Source0: ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsdump-%version.tar.gz
Patch0: xfsdump-docdir.diff Patch0: xfsdump-docdir.diff
Patch1: getdents.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -49,16 +48,9 @@ full backup of a file system. Subsequent incremental backups can then
be layered on top of the full backup. Single files and directory be layered on top of the full backup. Single files and directory
subtrees may be restored from full or partial backups. subtrees may be restored from full or partial backups.
Authors:
--------
SGI
%prep %prep
%setup -q %setup -q
%patch0 %patch0
%patch1 -p1
%build %build
export DEBUG=-DNDEBUG export DEBUG=-DNDEBUG