diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2012-10-11 08:35:51 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2012-10-11 08:35:51 +0000 |
commit | 3b2a07057eb5845d8c99399fa0eb8b36a69dbc5d (patch) | |
tree | 65f0264021297f0bac1027612109e3cf551db9d9 /sys-fs/btrfs-progs | |
parent | stable ppc64, bug #433297 (diff) | |
download | gentoo-2-3b2a07057eb5845d8c99399fa0eb8b36a69dbc5d.tar.gz gentoo-2-3b2a07057eb5845d8c99399fa0eb8b36a69dbc5d.tar.bz2 gentoo-2-3b2a07057eb5845d8c99399fa0eb8b36a69dbc5d.zip |
Version bump up to upstream release candidate.
(Portage version: 2.2.0_alpha133_p5/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/btrfs-progs')
-rw-r--r-- | sys-fs/btrfs-progs/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/btrfs-progs/btrfs-progs-0.20_rc1.ebuild | 53 |
2 files changed, 60 insertions, 1 deletions
diff --git a/sys-fs/btrfs-progs/ChangeLog b/sys-fs/btrfs-progs/ChangeLog index dd2af5b3dfa0..2489e4db112f 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-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs-progs/ChangeLog,v 1.51 2012/10/11 08:06:57 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs-progs/ChangeLog,v 1.52 2012/10/11 08:35:51 slyfox Exp $ + +*btrfs-progs-0.20_rc1 (11 Oct 2012) + + 11 Oct 2012; Sergei Trofimovich <slyfox@gentoo.org> + +btrfs-progs-0.20_rc1.ebuild: + Version bump up to upstream release candidate. 11 Oct 2012; Sergei Trofimovich <slyfox@gentoo.org> btrfs-progs-9999.ebuild: Remove sed "s:gcc:$(CC):" and "s:make:$(MAKE):" as patches gone upstream. diff --git a/sys-fs/btrfs-progs/btrfs-progs-0.20_rc1.ebuild b/sys-fs/btrfs-progs/btrfs-progs-0.20_rc1.ebuild new file mode 100644 index 000000000000..d2b5fe658656 --- /dev/null +++ b/sys-fs/btrfs-progs/btrfs-progs-0.20_rc1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 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.20_rc1.ebuild,v 1.1 2012/10/11 08:35:51 slyfox Exp $ + +EAPI=4 + +MY_PV=${PV/_rc/-rc} + +#inherit git-2 toolchain-funcs +inherit toolchain-funcs + +DESCRIPTION="Btrfs filesystem utilities" +HOMEPAGE="https://btrfs.wiki.kernel.org" +# tarballed out of v0.20-rc1 tag in btrfs-progs repo +SRC_URI="http://dev.gentoo.org/~slyfox/${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND="sys-libs/zlib + sys-apps/acl + sys-fs/e2fsprogs" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${MY_PV}" + +#EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git +# https://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git" +#EGIT_COMMIT="89fe5b5f666c247aa3173745fb87c710f3a71a4a" + +src_prepare() { + # upstream didn't bump program version + sed -i -e "s:Btrfs v0\.19:v${MY_PV}:" version.sh || die +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" prefix=/usr bindir=/sbin mandir=/usr/share/man install +} + +pkg_postinst() { + ewarn "WARNING: This version of btrfs-progs corresponds to and should only" + ewarn " be used with the version of btrfs included in the" + ewarn " Linux kernel (2.6.31 and above)." + ewarn "" + ewarn " This version should NOT be used with earlier versions" + ewarn " of the standalone btrfs module!" +} |