This commit is contained in:
commit
9efa824e4d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
11
xfsdump-2.2.42-1-docdir.diff
Normal file
11
xfsdump-2.2.42-1-docdir.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- include/builddefs.in
|
||||
+++ include/builddefs.in
|
||||
@@ -36,7 +36,7 @@
|
||||
PKG_DEVLIB_DIR = @libexecdir@@libdirsuffix@
|
||||
PKG_INC_DIR = @includedir@
|
||||
PKG_MAN_DIR = @mandir@
|
||||
-PKG_DOC_DIR = @datadir@/doc/@pkg_name@
|
||||
+PKG_DOC_DIR = @datadir@/doc/packages/@pkg_name@
|
||||
PKG_LOCALE_DIR = @datadir@/locale
|
||||
|
||||
CC = @cc@
|
181
xfsdump.changes
Normal file
181
xfsdump.changes
Normal file
@ -0,0 +1,181 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 20 19:01:10 CEST 2006 - mjancar@suse.cz
|
||||
|
||||
- update to 2.2.42
|
||||
* Rework code to remove the DMAPI build and run-time dependency.
|
||||
* Fix issues with makedepend on libtool libraries.
|
||||
* Fix annoying "ignores datarootdir" warning from configure.
|
||||
* Fix issues with makedepend build infrastructure.
|
||||
* Fix for parallel compiles, thanks to Robin H. Johnson.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 27 16:26:09 CEST 2006 - mjancar@suse.cz
|
||||
|
||||
- update to 2.2.38
|
||||
* Performance improvements for dumping subtrees.
|
||||
* Fix xfs_fsr memory and file descriptor leaks.
|
||||
* Fix xfs_fsr handling some of the extended inode flags
|
||||
and fields (like project IDs, extsize, realtime, etc).
|
||||
* Fix Debian packaging for libc-dev build dependency.
|
||||
* Fix up auto lib64 install detection for x86_64 platforms.
|
||||
* Use -O2 optimisation by default now like everywhere else.
|
||||
* Default to using a single media file for each strategy.
|
||||
Multiple media files can be enabled on tape strategies
|
||||
by using the -d option.
|
||||
* Fix a bug in restoring multiple links to files with the
|
||||
immutable bit set.
|
||||
* Fix a regression that caused xfsrestore to fail when
|
||||
restoring files that were changing during the dump.
|
||||
* Remove some overhead in restoring files that were dumped
|
||||
in multiple extent groups (> 16 MiB).
|
||||
* Add simple interface to HSM-specific code in xfsrestore,
|
||||
similar to that already in xfsdump.
|
||||
* Fix fsr mishandling directories given as arguments.
|
||||
* Fix build dependency on recent xfsprogs header files.
|
||||
* Minor man page fixups with respect to hyphenation.
|
||||
* Optimizations to increase the performance of xfsdump and
|
||||
xfsrestore, especially on filesystems with millions of inodes.
|
||||
Many small changes were made to minimize the number of system
|
||||
calls required per inode.
|
||||
* Significant changes to xfsdump:
|
||||
o Cache the gen number of each inode during the initial inode
|
||||
scan so that a bulkstat single does not need to be done for
|
||||
each inode when dumping directories.
|
||||
o No longer retrieve the DMF attribute when estimating the dump
|
||||
size of a file. Use information from the bulkstat instead.
|
||||
o Retrieve DMF attribute by handle instead of doing
|
||||
open/attr_getf/close.
|
||||
o In determining where to split multi-stream dumps, take into
|
||||
consideration the number of files and not just the file size.
|
||||
This allows filesystems with large amounts of inodes but
|
||||
relatively little data (DMF filesystem) to be split correctly.
|
||||
* Significant changes to xfsrestore:
|
||||
o Buffer writes to the namreg file to eliminate 2 very small
|
||||
write system calls per directory entry.
|
||||
o Buffer writes to dirattr file to eliminate a small write system
|
||||
call per directory.
|
||||
o Speedup the check to see if a particular window of the tree
|
||||
file is mapped. This allows xfsrestore to use more, smaller
|
||||
windows which is beneficial if we can't fit them all in memory
|
||||
and have to start unmapping them. This also makes the -w
|
||||
option obsolete so that option now has no effect.
|
||||
o Change the hash function to give a better distribution among
|
||||
the hash buckets.
|
||||
o Do not make an unnecessary unlink call if the file being
|
||||
restored does not already exist.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:43:07 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 17 19:07:42 CET 2006 - mjancar@suse.cz
|
||||
|
||||
- update to 2.2.33
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 02:58:14 CEST 2005 - dmueller@suse.de
|
||||
|
||||
- add norootforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 2 20:35:46 CEST 2005 - mjancar@suse.cz
|
||||
|
||||
- update to 2.2.30
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 22 16:09:24 CEST 2005 - agruen@suse.de
|
||||
|
||||
- xfs-restore-lazy-alloc.diff: Fix for ENOSPC errors on write
|
||||
(91036).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 5 15:19:35 CEST 2005 - mmj@suse.de
|
||||
|
||||
- static char *progname -> char *progname
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 7 20:40:35 CET 2005 - mjancar@suse.cz
|
||||
|
||||
- update to 2.2.25
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 01 12:25:54 CEST 2004 - mjancar@suse.cz
|
||||
|
||||
- link dynamicaly aganist libuuid (#44531)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 13 18:10:10 CEST 2004 - mjancar@suse.cz
|
||||
|
||||
- update to 2.2.21
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 26 14:46:00 CET 2004 - mjancar@suse.cz
|
||||
|
||||
- update to 2.2.16
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 08 13:03:23 CEST 2003 - ja@suse.cz
|
||||
|
||||
- Updated to 2.2.13.
|
||||
- fix ST/TS tape driver compatibility issues in drive_scsitape.
|
||||
- fix multiple backups to a single tape (TS AND ST).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 20 15:46:47 CEST 2003 - ja@suse.cz
|
||||
|
||||
- Upgrade to version 2.2.12.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 29 12:19:04 CEST 2003 - jderfina@suse.cz
|
||||
|
||||
- update to version 2.2.10
|
||||
- switch from using mktemp to using mkstemp for xfs_copy log.
|
||||
- use a FHS compliant name for the xfs_copy log file.
|
||||
- add initial support for TS tape driver.
|
||||
- fix xfsdump -I option to set correct fsid.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 12 12:45:40 CET 2003 - jderfina@suse.cz
|
||||
|
||||
- update to version 2.2.6
|
||||
- add initial internationalisation support.
|
||||
- fix build fallout from macro changes in XFS headers.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 13 12:37:17 CET 2002 - jderfina@suse.cz
|
||||
|
||||
- upgrade to version 2.2.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 10 11:59:56 CEST 2002 - jderfina@suse.cz
|
||||
|
||||
- upgrade to version 2.2.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 20 13:19:00 CEST 2002 - mge@suse.de
|
||||
|
||||
- update to 2.1.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 21 15:53:17 CEST 2002 - kukuk@suse.de
|
||||
|
||||
- Make compile on architectures with lib64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 26 00:55:51 CET 2002 - ro@suse.de
|
||||
|
||||
- update to 2.0.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 21 16:34:07 CEST 2001 - ro@suse.de
|
||||
|
||||
- added xfsprogs attr attr-devel to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 21 11:24:37 CEST 2001 - adostal@suse.cz
|
||||
|
||||
- split xfsdump-1.0.9 from package xfsprogs
|
||||
- use DESTDIR from %install (...destdir.patch)
|
||||
- create ...dirs.patch
|
217
xfsdump.spec
Normal file
217
xfsdump.spec
Normal file
@ -0,0 +1,217 @@
|
||||
#
|
||||
# spec file for package xfsdump (Version 2.2.42_1)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: xfsdump
|
||||
BuildRequires: e2fsprogs-devel libattr-devel xfsprogs-devel
|
||||
Version: 2.2.42_1
|
||||
Release: 1
|
||||
%define ver 2.2.42-1
|
||||
Autoreqprov: on
|
||||
Group: System/Filesystems
|
||||
License: GNU General Public License (GPL) - all versions
|
||||
URL: http://oss.sgi.com/projects/xfs/
|
||||
Summary: Administrative Utilities for the XFS File System
|
||||
Source0: %{name}_%{ver}.tar.bz2
|
||||
Patch0: %{name}-%{ver}-docdir.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 -n %{name}-2.2.42
|
||||
%patch0
|
||||
|
||||
%build
|
||||
%{suse_update_config -f}
|
||||
export CFLAGS=$RPM_OPT_FLAGS
|
||||
export DEBUG=-DNDEBUG
|
||||
aclocal --force
|
||||
autoconf --force
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/ \
|
||||
--sbindir=/sbin \
|
||||
--bindir=/usr/sbin \
|
||||
--libdir=/%{lib} \
|
||||
--libexecdir=/usr/%{lib}\
|
||||
--includedir=/usr/include \
|
||||
--mandir=%{_mandir} \
|
||||
--datadir=/usr/share
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
DIST_ROOT="$RPM_BUILD_ROOT"
|
||||
DIST_INSTALL=`pwd`/install.manifest
|
||||
export DIST_ROOT DIST_INSTALL
|
||||
/usr/bin/make install DIST_MANIFEST="$DIST_INSTALL"
|
||||
files()
|
||||
{
|
||||
sort | uniq | awk '
|
||||
$1 == "d" { printf ("%%%%dir %%%%attr(%s,root,root) %s\n", $2, $5); }
|
||||
$1 == "f" { if (match ($6, "/usr/share/man") || match ($6, "/usr/share/doc/xfsdump"))
|
||||
printf ("%%%%doc ");
|
||||
if (match ($6, "/usr/share/man"))
|
||||
printf ("%%%%attr(%s,root,root) %s*\n", $2, $6);
|
||||
else
|
||||
printf ("%%%%attr(%s,root,root) %s\n", $2, $6); }
|
||||
$1 == "l" { if (match ($3, "/usr/share/man") || match ($3, "/usr/share/doc/xfsdump"))
|
||||
printf ("%%%%doc ");
|
||||
if (match ($3, "/usr/share/man"))
|
||||
printf ("%attr(0777,root,root) %s*\n", $3);
|
||||
else
|
||||
printf ("%attr(0777,root,root) %s\n", $3); }'
|
||||
}
|
||||
set +x
|
||||
files < "$DIST_INSTALL" | egrep -v -e "^%%dir.*/sbin$" -e "^%%dir.*/man8$" > files.rpm
|
||||
set -x
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f files.rpm
|
||||
%defattr(-,root,root,755)
|
||||
|
||||
%changelog -n xfsdump
|
||||
* Fri Oct 20 2006 - mjancar@suse.cz
|
||||
- update to 2.2.42
|
||||
* Rework code to remove the DMAPI build and run-time dependency.
|
||||
* Fix issues with makedepend on libtool libraries.
|
||||
* Fix annoying "ignores datarootdir" warning from configure.
|
||||
* Fix issues with makedepend build infrastructure.
|
||||
* Fix for parallel compiles, thanks to Robin H. Johnson.
|
||||
* Thu Jul 27 2006 - mjancar@suse.cz
|
||||
- update to 2.2.38
|
||||
* Performance improvements for dumping subtrees.
|
||||
* Fix xfs_fsr memory and file descriptor leaks.
|
||||
* Fix xfs_fsr handling some of the extended inode flags
|
||||
and fields (like project IDs, extsize, realtime, etc).
|
||||
* Fix Debian packaging for libc-dev build dependency.
|
||||
* Fix up auto lib64 install detection for x86_64 platforms.
|
||||
* Use -O2 optimisation by default now like everywhere else.
|
||||
* Default to using a single media file for each strategy.
|
||||
Multiple media files can be enabled on tape strategies
|
||||
by using the -d option.
|
||||
* Fix a bug in restoring multiple links to files with the
|
||||
immutable bit set.
|
||||
* Fix a regression that caused xfsrestore to fail when
|
||||
restoring files that were changing during the dump.
|
||||
* Remove some overhead in restoring files that were dumped
|
||||
in multiple extent groups (> 16 MiB).
|
||||
* Add simple interface to HSM-specific code in xfsrestore,
|
||||
similar to that already in xfsdump.
|
||||
* Fix fsr mishandling directories given as arguments.
|
||||
* Fix build dependency on recent xfsprogs header files.
|
||||
* Minor man page fixups with respect to hyphenation.
|
||||
* Optimizations to increase the performance of xfsdump and
|
||||
xfsrestore, especially on filesystems with millions of inodes.
|
||||
Many small changes were made to minimize the number of system
|
||||
calls required per inode.
|
||||
* Significant changes to xfsdump:
|
||||
o Cache the gen number of each inode during the initial inode
|
||||
scan so that a bulkstat single does not need to be done for
|
||||
each inode when dumping directories.
|
||||
o No longer retrieve the DMF attribute when estimating the dump
|
||||
size of a file. Use information from the bulkstat instead.
|
||||
o Retrieve DMF attribute by handle instead of doing
|
||||
open/attr_getf/close.
|
||||
o In determining where to split multi-stream dumps, take into
|
||||
consideration the number of files and not just the file size.
|
||||
This allows filesystems with large amounts of inodes but
|
||||
relatively little data (DMF filesystem) to be split correctly.
|
||||
* Significant changes to xfsrestore:
|
||||
o Buffer writes to the namreg file to eliminate 2 very small
|
||||
write system calls per directory entry.
|
||||
o Buffer writes to dirattr file to eliminate a small write system
|
||||
call per directory.
|
||||
o Speedup the check to see if a particular window of the tree
|
||||
file is mapped. This allows xfsrestore to use more, smaller
|
||||
windows which is beneficial if we can't fit them all in memory
|
||||
and have to start unmapping them. This also makes the -w
|
||||
option obsolete so that option now has no effect.
|
||||
o Change the hash function to give a better distribution among
|
||||
the hash buckets.
|
||||
o Do not make an unnecessary unlink call if the file being
|
||||
restored does not already exist.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Tue Jan 17 2006 - mjancar@suse.cz
|
||||
- update to 2.2.33
|
||||
* Thu Sep 29 2005 - dmueller@suse.de
|
||||
- add norootforbuild
|
||||
* Tue Aug 02 2005 - mjancar@suse.cz
|
||||
- update to 2.2.30
|
||||
* Wed Jun 22 2005 - agruen@suse.de
|
||||
- xfs-restore-lazy-alloc.diff: Fix for ENOSPC errors on write
|
||||
(91036).
|
||||
* Tue Apr 05 2005 - mmj@suse.de
|
||||
- static char *progname -> char *progname
|
||||
* Mon Feb 07 2005 - mjancar@suse.cz
|
||||
- update to 2.2.25
|
||||
* Fri Oct 01 2004 - mjancar@suse.cz
|
||||
- link dynamicaly aganist libuuid (#44531)
|
||||
* Fri Aug 13 2004 - mjancar@suse.cz
|
||||
- update to 2.2.21
|
||||
* Thu Feb 26 2004 - mjancar@suse.cz
|
||||
- update to 2.2.16
|
||||
* Fri Aug 08 2003 - ja@suse.cz
|
||||
- Updated to 2.2.13.
|
||||
- fix ST/TS tape driver compatibility issues in drive_scsitape.
|
||||
- fix multiple backups to a single tape (TS AND ST).
|
||||
* Fri Jun 20 2003 - ja@suse.cz
|
||||
- Upgrade to version 2.2.12.
|
||||
* Tue Apr 29 2003 - jderfina@suse.cz
|
||||
- update to version 2.2.10
|
||||
- switch from using mktemp to using mkstemp for xfs_copy log.
|
||||
- use a FHS compliant name for the xfs_copy log file.
|
||||
- add initial support for TS tape driver.
|
||||
- fix xfsdump -I option to set correct fsid.
|
||||
* Wed Feb 12 2003 - jderfina@suse.cz
|
||||
- update to version 2.2.6
|
||||
- add initial internationalisation support.
|
||||
- fix build fallout from macro changes in XFS headers.
|
||||
* Fri Dec 13 2002 - jderfina@suse.cz
|
||||
- upgrade to version 2.2.4
|
||||
* Thu Oct 10 2002 - jderfina@suse.cz
|
||||
- upgrade to version 2.2.1
|
||||
* Tue Aug 20 2002 - mge@suse.de
|
||||
- update to 2.1.3
|
||||
* Sun Apr 21 2002 - kukuk@suse.de
|
||||
- Make compile on architectures with lib64
|
||||
* Tue Feb 26 2002 - ro@suse.de
|
||||
- update to 2.0.0
|
||||
* Tue Aug 21 2001 - ro@suse.de
|
||||
- added xfsprogs attr attr-devel to neededforbuild
|
||||
* Tue Aug 21 2001 - adostal@suse.cz
|
||||
- split xfsdump-1.0.9 from package xfsprogs
|
||||
- use DESTDIR from %%install (...destdir.patch)
|
||||
- create ...dirs.patch
|
3
xfsdump_2.2.42-1.tar.bz2
Normal file
3
xfsdump_2.2.42-1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e0da72eeacfab14c3f25a2088fde6eab5e908f81c6531bc3504d9612d9f5934f
|
||||
size 452945
|
Loading…
x
Reference in New Issue
Block a user