summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorJoe Peterson <lavajoe@gentoo.org>2009-01-14 22:12:04 +0000
committerJoe Peterson <lavajoe@gentoo.org>2009-01-14 22:12:04 +0000
commit69baaf34d8793e5ceaadc7f2a4ea8caa8a6ae12d (patch)
treea5fae78f42607b8666a954abee3787c12a14c89c /sys-fs
parentVersion bump. Remove old. (diff)
downloadgentoo-2-69baaf34d8793e5ceaadc7f2a4ea8caa8a6ae12d.tar.gz
gentoo-2-69baaf34d8793e5ceaadc7f2a4ea8caa8a6ae12d.tar.bz2
gentoo-2-69baaf34d8793e5ceaadc7f2a4ea8caa8a6ae12d.zip
New version 0.17
(Portage version: 2.1.6.5/cvs/Linux 2.6.27-gentoo-r4 i686)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/btrfs-progs/ChangeLog9
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-0.17.ebuild63
2 files changed, 70 insertions, 2 deletions
diff --git a/sys-fs/btrfs-progs/ChangeLog b/sys-fs/btrfs-progs/ChangeLog
index 7fe0935523af..13d94801d917 100644
--- a/sys-fs/btrfs-progs/ChangeLog
+++ b/sys-fs/btrfs-progs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/btrfs-progs
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs-progs/ChangeLog,v 1.16 2008/11/27 17:56:51 lavajoe Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs-progs/ChangeLog,v 1.17 2009/01/14 22:12:04 lavajoe Exp $
+
+*btrfs-progs-0.17 (14 Jan 2009)
+
+ 14 Jan 2009; Joe Peterson <lavajoe@gentoo.org> +btrfs-progs-0.17.ebuild:
+ New version 0.17
27 Nov 2008; Joe Peterson <lavajoe@gentoo.org>
-btrfs-progs-0.15-r2.ebuild, -btrfs-progs-0.16.ebuild:
diff --git a/sys-fs/btrfs-progs/btrfs-progs-0.17.ebuild b/sys-fs/btrfs-progs/btrfs-progs-0.17.ebuild
new file mode 100644
index 000000000000..3d8a5808b558
--- /dev/null
+++ b/sys-fs/btrfs-progs/btrfs-progs-0.17.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs-progs/btrfs-progs-0.17.ebuild,v 1.1 2009/01/14 22:12:04 lavajoe Exp $
+
+inherit eutils
+
+DESCRIPTION="Btrfs filesystem utilities"
+HOMEPAGE="http://btrfs.wiki.kernel.org/"
+SRC_URI="http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="acl"
+
+DEPEND="acl? (
+ sys-apps/acl
+ sys-fs/e2fsprogs
+ )"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Apply hot fixes
+ #epatch "${FILESDIR}/${P}-hotfix.patch"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
+ all || die
+ if use acl; then
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
+ convert || die
+ fi
+}
+
+src_install() {
+ into /
+ dosbin btrfs-show
+ dosbin btrfs-vol
+ dosbin btrfs-image
+ dosbin btrfsctl
+ dosbin btrfstune
+ dosbin btrfsck
+ # fsck will segfault if invoked at boot, so do not make this link
+ #dosym btrfsck /sbin/fsck.btrfs
+ #newsbin debug-tree btrfs-debug-tree
+ newsbin mkfs.btrfs mkbtrfs
+ dosym mkbtrfs /sbin/mkfs.btrfs
+ if use acl; then
+ dosbin btrfs-convert
+ else
+ ewarn "Note: btrfs-convert not built/installed (requires acl USE flag)"
+ fi
+
+ into /usr
+ newbin bcp btrfs-bcp
+ newbin show-blocks btrfs-show-blocks
+
+ dodoc INSTALL
+}