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:
parent
ff11b2a05b
commit
888c860a69
@ -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
|
||||
}
|
@ -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
3
xfsdump-3.1.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:570eafd0721515bdd79cb0e295b701d49cdf81e71a0a0ff0df6d4c5cc1960943
|
||||
size 848188
|
@ -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
|
||||
|
||||
|
14
xfsdump.spec
14
xfsdump.spec
@ -21,18 +21,17 @@ BuildRequires: e2fsprogs-devel
|
||||
BuildRequires: libattr-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: xfsprogs-devel
|
||||
Version: 3.1.3
|
||||
Version: 3.1.4
|
||||
Release: 0
|
||||
Url: http://oss.sgi.com/projects/xfs/
|
||||
Summary: Administrative Utilities for the XFS File System
|
||||
License: GPL-2.0+
|
||||
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
|
||||
Patch1: getdents.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
%description
|
||||
The xfsdump package contains xfsdump, xfsrestore, and a number of other
|
||||
utilities for administering XFS file systems.
|
||||
|
||||
@ -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
|
||||
subtrees may be restored from full or partial backups.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
SGI
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
export DEBUG=-DNDEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user