commit:     af5233ce9343099fd881aa1fc14beb9599a08111
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri May 15 11:07:09 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri May 15 11:07:09 2015 +0000
URL:        https://gitweb.gentoo.org/proj/hardened-dev.git/commit/?id=af5233ce

sys-fs/xfsprogs: add missing types and headers.  Bug #549100.

Package-Manager: portage-2.2.18
Manifest-Sign-Key: 0xF52D4BBA

 sys-fs/xfsprogs/ChangeLog                          | 783 +++++++++++++++++++++
 .../files/xfsprogs-3.2.2-add-limits-h.patch        |  10 +
 .../files/xfsprogs-3.2.2-musl-compat.patch         | 154 ++++
 .../xfsprogs/files/xfsprogs-3.2.2-sharedlibs.patch | 108 +++
 sys-fs/xfsprogs/metadata.xml                       |   5 +
 sys-fs/xfsprogs/xfsprogs-3.2.2-r99.ebuild          | 100 +++
 6 files changed, 1160 insertions(+)

diff --git a/sys-fs/xfsprogs/ChangeLog b/sys-fs/xfsprogs/ChangeLog
new file mode 100644
index 0000000..c299052
--- /dev/null
+++ b/sys-fs/xfsprogs/ChangeLog
@@ -0,0 +1,783 @@
+# ChangeLog for sys-fs/xfsprogs
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.178 
2014/12/15 10:01:52 polynomial-c Exp $
+
+*xfsprogs-3.2.2 (15 Dec 2014)
+
+  15 Dec 2014; Lars Wendler <[email protected]> +xfsprogs-3.2.2.ebuild,
+  +files/xfsprogs-3.2.2-sharedlibs.patch:
+  Version bump.
+
+  11 Nov 2014; Agostino Sarubbo <[email protected]> xfsprogs-3.2.1.ebuild:
+  Stable for ia64, wrt bug #524374
+
+  04 Nov 2014; Agostino Sarubbo <[email protected]> xfsprogs-3.2.1.ebuild:
+  Stable for sparc, wrt bug #524374
+
+  03 Nov 2014; Agostino Sarubbo <[email protected]> xfsprogs-3.2.1.ebuild:
+  Stable for x86, wrt bug #524374
+
+  02 Nov 2014; Agostino Sarubbo <[email protected]> xfsprogs-3.2.1.ebuild:
+  Stable for alpha, wrt bug #524374
+
+  01 Nov 2014; Agostino Sarubbo <[email protected]> xfsprogs-3.2.1.ebuild:
+  Stable for ppc, wrt bug #524374
+
+  31 Oct 2014; Agostino Sarubbo <[email protected]> xfsprogs-3.2.1.ebuild:
+  Stable for ppc64, wrt bug #524374
+
+  30 Oct 2014; Agostino Sarubbo <[email protected]> xfsprogs-3.2.1.ebuild:
+  Stable for amd64, wrt bug #524374
+
+  23 Oct 2014; Jeroen Roovers <[email protected]> xfsprogs-3.2.1.ebuild:
+  Stable for HPPA (bug #524374).
+
+  22 Oct 2014; Markus Meier <[email protected]> xfsprogs-3.2.1.ebuild:
+  arm stable, bug #524374
+
+*xfsprogs-3.2.1 (04 Sep 2014)
+
+  04 Sep 2014; Lars Wendler <[email protected]> -xfsprogs-3.1.11.ebuild,
+  +xfsprogs-3.2.1.ebuild:
+  Version bump (bug #510750). Removed old.
+
+*xfsprogs-3.1.11-r1 (25 Dec 2013)
+
+  25 Dec 2013; Mike Frysinger <[email protected]>
+  +files/xfsprogs-3.1.11-sharedlibs.patch, +xfsprogs-3.1.11-r1.ebuild:
+  Install extra headers for libxfs #486514 by Stefan Reimer. Rewrite shared lib
+  installs to only use libtool to avoid rpath issues.
+
+*xfsprogs-3.1.11 (18 Oct 2013)
+
+  18 Oct 2013; Lars Wendler <[email protected]> -xfsprogs-3.1.7.ebuild,
+  -xfsprogs-3.1.8.ebuild, +xfsprogs-3.1.11.ebuild,
+  -files/xfsprogs-3.1.1-sharedlibs.patch, -files/xfsprogs-3.1.8-readline.patch:
+  Version bump. Removed old.
+
+  15 May 2013; Mike Frysinger <[email protected]> xfsprogs-3.1.10.ebuild:
+  Add s390 love #444688.
+
+  02 Apr 2013; Agostino Sarubbo <[email protected]> xfsprogs-3.1.10.ebuild:
+  Stable for hppa, wrt bug #457486
+
+  31 Mar 2013; Agostino Sarubbo <[email protected]> xfsprogs-3.1.10.ebuild:
+  Stable for sh, wrt bug #457486
+
+  31 Mar 2013; Agostino Sarubbo <[email protected]> xfsprogs-3.1.10.ebuild:
+  Stable for sparc, wrt bug #457486
+
+  30 Mar 2013; Agostino Sarubbo <[email protected]> xfsprogs-3.1.10.ebuild:
+  Stable for alpha, wrt bug #457486
+
+  28 Mar 2013; Agostino Sarubbo <[email protected]> xfsprogs-3.1.10.ebuild:
+  Stable for ia64, wrt bug #457486
+
+  28 Mar 2013; Agostino Sarubbo <[email protected]> xfsprogs-3.1.10.ebuild:
+  Stable for arm, wrt bug #457486
+
+  27 Mar 2013; Agostino Sarubbo <[email protected]> xfsprogs-3.1.10.ebuild:
+  Stable for ppc64, wrt bug #457486
+
+  26 Mar 2013; Agostino Sarubbo <[email protected]> xfsprogs-3.1.10.ebuild:
+  Stable for ppc, wrt bug #457486
+
+  26 Mar 2013; Agostino Sarubbo <[email protected]> xfsprogs-3.1.10.ebuild:
+  Stable for x86, wrt bug #457486
+
+  26 Mar 2013; Agostino Sarubbo <[email protected]> xfsprogs-3.1.10.ebuild:
+  Stable for amd64, wrt bug #457486
+
+*xfsprogs-3.1.10 (11 Jan 2013)
+
+  11 Jan 2013; Mike Frysinger <[email protected]>
+  +files/xfsprogs-3.1.10-sharedlibs.patch, +xfsprogs-3.1.10.ebuild:
+  Version bump #450588 by Agostino Sarubbo.
+
+  19 Oct 2012; Mike Frysinger <[email protected]>
+  files/xfsprogs-3.1.1-sharedlibs.patch:
+  Fix parallel install failures with libxlog #438764 by Jorge Manuel B. S.
+  Vicetto.
+
+  25 Aug 2012; Mike Frysinger <[email protected]>
+  +files/xfsprogs-3.1.8-readline.patch, xfsprogs-3.1.8.ebuild:
+  Link libxcmd against readline #432644 by David Badia.
+
+  19 Aug 2012; Raúl Porcel <[email protected]> xfsprogs-3.1.8.ebuild:
+  alpha/ia64/sh/sparc stable wrt #422225
+
+  14 Jul 2012; Markus Meier <[email protected]> xfsprogs-3.1.8.ebuild:
+  arm stable, bug #422225
+
+  28 Jun 2012; Brent Baude <[email protected]> xfsprogs-3.1.8.ebuild:
+  Marking xfsprogs-3.1.8 ppc for bug 422225
+
+  27 Jun 2012; Jeroen Roovers <[email protected]> xfsprogs-3.1.8.ebuild:
+  Stable for HPPA (bug #422225).
+
+  22 Jun 2012; Brent Baude <[email protected]> xfsprogs-3.1.8.ebuild:
+  Marking xfsprogs-3.1.8 ppc64 for bug 422225
+
+  21 Jun 2012; Jeff Horelick <[email protected]> xfsprogs-3.1.8.ebuild:
+  marked x86 per bug 422225
+
+  19 Jun 2012; Agostino Sarubbo <[email protected]> xfsprogs-3.1.8.ebuild:
+  Stable for amd64, wrt bug #422225
+
+*xfsprogs-3.1.8 (26 Apr 2012)
+
+  26 Apr 2012; Tomáš Chvátal <[email protected]> +xfsprogs-3.1.8.ebuild,
+  -xfsprogs-3.1.4.ebuild, -xfsprogs-3.1.5.ebuild, -xfsprogs-3.1.6.ebuild,
+  -xfsprogs-3.1.7-r1.ebuild:
+  Version bump to latest. Prune older a bit.
+
+  01 Apr 2012; Raúl Porcel <[email protected]> xfsprogs-3.1.7.ebuild:
+  alpha/ia64/sh/sparc stable wrt #408021
+
+*xfsprogs-3.1.7-r1 (30 Mar 2012)
+
+  30 Mar 2012; Mike Frysinger <[email protected]> +xfsprogs-3.1.7-r1.ebuild:
+  Migrate to EAPI=4 and fix static-libs handling #410251 by Fernando V.
+
+  30 Mar 2012; Diego E. Pettenò <[email protected]> xfsprogs-3.1.4.ebuild,
+  xfsprogs-3.1.5.ebuild, xfsprogs-3.1.6.ebuild, xfsprogs-3.1.7.ebuild:
+  Fix dependencies on util-linux with USE=static (bug #410251, thanks to
+  Fernando V.).
+
+  25 Mar 2012; Markus Meier <[email protected]> xfsprogs-3.1.7.ebuild:
+  arm stable, bug #408021
+
+  24 Mar 2012; Pawel Hajdan jr <[email protected]> xfsprogs-3.1.7.ebuild:
+  x86 stable wrt bug #408021
+
+  15 Mar 2012; Jeroen Roovers <[email protected]> xfsprogs-3.1.7.ebuild:
+  Stable for HPPA (bug #408021).
+
+  13 Mar 2012; Samuli Suominen <[email protected]> xfsprogs-3.1.7.ebuild:
+  ppc/ppc64 stable wrt #408021
+
+  13 Mar 2012; Agostino Sarubbo <[email protected]> xfsprogs-3.1.7.ebuild:
+  Stable for amd64, wrt bug #408021
+
+*xfsprogs-3.1.7 (09 Feb 2012)
+
+  09 Feb 2012; Robin H. Johnson <[email protected]> +xfsprogs-3.1.7.ebuild:
+  Bug #402801: version bump.
+
+*xfsprogs-3.1.6 (06 Nov 2011)
+
+  06 Nov 2011; Mike Frysinger <[email protected]> +xfsprogs-3.1.6.ebuild:
+  Version bump.
+
+*xfsprogs-3.1.5 (12 Apr 2011)
+
+  12 Apr 2011; Mike Frysinger <[email protected]> +xfsprogs-3.1.5.ebuild:
+  Version bump #363261 by Lars Wendler.
+
+  30 Mar 2011; Jeroen Roovers <[email protected]> xfsprogs-3.1.4.ebuild:
+  Stable for HPPA (bug #358499).
+
+  20 Mar 2011; Raúl Porcel <[email protected]> xfsprogs-3.1.4.ebuild:
+  alpha/arm/ia64/sh/sparc stable wrt #358499
+
+  13 Mar 2011; Markos Chandras <[email protected]> xfsprogs-3.1.4.ebuild:
+  Stable on amd64 wrt bug #358499
+
+  13 Mar 2011; Kacper Kowalik <[email protected]> xfsprogs-3.1.4.ebuild:
+  ppc/ppc64 stable wrt #358499
+
+  13 Mar 2011; Pawel Hajdan jr <[email protected]>
+  xfsprogs-3.1.4.ebuild:
+  x86 stable wrt bug #358499
+
+*xfsprogs-3.1.4 (13 Dec 2010)
+
+  13 Dec 2010; Mike Frysinger <[email protected]> +xfsprogs-3.1.4.ebuild:
+  Version bump #348147 by Francisco Javier.
+
+  18 Aug 2010; Mike Frysinger <[email protected]> xfsprogs-3.1.2.ebuild,
+  +files/xfsprogs-3.1.2-depend.patch:
+  Clean up dependency generation to avoid parallel build issues #333155 by
+  Samuli Suominen.
+
+  17 Aug 2010; Mike Frysinger <[email protected]>
+  files/xfsprogs-3.1.1-sharedlibs.patch, xfsprogs-3.1.2.ebuild:
+  Clean up library install and prefer readline over editline like upstream
+  #311109.
+
+*xfsprogs-3.1.2 (03 Jun 2010)
+
+  03 Jun 2010; Tiziano Müller <[email protected]>
+  +files/xfsprogs-3.1.1-sharedlibs.patch, +xfsprogs-3.1.2.ebuild:
+  Version bump (bug #311109), added deps for readline/libedit, added
+  static-libs use flag, changed dependency from e2fsprogs to util-linux,
+  thanks to Hendrik Leppkes for the updated patch.
+
+  11 May 2010; Joseph Jezak <[email protected]> xfsprogs-3.0.3.ebuild:
+  Marked ppc/ppc64 stable for bug #311381.
+
+  06 May 2010; Jeroen Roovers <[email protected]> xfsprogs-3.0.3.ebuild:
+  Stable for HPPA (bug #311381).
+
+  25 Apr 2010; Raúl Porcel <[email protected]> xfsprogs-3.0.3.ebuild:
+  alpha/ia64/sh/sparc stable wrt #311381
+
+  05 Apr 2010; Markus Meier <[email protected]> xfsprogs-3.0.3.ebuild:
+  amd64/arm/x86 stable, bug #311381
+
+*xfsprogs-3.0.3 (23 Sep 2009)
+
+  23 Sep 2009; Mike Frysinger <[email protected]> +xfsprogs-3.0.3.ebuild:
+  Version bump #285985 by Lars Wendler.
+
+  19 Sep 2009; Robin H. Johnson <[email protected]>
+  xfsprogs-3.0.1-r1.ebuild:
+  Adding ~arm support. Tested on mv78100.arm.dev.gentoo.org thanks to
+  Marvell.
+
+*xfsprogs-3.0.1-r1 (26 Jun 2009)
+
+  26 Jun 2009; Mike Frysinger <[email protected]> +xfsprogs-3.0.1-r1.ebuild,
+  files/xfsprogs-3.0.1-sharedlibs.patch:
+  Fix by Lars Wendler to install missing libxcmd.so #275456 by Chris Smith.
+
+  25 Jun 2009; Mike Frysinger <[email protected]> +xfsprogs-3.0.1.ebuild,
+  +files/xfsprogs-3.0.1-sharedlibs.patch:
+  Version bump #275405 by Lars Wendler and USE=static support #273219 by
+  Wolfram Schlich.
+
+*xfsprogs-3.0.1 (25 Jun 2009)
+
+  25 Jun 2009; Mike Frysinger <[email protected]> +xfsprogs-3.0.1.ebuild:
+  Version bump #275405 by Lars Wendler.
+
+  24 Feb 2009; Mike Frysinger <[email protected]>
+  +files/xfsprogs-3.0.0-parallel-build.patch, xfsprogs-3.0.0.ebuild:
+  Fix parallel build failures #260005 by Gilles Dartiguelongue.
+
+  24 Feb 2009; Mike Frysinger <[email protected]> xfsprogs-3.0.0.ebuild:
+  Apply blocker as some binaries have moved from xfsdump to xfsprogs #259966
+  by Robin Johnson.
+
+*xfsprogs-3.0.0 (22 Feb 2009)
+
+  22 Feb 2009; Mike Frysinger <[email protected]> +xfsprogs-3.0.0.ebuild:
+  Version bump #259894 by Lars (Polynomial-C).
+
+  14 Feb 2009; Raúl Porcel <[email protected]> xfsprogs-2.10.1.ebuild:
+  ia64 stable wrt #252148
+
+  31 Jan 2009; Jeroen Roovers <[email protected]> xfsprogs-2.10.1.ebuild:
+  Stable for HPPA (bug #252148).
+
+  09 Jan 2009; Brent Baude <[email protected]> xfsprogs-2.10.1.ebuild:
+  stable ppc, bug 252148
+
+  07 Jan 2009; Brent Baude <[email protected]> xfsprogs-2.10.1.ebuild:
+  stable ppc64, bug 252148
+
+  25 Dec 2008; Tobias Klausmann <[email protected]>
+  xfsprogs-2.10.1.ebuild:
+  Stable on alpha, bug #252148
+
+  22 Dec 2008; Markus Meier <[email protected]> xfsprogs-2.10.1.ebuild:
+  amd64/x86 stable, bug #252148
+
+  22 Dec 2008; Ferris McCormick <[email protected]> xfsprogs-2.10.1.ebuild:
+  Sparc stable, Bug #252148.
+
+*xfsprogs-2.10.2 (22 Dec 2008)
+
+  22 Dec 2008; Mike Frysinger <[email protected]> +xfsprogs-2.10.2.ebuild:
+  Version bump #251651 by Lars (Polynomial-C).
+
+  16 Nov 2008; Diego E. Pettenò <[email protected]>
+  +files/xfsprogs-2.10.1-parallelmake.patch, xfsprogs-2.10.1.ebuild:
+  Add a patch to allow parallel make builds, reported upstream.
+
+*xfsprogs-2.10.1 (29 Sep 2008)
+
+  29 Sep 2008; Mike Frysinger <[email protected]>
+  +files/xfsprogs-2.10.1-headers.patch, +xfsprogs-2.10.1.ebuild:
+  Version bump #237170 by Conrad Kostecki.
+
+  01 May 2008; Raúl Porcel <[email protected]> xfsprogs-2.9.7.ebuild:
+  ia64/sparc stable wrt #218942
+
+  01 May 2008; Tobias Scherbaum <[email protected]>
+  xfsprogs-2.9.7.ebuild:
+  ppc stable, bug #218942
+
+  30 Apr 2008; Tobias Klausmann <[email protected]> xfsprogs-2.9.7.ebuild:
+  Stable on alpha, bug #218942
+
+  28 Apr 2008; Jeroen Roovers <[email protected]> xfsprogs-2.9.7.ebuild:
+  Stable for HPPA (bug #218942).
+
+  26 Apr 2008; Markus Meier <[email protected]> xfsprogs-2.9.7.ebuild:
+  x86 stable, bug #218942
+
+  26 Apr 2008; Richard Freeman <[email protected]> xfsprogs-2.9.7.ebuild:
+  amd64 stable - 218942
+
+  24 Apr 2008; Markus Rothe <[email protected]> xfsprogs-2.9.7.ebuild:
+  Stable on ppc64; bug #218942
+
+*xfsprogs-2.9.8 (23 Apr 2008)
+
+  23 Apr 2008; Mike Frysinger <[email protected]> +xfsprogs-2.9.8.ebuild:
+  Version bump #219018 by Sergey Dryabzhinsky.
+
+*xfsprogs-2.9.7 (18 Mar 2008)
+
+  18 Mar 2008; Robin H. Johnson <[email protected]> +xfsprogs-2.9.7.ebuild:
+  Version bump as 2.9.6 had a bad default that enabled lazy-counts and then
+  the filesystem did not work on kernels older than 2.6.23.
+
+  07 Mar 2008; Richard Freeman <[email protected]> xfsprogs-2.9.5.ebuild:
+  amd64 stabe - 211152
+
+  28 Feb 2008; nixnut <[email protected]> xfsprogs-2.9.5.ebuild:
+  Stable on ppc wrt bug 211152
+
+  27 Feb 2008; Raúl Porcel <[email protected]> xfsprogs-2.9.5.ebuild:
+  alpha/ia64/sparc stable wrt #211152
+
+  25 Feb 2008; Jeroen Roovers <[email protected]> xfsprogs-2.9.5.ebuild:
+  Stable for HPPA (bug #211152).
+
+  24 Feb 2008; Brent Baude <[email protected]> xfsprogs-2.9.5.ebuild:
+  stable ppc64, bug 211152
+
+  24 Feb 2008; Markus Meier <[email protected]> xfsprogs-2.9.5.ebuild:
+  x86 stable, bug #211152
+
+*xfsprogs-2.9.6 (23 Feb 2008)
+
+  23 Feb 2008; Mike Frysinger <[email protected]> +xfsprogs-2.9.6.ebuild:
+  Version bump #211113 by Raúl Porcel.
+
+*xfsprogs-2.9.5 (26 Jan 2008)
+
+  26 Jan 2008; Mike Frysinger <[email protected]> +xfsprogs-2.9.5.ebuild:
+  Version bump #207411 by Sergey Dryabzhinsky.
+
+  19 Nov 2007; Joshua Kinard <[email protected]> xfsprogs-2.9.4.ebuild:
+  Stable on mips, per #197204.
+
+  02 Nov 2007; Steve Dibb <[email protected]> xfsprogs-2.9.4.ebuild:
+  amd64 stable, bug 197204
+
+  31 Oct 2007; Jeroen Roovers <[email protected]> xfsprogs-2.9.4.ebuild:
+  Stable for HPPA (bug #197204).
+
+  30 Oct 2007; nixnut <[email protected]> xfsprogs-2.9.4.ebuild:
+  Stable on ppc wrt bug 197204
+
+  29 Oct 2007; Raúl Porcel <[email protected]> xfsprogs-2.9.4.ebuild:
+  ia64 stable wrt #197204
+
+  28 Oct 2007; Ferris McCormick <[email protected]> xfsprogs-2.9.4.ebuild:
+  Sparc stable --- Bug #197204 (although we don't much use xfs).
+
+  28 Oct 2007; Jose Luis Rivero <[email protected]> xfsprogs-2.9.4.ebuild:
+  Stable on alpha wrt bug #197204
+
+  28 Oct 2007; Markus Rothe <[email protected]> xfsprogs-2.9.4.ebuild:
+  Stable on ppc64; bug #197204
+
+  28 Oct 2007; Andrej Kacian <[email protected]> xfsprogs-2.9.4.ebuild:
+  Stable on x86, bug #197204.
+
+  06 Oct 2007; Tom Gall <[email protected]> xfsprogs-2.9.3.ebuild:
+  stable on ppc64, bug #193143
+
+  28 Sep 2007; Joshua Kinard <[email protected]> xfsprogs-2.9.3.ebuild:
+  Stable on mips, per #193143.
+
+  26 Sep 2007; Raúl Porcel <[email protected]> xfsprogs-2.9.3.ebuild:
+  sparc stable wrt #193143
+
+  26 Sep 2007; Christoph Mende <[email protected]> xfsprogs-2.9.3.ebuild:
+  Stable on amd64 wrt bug #193143
+
+  23 Sep 2007; Raúl Porcel <[email protected]> xfsprogs-2.9.3.ebuild:
+  alpha/ia64 stable wrt #193143
+
+  22 Sep 2007; Christian Faulhammer <[email protected]>
+  xfsprogs-2.9.3.ebuild:
+  stable x86, bug 193143
+
+  20 Sep 2007; Lars Weiler <[email protected]> xfsprogs-2.9.3.ebuild:
+  Stable on ppc; bug #193143.
+
+*xfsprogs-2.9.4 (20 Sep 2007)
+
+  20 Sep 2007; Mike Frysinger <[email protected]> +xfsprogs-2.9.4.ebuild:
+  Version bump #192647 by Arfrever Frehtes Taifersar Arahesis.
+
+  01 Sep 2007; Mike Frysinger <[email protected]>
+  +files/xfsprogs-2.9.3-pthreads.patch, xfsprogs-2.9.3.ebuild:
+  Link in libpthread with all binaries for now #190523 by Sergey D.
+
+*xfsprogs-2.9.3 (29 Aug 2007)
+
+  29 Aug 2007; Mike Frysinger <[email protected]> +xfsprogs-2.9.3.ebuild:
+  Version bump #190523 by Sergey D.
+
+  13 Jun 2007; Mike Frysinger <[email protected]>
+  +files/xfsprogs-2.8.21-LDFLAGS.patch, xfsprogs-2.8.21.ebuild:
+  Respect LDFLAGS while linking the library.
+
+  09 Jun 2007; Markus Rothe <[email protected]>
+  +files/xfsprogs-2.8.21-kern-types.patch, xfsprogs-2.8.21.ebuild:
+  Added patch for bug #131483; upstream fixed the fix ... and broke it
+
+*xfsprogs-2.8.21 (31 May 2007)
+
+  31 May 2007; Mike Frysinger <[email protected]> +xfsprogs-2.8.21.ebuild:
+  Version bump.
+
+  14 Feb 2007; Mike Frysinger <[email protected]>
+  +files/xfsprogs-2.8.18-symlinks.patch, xfsprogs-2.8.18.ebuild:
+  Fix installing in parallel #166729 by Connor.
+
+*xfsprogs-2.8.18 (13 Feb 2007)
+
+  13 Feb 2007; Mike Frysinger <[email protected]> +xfsprogs-2.8.18.ebuild:
+  Version bump #166640 by Antti Mäkelä.
+
+  28 Jan 2007; Joseph Jezak <[email protected]> xfsprogs-2.8.11.ebuild:
+  Marked ppc stable for bug #156840.
+
+  31 Dec 2006; Bryan Østergaard <[email protected]> xfsprogs-2.8.11.ebuild:
+  Stable on Alpha, bug 156840.
+
+  11 Dec 2006; Peter Weller <[email protected]> xfsprogs-2.8.11.ebuild:
+  Added amd64 keyword wrt bug ##156840
+
+  07 Dec 2006; Guy Martin <[email protected]> xfsprogs-2.8.11.ebuild:
+  Stable on hppa.
+
+  07 Dec 2006; Christian Faulhammer <[email protected]>
+  xfsprogs-2.8.11.ebuild:
+  stable x86, bug #156840
+
+  03 Dec 2006; Markus Rothe <[email protected]> ChangeLog:
+  Stable on ppc64; bug #156840
+
+  27 Sep 2006; Mike Frysinger <[email protected]>
+  +files/xfsprogs-2.8.11-kern-types.patch, xfsprogs-2.8.11.ebuild:
+  Fix from upstream for building with newer kernel headers #131483 by Markus
+  Rothe.
+
+*xfsprogs-2.8.11 (26 Sep 2006)
+
+  26 Sep 2006; Patrick McLean <[email protected]> +xfsprogs-2.8.11.ebuild:
+  Version bump.
+
+*xfsprogs-2.8.10 (10 Aug 2006)
+
+  10 Aug 2006; Mike Frysinger <[email protected]> +xfsprogs-2.8.10.ebuild:
+  Version bump #143377 by Christian Hesse.
+
+  12 Jul 2006; Aron Griffis <[email protected]> xfsprogs-2.7.11.ebuild:
+  Mark 2.7.11 stable on ia64. #130436
+
+  14 May 2006; Luis Medinas <[email protected]> xfsprogs-2.7.11.ebuild:
+  Stable on amd64.
+
+  29 Apr 2006; Guy Martin <[email protected]> xfsprogs-2.7.11.ebuild:
+  Stable on hppa.
+
+  29 Apr 2006; Joseph Jezak <[email protected]> xfsprogs-2.7.11.ebuild:
+  Marked ppc stable for bug #130436.
+
+  29 Apr 2006; Joshua Kinard <[email protected]> xfsprogs-2.7.11.ebuild:
+  Marked stable on mips.
+
+  23 Apr 2006; Chris Gianelloni <[email protected]>
+  xfsprogs-2.7.11.ebuild:
+  Stable on x86 wrt bug #130436.
+
+  20 Apr 2006; Mike Frysinger <[email protected]>
+  +files/xfsprogs-2.7.11-LDFLAGS.patch, xfsprogs-2.7.11.ebuild:
+  Respect user LDFLAGS #126825 by Diego Pettenò.
+
+  10 Apr 2006; Mike Frysinger <[email protected]>
+  +files/xfsprogs-2.7.11-no-compress-docs.patch, xfsprogs-2.7.11.ebuild:
+  Let portage compress the docs #129486 by Stefan de Konink.
+
+  19 Feb 2006; Joshua Kinard <[email protected]> xfsprogs-2.7.3.ebuild:
+  Marked stable on mips.
+
+  29 Jan 2006; Simon Stelling <[email protected]> xfsprogs-2.7.3.ebuild:
+  stable on amd64
+
+  28 Jan 2006; Mark Loeser <[email protected]> xfsprogs-2.7.3.ebuild:
+  Stable on x86; bug #120486
+
+  28 Jan 2006; Markus Rothe <[email protected]> xfsprogs-2.7.3.ebuild:
+  Stable on ppc64; bug #120486
+
+  27 Jan 2006; Luca Barbato <[email protected]> xfsprogs-2.7.3.ebuild:
+  Marked ppc
+
+  27 Jan 2006; Aron Griffis <[email protected]> xfsprogs-2.7.3.ebuild:
+  Mark 2.7.3 stable on alpha #120486
+
+*xfsprogs-2.7.11 (27 Jan 2006)
+
+  27 Jan 2006; Mike Frysinger <[email protected]> +xfsprogs-2.7.11.ebuild:
+  Version bump.
+
+*xfsprogs-2.7.3 (29 Nov 2005)
+
+  29 Nov 2005; Mike Frysinger <[email protected]> +xfsprogs-2.7.3.ebuild:
+  Version bump.
+
+*xfsprogs-2.6.36 (02 Sep 2005)
+
+  02 Sep 2005; Mike Frysinger <[email protected]> +xfsprogs-2.6.36.ebuild:
+  Version bump.
+
+  29 May 2005; <[email protected]> xfsprogs-2.6.25.ebuild:
+  - update xfsprogs to use libc expanded variable elibc_uclibc vs uclibc so
+  USE=-* works
+
+  29 Apr 2005; Markus Rothe <[email protected]> xfsprogs-2.6.25.ebuild:
+  Stable on ppc64
+
+  29 Apr 2005; Hanno Boeck <[email protected]> +files/xfsprogs_gcc4.gz,
+  xfsprogs-2.6.25.ebuild:
+  Add patch to compile with gcc4 (from upstream cvs).
+
+  30 Mar 2005; Mike Frysinger <[email protected]> xfsprogs-2.6.25.ebuild:
+  Clean up and add ppc64 KEYWORDS.
+
+  20 Mar 2005; Bryan Østergaard <[email protected]> xfsprogs-2.6.25.ebuild:
+  Stable on alpha.
+
+  19 Feb 2005; Joseph Jezak <[email protected]> xfsprogs-2.6.25.ebuild:
+  Marked ppc stable for bug #82181.
+
+  29 Jan 2005; <[email protected]> +files/2.6.25-uclibc-fadvise.patch,
+  xfsprogs-2.6.25.ebuild:
+  - temp work around to disable posix_fadvise till such times as _syscall6()
+  exists for uClibc. bug #73855
+
+  19 Jan 2005; Joshua Kinard <[email protected]> xfsprogs-2.6.25.ebuild:
+  Marked stable on mips.
+
+  03 Jan 2005; Ciaran McCreesh <[email protected]> :
+  Change encoding to UTF-8 for GLEP 31 compliance
+
+  14 Dec 2004; Dylan Carlson <[email protected]> xfsprogs-2.6.25.ebuild:
+  Stable on amd64.
+
+*xfsprogs-2.6.25 (09 Oct 2004)
+
+  09 Oct 2004; Mike Frysinger <[email protected]> +xfsprogs-2.6.25.ebuild:
+  Version bump.
+
+  07 Oct 2004; <[email protected]> +files/2.6.13-uclibc-mincore.patch,
+  xfsprogs-2.6.13.ebuild:
+  mincore() does not appear to be part of POSIX or the Single Unix
+  Specification. So we patch it out for uclibc builds.
+
+  07 Oct 2004; Mike Frysinger <[email protected]> xfsprogs-2.6.13.ebuild,
+  +files/2.6.13-configure.patch:
+  Add patch to fix configure mis-detection #65735 by Marc Bevand.
+
+  21 Sep 2004; Mike Frysinger <[email protected]> xfsprogs-2.6.13.ebuild:
+  Make nls support optional #64862 by Aaron GIpson.
+
+  03 Sep 2004; Pieter Van den Abeele <[email protected]>
+  xfsprogs-2.3.9.ebuild, xfsprogs-2.6.3.ebuild:
+  Masked xfsprogs-2.6.3.ebuild stable for ppc
+
+  03 Sep 2004; Pieter Van den Abeele <[email protected]>
+  xfsprogs-2.3.9.ebuild:
+  Masked xfsprogs-2.3.9.ebuild stable for ppc
+
+  23 Aug 2004; Bryan Østergaard <[email protected]> xfsprogs-2.6.13.ebuild:
+  Stable on alpha.
+
+  21 Aug 2004; Joshua Kinard <[email protected]> xfsprogs-2.6.13.ebuild:
+  Marked stable on mips.
+
+  21 Aug 2004; Mike Frysinger <[email protected]> xfsprogs-2.6.13.ebuild:
+  Unmask since latest stable xfsdump needs a the latest xfsprogs #42484 and to
+  cheat at fixing #39559.
+
+  30 Jul 2004; Aron Griffis <[email protected]> xfsprogs-2.6.3.ebuild:
+  stable on alpha and ia64
+
+  29 Jul 2004; Guy Martin <[email protected]> xfsprogs-2.6.3.ebuild:
+  Stable on hppa.
+
+*xfsprogs-2.6.13 (28 Jul 2004)
+
+  28 Jul 2004; Jon Portnoy <[email protected]> xfsprogs-2.6.13.ebuild :
+  Version bump.
+
+  28 Jul 2004; Jon Portnoy <[email protected]> xfsprogs-2.6.3.ebuild :
+  Bump to stable on x86 and AMD64, bug #54108.
+
+  01 Jul 2004; Jeremy Huddleston <[email protected]>
+  xfsprogs-1.3.13.ebuild, xfsprogs-2.6.3.ebuild:
+  virtual/glibc -> virtual/libc
+
+  27 Jun 2004; Aron Griffis <[email protected]> xfsprogs-2.6.0.ebuild:
+  QA - fix use invocation
+
+  24 May 2004; Michael Sterrett <[email protected]> xfsprogs-2.6.3.ebuild:
+  IUSE; don't rdepend on sed; use character class in sed; error check disk io;
+  compress docs
+
+  25 Apr 2004; Joshua Kinard <[email protected]> xfsprogs-2.6.3.ebuild:
+  Tweaked the arch check to see if PLATFORM needed to be unset and added mips 
to
+  that arch list.
+
+  18 Apr 2004; Luca Barbato <[email protected]> xfsprogs-2.6.0.ebuild, 
+  xfsprogs-2.6.3.ebuild:
+  Fixed bug #42181
+
+*xfsprogs-2.6.3 (11 Feb 2004)
+
+  11 Feb 2004; Mike Frysinger <[email protected]> :
+  Version bump #19406.
+
+  31 Jan 2004; Brian Harring <[email protected]> xfsprogs-1.3.13.ebuild,
+  xfsprogs-2.3.9.ebuild, xfsprogs-2.6.0.ebuild:
+  Adjusted all xfsprogs ebuild SRC_URI's to mirror://gentoo, due to upstream
+  files no longer existing.
+
+  17 Jan 2004; Bartosch Pixa <[email protected]> :
+  manifest fix
+
+  16 Jan 2004; Bartosch Pixa <[email protected]> xfsprogs-2.6.0.ebuild:
+  set ppc in keywords
+
+  15 Dec 2003; Jason Wever <[email protected]> xfsprogs-2.6.0.ebuild:
+  Added sparc fix and marked ~sparc.
+
+*xfsprogs-2.6.0 (13 Nov 2003)
+
+  13 Nov 2003; <[email protected]> xfsprogs-2.6.0.ebuild:
+  Version bump. Bug #33358
+
+  28 Sep 2003; David Holm <[email protected]> xfsprogs-2.3.9.ebuild:
+  Added to ~ppc.
+
+*xfsprogs-2.3.6-r1 (15 Sep 2003)
+
+  15 Sep 2003; Seemant Kulleen <[email protected]> xfsprogs-1.3.13.ebuild,
+  xfsprogs-2.0.1_p20020330.ebuild, xfsprogs-2.2.2-r1.ebuild,
+  xfsprogs-2.2.2.ebuild, xfsprogs-2.3.6-r1.ebuild, xfsprogs-2.3.6-r2.ebuild,
+  xfsprogs-2.3.6.ebuild, xfsprogs-2.3.9.ebuild:
+  moved to sys-fs
+
+  10 Jun 2003; Brandon Low <[email protected]> xfsprogs-2.3.9.ebuild:
+  Change to sed -i and more better fix bug 19527
+
+  10 Jun 2003; Brad Cowan <[email protected]> xfsprogs-2.3.9.ebuild:
+  added fix from bug #19527
+
+  09 Jun 2003; Brad Laue <[email protected]> xfsprogs-2.3.9.ebuild:
+  Marking xfsprogs-2.3.9 stable: the 2.3.6 distfile is no longer on the main 
FTP
+  site.
+
+  03 Jun 2003; Brad Cowan <[email protected]> xfsprogs-2.3.9.ebuild:
+  added dep to close bug #21160
+
+*xfsprogs-2.3.9 (16 Apr 2003)
+
+  16 Apr 2003; Daniel Ahlberg <[email protected]> xfsprogs-2.3.9.ebuild :
+  Version bump.
+
+*xfsprogs-2.3.6-r2 (26 Dec 2002)
+
+  28 Mar 2003; Guy Martin <[email protected]> xfsprogs-2.3.6-r2.ebuild :
+  Added ~hppa to KEYWORDS.
+
+  24 Feb 2003; Nicholas Wourms <[email protected]> xfsprogs-2.3.6-r2.ebuild :
+  Marked as testing for mips.  Made ChangeLog compatible with echangelog.
+  
+  26 Dec 2002; Brad Cowan <[email protected]> xfsprogs-2.3.6-r2.ebuild,
+  files/digest-xfsprogs-2.3.6-r2:
+  Changed some sedding to use flag-o-matic, and exported some vars.
+
+  21 Dec 2002; Daniel Robbins <[email protected]>: renamed xfsprogs version
+  20020330-r1 to 2.0.1_p20020330 to bring in line with CVS ebuild policy and
+  fix version comparison snafu.
+
+*xfsprogs-2.3.6-r1 (16 Dec 2002)
+
+  16 Dec 2002; Bjoern Brauel <[email protected]> xfsprogs-2.3.6-r1.ebuild,
+  files/digest-xfsprogs-2.3.6-r1:
+
+  Add ~alpha to KEYWORDS
+
+  16 Dec 2002; Brad Cowan <[email protected]> xfsprogs-2.3.6-r1.ebuild,
+  files/digest-xfsprogs-2.3.6-r1:
+  
+  Cleaned up ebuild.
+
+*xfsprogs-2.3.6 (09 Dec 2002)
+
+  09 Dec 2002; Donny Davies <[email protected]> : Chase latest release.
+
+*xfsprogs-2.2.2-r1 (29 Oct 2002)
+
+  27 Oct 2002; Brad Cowan <[email protected]> xfsprogs-2.2.2-r1.ebuild 
+  files/digest-xfsprogs-2.2.2-r1 :
+  
+  Updated symlinks for bug# 9861.
+
+*xfsprogs-2.2.2 (27 Sep 2002)
+
+  05 Oct 2002; Brad Cowan <[email protected]> xfsprogs-2.2.2.ebuild :
+  
+  Fixed symlinks and "modernized" ebuild.
+  
+  27 Sep 2002; Brad Cowan <[email protected]> xfsprogs-2.2.2.ebuild
+  files/digest-xfsprogs-2.2.2 :
+  
+  version bump thanks to Hanno Boeck <[email protected]>
+
+*xfsprogs-20020330-r1 (26 July 2002)
+
+  26 Jul 2002; phoen][x <[email protected]>:
+  This package will be compiled with -O1 now.
+  Compiling it with a higher setting, breaks xfs_check in 
+  a gcc-2.95.3 environment. Closes bug #5551.
+
+*xfsprogs-20020330 (14 July 2002)
+
+  21 Jul 2002; Mark Guertin <[email protected]>:
+  updated keywords (ppc)
+
+  14 Jul 2002; phoen][x <[email protected]> xfsprogs-20020330.ebuild :
+  Added LICENSE, KEYWORDS, SLOT.
+
+*xfsprogs-1.3.13 (14 July 2002)
+
+  25 Feb 2003; Brandon Low <[email protected]> xfsprogs-1.3.13.ebuild :
+  Fix massively long line
+
+  14 Jul 2002; phoen][x <[email protected]> xfsprogs-1.3.13.ebuild :
+  Added LICENSE, KEYWORDS, SLOT.
+
+*xfsprogs-20020124-r2 (1 Feb 2002)
+
+  14 Jul 2002; phoen][x <[email protected]> xfsprogs-20020124-r2.ebuild :
+  Added LICENSE, KEYWORDS, SLOT.
+
+  1 Feb 2002; G.Bevin <[email protected]> ChangeLog :
+  
+  Added initial ChangeLog which should be updated whenever the package is
+  updated in any way. This changelog is targetted to users. This means that the
+  comments should well explained and written in clean English. The details 
about
+  writing correct changelogs are explained in the skel.ChangeLog file which you
+  can find in the root directory of the portage repository.

diff --git a/sys-fs/xfsprogs/files/xfsprogs-3.2.2-add-limits-h.patch 
b/sys-fs/xfsprogs/files/xfsprogs-3.2.2-add-limits-h.patch
new file mode 100644
index 0000000..813119f
--- /dev/null
+++ b/sys-fs/xfsprogs/files/xfsprogs-3.2.2-add-limits-h.patch
@@ -0,0 +1,10 @@
+--- ./libxfs/xfs_attr_remote.c.orig
++++ ./libxfs/xfs_attr_remote.c
+@@ -17,6 +17,7 @@
+  * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+  */
+ #include <xfs.h>
++#include <linux/limits.h>
+ 
+ #define ATTR_RMTVALUE_MAPSIZE 1       /* # of map entries at once */
+ 

diff --git a/sys-fs/xfsprogs/files/xfsprogs-3.2.2-musl-compat.patch 
b/sys-fs/xfsprogs/files/xfsprogs-3.2.2-musl-compat.patch
new file mode 100644
index 0000000..bffa6fb
--- /dev/null
+++ b/sys-fs/xfsprogs/files/xfsprogs-3.2.2-musl-compat.patch
@@ -0,0 +1,154 @@
+diff --git a/fsr/xfs_fsr.c b/fsr/xfs_fsr.c
+index 6f00b41..5b4af53 100644
+--- a/fsr/xfs_fsr.c
++++ b/fsr/xfs_fsr.c
+@@ -44,6 +44,10 @@
+ #define _PATH_FSRLAST         "/var/tmp/.fsrlast_xfs"
+ #define _PATH_PROC_MOUNTS     "/proc/mounts"
+ 
++#ifndef _PATH_MOUNTED
++#define _PATH_MOUNTED MOUNTED
++#endif
++
+ 
+ char *progname;
+ 
+diff --git a/include/platform_defs.h.in b/include/platform_defs.h.in
+index ac260bc..0e7fccf 100644
+--- a/include/platform_defs.h.in
++++ b/include/platform_defs.h.in
+@@ -68,6 +68,32 @@ typedef __u64       __bitwise       __be64;
+ 
+ typedef struct filldir                filldir_t;
+ 
++#ifndef __uint8_t
++#define __uint8_t uint8_t
++#endif
++#ifndef __uint16_t
++#define __uint16_t uint16_t
++#endif
++#ifndef __uint32_t
++#define __uint32_t uint32_t
++#endif
++#ifndef __uint64_t
++#define __uint64_t uint64_t
++#endif
++
++#ifndef __int8_t
++#define __int8_t int8_t
++#endif
++#ifndef __int16_t
++#define __int16_t int16_t
++#endif
++#ifndef __int32_t
++#define __int32_t int32_t
++#endif
++#ifndef __int64_t
++#define __int64_t int64_t
++#endif
++
+ #if defined(__linux__)
+ #include <xfs/linux.h>
+ #elif defined(__FreeBSD__)
+diff --git a/libhandle/handle.c b/libhandle/handle.c
+index 9a232fa..1db7772 100644
+--- a/libhandle/handle.c
++++ b/libhandle/handle.c
+@@ -20,6 +20,9 @@
+ #include <xfs/xfs.h>
+ #include <xfs/handle.h>
+ #include <xfs/parent.h>
++#if defined(__linux__)
++#include <linux/limits.h>
++#endif
+ 
+ /* just pick a value we know is more than big enough */
+ #define       MAXHANSIZ       64
+diff --git a/libhandle/jdm.c b/libhandle/jdm.c
+index 070407b..8dd6322 100644
+--- a/libhandle/jdm.c
++++ b/libhandle/jdm.c
+@@ -20,6 +20,9 @@
+ #include <xfs/handle.h>
+ #include <xfs/jdm.h>
+ #include <xfs/parent.h>
++#if defined(__linux__)
++#include <linux/limits.h>
++#endif
+ 
+ /* internal fshandle - typecast to a void for external use */
+ #define FSHANDLE_SZ           8
+diff --git a/libxfs/linux.c b/libxfs/linux.c
+index 2e07d54..4075786 100644
+--- a/libxfs/linux.c
++++ b/libxfs/linux.c
+@@ -16,12 +16,9 @@
+  * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+  */
+ 
+-#define ustat __kernel_ustat
+ #include <xfs/libxfs.h>
+ #include <mntent.h>
+ #include <sys/stat.h>
+-#undef ustat
+-#include <sys/ustat.h>
+ #include <sys/mount.h>
+ #include <sys/ioctl.h>
+ #include <sys/sysinfo.h>
+@@ -49,9 +46,12 @@ static int max_block_alignment;
+ int
+ platform_check_ismounted(char *name, char *block, struct stat64 *s, int 
verbose)
+ {
+-      /* Pad ust; pre-2.6.28 linux copies out too much in 32bit compat mode */
+-      struct ustat    ust[2];
+       struct stat64   st;
++      FILE            *f;
++      struct stat64   mst;
++      struct mntent   *mnt;
++      char            mounts[MAXPATHLEN];
++      int             ismounted = 0;
+ 
+       if (!s) {
+               if (stat64(block, &st) < 0)
+@@ -61,14 +61,25 @@ platform_check_ismounted(char *name, char *block, struct 
stat64 *s, int verbose)
+               s = &st;
+       }
+ 
+-      if (ustat(s->st_rdev, ust) >= 0) {
++      strcpy(mounts, (!access(PROC_MOUNTED, R_OK)) ? PROC_MOUNTED : MOUNTED);
++      if ((f = setmntent(mounts, "r")) == NULL)
++              return 0;
++
++      while ((mnt = getmntent(f)) != NULL) {
++              if (stat64(mnt->mnt_dir, &mst) < 0)
++                      continue;
++              if (mst.st_dev != s->st_rdev)
++                      continue;
++
+               if (verbose)
+                       fprintf(stderr,
+                               _("%s: %s contains a mounted filesystem\n"),
+                               progname, name);
+-              return 1;
++              ismounted = 1;
++              break;
+       }
+-      return 0;
++      endmntent(f);
++      return ismounted;
+ }
+ 
+ int
+--- ./repair/attr_repair.c.orig
++++ ./repair/attr_repair.c
+@@ -24,6 +24,10 @@
+ #include "bmap.h"
+ #include "protos.h"
+ #include "dir2.h"
++#if defined(__linux__)
++#include <linux/limits.h>
++#endif
++
+ 
+ static int xfs_acl_valid(struct xfs_mount *mp, struct xfs_acl *daclp);
+ static int xfs_mac_valid(xfs_mac_label_t *lp);

diff --git a/sys-fs/xfsprogs/files/xfsprogs-3.2.2-sharedlibs.patch 
b/sys-fs/xfsprogs/files/xfsprogs-3.2.2-sharedlibs.patch
new file mode 100644
index 0000000..118874a
--- /dev/null
+++ b/sys-fs/xfsprogs/files/xfsprogs-3.2.2-sharedlibs.patch
@@ -0,0 +1,108 @@
+use libtool to do all installing.  do not use the manual file install as
+that'll copy files directly from the .libs/ subdir which might have rpaths
+that we do not want.
+
+--- xfsprogs-3.2.2/include/buildmacros
++++ xfsprogs-3.2.2/include/buildmacros
+@@ -70,18 +70,9 @@
+ # /usr/lib.
+ ifeq ($(ENABLE_SHARED),yes)
+ INSTALL_LTLIB_DEV = \
+-      cd $(TOPDIR)/$(LIBNAME)/.libs; \
+-      ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
+-      ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_LIB_DIR); \
+-      ../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_LIB_DIR)/$(LIBNAME).la ; \
+-      ../$(INSTALL) -m 755 -d $(PKG_ROOT_LIB_DIR); \
+-      ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_ROOT_LIB_DIR); \
+-      if [ "x$(shell readlink -f $(PKG_LIB_DIR))" != \
+-           "x$(shell readlink -f $(PKG_ROOT_LIB_DIR))"; ]; then \
+-              ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).a 
$(PKG_ROOT_LIB_DIR)/$(LIBNAME).a; \
+-              ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).la 
$(PKG_ROOT_LIB_DIR)/$(LIBNAME).la; \
+-              ../$(INSTALL) -S $(PKG_ROOT_LIB_DIR)/$(LIBNAME).so 
$(PKG_LIB_DIR)/$(LIBNAME).so; \
+-      fi
++      set -e; cd $(TOPDIR)/$(LIBNAME); \
++      $(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
++      env -uDIST_ROOT $(LTINSTALL) $(TOPDIR)/$(LIBNAME)/$(LIBNAME).la 
$(DIST_ROOT)$(PKG_LIB_DIR)/$(LIBNAME).la
+ else
+ INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC)
+ endif
+--- xfsprogs-3.2.2/libdisk/Makefile
++++ xfsprogs-3.2.2/libdisk/Makefile
+@@ -31,6 +31,7 @@
+ install: default
+ 
+ install-dev: default
++      $(INSTALL_LTLIB_DEV)
+ 
+ install-qa: install-dev
+ 
+--- xfsprogs-3.2.2/libhandle/Makefile
++++ xfsprogs-3.2.2/libhandle/Makefile
+@@ -20,7 +20,6 @@
+ include $(BUILDRULES)
+ 
+ install: default
+-      $(INSTALL_LTLIB)
+ 
+ install-dev: default
+       $(INSTALL_LTLIB_DEV)
+--- xfsprogs-3.2.2/libxcmd/Makefile
++++ xfsprogs-3.2.2/libxcmd/Makefile
+@@ -34,6 +34,11 @@
+ 
+ include $(BUILDRULES)
+ 
+-install install-dev install-qa: default
++install: default
++
++ install-dev: default
++      $(INSTALL_LTLIB_DEV)
++
++install-qa: default
+ 
+ -include .ltdep
+--- xfsprogs-3.2.2/libxfs/Makefile
++++ xfsprogs-3.2.2/libxfs/Makefile
+@@ -86,6 +86,7 @@
+ install: default
+ 
+ install-dev: default
++      $(INSTALL_LTLIB_DEV)
+ 
+ install-qa: default
+ 
+--- xfsprogs-3.2.2/libxlog/Makefile
++++ xfsprogs-3.2.2/libxlog/Makefile
+@@ -12,6 +12,8 @@
+ 
+ CFILES = xfs_log_recover.c util.c
+ 
++LTLIBS = $(LIBUUID) $(LIBXFS)
++
+ # don't want to link xfs_repair with a debug libxlog.
+ DEBUG = -DNDEBUG
+ 
+@@ -19,6 +21,11 @@
+ 
+ include $(BUILDRULES)
+ 
+-install install-dev install-qa: default
++install: default
++
++install-dev: default
++      $(INSTALL_LTLIB_DEV)
++
++install-qa: default
+ 
+ -include .ltdep
+--- xfsprogs-3.2.2/Makefile
++++ xfsprogs-3.2.2/Makefile
+@@ -63,6 +63,8 @@
+ mkfs: libxfs
+ quota: libxcmd
+ repair: libxfs libxlog
++libxlog: libxfs
++libxlog-install-dev: libxfs-install-dev
+ 
+ ifneq ($(ENABLE_BLKID), yes)
+ mkfs: libdisk

diff --git a/sys-fs/xfsprogs/metadata.xml b/sys-fs/xfsprogs/metadata.xml
new file mode 100644
index 0000000..96a2d58
--- /dev/null
+++ b/sys-fs/xfsprogs/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<herd>base-system</herd>
+</pkgmetadata>

diff --git a/sys-fs/xfsprogs/xfsprogs-3.2.2-r99.ebuild 
b/sys-fs/xfsprogs/xfsprogs-3.2.2-r99.ebuild
new file mode 100644
index 0000000..c9216e3
--- /dev/null
+++ b/sys-fs/xfsprogs/xfsprogs-3.2.2-r99.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-3.2.2.ebuild,v 1.1 
2014/12/15 10:01:52 polynomial-c Exp $
+
+EAPI="4"
+
+inherit eutils toolchain-funcs multilib
+
+DESCRIPTION="xfs filesystem utilities"
+HOMEPAGE="http://oss.sgi.com/projects/xfs/";
+SRC_URI="ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz
+       ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/${P}.tar.gz";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86"
+IUSE="libedit nls readline static static-libs"
+REQUIRED_USE="static? ( static-libs )"
+
+LIB_DEPEND=">=sys-apps/util-linux-2.17.2[static-libs(+)]
+       readline? ( sys-libs/readline[static-libs(+)] )
+       !readline? ( libedit? ( dev-libs/libedit[static-libs(+)] ) )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+       !<sys-fs/xfsdump-3"
+DEPEND="${RDEPEND}
+       static? (
+               ${LIB_DEPEND}
+               readline? ( sys-libs/ncurses[static-libs] )
+       )
+       nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+       if use readline && use libedit ; then
+               ewarn "You have USE='readline libedit' but these are exclusive."
+               ewarn "Defaulting to readline; please disable this USE flag if 
you want libedit."
+       fi
+}
+
+src_prepare() {
+       epatch "${FILESDIR}"/${PN}-3.2.2-sharedlibs.patch
+       epatch "${FILESDIR}"/${PN}-3.2.2-musl-compat.patch
+       epatch "${FILESDIR}"/${PN}-3.2.2-add-limits-h.patch
+
+       sed -i \
+               -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
+               include/builddefs.in || die
+       sed -i \
+               -e '1iLLDFLAGS = -static' \
+               {estimate,fsr}/Makefile || die
+       sed -i \
+               -e "/LLDFLAGS/s:-static:$(use static && echo -all-static):" \
+               $(find -name Makefile) || die
+
+       # libdisk has broken blkid conditional checking
+       sed -i \
+               -e '/LIB_SUBDIRS/s:libdisk::' \
+               Makefile || die
+
+       # TODO: write a patch for configure.in to use pkg-config for the 
uuid-part
+       if use static && use readline ; then
+               sed -i \
+                       -e 's|-lreadline|\0 -lncurses|' \
+                       -e 's|-lblkid|\0 -luuid|' \
+                       configure || die
+       fi
+}
+
+src_configure() {
+       export DEBUG=-DNDEBUG
+       export OPTIMIZER=${CFLAGS}
+       unset PLATFORM # if set in user env, this breaks configure
+
+       local myconf
+       if use static || use static-libs ; then
+               myconf+=" --enable-static"
+       else
+               myconf+=" --disable-static"
+       fi
+
+       econf \
+               --bindir=/usr/bin \
+               --libexecdir=/usr/$(get_libdir) \
+               $(use_enable nls gettext) \
+               $(use_enable readline) \
+               $(usex readline --disable-editline $(use_enable libedit 
editline)) \
+               ${myconf}
+
+       MAKEOPTS+=" V=1"
+}
+
+src_install() {
+       emake DIST_ROOT="${ED}" install
+       # parallel install fails on these targets for >=xfsprogs-3.2.0
+       emake -j1 DIST_ROOT="${ED}" install-{dev,qa}
+
+       # handle is for xfsdump, the rest for xfsprogs
+       gen_usr_ldscript -a xfs xlog
+       # removing unnecessary .la files if not needed
+       use static-libs || find "${ED}" -name '*.la' -delete
+}

Reply via email to