commit:     818349e13f836f5165977e7939652500a28baf2f
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 21 02:30:28 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Sep 21 02:30:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=818349e1

sys-fs/btrfs-progs: bump to 4.7.2

Bug: https://bugs.gentoo.org/594306

Package-Manager: portage-2.3.0_p43

 sys-fs/btrfs-progs/Manifest                 |  1 +
 sys-fs/btrfs-progs/btrfs-progs-4.7.2.ebuild | 94 +++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/sys-fs/btrfs-progs/Manifest b/sys-fs/btrfs-progs/Manifest
index ff7eb1e..693587b 100644
--- a/sys-fs/btrfs-progs/Manifest
+++ b/sys-fs/btrfs-progs/Manifest
@@ -16,4 +16,5 @@ DIST btrfs-progs-v4.5.2.tar.xz 1189928 SHA256 
aefb8914f72926706b54e5619a36c9b95e
 DIST btrfs-progs-v4.5.3.tar.xz 1207344 SHA256 
e6e79608d81ccda62ad877c20e4d0868dc68e570ba42f4c94e66bf5e8ee0ebd3 SHA512 
7bb15728577cdc56773e87583196ed36e15a4c417f03816e8a101506070e667b8e51f66fcf98095ddc20c9ce10da0b78de1171e9c8a6cb20a4811fd35d508961
 WHIRLPOOL 
c938f35d4ec74beeb41e8ab56632bb33c7500f283cef3d59ff97494ab957be9f2e309feb80e383c29417ba78d7e2a89704faf6fe2558a06852944790f434172c
 DIST btrfs-progs-v4.6.1.tar.xz 1281240 SHA256 
4ed15ccd0fa730c13e52fb930141a0d3f300f2bb34cb1366b32d093eaaa18919 SHA512 
7bdf350a3051326f495e1694e11b27b830dce219ddbb0a805f1916f5deecdbd5332c3cd8abe36296832e196eee45e4cdc4695e99e186a51b85ec8b9f6ff5381d
 WHIRLPOOL 
d7c06549947278002c4de91f47b2b85d93a714bf1e984ce2b4d7321bcb8b0a11dd60cd84e070c382f61e67e919d3cbc88a723aaa5ab42806ecbe65ae01c4ae34
 DIST btrfs-progs-v4.7.1.tar.xz 1298280 SHA256 
9c7f96f51b9337e7560e9ed30386632fb7f853178669167622df301945505a96 SHA512 
912be6bf613f1faf10049b2e522bb99fa10154e0780f167f65bb2e424f1f8c0f3d91d7adc3e93d7a43f1104c138ef5093a6f0f4ab1abf30eab21edebb90f3401
 WHIRLPOOL 
a23a7e948d29c50f4f778abd09b0c296a589c16360d9a48b235b2ed8f845b5aa669f7a5b7dd1e63752f072565e9d764e68040c6196cda36e12a504c0dfe70a1d
+DIST btrfs-progs-v4.7.2.tar.xz 1320812 SHA256 
f49bc9e143ffe60260c5bd70ef3b624576673f8b50f41e309892a425f7fbe60f SHA512 
d741484b3011c3ac93b47ed6a9d56f56d88119ec8b73389f1155880d9714d416693e2223bc2147a0d4b0655127607a73e85186fb7f17e5982c96e4286c3c9f49
 WHIRLPOOL 
b03e92226e9e565dbcd1ee76bf1e79bd7e134b192219618192a103a72d67e1f52b9c100bf4e15197e68947a8ee6cbc12fff14a3aeabbe689f97dbd2feda85305
 DIST btrfs-progs-v4.7.tar.xz 1287004 SHA256 
1a5fdab01c21661e39b0d596f64c8ea164d77147f7084e428e1e71da2b2999cf SHA512 
7ddcf0d620311f6ed90de0f7eb07e3f338d4ed281137d41d357748c640b03601b4903cf7266180d9a1c8d33acbee66c6eb44f595da28e8f4a470b763e7303741
 WHIRLPOOL 
2eaa35dedd445cec202dbdfe1c062c81feef6d56d6653e9d51895c7fdb7fe8410dfda489a365f34a0ab4e76288fb7735775fd231a297f9786b3cbd8dc4b125c9

diff --git a/sys-fs/btrfs-progs/btrfs-progs-4.7.2.ebuild 
b/sys-fs/btrfs-progs/btrfs-progs-4.7.2.ebuild
new file mode 100644
index 00000000..7f648be
--- /dev/null
+++ b/sys-fs/btrfs-progs/btrfs-progs-4.7.2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit bash-completion-r1
+
+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://repo.or.cz/btrfs-progs-unstable/devel.git"
+       EGIT_BRANCH="devel"
+fi
+
+DESCRIPTION="Btrfs filesystem utilities"
+HOMEPAGE="https://btrfs.wiki.kernel.org";
+
+LICENSE="GPL-2"
+SLOT="0/${libbtrfs_soname}"
+IUSE="+convert static static-libs"
+
+RESTRICT=test # tries to mount repared filesystems
+
+RDEPEND="
+       dev-libs/lzo:2=
+       sys-apps/util-linux:0=[static-libs(+)?]
+       sys-libs/zlib:0=
+       convert? (
+               sys-fs/e2fsprogs:0=
+               sys-libs/e2fsprogs-libs:0=
+       )
+"
+DEPEND="${RDEPEND}
+       convert? ( sys-apps/acl )
+       >=app-text/asciidoc-8.6.0
+       app-text/docbook-xml-dtd:4.5
+       app-text/xmlto
+       static? (
+               dev-libs/lzo:2[static-libs(+)]
+               sys-apps/util-linux:0[static-libs(+)]
+               sys-libs/zlib:0[static-libs(+)]
+               convert? (
+                       sys-fs/e2fsprogs:0[static-libs(+)]
+                       sys-libs/e2fsprogs-libs:0[static-libs(+)]
+               )
+       )
+"
+
+if [[ ${PV} == 9999 ]]; then
+       DEPEND+=" sys-devel/gnuconfig"
+fi
+
+src_prepare() {
+       default
+       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)
+               $(use_enable elibc_glibc backtrace)
+       )
+       econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+       emake V=1 all $(usev static)
+}
+
+src_install() {
+       local makeargs=(
+               $(usex static-libs '' 'libs_static=')
+               $(usex static install-static '')
+       )
+       emake V=1 DESTDIR="${D}" install "${makeargs[@]}"
+       newbashcomp btrfs-completion btrfs
+}

Reply via email to