summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-09-29 00:31:56 +0000
committerMike Frysinger <vapier@gentoo.org>2008-09-29 00:31:56 +0000
commit4527d2c0c78539c0fed0af54735307375cb2fa33 (patch)
tree1afb07935b8c679a6b35edc4d55a47e51a712223
parentsh stable (diff)
downloadgentoo-2-4527d2c0c78539c0fed0af54735307375cb2fa33.tar.gz
gentoo-2-4527d2c0c78539c0fed0af54735307375cb2fa33.tar.bz2
gentoo-2-4527d2c0c78539c0fed0af54735307375cb2fa33.zip
Version bump #237170 by Conrad Kostecki.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64)
-rw-r--r--sys-fs/xfsprogs/ChangeLog8
-rw-r--r--sys-fs/xfsprogs/files/xfsprogs-2.10.1-headers.patch10
-rw-r--r--sys-fs/xfsprogs/xfsprogs-2.10.1.ebuild59
3 files changed, 76 insertions, 1 deletions
diff --git a/sys-fs/xfsprogs/ChangeLog b/sys-fs/xfsprogs/ChangeLog
index 373c12934a3f..c6739fe74bcf 100644
--- a/sys-fs/xfsprogs/ChangeLog
+++ b/sys-fs/xfsprogs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/xfsprogs
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.102 2008/05/01 10:22:38 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.103 2008/09/29 00:31:55 vapier Exp $
+
+*xfsprogs-2.10.1 (29 Sep 2008)
+
+ 29 Sep 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/xfsprogs-2.10.1-headers.patch, +xfsprogs-2.10.1.ebuild:
+ Version bump #237170 by Conrad Kostecki.
01 May 2008; Raúl Porcel <armin76@gentoo.org> xfsprogs-2.9.7.ebuild:
ia64/sparc stable wrt #218942
diff --git a/sys-fs/xfsprogs/files/xfsprogs-2.10.1-headers.patch b/sys-fs/xfsprogs/files/xfsprogs-2.10.1-headers.patch
new file mode 100644
index 000000000000..3e6e92a3799f
--- /dev/null
+++ b/sys-fs/xfsprogs/files/xfsprogs-2.10.1-headers.patch
@@ -0,0 +1,10 @@
+--- libxfs/xfs_dir2.c
++++ libxfs/xfs_dir2.c
+@@ -22,6 +22,7 @@
+ */
+
+ #include <xfs.h>
++#include <ctype.h> /* for tolower() */
+
+ extern const struct xfs_nameops xfs_default_nameops;
+
diff --git a/sys-fs/xfsprogs/xfsprogs-2.10.1.ebuild b/sys-fs/xfsprogs/xfsprogs-2.10.1.ebuild
new file mode 100644
index 000000000000..1d3323115bc8
--- /dev/null
+++ b/sys-fs/xfsprogs/xfsprogs-2.10.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-2.10.1.ebuild,v 1.1 2008/09/29 00:31:55 vapier Exp $
+
+inherit eutils toolchain-funcs autotools
+
+MY_P="${PN}_${PV}-1"
+DESCRIPTION="xfs filesystem utilities"
+HOMEPAGE="http://oss.sgi.com/projects/xfs/"
+SRC_URI="ftp://oss.sgi.com/projects/xfs/cmd_tars/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="nls"
+
+RDEPEND="sys-fs/e2fsprogs"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-2.10.1-headers.patch
+ epatch "${FILESDIR}"/${PN}-2.8.18-symlinks.patch #166729
+ sed -i \
+ -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
+ include/builddefs.in \
+ || die "sed include/builddefs.in failed"
+ # We'll handle /lib versus /usr/lib install
+ sed -i -e '/INSTALL.* -S .*LIBNAME/d' \
+ include/buildmacros || die "sed symlinks"
+ eautoconf
+}
+
+src_compile() {
+ export DEBUG=-DNDEBUG
+ export OPTIMIZER=${CFLAGS}
+ unset PLATFORM # if set in user env, this breaks configure
+ econf \
+ --bindir=/usr/bin \
+ --sbindir=/sbin \
+ --libexecdir=/usr/$(get_libdir) \
+ $(use_enable nls gettext) \
+ || die "config failed"
+ emake || die
+}
+
+src_install() {
+ emake DIST_ROOT="${D}" install install-dev || die "make install failed"
+
+ # shared in /lib, static in /usr/lib, ldscript fun too
+ dodir /$(get_libdir)
+ mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir)/
+ dosym libhandle.so.1 /$(get_libdir)/libhandle.so
+ gen_usr_ldscript libhandle.so
+
+ prepalldocs
+}