summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2015-03-26 21:20:40 +0000
committerMike Gilbert <floppym@gentoo.org>2015-03-26 21:20:40 +0000
commitc345876b9425789af30d0ca94f14c8842a25da0b (patch)
tree2f95d9661973a5d5be9c0dffc6933797cb0d2d66 /sys-fs
parentLinux patch 3.19.3. Update gcc >= 4.9 optimization patch. See bug #544028. (diff)
downloadgentoo-2-c345876b9425789af30d0ca94f14c8842a25da0b.tar.gz
gentoo-2-c345876b9425789af30d0ca94f14c8842a25da0b.tar.bz2
gentoo-2-c345876b9425789af30d0ca94f14c8842a25da0b.zip
Version bump, bug 544602. Install bash completion file, bug 544414.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/btrfs-progs/ChangeLog8
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-3.19.1.ebuild79
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-9999.ebuild14
3 files changed, 94 insertions, 7 deletions
diff --git a/sys-fs/btrfs-progs/ChangeLog b/sys-fs/btrfs-progs/ChangeLog
index 67207b50e045..263d3b9c2711 100644
--- a/sys-fs/btrfs-progs/ChangeLog
+++ b/sys-fs/btrfs-progs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/btrfs-progs
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs-progs/ChangeLog,v 1.101 2015/03/25 01:00:23 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs-progs/ChangeLog,v 1.102 2015/03/26 21:20:40 floppym Exp $
+
+*btrfs-progs-3.19.1 (26 Mar 2015)
+
+ 26 Mar 2015; Mike Gilbert <floppym@gentoo.org> +btrfs-progs-3.19.1.ebuild,
+ btrfs-progs-9999.ebuild:
+ Version bump, bug 544602. Install bash completion file, bug 544414.
25 Mar 2015; Mike Gilbert <floppym@gentoo.org> btrfs-progs-9999.ebuild:
Add note about --enable-convert being broken.
diff --git a/sys-fs/btrfs-progs/btrfs-progs-3.19.1.ebuild b/sys-fs/btrfs-progs/btrfs-progs-3.19.1.ebuild
new file mode 100644
index 000000000000..0d21e3152389
--- /dev/null
+++ b/sys-fs/btrfs-progs/btrfs-progs-3.19.1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs-progs/btrfs-progs-3.19.1.ebuild,v 1.1 2015/03/26 21:20:40 floppym Exp $
+
+EAPI=5
+
+inherit bash-completion-r1 eutils multilib toolchain-funcs
+
+libbtrfs_soname=0
+
+if [[ ${PV} != 9999 ]]; then
+ MY_PV=v${PV}
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+ SRC_URI="https://www.kernel.org/pub/linux/kernel/people/kdave/${PN}/${PN}-${MY_PV}.tar.xz"
+ S="${WORKDIR}"/${PN}-${MY_PV}
+else
+ WANT_LIBTOOL=none
+ inherit autotools git-r3
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
+ https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git"
+fi
+
+DESCRIPTION="Btrfs filesystem utilities"
+HOMEPAGE="https://btrfs.wiki.kernel.org"
+
+LICENSE="GPL-2"
+SLOT="0/${libbtrfs_soname}"
+IUSE="+convert"
+
+RESTRICT=test # tries to mount repared filesystems
+
+RDEPEND="
+ dev-libs/lzo:2=
+ sys-libs/zlib:0=
+ convert? (
+ sys-fs/e2fsprogs:0=
+ sys-libs/e2fsprogs-libs:0=
+ )
+"
+DEPEND="${RDEPEND}
+ convert? ( sys-apps/acl )
+ app-text/asciidoc
+ app-text/docbook-xml-dtd:4.5
+ app-text/xmlto
+"
+
+if [[ ${PV} == 9999 ]]; then
+ DEPEND+=" sys-devel/gnuconfig"
+fi
+
+src_prepare() {
+ epatch_user
+ if [[ ${PV} == 9999 ]]; then
+ eautoreconf
+ mkdir config || die
+ local automakedir="$(autotools_run_tool --at-output automake --print-libdir)"
+ [[ -e ${automakedir} ]] || die "Could not locate automake directory"
+ ln -s "${automakedir}"/install-sh config/install-sh || die
+ ln -s "${EPREFIX}"/usr/share/gnuconfig/config.guess config/config.guess || die
+ ln -s "${EPREFIX}"/usr/share/gnuconfig/config.sub config/config.sub || die
+ fi
+}
+
+src_configure() {
+ local myeconfargs=(
+ --bindir="${EPREFIX}"/sbin
+ $(use_enable convert)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ emake V=1
+}
+
+src_install() {
+ default
+ newbashcomp btrfs-completion btrfs
+}
diff --git a/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild b/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild
index a56caba56680..9843b596987f 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild,v 1.42 2015/03/25 01:00:23 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild,v 1.43 2015/03/26 21:20:40 floppym Exp $
EAPI=5
-inherit eutils multilib toolchain-funcs
+inherit bash-completion-r1 eutils multilib toolchain-funcs
libbtrfs_soname=0
@@ -64,10 +64,7 @@ src_prepare() {
src_configure() {
local myeconfargs=(
--bindir="${EPREFIX}"/sbin
-
- # --enable-convert is broken
- # http://thread.gmane.org/gmane.comp.file-systems.btrfs/43873
- $(usex convert '' --disable-convert)
+ $(use_enable convert)
)
econf "${myeconfargs[@]}"
}
@@ -75,3 +72,8 @@ src_configure() {
src_compile() {
emake V=1
}
+
+src_install() {
+ default
+ newbashcomp btrfs-completion btrfs
+}