Compare commits

...

98 Commits

Author SHA1 Message Date
Fedora Release Engineering 05a0441378 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 04:13:54 +00:00
Eric Sandeen d408d9dca3 New upstream release v5.1.0 2019-07-19 14:44:16 -05:00
Eric Sandeen 453f0dff91 Add xfs_scrub subpackage to move python3 requirement 2019-05-08 12:29:21 -05:00
Eric Sandeen 26bc3ffb06 New upstream release v5.0.0 2019-05-03 17:55:28 -05:00
Eric Sandeen f5b02fdbd1 New upstream release v4.20.0 2019-02-22 13:53:35 -06:00
Igor Gnatenko e534ca3a5e Rebuild for readline 8.0 2019-02-17 09:30:53 +01:00
Fedora Release Engineering fa48d8c9c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 12:26:22 +00:00
Igor Gnatenko 1daefd218d Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:55 +01:00
Pete Walter 5571f2c953 Rebuild for ICU 63 2019-01-23 21:51:19 +00:00
Igor Gnatenko 637fe34e87
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:41:21 +01:00
Eric Sandeen 47fb23d7b5 New upstream release v4.19.0 2018-11-14 02:40:22 -06:00
Eric Sandeen f80fe7a13b New upstream version v4.18.0 2018-08-24 17:20:51 -05:00
Fedora Release Engineering e45707c604 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:19:08 +00:00
Pete Walter ba9d629e0b Rebuild for ICU 62 2018-07-10 18:41:57 +01:00
Jason Tibbitts d16fb081a1 Remove needless use of %defattr 2018-07-09 23:54:26 -05:00
Eric Sandeen e0fb2b44c0 New upstream version v4.17.0 2018-06-28 12:35:05 -05:00
Pete Walter 611467bfd9 Rebuild for ICU 61.1 2018-04-30 08:31:53 +01:00
Eric Sandeen 71cdeac3a3 New upstream release v4.16 2018-04-26 14:02:41 -05:00
Eric Sandeen bab8fb6de1 New upstream release 4.15.1 2018-02-26 20:24:01 -06:00
Eric Sandeen 28642ee7ad Add buildrequires: for gcc 2018-02-26 09:57:42 -06:00
Eric Sandeen 858cc405ea New upstream release v4.15.0 2018-02-24 14:56:28 -06:00
Igor Gnatenko 9beb8ce0e3
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 09:00:52 +01:00
Igor Gnatenko 6afe1026ba Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 00:51:01 +01:00
Fedora Release Engineering 09d95a28dd - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 21:40:22 +00:00
Eric Sandeen 3d1d8a53dd And add new sources for v4.14.0 2017-11-27 11:21:48 -06:00
Eric Sandeen 28dd79b480 New upstream version v4.14.0 2017-11-27 11:18:20 -06:00
Eric Sandeen f8bd46e5d0 New upstream version 4.13.1
Also, trim long & ancient changelog
2017-09-27 09:43:01 -05:00
Fedora Release Engineering e6eea5b0c1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:43:51 +00:00
Florian Weimer e2db7e77b9 Rebuild with fixed binutils for ppc64le (#1475636) 2017-07-30 15:57:38 +02:00
Fedora Release Engineering 6f9829fa4f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:08:23 +00:00
Eric Sandeen dcc6fdfa19 New upstream release v4.12.0 2017-07-24 16:22:17 -05:00
Eric Sandeen d58a0298f3 New upstream release v4.11.0 2017-05-05 14:04:11 -05:00
Eric Sandeen 08fe16a413 New upstream release v4.10.0 2017-02-26 14:21:18 -06:00
Fedora Release Engineering 22ddfa4675 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:52:35 +00:00
Igor Gnatenko 7204cd5673 Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:44 +01:00
Eric Sandeen 33013a1047 New upstream release 4.9.0 2017-01-05 22:43:53 -06:00
Eric Sandeen 2e37129d18 New uptream release 4.8.0 2016-10-18 22:02:02 -05:00
Eric Sandeen dd4cc09c56 Add libattr-devel to buildreqs 2016-09-06 13:48:34 -05:00
Eric Sandeen e31d6fe47b New upstream release 4.7.0 2016-09-04 22:29:32 -05:00
Eric Sandeen a8eb9a0f7c New upstream version v4.5.0 2016-03-15 10:21:27 -05:00
Eric Sandeen c258f8bd78 Fix NVR 2016-03-10 22:31:21 -06:00
Eric Sandeen d8b93865ff Fix date in spec 2016-03-10 21:58:30 -06:00
Eric Sandeen 77e949d94e Fix build w/ newer kernels 2016-03-10 21:57:58 -06:00
Fedora Release Engineering a83b84ba0f - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:30:59 +00:00
Eric Sandeen 283cc9c5d2 New upstream release v4.3.0 2015-11-30 20:33:09 -06:00
Eric Sandeen e4397389ff New upstream release 4.2.0
Obsoletes xfsprogs-qa-devel, yay!
2015-09-09 16:33:17 -05:00
Eric Sandeen 2441dc2ae3 Fix day in changelog 2015-06-23 13:44:37 -05:00
Eric Sandeen d60793ad28 New upstream release v3.2.4
Addresses CVS-2012-2150 for xfs_metadump
2015-06-23 13:23:29 -05:00
Dennis Gilmore 13a095a5ce - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:01:56 +00:00
Eric Sandeen 1e08703fac New upstream release v3.2.3 2015-06-10 11:49:23 -05:00
Eric Sandeen 2246386080 New upstream version 3.2.2 2014-12-04 15:58:28 -06:00
Peter Robinson 7230da0ae6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 10:03:24 +00:00
Eric Sandeen 601f826545 New upstream release 3.2.1 2014-07-15 17:16:22 -05:00
Dennis Gilmore 669a6d4abc - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 00:52:08 -05:00
Eric Sandeen 85719b57ae Urgh, re-add dist tag 2014-05-16 09:58:24 -05:00
Eric Sandeen 473dc601c3 New upstream version 2014-05-16 09:03:24 -05:00
Eric Sandeen 5c2caa8008 Fix up spec
Add new header file, change to rc3 everywhere, fix date...
2014-05-08 18:41:13 -05:00
Eric Sandeen fe5406ea36 New upstream version 3.2.0-rc3 2014-05-08 17:50:04 -05:00
Eric Sandeen 61c08fcb78 New upstream prerelease 3.2.0-rc2 2014-05-08 13:48:20 -05:00
Eric Sandeen 2511897662 Fix changelog for last update 2013-11-14 14:58:19 -06:00
Eric Sandeen 492e4f4436 New upstream xfsprogs-3.2.0-alpha2 2013-11-14 14:07:12 -06:00
Eric Sandeen 0f472cc84b Move xfs_types.h into correct (-devel) subpackage 2013-11-04 13:26:27 -06:00
Eric Sandeen 1a4259251a New upstream alpha release, 3.2.0-alpha1, w/ initial CRC changes 2013-09-26 16:47:16 -05:00
Dennis Gilmore 86ca5b7e7f - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 03:13:48 -05:00
Eric Sandeen 481a55c649 New upstream release 2013-05-08 20:32:37 -05:00
Dennis Gilmore f81375128e - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 21:43:14 -06:00
Eric Sandeen e0c3c2a544 Another upstream release, this time with a non-broken tarball. 2012-12-13 16:03:40 -06:00
Eric Sandeen 75ee61e173 Un-munge .gitignore & Makefile from tarball snafu
Previous tarball splatted itself into top dir & overwrote
fedpkg files.  Grr.
2012-12-13 12:17:43 -06:00
Eric Sandeen 94e77e445b Replace tarball with un-botched version 2012-12-13 12:12:09 -06:00
Eric Sandeen 859a6e435e New upstream version 3.1.9 2012-12-12 17:42:43 -06:00
Dennis Gilmore 68af7c5331 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-22 00:28:56 -05:00
Eric Sandeen bb3b13ada0 - Rebuild against new RPM (RHBZ#808250). 2012-03-30 10:21:14 -05:00
Eric Sandeen 9a1c046812 Move files out of /lib to /usr/lib 2012-03-28 21:31:04 -05:00
Eric Sandeen 94440f92e3 move files out of /sbin to /usr/sbin 2012-03-28 20:58:29 -05:00
Eric Sandeen 516641fe72 New upstream version 3.1.8 2012-03-23 15:26:05 -05:00
Dennis Gilmore 0bf4660f01 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 02:55:47 -06:00
Eric Sandeen fe7bec0f93 New upstream version 2011-11-18 12:27:31 -06:00
Eric Sandeen 32cb8a44e1 Remove extra "test" in release string, oops 2011-10-17 12:43:38 -05:00
Eric Sandeen bda1012e76 New upstream release 2011-10-17 12:41:39 -05:00
Eric Sandeen e20a254824 New upstream version 3.1.5 2011-06-16 18:22:50 -05:00
Dennis Gilmore 03d2ec26fa - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 23:05:07 -06:00
Eric Sandeen 3e66a71791 Turn off DEBUG to get it building for now 2010-12-06 11:15:48 -06:00
Eric Sandeen 8fd223b47e - New upstream release 2010-11-18 14:54:20 -06:00
Eric Sandeen cf5e19a493 New upstream release: 3.1.13 2010-08-28 09:28:49 -05:00
Fedora Release Engineering 2f63b421b9 dist-git conversion 2010-07-29 13:21:16 +00:00
Eric Sandeen 0765fcbe34 * Fri May 07 2010 Eric Sandeen <sandeen@redhat.com> 3.1.2-1
- New upstream release
2010-05-07 22:09:56 +00:00
Eric Sandeen 8dc5a86ad0 * Thu Apr 01 2010 Eric Sandeen <sandeen@redhat.com> 3.1.1-7
- make devel pkg require libuuid-devel (#576296)
2010-04-01 18:37:44 +00:00
Eric Sandeen f6dae0c6d0 * Mon Mar 15 2010 Eric Sandeen <sandeen@redhat.com> 3.1.1-6
- Fix missing locking for btree manipulation in xfs_repair
2010-03-15 22:19:25 +00:00
Eric Sandeen 8ed7cf78f2 * Fri Feb 12 2010 Eric Sandeen <sandeen@redhat.com> 3.1.1-5
- --enable-static=no doesn't work; just nuke static libs
2010-02-13 03:08:01 +00:00
Eric Sandeen 2d0cf5525e * Fri Feb 12 2010 Eric Sandeen <sandeen@redhat.com> 3.1.1-4
- Fix up -devel package descriptions
2010-02-12 23:29:29 +00:00
Eric Sandeen 782e873e17 * Fri Feb 12 2010 Eric Sandeen <sandeen@redhat.com> 3.1.1-3
- Drop static libs (#556102)
2010-02-12 23:04:40 +00:00
Eric Sandeen 70f01e8b98 meh debug doesn't build turn it back off 2010-02-05 21:08:35 +00:00
Eric Sandeen a229c91465 * Mon Feb 01 2010 Eric Sandeen <sandeen@redhat.com> 3.1.1-2
- Fix mkfs of target with nothing blkid can recognize (#561870)
- Re-enable DEBUG per upstream decision

* Mon Feb 01 2010 Eric Sandeen <sandeen@redhat.com> 3.1.1-1
- New upstream release
- Fix fd validity test for device-less mkfs invocation

* Sun Jan 17 2010 Eric Sandeen <sandeen@redhat.com> 3.1.0-2
- Post-release mkfs fixes (#555847)
2010-02-05 20:25:06 +00:00
Eric Sandeen cf07289c17 * Mon Feb 01 2010 Eric Sandeen <sandeen@redhat.com> 3.1.1-1
- New upstream release
- Fix fd validity test for device-less mkfs invocation

* Sun Jan 17 2010 Eric Sandeen <sandeen@redhat.com> 3.1.0-2
- Post-release mkfs fixes (#555847)
2010-02-01 18:09:40 +00:00
Eric Sandeen 367c280d92 Oops re-add accidentally dropped glibc patch 2010-01-17 18:01:37 +00:00
Eric Sandeen 2665a2c51a * Sun Jan 17 2010 Eric Sandeen <sandeen@redhat.com> 3.1.0-2
- Post-release mkfs fixes (#555847)
2010-01-17 17:46:30 +00:00
Eric Sandeen c2ff04f33e Update sources, grr. 2010-01-13 21:28:32 +00:00
Eric Sandeen e80d85ed04 * Wed Jan 13 2010 Eric Sandeen <sandeen@redhat.com> 3.1.0-1
- New upstream release
- Minor fixups for new glibc headers
2010-01-13 21:21:08 +00:00
8 changed files with 182 additions and 1017 deletions

View File

@ -1 +0,0 @@
xfsprogs-3.0.3.tar.gz

39
.gitignore vendored Normal file
View File

@ -0,0 +1,39 @@
xfsprogs-3.1.2.tar.gz
/xfsprogs-3.1.3.tar.gz
/xfsprogs-3.1.4.tar.gz
/xfsprogs-3.1.5.tar.gz
/xfsprogs-3.1.6.tar.gz
/xfsprogs-3.1.7.tar.gz
/xfsprogs-3.1.8.tar.gz
/xfsprogs-3.1.9.tar.gz
/xfsprogs-3.1.10.tar.gz
/xfsprogs-3.1.11.tar.gz
/xfsprogs-3.2.0-alpha1.tar.gz
/xfsprogs-3.2.0-alpha2.tar.gz
/xfsprogs-3.2.0-rc2.tar.gz
/xfsprogs-3.2.0-rc3.tar.gz
/xfsprogs-3.2.0.tar.gz
/xfsprogs-3.2.1.tar.gz
/xfsprogs-3.2.2.tar.gz
/xfsprogs-3.2.3.tar.gz
/xfsprogs-3.2.4.tar.gz
/xfsprogs-4.2.0.tar.gz
/xfsprogs-4.3.0.tar.gz
/xfsprogs-4.5.0.tar.gz
/xfsprogs-4.7.0.tar.gz
/xfsprogs-4.8.0.tar.gz
/xfsprogs-4.9.0.tar.xz
/xfsprogs-4.10.0.tar.xz
/xfsprogs-4.11.0.tar.xz
/xfsprogs-4.12.0.tar.xz
/xfsprogs-4.13.1.tar.xz
/xfsprogs-4.14.0.tar.xz
/xfsprogs-4.15.0.tar.xz
/xfsprogs-4.15.1.tar.xz
/xfsprogs-4.16.0.tar.xz
/xfsprogs-4.17.0.tar.xz
/xfsprogs-4.18.0.tar.xz
/xfsprogs-4.19.0.tar.xz
/xfsprogs-4.20.0.tar.xz
/xfsprogs-5.0.0.tar.xz
/xfsprogs-5.1.0.tar.xz

View File

@ -1 +1 @@
41bac47fb49a98857f346bbc1c164872 xfsprogs-3.0.3.tar.gz SHA512 (xfsprogs-5.1.0.tar.xz) = ca5959edb299be8574b2ca51e907a418fab796ae92f588075a2aab0c2a3cf8dae49e2b68679c65c361201223e8f8ac29b1e5618eb1e519496c3aca9218620881

View File

@ -1,33 +0,0 @@
Not yet upstream but planned to be so.
Index: xfsprogs-2.10.2/mkfs/xfs_mkfs.c
===================================================================
--- xfsprogs-2.10.2.orig/mkfs/xfs_mkfs.c
+++ xfsprogs-2.10.2/mkfs/xfs_mkfs.c
@@ -733,7 +733,7 @@ main(
nodsflag = norsflag = 0;
force_overwrite = 0;
worst_freelist = 0;
- lazy_sb_counters = 0;
+ lazy_sb_counters = 1;
memset(&fsx, 0, sizeof(fsx));
memset(&xi, 0, sizeof(xi));
Index: xfsprogs-2.10.2/man/man8/mkfs.xfs.8
===================================================================
--- xfsprogs-2.10.2.orig/man/man8/mkfs.xfs.8
+++ xfsprogs-2.10.2/man/man8/mkfs.xfs.8
@@ -455,9 +455,10 @@ counter values without needed to keep th
This gives significant improvements in performance on some configurations.
The default
.I value
-is 0 (off) so you must specify
-.B lazy-count=1
-if you want to make use of this feature.
+is 1 (on) so you must specify
+.B lazy-count=0
+if you want to disable this feature for older kernels which don't support
+it.
.RE
.TP
.BI \-n " naming_options"

View File

@ -1,431 +0,0 @@
From: Christoph Hellwig <hch@lst.de>
Date: Sat, 10 Oct 2009 21:05:32 +0000 (-0400)
Subject: allow linking against libblkid instead of libdisk
X-Git-Url: http://git.kernel.org/?p=fs%2Fxfs%2Fxfsprogs-dev.git;a=commitdiff_plain;h=e4da994184266c7f89da03a86a3f52dde478137b
allow linking against libblkid instead of libdisk
Add a new --enable-blkid switch to use libblkid from util-linux to detect
the device geometry and check for existing partitions or filesystem on a
device. Note that this requires the latest blkid from util-linux-ng git
for the topology calls, odler ones won't work. If I had a little more
autoconf fu we might be able to detect a too early one, but right now it
just fails if it's too old and --enable-blkid is specified. We also
stop building libdisk in the blkid case as it's an internal static library
not otherwise used.
For the actual checks I tried to stay as close as possible to the old
code, so we still don't check topology for external log devices. I hope
to add this at a later stage.
As a small addition we also print a warning if trying to create a filesystem
on a partition that is not properly aligned.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
---
Index: xfsprogs-3.0.3/Makefile
===================================================================
--- xfsprogs-3.0.3.orig/Makefile
+++ xfsprogs-3.0.3/Makefile
@@ -18,10 +18,14 @@ LDIRT = config.log .dep config.status co
Logs/* built .census install.* install-dev.* *.gz autom4te.cache/* \
libtool include/builddefs include/platform_defs.h
-LIB_SUBDIRS = libxfs libxlog libxcmd libhandle libdisk
+LIB_SUBDIRS = libxfs libxlog libxcmd libhandle $(LDISK)
TOOL_SUBDIRS = copy db estimate fsck fsr growfs io logprint mkfs quota \
mdrestore repair rtcp m4 man doc po debian build
+ifneq ($(ENABLE_BLKID), yes)
+LIB_SUBDIRS += libdisk
+endif
+
SUBDIRS = include $(LIB_SUBDIRS) $(TOOL_SUBDIRS)
default: include/builddefs include/platform_defs.h
@@ -38,10 +42,14 @@ db logprint: libxfs libxlog
fsr: libhandle
growfs: libxfs libxcmd
io: libxcmd libhandle
-mkfs: libxfs libdisk
+mkfs: libxfs
quota: libxcmd
repair: libxfs libxlog
+ifneq ($(ENABLE_BLKID), yes)
+mkfs: libdisk
+endif
+
ifeq ($(HAVE_BUILDDEFS), yes)
include $(BUILDRULES)
else
Index: xfsprogs-3.0.3/configure.in
===================================================================
--- xfsprogs-3.0.3.orig/configure.in
+++ xfsprogs-3.0.3/configure.in
@@ -35,6 +35,12 @@ AC_ARG_ENABLE(termcap,
test $enable_termcap = yes && libtermcap="-ltermcap",)
AC_SUBST(libtermcap)
+AC_ARG_ENABLE(blkid,
+[ --enable-blkid=[yes/no] Enable block device id library [default=no]],
+ test $enable_blkid = yes && libblkid="-lblkid",)
+AC_SUBST(libblkid)
+AC_SUBST(enable_blkid)
+
AC_ARG_ENABLE(lib64,
[ --enable-lib64=[yes/no] Enable lib64 support [default=no]],,
enable_lib64=no)
Index: xfsprogs-3.0.3/include/builddefs.in
===================================================================
--- xfsprogs-3.0.3.orig/include/builddefs.in
+++ xfsprogs-3.0.3/include/builddefs.in
@@ -31,6 +31,7 @@ LIBPTHREAD = @libpthread@
LIBTERMCAP = @libtermcap@
LIBEDITLINE = @libeditline@
LIBREADLINE = @libreadline@
+LIBBLKID = @libblkid@
LIBXFS = $(TOPDIR)/libxfs/libxfs.la
LIBXCMD = $(TOPDIR)/libxcmd/libxcmd.la
LIBXLOG = $(TOPDIR)/libxlog/libxlog.la
@@ -85,6 +86,7 @@ ENABLE_SHARED = @enable_shared@
ENABLE_GETTEXT = @enable_gettext@
ENABLE_EDITLINE = @enable_editline@
ENABLE_READLINE = @enable_readline@
+ENABLE_BLKID = @enable_blkid@
HAVE_ZIPPED_MANPAGES = @have_zipped_manpages@
Index: xfsprogs-3.0.3/mkfs/Makefile
===================================================================
--- xfsprogs-3.0.3.orig/mkfs/Makefile
+++ xfsprogs-3.0.3/mkfs/Makefile
@@ -11,14 +11,27 @@ FSTYP = fstyp
HFILES = xfs_mkfs.h
CFILES = maxtrres.c proto.c xfs_mkfs.c
-LLDLIBS = $(LIBXFS) $(LIBUUID) $(LIBDISK) $(LIBRT) $(LIBPTHREAD)
-LTDEPENDENCIES = $(LIBXFS) $(LIBDISK)
+LLDLIBS = $(LIBXFS) $(LIBUUID) $(LIBRT) $(LIBPTHREAD)
+LTDEPENDENCIES = $(LIBXFS)
LLDFLAGS = -static
+ifeq ($(ENABLE_BLKID),yes)
+LLDLIBS += $(LIBBLKID)
+CFLAGS += -DENABLE_BLKID
+else
+LLDLIBS += $(LIBDISK)
+LTDEPENDENCIES += $(LIBDISK)
+endif
+
+
LSRCFILES = $(FSTYP).c
LDIRT = $(FSTYP)
-default: $(FSTYP) $(LTCOMMAND)
+default: $(LTCOMMAND)
+
+ifneq ($(ENABLE_BLKID),yes)
+default: $(FSTYP)
+endif
include $(BUILDRULES)
Index: xfsprogs-3.0.3/mkfs/xfs_mkfs.c
===================================================================
--- xfsprogs-3.0.3.orig/mkfs/xfs_mkfs.c
+++ xfsprogs-3.0.3/mkfs/xfs_mkfs.c
@@ -17,12 +17,26 @@
*/
#include <xfs/libxfs.h>
+#include <ctype.h>
+#ifdef ENABLE_BLKID
+#include <blkid/blkid.h>
+#else
#include <disk/fstyp.h>
#include <disk/volume.h>
-#include <ctype.h>
+#endif
#include "xfs_mkfs.h"
/*
+ * Device topology information.
+ */
+struct fs_topology {
+ int dsunit; /* stripe unit - data subvolume */
+ int dswidth; /* stripe width - data subvolume */
+ int rtswidth; /* stripe width - rt subvolume */
+ int sectoralign;
+};
+
+/*
* Prototypes for internal functions.
*/
static void conflict(char opt, char *tab[], int oldidx, int newidx);
@@ -266,6 +280,105 @@ calc_stripe_factors(
}
}
+#ifdef ENABLE_BLKID
+static int
+check_overwrite(
+ char *device)
+{
+ const char *type;
+ blkid_probe pr;
+ int ret = 0;
+
+ if (!device || !*device)
+ return 0;
+
+ pr = blkid_new_probe_from_filename(device);
+ if (!pr)
+ return -1;
+
+ if (blkid_probe_enable_partitions(pr, 1))
+ goto out_free_probe;
+
+ if (blkid_do_fullprobe(pr))
+ goto out_free_probe;
+
+ if (!blkid_probe_lookup_value(pr, "TYPE", &type, NULL)) {
+ fprintf(stderr,
+ _("%s: %s appears to contain an existing "
+ "filesystem (%s).\n"), progname, device, type);
+ ret = 1;
+ } else if (!blkid_probe_lookup_value(pr, "PTTYPE", &type, NULL)) {
+ fprintf(stderr,
+ _("%s: %s appears to contain a partition "
+ "table (%s).\n"), progname, device, type);
+ ret = 1;
+ }
+
+out_free_probe:
+ blkid_free_probe(pr);
+ return ret;
+}
+
+static void blkid_get_topology(const char *device, int *sunit, int *swidth)
+{
+ blkid_topology tp;
+ blkid_probe pr;
+ unsigned long val;
+
+ pr = blkid_new_probe_from_filename(device);
+ if (!pr)
+ return;
+
+ tp = blkid_probe_get_topology(pr);
+ if (!tp)
+ goto out_free_probe;
+
+ /*
+ * Blkid reports the information in terms of bytes, but we want it in
+ * terms of 512 bytes blocks (just to convert it to bytes later..)
+ *
+ * If the reported values are just the normal 512 byte block size
+ * do not bother to report anything. It will just causes warnings
+ * if people specifier larger stripe units or widths manually.
+ */
+ val = blkid_topology_get_minimum_io_size(tp) >> 9;
+ if (val > 1)
+ *sunit = val;
+ val = blkid_topology_get_optimal_io_size(tp) >> 9;
+ if (val > 1)
+ *swidth = val;
+
+ if (blkid_topology_get_alignment_offset(tp) != 0) {
+ fprintf(stderr,
+ _("warning: device is not properly aligned %s\n"),
+ device);
+ }
+
+ blkid_free_probe(pr);
+ return;
+
+out_free_probe:
+ blkid_free_probe(pr);
+ fprintf(stderr,
+ _("warning: unable to probe device toplology for device %s\n"),
+ device);
+}
+
+static void get_topology(libxfs_init_t *xi, struct fs_topology *ft)
+{
+ if (!xi->disfile) {
+ const char *dfile = xi->volname ? xi->volname : xi->dname;
+
+ blkid_get_topology(dfile, &ft->dsunit, &ft->dswidth);
+ }
+
+ if (xi->rtname && !xi->risfile) {
+ int dummy;
+
+ blkid_get_topology(xi->rtname, &dummy, &ft->rtswidth);
+ }
+}
+#else /* ENABLE_BLKID */
static int
check_overwrite(
char *device)
@@ -289,6 +402,24 @@ check_overwrite(
return 0;
}
+static void get_topology(libxfs_init_t *xi, struct fs_topology *ft)
+{
+ char *dfile = xi->volname ? xi->volname : xi->dname;
+
+ if (!xi->disfile) {
+ get_subvol_stripe_wrapper(dfile, SVTYPE_DATA,
+ &ft->dsunit, &ft->dswidth, &ft->sectoralign);
+ }
+
+ if (xi->rtname && !xi->risfile) {
+ int dummy1;
+
+ get_subvol_stripe_wrapper(dfile, SVTYPE_RT, &dummy1,
+ &ft->rtswidth, &dummy1);
+ }
+}
+#endif /* ENABLE_BLKID */
+
static void
fixup_log_stripe_unit(
int lsflag,
@@ -691,7 +822,6 @@ main(
char *rtfile;
char *rtsize;
xfs_sb_t *sbp;
- int sectoralign;
int sectorlog;
unsigned int sectorsize;
__uint64_t sector_mask;
@@ -701,8 +831,7 @@ main(
uuid_t uuid;
int worst_freelist;
libxfs_init_t xi;
- int xlv_dsunit;
- int xlv_dswidth;
+ struct fs_topology ft;
int lazy_sb_counters;
progname = basename(argv[0]);
@@ -1392,12 +1521,10 @@ main(
usage();
}
- sectoralign = 0;
- xlv_dsunit = xlv_dswidth = 0;
- if (!xi.disfile)
- get_subvol_stripe_wrapper(dfile, SVTYPE_DATA,
- &xlv_dsunit, &xlv_dswidth, &sectoralign);
- if (sectoralign) {
+ memset(&ft, 0, sizeof(ft));
+ get_topology(&xi, &ft);
+
+ if (ft.sectoralign) {
sectorsize = blocksize;
sectorlog = libxfs_highbit32(sectorsize);
if (loginternal) {
@@ -1545,14 +1672,15 @@ main(
* and the underlying volume is striped, then set rtextblocks
* to the stripe width.
*/
- int dummy1, rswidth;
+ int rswidth;
__uint64_t rtextbytes;
- dummy1 = rswidth = 0;
+ rswidth = 0;
if (!norsflag && !xi.risfile && !(!rtsize && xi.disfile))
- get_subvol_stripe_wrapper(dfile, SVTYPE_RT, &dummy1,
- &rswidth, &dummy1);
+ rswidth = ft.rtswidth;
+ else
+ rswidth = 0;
/* check that rswidth is a multiple of fs blocksize */
if (!norsflag && rswidth && !(BBTOB(rswidth) % blocksize)) {
@@ -1793,27 +1921,27 @@ _("size %s specified for log subvolume i
agsize = dblocks / agcount + (dblocks % agcount != 0);
else
calc_default_ag_geometry(blocklog, dblocks,
- xlv_dsunit | xlv_dswidth, &agsize, &agcount);
+ ft.dsunit | ft.dswidth, &agsize, &agcount);
if (!nodsflag) {
if (dsunit) {
- if (xlv_dsunit && xlv_dsunit != dsunit) {
+ if (ft.dsunit && ft.dsunit != dsunit) {
fprintf(stderr,
_("%s: Specified data stripe unit %d "
"is not the same as the volume stripe "
"unit %d\n"),
- progname, dsunit, xlv_dsunit);
+ progname, dsunit, ft.dsunit);
}
- if (xlv_dswidth && xlv_dswidth != dswidth) {
+ if (ft.dswidth && ft.dswidth != dswidth) {
fprintf(stderr,
_("%s: Specified data stripe width %d "
"is not the same as the volume stripe "
"width %d\n"),
- progname, dswidth, xlv_dswidth);
+ progname, dswidth, ft.dswidth);
}
} else {
- dsunit = xlv_dsunit;
- dswidth = xlv_dswidth;
+ dsunit = ft.dsunit;
+ dswidth = ft.dswidth;
nodsflag = 1;
}
} /* else dsunit & dswidth can't be set if nodsflag is set */
--- xfsprogs-3.0.3.orig/configure 2009-12-07 17:06:42.472972680 -0600
+++ xfsprogs-3.0.3/configure 2009-12-07 17:08:30.663973127 -0600
@@ -839,6 +839,8 @@
LOCALIZED_FILES
enable_lib64
libtermcap
+enable_blkid
+libblkid
enable_editline
libeditline
enable_readline
@@ -931,6 +933,7 @@
enable_readline
enable_editline
enable_termcap
+enable_blkid
enable_lib64
'
ac_precious_vars='build_alias
@@ -1574,6 +1577,7 @@
--enable-gettext=yes/no Enable alternate language support default=yes
--enable-readline=yes/no Enable readline command editing default=no
--enable-editline=yes/no Enable editline command editing default=no
+ --enable-blkid=yes/no Enable block device id library default=no
--enable-termcap=yes/no Enable terminal capabilities library default=no
--enable-lib64=yes/no Enable lib64 support default=no
@@ -10441,6 +10445,15 @@
+
+# Check whether --enable-blkid was given.
+if test "${enable_blkid+set}" = set; then
+ enableval=$enable_blkid; test $enable_blkid = yes && libblkid="-lblkid"
+fi
+
+
+
+
# Check whether --enable-lib64 was given.
if test "${enable_lib64+set}" = set; then
enableval=$enable_lib64;

View File

@ -1,200 +0,0 @@
From: Christoph Hellwig <hch@lst.de>
Date: Tue, 13 Oct 2009 22:28:52 +0000 (+0200)
Subject: mkfs: add discard support
X-Git-Url: http://git.kernel.org/?p=fs%2Fxfs%2Fxfsprogs-dev.git;a=commitdiff_plain;h=ad136b3382919e93cc692b54f735fad8b35e88fe
mkfs: add discard support
Call the BLKDISCARD ioctl to mark the whole disk as unused before creating
a new filesystem. This will allow SSDs, Arrays with thin provisioning support
and virtual machines to make smarter allocation decisions.
Add a new -K option to prevent mkfs from discarding blocks to aid
trouble-shooting or specialized requirements.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Andi Kleen <andi@firstfloor.org>
---
From: Christoph Hellwig <hch@lst.de>
Date: Fri, 20 Nov 2009 09:55:15 +0000 (+0100)
Subject: xfsprogs: stop using off64_t in platform headers
X-Git-Url: http://git.kernel.org/?p=fs%2Fxfs%2Fxfsprogs-dev.git;a=commitdiff_plain;h=f96aff0c250ae8c70f50d5becb592723eb064f5d
xfsprogs: stop using off64_t in platform headers
Using off64_t may require special headers or compiler flags that aren't
always available, e.g. in the configure check in xfstests. Rever to a plain
uint64_t to make apps compile as before.
While we're at it also rename the second argument of platform_discard_blocks
from end to len as that's what the BLKDISCARD ioctl excepts - we currently
always discard the whole device so it doesn't matter in practice.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
---
Index: xfsprogs-3.0.3/include/darwin.h
===================================================================
--- xfsprogs-3.0.3.orig/include/darwin.h
+++ xfsprogs-3.0.3/include/darwin.h
@@ -154,4 +154,10 @@ typedef unsigned char uchar_t;
#define HAVE_FID 1
+static __inline__ int
+platform_discard_blocks(int fd, uint64_t start, uint64_t len)
+{
+ return 0;
+}
+
#endif /* __XFS_DARWIN_H__ */
Index: xfsprogs-3.0.3/include/freebsd.h
===================================================================
--- xfsprogs-3.0.3.orig/include/freebsd.h
+++ xfsprogs-3.0.3/include/freebsd.h
@@ -139,4 +139,10 @@ static __inline__ void platform_uuid_cop
memcpy(dst, src, sizeof(uuid_t));
}
+static __inline__ int
+platform_discard_blocks(int fd, uint64_t start, uint64_t len)
+{
+ return 0;
+}
+
#endif /* __XFS_FREEBSD_H__ */
Index: xfsprogs-3.0.3/include/irix.h
===================================================================
--- xfsprogs-3.0.3.orig/include/irix.h
+++ xfsprogs-3.0.3/include/irix.h
@@ -337,6 +337,12 @@ static __inline__ void platform_uuid_cop
memcpy(dst, src, sizeof(uuid_t));
}
+static __inline__ int
+platform_discard_blocks(int fd, uint64_t start, uint64_t len)
+{
+ return 0;
+}
+
static __inline__ char * strsep(char **s, const char *ct)
{
char *sbegin = *s, *end;
Index: xfsprogs-3.0.3/include/linux.h
===================================================================
--- xfsprogs-3.0.3.orig/include/linux.h
+++ xfsprogs-3.0.3/include/linux.h
@@ -93,6 +93,20 @@ static __inline__ void platform_uuid_cop
uuid_copy(*dst, *src);
}
+#ifndef BLKDISCARD
+#define BLKDISCARD _IO(0x12,119)
+#endif
+
+static __inline__ int
+platform_discard_blocks(int fd, uint64_t start, uint64_t len)
+{
+ __uint64_t range[2] = { start, len };
+
+ if (ioctl(fd, BLKDISCARD, &range) < 0)
+ return errno;
+ return 0;
+}
+
#if (__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ <= 1))
# define constpp const char * const *
#else
Index: xfsprogs-3.0.3/man/man8/mkfs.xfs.8
===================================================================
--- xfsprogs-3.0.3.orig/man/man8/mkfs.xfs.8
+++ xfsprogs-3.0.3/man/man8/mkfs.xfs.8
@@ -36,6 +36,8 @@ mkfs.xfs \- construct an XFS filesystem
.I label
] [
.B \-N
+] [
+.B \-K
]
.I device
.SH DESCRIPTION
@@ -714,6 +716,9 @@ manual entries for additional informatio
.B \-N
Causes the file system parameters to be printed out without really
creating the file system.
+.TP
+.B \-K
+Do not attempt to discard blocks at mkfs time.
.SH SEE ALSO
.BR xfs (5),
.BR mkfs (8),
Index: xfsprogs-3.0.3/mkfs/xfs_mkfs.c
===================================================================
--- xfsprogs-3.0.3.orig/mkfs/xfs_mkfs.c
+++ xfsprogs-3.0.3/mkfs/xfs_mkfs.c
@@ -604,6 +604,20 @@ done:
free(buf);
}
+static void
+discard_blocks(dev_t dev, __uint64_t nsectors)
+{
+ int fd;
+
+ /*
+ * We intentionally ignore errors from the discard ioctl. It is
+ * not necessary for the mkfs functionality but just an optimization.
+ */
+ fd = libxfs_device_to_fd(dev);
+ if (fd > 0)
+ platform_discard_blocks(fd, 0, nsectors << 9);
+}
+
int
main(
int argc,
@@ -680,6 +694,7 @@ main(
int nvflag;
int nci;
int Nflag;
+ int discard = 1;
char *p;
char *protofile;
char *protostring;
@@ -740,7 +755,7 @@ main(
xi.isdirect = LIBXFS_DIRECT;
xi.isreadonly = LIBXFS_EXCLUSIVELY;
- while ((c = getopt(argc, argv, "b:d:i:l:L:n:Np:qr:s:CfV")) != EOF) {
+ while ((c = getopt(argc, argv, "b:d:i:l:L:n:KNp:qr:s:CfV")) != EOF) {
switch (c) {
case 'C':
case 'f':
@@ -1256,6 +1271,9 @@ main(
case 'N':
Nflag = 1;
break;
+ case 'K':
+ discard = 0;
+ break;
case 'p':
if (protofile)
respec('p', NULL, 0);
@@ -1644,6 +1662,14 @@ main(
}
}
+ if (discard) {
+ discard_blocks(xi.ddev, xi.dsize);
+ if (xi.rtdev)
+ discard_blocks(xi.rtdev, xi.rtsize);
+ if (xi.logdev && xi.logdev != xi.ddev)
+ discard_blocks(xi.logdev, xi.logBBsize);
+ }
+
if (!liflag && !ldflag)
loginternal = xi.logdev == 0;
if (xi.logname)

View File

@ -1,24 +0,0 @@
/* This file is here to prevent a file conflict on multiarch systems. A
* conflict will occur because platform_defs.h has arch-specific definitions.
*
* DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */
#if defined(__i386__)
#include "platform_defs-i386.h"
#elif defined(__x86_64__)
#include "platform_defs-x86_64.h"
#elif defined(__powerpc64__)
#include "platform_defs-ppc64.h"
#elif defined(__powerpc__)
#include "platform_defs-ppc.h"
#elif defined(__s390x__)
#include "platform_defs-s390x.h"
#elif defined(__s390__)
#include "platform_defs-s390.h"
#elif defined(__sparc__) && defined(__arch64__)
#include "platform_defs-sparc64.h"
#elif defined(__sparc__)
#include "platform_defs-sparc.h"
#else
#error "This xfsprogs-devel package does not work your architecture?"
#endif

View File

@ -1,29 +1,21 @@
Summary: Utilities for managing the XFS filesystem Summary: Utilities for managing the XFS filesystem
Name: xfsprogs Name: xfsprogs
Version: 3.0.3 Version: 5.1.0
Release: 5%{?dist} Release: 2%{?dist}
# Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
# in source, with no mention of version.
# doc/COPYING file specifies what is GPL and what is LGPL
# but no mention of versions in the source.
License: GPL+ and LGPLv2+ License: GPL+ and LGPLv2+
Group: System Environment/Base URL: https://xfs.wiki.kernel.org
URL: http://oss.sgi.com/projects/xfs/ Source0: http://kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.xz
Source0: ftp://oss.sgi.com/projects/xfs/cmd_tars/%{name}-%{version}.tar.gz Requires: util-linux
Source1: xfsprogs-wrapper.h BuildRequires: gcc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtool, gettext, libattr-devel, libuuid-devel
BuildRequires: libtool, gettext, libuuid-devel
BuildRequires: readline-devel, libblkid-devel >= 2.17-0.1.git5e51568 BuildRequires: readline-devel, libblkid-devel >= 2.17-0.1.git5e51568
Buildrequires: lvm2-devel, libicu-devel >= 4.6
Provides: xfs-cmds Provides: xfs-cmds
Obsoletes: xfs-cmds <= %{version} Obsoletes: xfs-cmds <= %{version}
Provides: xfsprogs-qa-devel
Obsoletes: xfsprogs-qa-devel <= %{version}
Conflicts: xfsdump < 3.0.1 Conflicts: xfsdump < 3.0.1
Suggests: xfsprogs-xfs_scrub
# Upstream patches:
Patch1: xfsprogs-3.0.3-trim.patch
Patch2: xfsprogs-3.0.3-libblkid.patch
# Not-yet-upstream patches:
Patch10: xfsprogs-3.0.1-mkfs-lazy-count-default.patch
%description %description
A set of commands to use the XFS filesystem, including mkfs.xfs. A set of commands to use the XFS filesystem, including mkfs.xfs.
@ -35,399 +27,222 @@ variable block sizes, is extent based, and makes extensive use of
Btrees (directories, extents, free space) to aid both performance Btrees (directories, extents, free space) to aid both performance
and scalability. and scalability.
Refer to the documentation at http://oss.sgi.com/projects/xfs/ This implementation is on-disk compatible with the IRIX version
for complete details. This implementation is on-disk compatible of XFS.
with the IRIX version of XFS.
%package devel %package devel
Summary: XFS filesystem-specific static libraries and headers Summary: XFS filesystem-specific headers
Group: Development/Libraries Requires: xfsprogs = %{version}-%{release}, libuuid-devel
Requires: xfsprogs = %{version}-%{release}
%description devel %description devel
xfsprogs-devel contains the libraries and header files needed to xfsprogs-devel contains the header files needed to develop XFS
develop XFS filesystem-specific programs. filesystem-specific programs.
You should install xfsprogs-devel if you want to develop XFS You should install xfsprogs-devel if you want to develop XFS
filesystem-specific programs, If you install xfsprogs-devel, you'll filesystem-specific programs, If you install xfsprogs-devel, you'll
also want to install xfsprogs. also want to install xfsprogs.
%package qa-devel %package xfs_scrub
Summary: XFS QA filesystem-specific static libraries and headers Summary: XFS filesystem online scrubbing utilities
Group: Development/Libraries Requires: xfsprogs = %{version}-%{release}, python3
Requires: xfsprogs = %{version}-%{release}
Requires: xfsprogs-devel = %{version}-%{release}
%description qa-devel %description xfs_scrub
xfsprogs-qa-devel contains headers and libraries needed to build xfs_scrub attempts to check and repair all metadata in a mounted XFS filesystem.
the xfstests QA suite. WARNING! This program is EXPERIMENTAL, which means that its behavior and
interface could change at any time!
You should install xfsprogs-qa-devel only if you are interested
in building or running the xfstests QA suite.
%prep %prep
%setup -q %setup -q
%patch1 -p1
%patch2 -p1
%patch10 -p1
%build %build
export tagname=CC DEBUG=-DNDEBUG export tagname=CC
# xfsprogs abuses libexecdir
%configure \
--sbindir=/sbin \
--libdir=/%{_lib} \
--libexecdir=%{_libdir} \
--bindir=%{_sbindir} \
--enable-readline=yes \
--enable-blkid=yes
# Kill rpaths %configure \
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool --enable-readline=yes \
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool --enable-blkid=yes \
--enable-lto=no
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT make DIST_ROOT=$RPM_BUILD_ROOT install install-dev \
make DIST_ROOT=$RPM_BUILD_ROOT install install-dev install-qa PKG_ROOT_SBIN_DIR=%{_sbindir} PKG_ROOT_LIB_DIR=%{_libdir}
# nuke .la files, etc # nuke .la files, etc
rm -f $RPM_BUILD_ROOT/{%{_lib}/*.{la,a,so},%{_libdir}/*.la} rm -f $RPM_BUILD_ROOT/{%{_lib}/*.{la,a,so},%{_libdir}/*.{la,a}}
# fix up symlink to be correct
rm -f $RPM_BUILD_ROOT/%{_libdir}/libhandle.so
ln -s ../../%{_lib}/libhandle.so.1 $RPM_BUILD_ROOT/%{_libdir}/libhandle.so
chmod 0755 $RPM_BUILD_ROOT/%{_lib}/libhandle.so.*.*.*
# remove non-versioned docs location # remove non-versioned docs location
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/
# ugly hack to allow parallel install of 32-bit and 64-bit -devel packages:
%define multilib_arches %{ix86} x86_64 ppc ppc64 s390 s390x %{sparc}
%ifarch %{multilib_arches}
mv -f $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs.h \
$RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs-%{_arch}.h
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs.h
%endif
%find_lang %{name} %find_lang %{name}
%clean %ldconfig_scriptlets
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %doc doc/CHANGES README
%doc doc/CHANGES doc/COPYING doc/CREDITS doc/PORTING README %{_libdir}/*.so.*
/sbin/fsck.xfs %dir %{_usr}/%{_lib}/xfsprogs
/sbin/mkfs.xfs %{_usr}/%{_lib}/xfsprogs/*
/sbin/xfs_repair
/%{_lib}/*.so.*
%{_mandir}/man8/*
%{_mandir}/man5/* %{_mandir}/man5/*
%{_mandir}/man8/*
%{_sbindir}/* %{_sbindir}/*
%{_unitdir}/*
%exclude %{_sbindir}/xfs_scrub*
%exclude %{_mandir}/man8/xfs_scrub*
%exclude %{_usr}/%{_lib}/xfsprogs/xfs_scrub*
%exclude %{_mandir}/man8/xfs_scrub_all*
%exclude %{_unitdir}/xfs_scrub*
%files xfs_scrub
%{_sbindir}/xfs_scrub*
%{_mandir}/man8/xfs_scrub*
%{_usr}/%{_lib}/xfsprogs/xfs_scrub*
%{_mandir}/man8/xfs_scrub_all*
%{_unitdir}/xfs_scrub*
%files devel %files devel
%defattr(-,root,root) %{_mandir}/man2/*
%{_mandir}/man3/* %{_mandir}/man3/*
%dir %{_includedir}/xfs %dir %{_includedir}/xfs
%{_includedir}/xfs/handle.h %{_includedir}/xfs/handle.h
%{_includedir}/xfs/jdm.h %{_includedir}/xfs/jdm.h
%{_includedir}/xfs/linux.h %{_includedir}/xfs/linux.h
%ifarch %{multilib_arches}
%{_includedir}/xfs/platform_defs-%{_arch}.h
%endif
%{_includedir}/xfs/platform_defs.h
%{_includedir}/xfs/xfs.h %{_includedir}/xfs/xfs.h
%{_includedir}/xfs/xfs_arch.h
%{_includedir}/xfs/xfs_fs.h %{_includedir}/xfs/xfs_fs.h
%{_includedir}/xfs/xfs_types.h
%{_includedir}/xfs/xfs_format.h
%{_includedir}/xfs/xfs_da_format.h
%{_includedir}/xfs/xfs_log_format.h
%{_includedir}/xfs/xqm.h %{_includedir}/xfs/xqm.h
%{_libdir}/*.a
%{_libdir}/*.so %{_libdir}/*.so
%files qa-devel
%defattr(-,root,root)
%{_includedir}/xfs/bitops.h
%{_includedir}/xfs/cache.h
%{_includedir}/xfs/kmem.h
%{_includedir}/xfs/libxfs.h
%{_includedir}/xfs/libxlog.h
%{_includedir}/xfs/list.h
%{_includedir}/xfs/parent.h
%{_includedir}/xfs/swab.h
%{_includedir}/xfs/xfs_ag.h
%{_includedir}/xfs/xfs_alloc.h
%{_includedir}/xfs/xfs_alloc_btree.h
%{_includedir}/xfs/xfs_arch.h
%{_includedir}/xfs/xfs_attr_leaf.h
%{_includedir}/xfs/xfs_attr_sf.h
%{_includedir}/xfs/xfs_bit.h
%{_includedir}/xfs/xfs_bmap.h
%{_includedir}/xfs/xfs_bmap_btree.h
%{_includedir}/xfs/xfs_btree.h
%{_includedir}/xfs/xfs_btree_trace.h
%{_includedir}/xfs/xfs_buf_item.h
%{_includedir}/xfs/xfs_da_btree.h
%{_includedir}/xfs/xfs_dfrag.h
%{_includedir}/xfs/xfs_dinode.h
%{_includedir}/xfs/xfs_dir2.h
%{_includedir}/xfs/xfs_dir2_block.h
%{_includedir}/xfs/xfs_dir2_data.h
%{_includedir}/xfs/xfs_dir2_leaf.h
%{_includedir}/xfs/xfs_dir2_node.h
%{_includedir}/xfs/xfs_dir2_sf.h
%{_includedir}/xfs/xfs_dir_leaf.h
%{_includedir}/xfs/xfs_dir_sf.h
%{_includedir}/xfs/xfs_extfree_item.h
%{_includedir}/xfs/xfs_ialloc.h
%{_includedir}/xfs/xfs_ialloc_btree.h
%{_includedir}/xfs/xfs_imap.h
%{_includedir}/xfs/xfs_inode.h
%{_includedir}/xfs/xfs_inode_item.h
%{_includedir}/xfs/xfs_inum.h
%{_includedir}/xfs/xfs_log.h
%{_includedir}/xfs/xfs_log_priv.h
%{_includedir}/xfs/xfs_log_recover.h
%{_includedir}/xfs/xfs_metadump.h
%{_includedir}/xfs/xfs_mount.h
%{_includedir}/xfs/xfs_quota.h
%{_includedir}/xfs/xfs_rtalloc.h
%{_includedir}/xfs/xfs_sb.h
%{_includedir}/xfs/xfs_trans.h
%{_includedir}/xfs/xfs_trans_space.h
%{_includedir}/xfs/xfs_types.h
%changelog %changelog
* Tue Dec 08 2009 Eric Sandeen <sandeen@redhat.com> 3.0.3-5 * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-2
- And finally, BuildRequire libblkid-devel - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Dec 07 2009 Eric Sandeen <sandeen@redhat.com> 3.0.3-4 * Fri Jul 19 2019 Eric Sandeen <sandeen@redhat.com> 5.1.0-1
- Actually patch & run configure script w/ blkid bits...
- Kill rpath in xfs_fsr
* Fri Nov 20 2009 Eric Sandeen <sandeen@redhat.com> 3.0.3-3
- Fix up build issues w.r.t. off64_t
* Tue Nov 10 2009 Eric Sandeen <sandeen@redhat.com> 3.0.3-2
- Add trim/discard & libblkid support
* Tue Sep 01 2009 Eric Sandeen <sandeen@redhat.com> 3.0.3-1
- New upstream release - New upstream release
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-10 * Wed May 08 2019 Eric Sandeen <sandeen@redhat.com> 5.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Create new xfs_scrub subpackage (#1666839)
* Tue Jun 30 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-9 * Fri May 03 2019 Eric Sandeen <sandeen@redhat.com> 5.0.0-1
- Fix block overflows in xfs_repair and xfs_metadump
* Tue Jun 30 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-8
- Fix up build-requires after e2fsprogs splitup
* Thu Jun 18 2009 Dennis Gilmore <dennis@ausil.us> 3.0.1-7
- update sparc multilib handling
* Mon Jun 15 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-6
- Make lazy superblock counters the default
* Mon Jun 15 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-5
- Add fallocate command to config script & fix for 32-bit
* Mon Jun 15 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-4
- Add fallocate command to xfs_io
* Fri May 15 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-3
- Fix and re-enable readline
* Tue May 05 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-2
- Conflict with xfsdump < 3.0.1 since files moved between them
* Tue May 05 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-1
- New upstream release - New upstream release
* Sat Apr 18 2009 Eric Sandeen <sandeen@redhat.com> 3.0.0-4 * Fri Feb 22 2019 Eric Sandeen <sandeen@redhat.com> 4.20.0-1
- Fix build for non-multilib arches, oops.
* Sat Apr 18 2009 Eric Sandeen <sandeen@redhat.com> 3.0.0-3
- Create new xfsprogs-qa-devel subpackage
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Feb 04 2009 Eric Sandeen <sandeen@redhat.com> 3.0.0-1
- New upstream release - New upstream release
* Thu Jan 08 2009 Eric Sandeen <sandeen@redhat.com> 2.10.2-3 * Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.19.0-4
- Fix perms of libhandle.so in specfile, not makefile - Rebuild for readline 8.0
* Wed Jan 07 2009 Eric Sandeen <sandeen@redhat.com> 2.10.2-2 * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.0-3
- Fix perms of libhandle.so so that it's properly stripped - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Dec 07 2008 Eric Sandeen <sandeen@redhat.com> 2.10.2-1 * Wed Jan 23 2019 Pete Walter <pwalter@fedoraproject.org> - 4.19.0-2
- New upstream release, bugfix only. - Rebuild for ICU 63
* Wed Nov 26 2008 Eric Sandeen <sandeen@redhat.com> 2.10.1-4 * Tue Nov 13 2018 Eric Sandeen <sandeen@redhat.com> 4.19.0-1
- Add protection from borken sys_ustat - New upstream release
- Add final upstream versions of gfs2 & parallel build patches
* Wed Nov 12 2008 Eric Sandeen <sandeen@redhat.com> 2.10.1-2 * Fri Aug 24 2018 Eric Sandeen <sandeen@redhat.com> 4.18.0-1
- Recognize gfs/gfs2 in libdisk - New upstream release
- Enable parallel builds
* Fri Sep 05 2008 Eric Sandeen <sandeen@redhat.com> 2.10.1-1 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-3
- Update to xfsprogs 2.10.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- Add ASCII case-insensitive support to xfsprogs.
- xfs_repair fixes
* Wed Jun 04 2008 Dennis Gilmore <dennis@ausil.us> 2.9.8-3 * Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 4.17.0-2
- sparc32 is built using the sparcv9 variant - Rebuild for ICU 62
* Wed Jun 04 2008 Eric Sandeen <sandeen@redhat.com> 2.9.8-2 * Thu Jun 28 2018 Eric Sandeen <sandeen@redhat.com> 4.17.0-1
- Tidy up multilib hack for non-multilib arches & add sparc (#448452) - New upstream release
* Wed Apr 23 2008 Eric Sandeen <sandeen@redhat.com> 2.9.8-1 * Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 4.16.0-2
- Update to xfsprogs 2.9.8 - Rebuild for ICU 61.1
- Add support for sb_features2 in wrong location
- Add -c option to xfs_admin to turn lazy-counters on/off
- Added support for mdp in libdisk/mkfs.xfs
* Sun Mar 02 2008 Eric Sandeen <sandeen@redhat.com> 2.9.7-1 * Thu Apr 26 2018 Eric Sandeen <sandeen@redhat.com> 4.16.0-1
- Update to xfsprogs 2.9.7 - New upstream release
- Lazy sb counters back off by default; other misc fixes - Clean up specfile
* Wed Feb 06 2008 Eric Sandeen <sandeen@redhat.com> 2.9.6-1 * Mon Feb 26 2018 Eric Sandeen <sandeen@redhat.com> 4.15.1-1
- Update to xfsprogs 2.9.6 - fixes mkfs sizing problem. - New upstream release
- Trim down BuildRequires to what's actually required now - Update Polish translation
* Mon Jan 21 2008 Eric Sandeen <sandeen@redhat.com> 2.9.5-1 * Mon Feb 26 2018 Eric Sandeen <sandeen@redhat.com> 4.15.0-2
- Update to xfsprogs 2.9.5 - BuildRequires: gcc
- Contains more optimal mkfs defaults
- specfile cleanup, & don't restate config defaults
* Tue Oct 23 2007 Eric Sandeen <sandeen@redhat.com> 2.9.4-4 * Sat Feb 24 2018 Eric Sandeen <sandeen@redhat.com> 4.15.0-1
- Add arm to multilib header wrapper - New upstream release
- Adds new xfs_scrub utility and services
* Tue Oct 02 2007 Eric Sandeen <sandeen@redhat.com> 2.9.4-3 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.0-2
- mkfs.xfs: Fix wiping old AG headers and purge whack buffers - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Oct 01 2007 Eric Sandeen <sandeen@redhat.com> 2.9.4-2 * Mon Nov 27 2017 Eric Sandeen <sandeen@redhat.com> 4.14.0-1
- Add alpha to the multilib wrapper (#310411) - New upstream release
* Mon Sep 10 2007 Eric Sandeen <sandeen@redhat.com> 2.9.4-1 * Wed Sep 27 2017 Eric Sandeen <sandeen@redhat.com> 4.13.1-1
- Update to xfsprogs 2.9.4 - New upstream release
- Trim ancient changelog
* Fri Aug 24 2007 Eric Sandeen <sandeen@redhat.com> 2.9.3-3 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.12.0-4
- Add gawk to buildrequires - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Aug 16 2007 Eric Sandeen <sandeen@redhat.com> 2.9.3-2 * Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 4.12.0-3
- Update license tag - Rebuild with binutils fix for ppc64le (#1475636)
* Thu Jul 26 2007 Eric Sandeen <sandeen@redhat.com> 2.9.3-1 * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.12.0-2
- Upgrade to xfsprogs 2.9.2, quota, xfs_repair, and filestreams changes - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Jul 6 2007 Eric Sandeen <sandeen@redhat.com> 2.8.21-1 * Mon Jul 24 2017 Eric Sandeen <sandeen@redhat.com> 4.12.0-1
- Upgrade to xfsprogs 2.8.21, lazy sb counters enabled, - New upstream release
xfs_quota fix (#236746)
* Thu May 31 2007 Eric Sandeen <sandeen@redhat.com> 2.8.20-2 * Fri May 05 2017 Eric Sandeen <sandeen@redhat.com> 4.11.0-1
- Fix ppc64 build... again - New upstream release
* Fri May 25 2007 Eric Sandeen <sandeen@redhat.com> 2.8.20-1 * Sun Feb 26 2017 Eric Sandeen <sandeen@redhat.com> 4.10.0-1
- Upgrade to xfsprogs 2.8.20, several xfs_repair fixes - New upstream release
* Tue Mar 06 2007 Miroslav Lichvar <mlichvar@redhat.com> 2.8.18-3 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.0-3
- Remove libtermcap-devel from BuildRequires - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Feb 14 2007 Miroslav Lichvar <mlichvar@redhat.com> 2.8.18-2 * Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 4.9.0-2
- Disable readline support for now (#223781) - Rebuild for readline 7.x
* Sun Feb 04 2007 Jarod Wilson <jwilson@redhat.com> 2.8.18-1 * Thu Jan 05 2017 Eric Sandeen <sandeen@redhat.com> 4.9.0-1
- Post-facto changelog addition to note bump to 2.8.18 - New upstream release
* Wed Sep 27 2006 Russell Cattelan <cattelan@thebarn.com> 2.8.11-3 * Tue Oct 18 2016 Eric Sandeen <sandeen@redhat.com> 4.8.0-1
- bump build version to 3 for a new brew build - New upstream release
* Tue Sep 26 2006 Russell Cattelan <cattelan@thebarn.com> 2.8.11-2 * Tue Sep 06 2016 Eric Sandeen <sandeen@redhat.com> 4.7.0-2
- add ppc64 build patch - Add libattr-devel build dependency to fix xfs_fsr
* Thu Sep 21 2006 Russell Cattelan <cattelan@redhat.com> 2.8.11-1 * Sun Sep 04 2016 Eric Sandeen <sandeen@redhat.com> 4.7.0-1
- Upgrade to xfsprogs 2.8.11 Need to pick up important repair fixes - New upstream release
* Tue Jul 18 2006 Jeremy Katz <katzj@redhat.com> - 2.8.4-3 * Tue Mar 15 2016 Eric Sandeen <sandeen@redhat.com> 4.5.0-1
- exclude arch ppc64 for now (#199315) - New upstream release
* Mon Jul 17 2006 Jesse Keating <jkeating@redhat.com> - 2.8.4-2 * Thu Mar 10 2016 Eric Sandeen <sandeen@redhat.com> 4.3.0-3
- rebuild - Fix build w/ new kernels which have [sg]etxattr promotion
* Tue Jul 04 2006 Robert Scheck <redhat@linuxnetz.de> 2.8.4-1 * Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-2
- Upgrade to 2.8.4 (#196599 #c2) - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sun Jun 25 2006 Robert Scheck <redhat@linuxnetz.de> 2.8.3-1 * Mon Nov 30 2015 Eric Sandeen <sandeen@redhat.com> 4.3.0-1
- Upgrade to 2.8.3 (#196599) - New upstream release
- Applied Russell Coker's suggested patch to improve the
performance for SELinux machines significantly (#120622)
* Sun Jun 25 2006 Robert Scheck <redhat@linuxnetz.de> 2.7.11-2 * Wed Sep 09 2015 Eric Sandeen <sandeen@redhat.com> 4.2.0-1
- Fixed multilib conflict of xfs/platform_defs.h (#192755) - New upstream release
* Sun Mar 12 2006 Robert Scheck <redhat@linuxnetz.de> 2.7.11-1 * Thu Jul 30 2015 Eric Sandeen <sandeen@redhat.com> 3.2.4-1
- Upgrade to 2.7.11 and spec file cleanup (#185234) - New upstream release
- Addresses CVE-2012-2150 for xfs_metadump
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.7.3-1.2.1 * Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.3-2
- bump again for double-long bug on ppc(64) - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.7.3-1.2 * Wed Jun 10 2015 Eric Sandeen <sandeen@redhat.com> 3.2.3-1
- rebuilt for new gcc4.1 snapshot and glibc changes - New upstream release
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Mon Oct 31 2005 Robert Scheck <redhat@linuxnetz.de> 2.7.3-1
- Upgrade to 2.7.3 and enabled termcap support (#154323)
* Wed Sep 28 2005 Florian La Roche <laroche@redhat.com>
- fixup building with current rpm
* Wed Apr 20 2005 Dave Jones <davej@redhat.com>
- Disable debug. (#151438)
- Rebuild with gcc4
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> - 2.6.13-3
- Rebuilt for new readline.
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed May 5 2004 Jeremy Katz <katzj@redhat.com> - 2.6.13-1
- update to 2.6.13 per request of upstream
- fixes mount by label of xfs on former raid partition (#122043)
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Thu Jan 8 2004 Jeremy Katz <katzj@redhat.com> 2.6.0-2
- add defattr (reported by Matthias)
* Tue Dec 23 2003 Elliot Lee <sopwith@redhat.com> 2.6.0-3
- Fix tyops in dependencies
* Mon Dec 22 2003 Jeremy Katz <katzj@redhat.com> 2.6.0-1
- build for Fedora Core
- switch to more explicit file lists, nuke .la files
* Tue Dec 16 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de> 2.6.0
- Update to 2.6.0.
* Sat Sep 13 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
- Sync with XFS 1.3.0.
- Update to 2.5.6.
* Thu Apr 10 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de> 2.3.9-0_2.90at
- Rebuilt for Red Hat 9.