diff options
author | Justin Riley <justin.t.riley@gmail.com> | 2014-06-12 10:37:49 -0400 |
---|---|---|
committer | Justin Riley <justin.t.riley@gmail.com> | 2014-06-12 10:37:49 -0400 |
commit | c8f938df1547888ca76e65912d70c4293f6ee70c (patch) | |
tree | 46352a819c7ce0883190fd4b5f02c53acc73dfed | |
parent | vmware-modules: fix for kernel 3.15.0 (diff) | |
download | jtriley-c8f938df1547888ca76e65912d70c4293f6ee70c.tar.gz jtriley-c8f938df1547888ca76e65912d70c4293f6ee70c.tar.bz2 jtriley-c8f938df1547888ca76e65912d70c4293f6ee70c.zip |
aufs3: fix dodoc error tmpfs-{ibitmap->idr}
-rw-r--r-- | sys-fs/aufs3/ChangeLog | 625 | ||||
-rw-r--r-- | sys-fs/aufs3/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/aufs3/aufs3-3_p20140609.ebuild | 171 | ||||
-rw-r--r-- | sys-fs/aufs3/files/README.gentoo | 20 | ||||
-rw-r--r-- | sys-fs/aufs3/files/pax-3.11.patch | 89 | ||||
-rw-r--r-- | sys-fs/aufs3/files/pax-3.patch | 90 | ||||
-rw-r--r-- | sys-fs/aufs3/metadata.xml | 17 |
7 files changed, 1013 insertions, 0 deletions
diff --git a/sys-fs/aufs3/ChangeLog b/sys-fs/aufs3/ChangeLog new file mode 100644 index 0000000..f680db6 --- /dev/null +++ b/sys-fs/aufs3/ChangeLog @@ -0,0 +1,625 @@ +# ChangeLog for sys-fs/aufs3 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/ChangeLog,v 1.94 2014/06/09 08:01:12 jlec Exp $ + +*aufs3-3_p20140609 (09 Jun 2014) + + 09 Jun 2014; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20140609.ebuild: + Bump to latest aufs3 HEAD + +*aufs3-3_p20140602 (02 Jun 2014) + + 02 Jun 2014; Justin Lecher <jlec@gentoo.org> aufs3-3_p20140526.ebuild, + +aufs3-3_p20140602.ebuild: + Version Bump + +*aufs3-3_p20140526 (26 May 2014) + + 26 May 2014; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20140526.ebuild, + +files/README.gentoo: + Bump to latest aufs3 release, install additional patches + +*aufs3-3_p20140511 (13 May 2014) + + 13 May 2014; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20140511.ebuild: + Version Bump + +*aufs3-3_p20140420 (24 Apr 2014) + + 24 Apr 2014; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20140420.ebuild: + Version Bump + +*aufs3-3_p20140310 (10 Mar 2014) + + 10 Mar 2014; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20140310.ebuild: + Bump to latest aufs3 release + + 06 Mar 2014; Justin Lecher <jlec@gentoo.org> aufs3-3_p20140303.ebuild: + Fix patch source, #499756 + +*aufs3-3_p20140303 (06 Mar 2014) + + 06 Mar 2014; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20140303.ebuild: + Bump to latest aufs3 release + +*aufs3-3_p20140224 (24 Feb 2014) + + 24 Feb 2014; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20140224.ebuild: + Versin Bump + +*aufs3-3_p20140127-r1 (04 Feb 2014) + + 04 Feb 2014; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20140127-r1.ebuild: + Fix patching of latest stable gentoo-sources , #499756 + +*aufs3-3_p20140127 (28 Jan 2014) + + 28 Jan 2014; Justin Lecher <jlec@gentoo.org> -aufs3-3_p20140121.ebuild, + +aufs3-3_p20140127.ebuild: + Set correct release date + +*aufs3-3_p20140121 (27 Jan 2014) + + 27 Jan 2014; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20140121.ebuild: + Bump to latest aufs3 release + +*aufs3-3_p20140119 (20 Jan 2014) + + 20 Jan 2014; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20140119.ebuild: + Bump to latest aufs3 + +*aufs3-3_p20140114 (13 Jan 2014) + + 13 Jan 2014; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20140114.ebuild: + Bump to latest aufs3 release + +*aufs3-3_p20131223 (26 Dec 2013) + + 26 Dec 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20131223.ebuild: + Bump to latest release + +*aufs3-3_p20131111-r1 (19 Nov 2013) +*aufs3-3_p20131104-r1 (19 Nov 2013) + + 19 Nov 2013; Justin Lecher <jlec@gentoo.org> -aufs3-3_p20131104.ebuild, + +aufs3-3_p20131104-r1.ebuild, -aufs3-3_p20131111.ebuild, + +aufs3-3_p20131111-r1.ebuild: + Bump revision away from broken versions + + 19 Nov 2013; Justin Lecher <jlec@gentoo.org> aufs3-3_p20131104.ebuild, + aufs3-3_p20131111.ebuild: + Turned around patch combining, #491554 + + 19 Nov 2013; Justin Lecher <jlec@gentoo.org> aufs3-3_p20131111.ebuild: + Add min supported version check + +*aufs3-3_p20131111 (11 Nov 2013) + + 11 Nov 2013; Justin Lecher <jlec@gentoo.org> aufs3-3_p20131104.ebuild, + +aufs3-3_p20131111.ebuild: + Bump to latest aufs3-release; fix combinedif issue, #490790 + +*aufs3-3_p20131104 (03 Nov 2013) + + 03 Nov 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20131104.ebuild: + Bump to latest aufs release + + 22 Oct 2013; Justin Lecher <jlec@gentoo.org> aufs3-3_p20131007.ebuild, + aufs3-3_p20131014.ebuild, -files/pax-3.8.patch: + Drop broken patch + + 22 Oct 2013; Justin Lecher <jlec@gentoo.org> aufs3-3_p20131007.ebuild, + aufs3-3_p20131014.ebuild, +files/pax-3.8.patch, +files/pax-3.11.patch: + Fix pax patches, #466582 & #488560; thanks Zorzo Luca and Sergey Anufrienko + +*aufs3-3_p20131014 (14 Oct 2013) + + 14 Oct 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20131014.ebuild: + Version BUmp + + 13 Oct 2013; Justin Lecher <jlec@gentoo.org> -aufs3-3_p20130506.ebuild, + -aufs3-3_p20130519.ebuild, -aufs3-3_p20130708.ebuild, + -aufs3-3_p20130722.ebuild, -aufs3-3_p20130811.ebuild, + -aufs3-3_p20130812.ebuild, -aufs3-3_p20130821.ebuild, + -aufs3-3_p20130915.ebuild, -aufs3-3_p20130928.ebuild, + aufs3-3_p20131007.ebuild: + Drop old versions and add notification to aufs-sources + + 08 Oct 2013; Justin Lecher <jlec@gentoo.org> aufs3-3_p20130506.ebuild, + aufs3-3_p20130519.ebuild, aufs3-3_p20130708.ebuild, aufs3-3_p20130722.ebuild, + aufs3-3_p20130811.ebuild, aufs3-3_p20130812.ebuild, aufs3-3_p20130821.ebuild, + aufs3-3_p20130915.ebuild, aufs3-3_p20130928.ebuild, aufs3-3_p20131007.ebuild: + Fix error message to work around the chicken and egg problem, thanks Thomas + D. bringing this to my attention. + +*aufs3-3_p20131007 (08 Oct 2013) + + 08 Oct 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20131007.ebuild: + Bump to latest aufs3 + +*aufs3-3_p20130928 (28 Sep 2013) + + 28 Sep 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130928.ebuild: + Bump to latest aufs3 release + +*aufs3-3_p20130915 (16 Sep 2013) + + 16 Sep 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130915.ebuild: + Bump to latest aufs3 release + +*aufs3-3_p20130821 (21 Aug 2013) + + 21 Aug 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130821.ebuild: + Version Bump + +*aufs3-3_p20130812 (15 Aug 2013) + + 15 Aug 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130812.ebuild: + Bump to latest aufs3 release + +*aufs3-3_p20130811 (11 Aug 2013) + + 11 Aug 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130811.ebuild: + Bump to latest aufs release + +*aufs3-3_p20130722 (22 Jul 2013) + + 22 Jul 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130722.ebuild: + Version Bump + +*aufs3-3_p20130708 (08 Jul 2013) + + 08 Jul 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130708.ebuild: + Bump to latest aufs release + + 25 May 2013; Justin Lecher <jlec@gentoo.org> -aufs3-3_p20121210.ebuild, + -aufs3-3_p20130107.ebuild, -aufs3-3_p20130114.ebuild, + -aufs3-3_p20130207.ebuild, -aufs3-3_p20130306.ebuild, + -aufs3-3_p20130318.ebuild, -aufs3-3_p20130325.ebuild, + -aufs3-3_p20130401.ebuild, -aufs3-3_p20130422.ebuild, + -aufs3-3_p20130429.ebuild, aufs3-3_p20130506.ebuild, + aufs3-3_p20130519.ebuild, -files/aufs3-base-0.patch, + -files/aufs3-standalone-0.patch, -files/3_p20121210/aufs3-base-0.patch, + -files/aufs3-base-1.patch, -files/aufs3-standalone-1.patch, + -files/3_p20121210/aufs3-base-1.patch, -files/aufs3-base-2.patch, + -files/aufs3-standalone-2.patch, -files/pax-2.patch, + -files/3_p20121210/aufs3-base-2.patch, -files/aufs3-base-3.patch, + -files/aufs3-standalone-3.patch, -files/3_p20121210/aufs3-base-3.patch, + -files/aufs3-base-4.patch, -files/aufs3-standalone-4.patch, + -files/3_p20121210/aufs3-base-4.patch, -files/aufs3-base-5.patch, + -files/aufs3-standalone-5.patch, -files/3_p20121210/aufs3-base-5.patch, + -files/aufs3-standalone-6.patch, -files/aufs-util-31.patch, + -files/aufs3-base-x-rcN.patch, -files/aufs3-standalone-x-rcN.patch, + -files/aufs3-base-6.patch, -files/3_p20121210/aufs3-base-6.patch, + -files/3_p20121210/aufs3-base-x-rcN.patch, + -files/aufs3-fix-export-__devcgroup_inode_permission.patch, + -files/3_p20121210/aufs3-standalone-0.patch, + -files/3_p20121210/aufs3-standalone-1.patch, + -files/3_p20121210/aufs3-standalone-2.patch, + -files/3_p20121210/aufs3-standalone-3.patch, + -files/3_p20121210/aufs3-standalone-4.patch, + -files/3_p20121210/aufs3-standalone-5.patch, + -files/3_p20121210/aufs3-standalone-6.patch, + -files/3_p20121210/aufs3-standalone-x-rcN.patch, + -files/3_p20130107/aufs3-base-0.patch, -files/3_p20130107/aufs3-base-1.patch, + -files/3_p20130107/aufs3-base-2.patch, -files/3_p20130107/aufs3-base-3.patch, + -files/3_p20130107/aufs3-base-4.patch, -files/3_p20130107/aufs3-base-5.patch, + -files/3_p20130107/aufs3-base-6.patch, -files/3_p20130107/aufs3-base-7.patch, + -files/3_p20130107/aufs3-base-x-rcN.patch, + -files/3_p20130107/aufs3-standalone-0.patch, + -files/3_p20130107/aufs3-standalone-1.patch, + -files/3_p20130107/aufs3-standalone-2.patch, + -files/3_p20130107/aufs3-standalone-3.patch, + -files/3_p20130107/aufs3-standalone-4.patch, + -files/3_p20130107/aufs3-standalone-5.patch, + -files/3_p20130107/aufs3-standalone-6.patch, + -files/3_p20130107/aufs3-standalone-7.patch, + -files/3_p20130107/aufs3-standalone-x-rcN.patch, -files/parallel.patch, + -files/pax.patch: + Drop old, reintroduce the CONFIG_EXPERIMENTAL check conditionally + + 25 May 2013; Justin Lecher <jlec@gentoo.org> aufs3-3_p20130519.ebuild: + Drop CONFIG_EXPERIMENTAL check which isn't present anymore for linux-3.9 + +*aufs3-3_p20130519 (20 May 2013) + + 20 May 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130519.ebuild: + Bump to latest aufs3 release + +*aufs3-3_p20130506 (09 May 2013) + + 09 May 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130506.ebuild: + Bump to latest aufs release + +*aufs3-3_p20130429 (01 May 2013) + + 01 May 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130429.ebuild, + +files/pax-3.patch: + Version Bump, take latest pax patch from pentoo, thanks Zero_Chaos for it + +*aufs3-3_p20130422 (27 Apr 2013) + + 27 Apr 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130422.ebuild: + Bump to latest aufs3 release + +*aufs3-3_p20130401 (02 Apr 2013) + + 02 Apr 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130401.ebuild: + Version Bump + +*aufs3-3_p20130325 (30 Mar 2013) + + 30 Mar 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130325.ebuild: + Version BUmp + + 21 Mar 2013; Justin Lecher <jlec@gentoo.org> aufs3-3_p20130318.ebuild: + Fix kernel patching, thanks likewhoa for the patch + +*aufs3-3_p20130318 (15 Mar 2013) + + 15 Mar 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130318.ebuild: + Version Bump + +*aufs3-3_p20130306 (07 Mar 2013) + + 07 Mar 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130306.ebuild: + Version Bump + +*aufs3-3_p20130207 (07 Feb 2013) + + 07 Feb 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130207.ebuild: + Version BUmp + + 31 Jan 2013; Justin Lecher <jlec@gentoo.org> -aufs3-3_p20120813-r1.ebuild: + Drop old + + 30 Jan 2013; Agostino Sarubbo <ago@gentoo.org> aufs3-3_p20121210.ebuild: + Stable for x86, wrt bug #451988 + + 16 Jan 2013; Justin Lecher <jlec@gentoo.org> aufs3-3_p20121210.ebuild, + aufs3-3_p20130107.ebuild, aufs3-3_p20130114.ebuild: + Include suggestion made by Chema Alonso (nimiux), #451988 + + 16 Jan 2013; Chema Alonso <nimiux@gentoo.org> aufs3-3_p20121210.ebuild: + Marked stable for amd64 wrt bug #451988 + +*aufs3-3_p20130114 (14 Jan 2013) + + 14 Jan 2013; Justin Lecher <jlec@gentoo.org> + -files/3_p20121112/aufs3-base-0.patch, -files/3_p20121112/aufs3-base-1.patch, + -files/3_p20121112/aufs3-base-2.patch, -aufs3-3_p20121015.ebuild, + -aufs3-3_p20121015-r1.ebuild, -aufs3-3_p20121112.ebuild, + -aufs3-3_p20121129.ebuild, +aufs3-3_p20130114.ebuild, + -files/3_p20121112/aufs3-base-3.patch, -files/3_p20121112/aufs3-base-4.patch, + -files/3_p20121112/aufs3-base-5.patch, -files/3_p20121112/aufs3-base-6.patch, + -files/3_p20121112/aufs3-base-x-rcN.patch, + -files/3_p20121112/aufs3-standalone-0.patch, + -files/3_p20121112/aufs3-standalone-1.patch, + -files/3_p20121112/aufs3-standalone-2.patch, + -files/3_p20121112/aufs3-standalone-3.patch, + -files/3_p20121112/aufs3-standalone-4.patch, + -files/3_p20121112/aufs3-standalone-5.patch, + -files/3_p20121112/aufs3-standalone-6.patch, + -files/3_p20121112/aufs3-standalone-x-rcN.patch, + -files/3_p20121129/aufs3-base-0.patch, -files/3_p20121129/aufs3-base-1.patch, + -files/3_p20121129/aufs3-base-2.patch, -files/3_p20121129/aufs3-base-3.patch, + -files/3_p20121129/aufs3-base-4.patch, -files/3_p20121129/aufs3-base-5.patch, + -files/3_p20121129/aufs3-base-6.patch, + -files/3_p20121129/aufs3-base-x-rcN.patch, + -files/3_p20121129/aufs3-standalone-0.patch, + -files/3_p20121129/aufs3-standalone-1.patch, + -files/3_p20121129/aufs3-standalone-2.patch, + -files/3_p20121129/aufs3-standalone-3.patch, + -files/3_p20121129/aufs3-standalone-4.patch, + -files/3_p20121129/aufs3-standalone-5.patch, + -files/3_p20121129/aufs3-standalone-6.patch, + -files/3_p20121129/aufs3-standalone-x-rcN.patch: + Drop old and refactor patching procedure to reduce size of FILESDIR, #450800 + and reliability, #368385 & #451970 + + 12 Jan 2013; Justin Lecher <jlec@gentoo.org> aufs3-3_p20130107.ebuild: + Fix header file location for <linux-3.7, #451384 + + 09 Jan 2013; Justin Lecher <jlec@gentoo.org> aufs3-3_p20130107.ebuild: + Fix for now location of header file, #450810 + +*aufs3-3_p20130107 (07 Jan 2013) + + 07 Jan 2013; Justin Lecher <jlec@gentoo.org> + +files/3_p20130107/aufs3-base-0.patch, +files/3_p20130107/aufs3-base-1.patch, + +files/3_p20130107/aufs3-base-2.patch, +files/3_p20130107/aufs3-base-3.patch, + +files/3_p20130107/aufs3-base-4.patch, +files/3_p20130107/aufs3-base-5.patch, + +files/3_p20130107/aufs3-base-6.patch, +files/3_p20130107/aufs3-base-7.patch, + +files/3_p20130107/aufs3-base-x-rcN.patch, + +files/3_p20130107/aufs3-standalone-0.patch, + +files/3_p20130107/aufs3-standalone-1.patch, + +files/3_p20130107/aufs3-standalone-2.patch, + +files/3_p20130107/aufs3-standalone-3.patch, + +files/3_p20130107/aufs3-standalone-4.patch, + +files/3_p20130107/aufs3-standalone-5.patch, + +files/3_p20130107/aufs3-standalone-6.patch, + +files/3_p20130107/aufs3-standalone-7.patch, + +files/3_p20130107/aufs3-standalone-x-rcN.patch, +aufs3-3_p20130107.ebuild: + Version Bump + + 17 Dec 2012; Justin Lecher <jlec@gentoo.org> -aufs3-3_p20120430.ebuild: + Drop old + + 16 Dec 2012; Agostino Sarubbo <ago@gentoo.org> aufs3-3_p20120813-r1.ebuild: + Stable for x86, wrt bug #444846 + + 13 Dec 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20121210.ebuild, + metadata.xml: + Linux-3.7 is not supported yet + +*aufs3-3_p20121210 (10 Dec 2012) + + 10 Dec 2012; Justin Lecher <jlec@gentoo.org> + +files/3_p20121210/aufs3-base-0.patch, + +files/3_p20121210/aufs3-standalone-0.patch, + +files/3_p20121210/aufs3-base-1.patch, + +files/3_p20121210/aufs3-standalone-1.patch, + +files/3_p20121210/aufs3-base-2.patch, + +files/3_p20121210/aufs3-standalone-2.patch, +aufs3-3_p20121210.ebuild, + +files/3_p20121210/aufs3-base-3.patch, + +files/3_p20121210/aufs3-standalone-3.patch, + +files/3_p20121210/aufs3-base-4.patch, + +files/3_p20121210/aufs3-standalone-4.patch, + +files/3_p20121210/aufs3-base-x-rcN.patch, + +files/3_p20121210/aufs3-base-5.patch, + +files/3_p20121210/aufs3-standalone-x-rcN.patch, + +files/3_p20121210/aufs3-standalone-5.patch, + +files/3_p20121210/aufs3-base-6.patch, + +files/3_p20121210/aufs3-standalone-6.patch: + Version BUmp + + 05 Dec 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20121129.ebuild: + Check for PAX when using USE=pax_kernel, #445272 + + 04 Dec 2012; <ago@gentoo.org> aufs3-3_p20120813-r1.ebuild: + Stable for amd64, wrt bug #444846 + + 30 Nov 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20121129.ebuild: + Fix new offset, thanks Iván for the patch + +*aufs3-3_p20121129 (29 Nov 2012) + + 29 Nov 2012; Justin Lecher <jlec@gentoo.org> + +files/3_p20121129/aufs3-base-0.patch, + +files/3_p20121129/aufs3-standalone-0.patch, + +files/3_p20121129/aufs3-base-1.patch, + +files/3_p20121129/aufs3-standalone-1.patch, + +files/3_p20121129/aufs3-base-2.patch, + +files/3_p20121129/aufs3-standalone-2.patch, +aufs3-3_p20121129.ebuild, + +files/3_p20121129/aufs3-base-3.patch, + +files/3_p20121129/aufs3-standalone-3.patch, + +files/3_p20121129/aufs3-base-4.patch, + +files/3_p20121129/aufs3-standalone-4.patch, + +files/3_p20121129/aufs3-base-x-rcN.patch, + +files/3_p20121129/aufs3-base-5.patch, + +files/3_p20121129/aufs3-standalone-x-rcN.patch, + +files/3_p20121129/aufs3-standalone-5.patch, + +files/3_p20121129/aufs3-base-6.patch, + +files/3_p20121129/aufs3-standalone-6.patch: + Version BUmp + + 26 Nov 2012; Justin Lecher <jlec@gentoo.org> -aufs3-3_p20120109.ebuild, + aufs3-3_p20120430.ebuild, -aufs3-3_p20120523.ebuild, + -aufs3-3_p20120531.ebuild, -aufs3-3_p20120619.ebuild, + -aufs3-3_p20120730.ebuild, -aufs3-3_p20120813.ebuild, + aufs3-3_p20120813-r1.ebuild, aufs3-3_p20121015.ebuild, + aufs3-3_p20121015-r1.ebuild, aufs3-3_p20121112.ebuild: + Dropped old; block AUFS_FS kernel option + + 21 Nov 2012; Agostino Sarubbo <ago@gentoo.org> aufs3-3_p20120430.ebuild: + Stable for x86, wrt bug #422879 + + 14 Nov 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20121015-r1.ebuild, + aufs3-3_p20121112.ebuild: + Do not apply the old hardened patch + +*aufs3-3_p20121112 (12 Nov 2012) + + 12 Nov 2012; Justin Lecher <jlec@gentoo.org> + +files/3_p20121112/aufs3-base-0.patch, +files/3_p20121112/aufs3-base-1.patch, + +files/3_p20121112/aufs3-standalone-1.patch, + +files/3_p20121112/aufs3-base-2.patch, + +files/3_p20121112/aufs3-standalone-2.patch, + +files/3_p20121112/aufs3-base-3.patch, + +files/3_p20121112/aufs3-standalone-3.patch, + +files/3_p20121112/aufs3-base-4.patch, + +files/3_p20121112/aufs3-standalone-4.patch, + +files/3_p20121112/aufs3-base-5.patch, + +files/3_p20121112/aufs3-standalone-5.patch, + +files/3_p20121112/aufs3-base-x-rcN.patch, + +files/3_p20121112/aufs3-standalone-x-rcN.patch, + +files/3_p20121112/aufs3-standalone-0.patch, +aufs3-3_p20121112.ebuild, + +files/3_p20121112/aufs3-base-6.patch, + +files/3_p20121112/aufs3-standalone-6.patch, metadata.xml: + Version Bump; correct kernel-patch USE description; drop tommy as maintainer + +*aufs3-3_p20121015-r1 (25 Oct 2012) + + 25 Oct 2012; Justin Lecher <jlec@gentoo.org> +files/pax-2.patch, + +aufs3-3_p20121015-r1.ebuild: + Add Arch linux patch for hardened kernels, #393559 + + 18 Oct 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20120813-r1.ebuild, + aufs3-3_p20121015.ebuild: + Change las KV_DIR to KV_OUT_DIR + + 18 Oct 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20120813-r1.ebuild, + aufs3-3_p20121015.ebuild: + Merge changes related bugs 432346 432392 432398 into newest version + +*aufs3-3_p20121015 (15 Oct 2012) + + 15 Oct 2012; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20121015.ebuild, + files/aufs3-standalone-x-rcN.patch, +files/aufs3-base-6.patch, + +files/aufs3-standalone-6.patch, files/aufs3-base-x-rcN.patch: + Version Bump + + 08 Oct 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20120813-r1.ebuild: + Fix compilation if USE=-nfs, #432392 + + 07 Oct 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20120813.ebuild: + Pass raw ldflags if ld is called directly, #432398; use KV_OUT_DIR instead of + KV_DIR, #432346 thanks Dennis Schride for the patches + +*aufs3-3_p20120813-r1 (07 Oct 2012) + + 07 Oct 2012; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20120813-r1.ebuild: + Included patch to make the package compatible with non x86 & amd64 arches, + #432392 + +*aufs3-3_p20120813 (13 Aug 2012) + + 13 Aug 2012; Justin Lecher <jlec@gentoo.org> files/aufs3-base-x-rcN.patch, + files/aufs3-standalone-x-rcN.patch, +aufs3-3_p20120813.ebuild: + Version Bump + +*aufs3-3_p20120730 (30 Jul 2012) + + 30 Jul 2012; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20120730.ebuild, + files/aufs3-standalone-x-rcN.patch, +files/aufs3-base-5.patch, + +files/aufs3-standalone-5.patch, files/aufs3-base-x-rcN.patch: + Version Bump + + 22 Jun 2012; Agostino Sarubbo <ago@gentoo.org> aufs3-3_p20120430.ebuild: + Stable for amd64, wrt bug #422879 + +*aufs3-3_p20120619 (19 Jun 2012) + + 19 Jun 2012; Justin Lecher <jlec@gentoo.org> files/aufs3-base-x-rcN.patch, + files/aufs3-standalone-x-rcN.patch, +aufs3-3_p20120619.ebuild: + Version BUmp + +*aufs3-3_p20120531 (31 May 2012) + + 31 May 2012; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20120531.ebuild: + Version Bump, add comments on version handling + + 24 May 2012; Mike Frysinger <vapier@gentoo.org> aufs3-3_p20120109.ebuild, + aufs3-3_p20120430.ebuild, aufs3-3_p20120523.ebuild: + Inherit eutils for epatch. + + 23 May 2012; Justin Lecher <jlec@gentoo.org> +files/aufs3-base-4.patch, + +files/aufs3-standalone-4.patch: + Add missing patches + +*aufs3-3_p20120523 (23 May 2012) + + 23 May 2012; Justin Lecher <jlec@gentoo.org> -aufs3-3_p20110815.ebuild, + -aufs3-3_p20111031.ebuild, -aufs3-3_p20111114.ebuild, + -aufs3-3_p20111205-r1.ebuild, -aufs3-3_p20120319.ebuild, + -aufs3-3_p20120329.ebuild, -aufs3-3_p20120402.ebuild, + +aufs3-3_p20120523.ebuild: + Version Bump, drop old + +*aufs3-3_p20120526 (23 May 2012) + + 23 May 2012; Justin Lecher <jlec@gentoo.org> -aufs3-3_p20110815.ebuild, + -aufs3-3_p20111031.ebuild, -aufs3-3_p20111114.ebuild, + -aufs3-3_p20111205-r1.ebuild, -aufs3-3_p20120319.ebuild, + -aufs3-3_p20120329.ebuild, -aufs3-3_p20120402.ebuild, + +aufs3-3_p20120526.ebuild: + Version Bump, drop old + + 22 May 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20120430.ebuild: + dodoc doesn't follow symlinks, so install the file directly + + 05 May 2012; Markus Meier <maekke@gentoo.org> aufs3-3_p20120109.ebuild: + x86 stable, bug #407991 + +*aufs3-3_p20120430 (30 Apr 2012) + + 30 Apr 2012; Justin Lecher <jlec@gentoo.org> files/aufs3-base-x-rcN.patch, + files/aufs3-standalone-x-rcN.patch, +aufs3-3_p20120430.ebuild: + Version Bump + + 28 Apr 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20120402.ebuild, + +files/parallel.patch: + Allow parallel build, patch sent upstream + + 23 Apr 2012; Agostino Sarubbo <ago@gentoo.org> aufs3-3_p20120109.ebuild: + Stable for amd64, wrt bug #407991 + +*aufs3-3_p20120402 (02 Apr 2012) + + 02 Apr 2012; Justin Lecher <jlec@gentoo.org> files/aufs3-base-x-rcN.patch, + files/aufs3-standalone-x-rcN.patch, +aufs3-3_p20120402.ebuild: + Version BUmp + +*aufs3-3_p20120329 (29 Mar 2012) + + 29 Mar 2012; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20120329.ebuild, + +files/aufs3-base-3.patch, +files/aufs3-standalone-3.patch: + Version Bump, #408181 + +*aufs3-3_p20120319 (19 Mar 2012) + + 19 Mar 2012; Justin Lecher <jlec@gentoo.org> files/aufs3-base-x-rcN.patch, + files/aufs3-standalone-x-rcN.patch, +aufs3-3_p20120319.ebuild: + Version Bump + +*aufs3-3_p20120109 (09 Jan 2012) + + 09 Jan 2012; Justin Lecher <jlec@gentoo.org> files/aufs3-standalone-0.patch, + +files/aufs3-base-2.patch, +files/aufs3-standalone-2.patch, + +aufs3-3_p20120109.ebuild: + Version Bump + +*aufs3-3_p20111205-r1 (08 Jan 2012) + + 08 Jan 2012; Justin Lecher <jlec@gentoo.org> -aufs3-3_p20111205.ebuild, + +aufs3-3_p20111205-r1.ebuild: + Restructure patching, #398139 + +*aufs3-3_p20111205 (05 Jan 2012) + + 05 Jan 2012; Justin Lecher <jlec@gentoo.org> +files/aufs3-base-x-rcN.patch, + +files/aufs3-fix-export-__devcgroup_inode_permission.patch, + +files/aufs3-standalone-x-rcN.patch, +aufs3-3_p20111205.ebuild: + Version Bump + +*aufs3-3_p20111114 (14 Nov 2011) + + 14 Nov 2011; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20111114.ebuild: + Version Bump + +*aufs3-3_p20111031 (31 Oct 2011) + + 31 Oct 2011; Justin Lecher <jlec@gentoo.org> files/aufs3-standalone-0.patch, + +files/aufs3-base-1.patch, +files/aufs3-standalone-1.patch, + +aufs3-3_p20111031.ebuild, +files/aufs-util-31.patch: + Version Bump + + 28 Aug 2011; Justin Lecher <jlec@gentoo.org> +files/aufs3-base-0.patch, + +files/aufs3-standalone-0.patch, +aufs3-3_p20110815.ebuild, +files/pax.patch, + +metadata.xml: + Moved to tree, fixes bug 376175 + + 27 Aug 2011; Justin Lecher <jlec@gentoo.org> aufs3-3_p20110815.ebuild: + Make CONFIG check for EXPORTFS matadory for USE=nfs + + 19 Aug 2011; Justin Lecher <jlec@gentoo.org> files/aufs3-standalone-0.patch, + -files/aufs3-base-1.patch, -files/aufs3-standalone-1.patch, + aufs3-3_p20110815.ebuild: + Cleaned some USE=doc problems + + 18 Aug 2011; Justin Lecher <jlec@gentoo.org> aufs3-3_p20110815.ebuild: + Corrected to new kernel versioning scheme + + 16 Aug 2011; Justin Lecher <jlec@gentoo.org> files/aufs3-standalone-1.patch: + Fix missing upstream export of symbols + + 15 Aug 2011; Justin Lecher <jlec@gentoo.org> aufs3-3_p20110815.ebuild, + metadata.xml: + Changed USE hardened to pax_kernel, #375811 + +*aufs3-3_p20110815 (15 Aug 2011) + + 15 Aug 2011; Justin Lecher <jlec@gentoo.org> +files/aufs3-base-0.patch, + +files/aufs3-standalone-0.patch, +files/aufs3-base-1.patch, + +files/aufs3-standalone-1.patch, +aufs3-3_p20110815.ebuild, +metadata.xml: + Initial commit diff --git a/sys-fs/aufs3/Manifest b/sys-fs/aufs3/Manifest new file mode 100644 index 0000000..113d83b --- /dev/null +++ b/sys-fs/aufs3/Manifest @@ -0,0 +1 @@ +DIST aufs3-standalone-3_p20140609.tar.xz 1837512 SHA256 b54796e6fd79bcf2a51444cc93177cc379b6fae4c957eb315981091ac999dbc3 SHA512 772acb13208bd9d70504bfae3fc3263fd67ff1707340e60bc8c22d621c13a2167de9462e9adf0ab77b18ddaf98e69e16793e5de572d42f96fad0d658881fe796 WHIRLPOOL f807f40e092e4fab18ebd54b39d548128d898da67a541df2c106561d7ed8b647e12259a1bebaad5781755898b385304dc76e3973fedd975adec6436f2e58a3b8 diff --git a/sys-fs/aufs3/aufs3-3_p20140609.ebuild b/sys-fs/aufs3/aufs3-3_p20140609.ebuild new file mode 100644 index 0000000..0c43098 --- /dev/null +++ b/sys-fs/aufs3/aufs3-3_p20140609.ebuild @@ -0,0 +1,171 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/aufs3-3_p20140609.ebuild,v 1.1 2014/06/09 08:01:12 jlec Exp $ + +EAPI=5 + +inherit eutils flag-o-matic linux-info linux-mod multilib readme.gentoo toolchain-funcs + +AUFS_VERSION="${PV%%_p*}" +# highest branch version +PATCH_MAX_VER=14 +# highest supported version +KERN_MAX_VER=15 +# lowest supported version +KERN_MIN_VER=10 + +DESCRIPTION="An entirely re-designed and re-implemented Unionfs" +HOMEPAGE="http://aufs.sourceforge.net/" +SRC_URI="http://dev.gentoo.org/~jlec/distfiles/aufs3-standalone-${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc fuse hfs inotify kernel-patch nfs pax_kernel ramfs" + +DEPEND=" + dev-util/patchutils + dev-vcs/git" +RDEPEND=" + sys-fs/aufs-util + !sys-fs/aufs + !sys-fs/aufs2" + +S="${WORKDIR}"/${PN}-standalone + +MODULE_NAMES="aufs(misc:${S})" + +pkg_setup() { + CONFIG_CHECK+=" !AUFS_FS" + use inotify && CONFIG_CHECK+=" ~FSNOTIFY" + use nfs && CONFIG_CHECK+=" EXPORTFS" + use fuse && CONFIG_CHECK+=" ~FUSE_FS" + use hfs && CONFIG_CHECK+=" ~HFSPLUS_FS" + use pax_kernel && CONFIG_CHECK+=" PAX" && ERROR_PAX="Please use hardened sources" + + # this is needed so merging a binpkg ${PN} is possible w/out a kernel unpacked on the system + [ -n "$PKG_SETUP_HAS_BEEN_RAN" ] && return + + get_version + kernel_is lt 3 ${KERN_MIN_VER} 0 && die "the kernel version isn't supported by upstream anymore. Please upgrade." + kernel_is gt 3 ${KERN_MAX_VER} 99 && die "kernel too new" + + linux-mod_pkg_setup + + if [[ "${KV_MINOR}" -gt "${PATCH_MAX_VER}" ]]; then + PATCH_BRANCH="x-rcN" + elif [[ "${KV_MINOR}" == "10" ]] && [[ "${KV_PATCH}" -ge "28" ]]; then + PATCH_BRANCH="${KV_MINOR}".x + elif [[ "${KV_MINOR}" == "12" ]]; then + PATCH_BRANCH="${KV_MINOR}".x + else + PATCH_BRANCH="${KV_MINOR}" + fi + + case ${KV_EXTRA} in + "") + elog "It seems you are using vanilla-sources with aufs3" + elog "Please use sys-kernel/aufs-sources with USE=vanilla" + elog "This will save you the nasty reemerge of sys-fs/aufs3 on every kernel upgrade" + ;; + "-gentoo") + elog "It seems you are using gentoo-sources with aufs3" + elog "Please use sys-kernel/aufs-sources" + elog "This will save you the nasty reemerge of sys-fs/aufs3 on every kernel upgrade" + ;; + esac + + pushd "${T}" &> /dev/null + unpack ${A} + cd ${PN}-standalone || die + local module_branch=origin/${PN}.${PATCH_BRANCH} + einfo "Using ${module_branch} as patch source" + git checkout -q -b local-${PN}.${PATCH_BRANCH} ${module_branch} || die + combinediff ${PN}-base.patch ${PN}-standalone.patch > "${T}"/combined-1.patch + combinediff "${T}"/combined-1.patch ${PN}-mmap.patch > ${PN}-standalone-base-mmap-combined.patch + if ! ( patch -p1 --dry-run --force -R -d ${KV_DIR} < ${PN}-standalone-base-mmap-combined.patch > /dev/null ); then + if use kernel-patch; then + cd ${KV_DIR} + ewarn "Patching your kernel..." + patch --no-backup-if-mismatch --force -p1 -R -d ${KV_DIR} < "${T}"/${PN}-standalone/${PN}-standalone-base-mmap-combined.patch >/dev/null + epatch "${T}"/${PN}-standalone/${PN}-standalone-base-mmap-combined.patch + ewarn "You need to compile your kernel with the applied patch" + ewarn "to be able to load and use the aufs kernel module" + else + eerror "You need to apply a patch to your kernel to compile and run the ${PN} module" + eerror "Either enable the kernel-patch useflag to do it with this ebuild" + eerror "or apply "${T}"/${PN}-standalone/${PN}-standalone-base-mmap-combined.patch by hand" + die "missing kernel patch, please apply it first" + fi + fi + popd &> /dev/null + export PKG_SETUP_HAS_BEEN_RAN=1 +} + +set_config() { + for option in $*; do + grep -q "^CONFIG_AUFS_${option} =" config.mk || die "${option} is not a valid config option" + sed "/^CONFIG_AUFS_${option}/s:=:= y:g" -i config.mk || die + done +} + +src_prepare() { + local module_branch=origin/${PN}.${PATCH_BRANCH} + + einfo "Using for module creation branch ${module_branch}" + git checkout -q -b local-gentoo ${module_branch} || die + + # All config options to off + sed "s:= y:=:g" -i config.mk || die + + set_config RDU BRANCH_MAX_127 SBILIST + + use debug && set_config DEBUG + use fuse && set_config BR_FUSE POLL + use hfs && set_config BR_HFSPLUS + use inotify && set_config HNOTIFY HFSNOTIFY + use nfs && set_config EXPORT + use nfs && ( use amd64 || use ppc64 ) && set_config INO_T_64 + use ramfs && set_config BR_RAMFS + + if use pax_kernel; then + if kernel_is ge 3 11; then + epatch "${FILESDIR}"/pax-3.11.patch + else + epatch "${FILESDIR}"/pax-3.patch + fi + fi + + sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile || die +} + +src_compile() { + local ARCH=x86 + + emake \ + CC=$(tc-getCC) \ + LD=$(tc-getLD) \ + LDFLAGS="$(raw-ldflags)" \ + ARCH=$(tc-arch-kernel) \ + CONFIG_AUFS_FS=m \ + KDIR="${KV_OUT_DIR}" +} + +src_install() { + linux-mod_src_install + + insinto /usr/share/doc/${PF} + + use doc && doins -r Documentation + + use kernel-patch || doins "${T}"/${PN}-standalone/${PN}-standalone-base-mmap-combined.patch + + dodoc Documentation/filesystems/aufs/README "${T}"/${PN}-standalone/{aufs3-loopback,vfs-ino,tmpfs-idr}.patch + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_pkg_postinst + linux-mod_pkg_postinst +} diff --git a/sys-fs/aufs3/files/README.gentoo b/sys-fs/aufs3/files/README.gentoo new file mode 100644 index 0000000..c203912 --- /dev/null +++ b/sys-fs/aufs3/files/README.gentoo @@ -0,0 +1,20 @@ +There several other patches in aufs3. They are all +optional. When you meet some problems, they will help you. You can find them +in the documentation directory. + + - aufs3-loopback.patch + Supports a nested loopback mount in a branch-fs. This patch is + unnecessary until aufs produces a message such like "you may want to try + another patch for loopback file". + + - vfs-ino.patch + Modifies a system global kernel internal function get_next_ino() in + order to stop assigning 0 for an inode-number. Not directly related to + aufs, but recommended generally. + + - tmpfs-ibitmap.patch + Keeps the tmpfs inode number as the lowest value. Effective to reduce + the size of aufs XINO files for tmpfs branch. Also it prevents the + duplication of inode number, which is important for backup + tools, aubrsync or other utilities. When you find aufs XINO files for + tmpfs branch growing too much, try this patch. diff --git a/sys-fs/aufs3/files/pax-3.11.patch b/sys-fs/aufs3/files/pax-3.11.patch new file mode 100644 index 0000000..cf216a5 --- /dev/null +++ b/sys-fs/aufs3/files/pax-3.11.patch @@ -0,0 +1,89 @@ +--- a/fs/aufs/dynop.c 2012-10-09 15:41:32.652989534 -0400 ++++ b/fs/aufs/dynop.c 2012-10-09 15:41:58.562989820 -0400 +@@ -149,9 +149,11 @@ + #define DySet(func, dst, src, h_op, h_sb) do { \ + DyDbgInc(cnt); \ + if (h_op->func) { \ +- if (src.func) \ +- dst.func = src.func; \ +- else \ ++ if (src.func) { \ ++ pax_open_kernel(); \ ++ *(void **)&dst.func = src.func; \ ++ pax_close_kernel(); \ ++ } else \ + AuDbg("%s %s\n", au_sbtype(h_sb), #func); \ + } \ + } while (0) +@@ -159,7 +161,9 @@ + #define DySetForce(func, dst, src) do { \ + AuDebugOn(!src.func); \ + DyDbgInc(cnt); \ +- dst.func = src.func; \ ++ pax_open_kernel(); \ ++ *(void **)&dst.func = src.func; \ ++ pax_close_kernel(); \ + } while (0) + + #define DySetAop(func) \ +@@ -266,15 +270,17 @@ + */ + static void dy_adx(struct au_dyaop *dyaop, int do_dx) + { ++ pax_open_kernel(); + if (!do_dx) { +- dyaop->da_op.direct_IO = NULL; +- dyaop->da_op.get_xip_mem = NULL; ++ *(void **)&dyaop->da_op.direct_IO = NULL; ++ *(void **)&dyaop->da_op.get_xip_mem = NULL; + } else { +- dyaop->da_op.direct_IO = aufs_aop.direct_IO; +- dyaop->da_op.get_xip_mem = aufs_aop.get_xip_mem; ++ *(void **)&dyaop->da_op.direct_IO = aufs_aop.direct_IO; ++ *(void **)&dyaop->da_op.get_xip_mem = aufs_aop.get_xip_mem; + if (!dyaop->da_get_xip_mem) +- dyaop->da_op.get_xip_mem = NULL; ++ *(void **)&dyaop->da_op.get_xip_mem = NULL; + } ++ pax_close_kernel(); + } + + static struct au_dyaop *dy_aget(struct au_branch *br, +--- a/fs/aufs/f_op_sp.c 2012-10-09 15:41:32.652989534 -0400 ++++ b/fs/aufs/f_op_sp.c 2012-10-09 15:41:58.562989820 -0400 +@@ -104,7 +104,7 @@ + static int aufs_open_sp(struct inode *inode, struct file *file); + static struct au_sp_fop { + int done; +- struct file_operations fop; /* not 'const' */ ++ file_operations_no_const fop; /* not 'const' */ + spinlock_t spin; + } au_sp_fop[AuSp_Last] = { + [AuSp_FIFO] = { +@@ -157,8 +157,10 @@ + h_file = au_hf_top(file); + spin_lock(&p->spin); + if (!p->done) { +- p->fop = *h_file->f_op; ++ pax_open_kernel(); ++ memcpy((void *)&p->fop, h_file->f_op, sizeof(p->fop)); + p->fop.owner = THIS_MODULE; ++ pax_close_kernel(); + if (p->fop.aio_read) + p->fop.aio_read = aufs_aio_read_sp; + if (p->fop.aio_write) +--- a/fs/aufs/sysfs.c 2013-10-20 17:08:37.000000000 -0400 ++++ b/fs/aufs/sysfs.c 2013-10-19 17:08:29.000000000 -0400 +@@ -233,8 +233,10 @@ + for (i = 0; i < ARRAY_SIZE(br->br_sysfs); i++) { + attr = &br_sysfs->attr; + sysfs_attr_init(attr); +- attr->name = br_sysfs->name; +- attr->mode = S_IRUGO; ++ pax_open_kernel(); ++ *(void **)&attr->name = br_sysfs->name; ++ *(void **)&attr->mode = S_IRUGO; ++ pax_close_kernel(); + br_sysfs++; + } + } diff --git a/sys-fs/aufs3/files/pax-3.patch b/sys-fs/aufs3/files/pax-3.patch new file mode 100644 index 0000000..584fa6a --- /dev/null +++ b/sys-fs/aufs3/files/pax-3.patch @@ -0,0 +1,90 @@ +--- a/fs/aufs/dynop.c 2012-10-09 15:41:32.652989534 -0400 ++++ b/fs/aufs/dynop.c 2012-10-09 15:41:58.562989820 -0400 +@@ -149,9 +149,11 @@ + #define DySet(func, dst, src, h_op, h_sb) do { \ + DyDbgInc(cnt); \ + if (h_op->func) { \ +- if (src.func) \ +- dst.func = src.func; \ +- else \ ++ if (src.func) { \ ++ pax_open_kernel(); \ ++ *(void **)&dst.func = src.func; \ ++ pax_close_kernel(); \ ++ } else \ + AuDbg("%s %s\n", au_sbtype(h_sb), #func); \ + } \ + } while (0) +@@ -159,7 +161,9 @@ + #define DySetForce(func, dst, src) do { \ + AuDebugOn(!src.func); \ + DyDbgInc(cnt); \ +- dst.func = src.func; \ ++ pax_open_kernel(); \ ++ *(void **)&dst.func = src.func; \ ++ pax_close_kernel(); \ + } while (0) + + #define DySetAop(func) \ +@@ -266,15 +270,17 @@ + */ + static void dy_adx(struct au_dyaop *dyaop, int do_dx) + { ++ pax_open_kernel(); + if (!do_dx) { +- dyaop->da_op.direct_IO = NULL; +- dyaop->da_op.get_xip_mem = NULL; ++ *(void **)&dyaop->da_op.direct_IO = NULL; ++ *(void **)&dyaop->da_op.get_xip_mem = NULL; + } else { +- dyaop->da_op.direct_IO = aufs_aop.direct_IO; +- dyaop->da_op.get_xip_mem = aufs_aop.get_xip_mem; ++ *(void **)&dyaop->da_op.direct_IO = aufs_aop.direct_IO; ++ *(void **)&dyaop->da_op.get_xip_mem = aufs_aop.get_xip_mem; + if (!dyaop->da_get_xip_mem) +- dyaop->da_op.get_xip_mem = NULL; ++ *(void **)&dyaop->da_op.get_xip_mem = NULL; + } ++ pax_close_kernel(); + } + + static struct au_dyaop *dy_aget(struct au_branch *br, +--- a/fs/aufs/f_op_sp.c 2012-10-09 15:41:32.652989534 -0400 ++++ b/fs/aufs/f_op_sp.c 2012-10-09 15:41:58.562989820 -0400 +@@ -104,7 +104,7 @@ + static int aufs_open_sp(struct inode *inode, struct file *file); + static struct au_sp_fop { + int done; +- struct file_operations fop; /* not 'const' */ ++ file_operations_no_const fop; /* not 'const' */ + spinlock_t spin; + } au_sp_fop[AuSp_Last] = { + [AuSp_FIFO] = { +@@ -157,8 +157,10 @@ + h_file = au_hf_top(file); + spin_lock(&p->spin); + if (!p->done) { +- p->fop = *h_file->f_op; ++ pax_open_kernel(); ++ memcpy((void *)&p->fop, h_file->f_op, sizeof(p->fop)); + p->fop.owner = THIS_MODULE; ++ pax_close_kernel(); + if (p->fop.aio_read) + p->fop.aio_read = aufs_aio_read_sp; + if (p->fop.aio_write) +diff -Naur linux-3.8.3-pentoo/fs/aufs/sysfs.c linux-3.8.3-pentoo-aufsfix/fs/aufs/sysfs.c +--- linux-3.8.3-pentoo/fs/aufs/sysfs.c 2013-04-29 00:07:50.478827567 -0400 ++++ linux-3.8.3-pentoo-aufsfix/fs/aufs/sysfs.c 2013-04-28 23:46:23.724793109 -0400 +@@ -208,8 +208,10 @@ + struct attribute *attr = &br->br_attr; + + sysfs_attr_init(attr); +- attr->name = br->br_name; +- attr->mode = S_IRUGO; ++ pax_open_kernel(); ++ *(void **)&attr->name = br->br_name; ++ *(void **)&attr->mode = S_IRUGO; ++ pax_close_kernel(); + } + + void sysaufs_brs_del(struct super_block *sb, aufs_bindex_t bindex) diff --git a/sys-fs/aufs3/metadata.xml b/sys-fs/aufs3/metadata.xml new file mode 100644 index 0000000..078f041 --- /dev/null +++ b/sys-fs/aufs3/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>jlec@gentoo.org</email> + </maintainer> + <use> + <flag name="debug">Enable additional debugging support</flag> + <flag name="hfs">Enable hfs support</flag> + <flag name="fuse">Enable fuse support</flag> + <flag name="inotify">Enable inotify support</flag> + <flag name="kernel-patch">Patch the current kernel for aufs3 support</flag> + <flag name="nfs">Enable support for nfs export</flag> + <flag name="pax_kernel">Apply patch needed for pax enabled kernels</flag> + <flag name="ramfs">Enable initramfs/rootfs support</flag> + </use> +</pkgmetadata> |