public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-fs/aufs2: metadata.xml ChangeLog aufs2-0_p20090601.ebuild
@ 2009-06-05 17:20 Thomas Sachau (tommy)
  0 siblings, 0 replies; only message in thread
From: Thomas Sachau (tommy) @ 2009-06-05 17:20 UTC (permalink / raw
  To: gentoo-commits

tommy       09/06/05 17:20:53

  Modified:             metadata.xml ChangeLog
  Added:                aufs2-0_p20090601.ebuild
  Log:
  Bump to latest git version, add ramfs support for bug 272418
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  sys-fs/aufs2/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/aufs2/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/aufs2/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/aufs2/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/aufs2/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml	12 May 2009 17:36:00 -0000	1.1
+++ metadata.xml	5 Jun 2009 17:20:53 -0000	1.2
@@ -6,7 +6,8 @@
 		<email>tommy@gentoo.org</email>
 	</maintainer>
 	<use>
-		<flag name='hinotify'>Enable hinotify support</flag>
 		<flag name='debug'>Enable additional debugging support</flag>
+		<flag name='hinotify'>Enable hinotify support</flag>
+		<flag name='ramfs'>Enable initramfs/rootfs support</flag>
 	</use>
 </pkgmetadata>



1.3                  sys-fs/aufs2/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/aufs2/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/aufs2/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/aufs2/ChangeLog?r1=1.2&r2=1.3

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/aufs2/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog	24 May 2009 18:30:08 -0000	1.2
+++ ChangeLog	5 Jun 2009 17:20:53 -0000	1.3
@@ -1,6 +1,13 @@
 # ChangeLog for sys-fs/aufs2
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs2/ChangeLog,v 1.2 2009/05/24 18:30:08 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs2/ChangeLog,v 1.3 2009/06/05 17:20:53 tommy Exp $
+
+*aufs2-0_p20090601 (05 Jun 2009)
+
+  05 Jun 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+  files/aufs2-standalone-29.patch, files/aufs2-standalone.patch,
+  +aufs2-0_p20090601.ebuild, metadata.xml:
+  Bump to latest git version
 
   24 May 2009; Markus Meier <maekke@gentoo.org> aufs2-0_p20090504.ebuild:
   add ~x86, bug #270036



1.1                  sys-fs/aufs2/aufs2-0_p20090601.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/aufs2/aufs2-0_p20090601.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/aufs2/aufs2-0_p20090601.ebuild?rev=1.1&content-type=text/plain

Index: aufs2-0_p20090601.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs2/aufs2-0_p20090601.ebuild,v 1.1 2009/06/05 17:20:53 tommy Exp $

EGIT_REPO_URI="http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git"

inherit git linux-mod toolchain-funcs

DESCRIPTION="An entirely re-designed and re-implemented Unionfs"
HOMEPAGE="http://aufs.sourceforge.net"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug hinotify ramfs"

DEPEND=""
RDEPEND="!sys-fs/aufs"

MODULE_NAMES="aufs(misc:${S})"

pkg_setup() {
	get_version
	if ! grep -qs "EXPORT_SYMBOL(deny_write_access);" ${KV_DIR}/fs/namei.c; then
		ewarn "Patching your kernel..."
		cd ${KV_DIR}
		if kernel_is eq 2 6 27; then
			epatch "${FILESDIR}"/aufs2-standalone.patch
		elif kernel_is eq 2 6 28; then
			epatch "${FILESDIR}"/aufs2-standalone.patch
		elif kernel_is eq 2 6 29; then
			epatch "${FILESDIR}"/aufs2-standalone-29.patch
		else
			die "no supported kernel found"
		fi
		elog "You need to compile your kernel with the applied patch"
		elog "to be able to load and use the aufs kernel module"
	fi

	linux-mod_pkg_setup
}
src_unpack() {
	if kernel_is eq 2 6 27; then
		EGIT_BRANCH="aufs2-27"
		EGIT_TREE="8e8d6394f50d9cfdc434766ea2434018788ca111"
	elif kernel_is eq 2 6 28; then
		EGIT_BRANCH="aufs2-28"
		EGIT_TREE="78e9abebac8f283dd4f113f392a9943a7b212b0e"
	elif kernel_is eq 2 6 29; then
		EGIT_BRANCH="aufs2-29"
		EGIT_TREE="d2db0dbfac69b5a04df5a78a454a2c9b8c658aa6"
	else
		die "no supported kernel found"
	fi
	git_src_unpack
	cd "${S}"

	use debug || sed -i "s:DEBUG = y:DEBUG =:g" config.mk
	use hinotify && sed -i  "s:HINOTIFY =:HINOTIFY = y:g" config.mk
	use ramfs && sed -i  "s:RAMFS =:RAMFS = y:g" config.mk

	EGIT_REPO_URI="http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git"
	EGIT_TREE="8d4217be37b74732afa80bc6e6519bd9df7ea1af"
	EGIT_PROJECT="aufs2-utils"
	EGIT_BRANCH=""
	local S=${S}-utils
	git_src_unpack
	cd "${S}"
	sed -i "/LDFLAGS += -static -s/d" Makefile
}

src_compile() {
	ARCH=i386
	use amd64 && ARCH=x86_64
	emake CC=$(tc-getCC) CONFIG_AUFS_FS=m KDIR=${KV_DIR} || die
	cd "${S}"-utils
	emake CC=$(tc-getCC) AR=$(tc-getAR) KDIR=${KV_DIR} C_INCLUDE_PATH="${S}"/include || die
}

src_install() {
	linux-mod_src_install
	dodoc README || die
	docinto design
	dodoc design/*.txt || die
	cd "${S}"-utils
	emake DESTDIR="${D}" install || die
	docinto
	newdoc README README-utils || die
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-05 17:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-05 17:20 [gentoo-commits] gentoo-x86 commit in sys-fs/aufs2: metadata.xml ChangeLog aufs2-0_p20090601.ebuild Thomas Sachau (tommy)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox