1
0
forked from pool/xfsdump
xfsdump/xfsdump.spec
Jan Kara 673086366a Accepting request 74186 from home:michal-m:branches:filesystems
- updated to 3.0.5
  - Release tags will now be digitally signed
  - Quota files will now be dumped, regardless of the maxsize
    setting
  - The new "-s sessid" flag allows inventory sessions to be pruned
    by their session ID.
  - Fixed a bug in handling long dump filenames, and dropped
    (undocumented) support for encoding certain parameters within
    the dump filename
  - NODECHK is now off by default, meaning xfsrestore will now
    support 16 times more directory entries (4 billion)
  - nrh_t is now 64 bits wide, allowing xfsrestore to support dumps
    with up to 4 billion directory entries
  - nix_t is no longer useful, and has been eliminated
  - Memory use in xfsrestore is better managed now.  Segments of
    nodes are now power-of-2 sized, and allocated nodes are no
    longer needlessly zeroed and linked into the free list.
  - Pathname resolution in xfsrestore has a number of performance
    improvements
  - Better checking has been implemented for compatibility when
    resuming a cumulative restore
  - Build system output has been cleaned up considerably
  - Dead "namreg" code has been removed
  - Build dependencies are now determined automatically
  - Other miscellaneous build system improvements, as well bug
    fixes thanks to Mike Frysinger and Arkadiusz Miśkiewicz.
  - Improve xfsinvutil man page and argument processing.
  - Fix timestamp handling on 64-bit architectures in xfsinvutil.
  - Various build system improvements.

OBS-URL: https://build.opensuse.org/request/show/74186
OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsdump?expand=0&rev=7
2011-06-20 13:12:11 +00:00

88 lines
2.6 KiB
RPMSpec

#
# spec file for package xfsdump (Version 3.0.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: xfsdump
BuildRequires: e2fsprogs-devel libattr-devel ncurses-devel xfsprogs-devel
Version: 3.0.5
Release: 2
AutoReqProv: on
Group: System/Filesystems
License: GPLv2+
Url: http://oss.sgi.com/projects/xfs/
Summary: Administrative Utilities for the XFS File System
Source0: xfsdump-%version.tar.gz
Patch0: xfsdump-docdir.diff
Patch1: xfsdump-3.0.1-fix-bufferoverflow.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The xfsdump package contains xfsdump, xfsrestore, and a number of other
utilities for administering XFS file systems.
xfsdump examines files in a file system, determines which files need to
be backed up, and copies those files to a specified disk, tape, or
other storage medium. It uses XFS-specific directives for optimizing
the dump of an XFS file system and also knows how to backup XFS
extended attributes. Backups created with xfsdump are "endian safe"
and can thus be transferred between Linux machines of different
architectures and also between IRIX machines.
xfsrestore performs the inverse function of xfsdump. It can restore a
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 CFLAGS=$RPM_OPT_FLAGS
export DEBUG=-DNDEBUG
./configure \
--prefix=/usr \
--exec-prefix=/ \
--sbindir=/sbin \
--bindir=/usr/sbin \
--mandir=%{_mandir}
make %{?jobs:-j%jobs}
%install
export DIST_ROOT="$RPM_BUILD_ROOT"
make install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,755)
/sbin/*
%doc %_defaultdocdir/%name
/usr/share/man/man8/*
%changelog