summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-12-17 12:44:52 +0100
committerJustin Lecher <jlec@gentoo.org>2015-12-17 12:53:11 +0100
commit98ec217e5858aee561529c03760a18bf20c5485b (patch)
treeb8eff1c83ae72f47bb7d30b8b0a60170b5f4c0a8 /sys-kernel
parentdev-ml/batteries: bump to 2.4.0 (diff)
downloadgentoo-98ec217e5858aee561529c03760a18bf20c5485b.tar.gz
gentoo-98ec217e5858aee561529c03760a18bf20c5485b.tar.bz2
gentoo-98ec217e5858aee561529c03760a18bf20c5485b.zip
sys-kernel/aufs-sources: Bump to latest genpatches and linux release
Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/aufs-sources/Manifest9
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.1.15.ebuild85
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.2.8.ebuild85
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.3.3.ebuild85
4 files changed, 264 insertions, 0 deletions
diff --git a/sys-kernel/aufs-sources/Manifest b/sys-kernel/aufs-sources/Manifest
index 2628a5ba1ec7..1515f33aec3a 100644
--- a/sys-kernel/aufs-sources/Manifest
+++ b/sys-kernel/aufs-sources/Manifest
@@ -32,9 +32,15 @@ DIST genpatches-4.1-17.extras.tar.xz 16176 SHA256 755f880b1683ac915aa36739ee355f
DIST genpatches-4.1-18.base.tar.xz 434312 SHA256 e039e095053deb5b21709c3277ffed00c44a8589bed2e2481f2a74de548ef00c SHA512 599f8e0fd53a59429a5dd8ddf29ff2673827068132c3aca43894a629f007ec58c9ce872b0a39e65c7222b420ef25fa1324d3c60b0c526fea4345c004c55e8b12 WHIRLPOOL dc7322d05e7fd4a10bd149b00510ebb636832571108c7b751b90a3d8bd9dec0af01b29f59ac5e984621d1f6dc085600c919b28e06eb3f1d287c6f3045e585610
DIST genpatches-4.1-18.experimental.tar.xz 61640 SHA256 183ac4b1c8b8fa2b8986ee37920246955f05d8be48c8d59017c3821572d1da7a SHA512 65335da4b6571111248fb6ee035d3be189b4045a9b05d695f21082fae25f4bc071b065bca416c2e99f69ebccbd8d2dded542532edf41299f8e3b662465a78c23 WHIRLPOOL 0ddf13a2c3ea96b73380c95e8f5eac4a77c9936dca1e52828f7aa4c056c4a01b35df12e509239874e0af61ccb6c38ec21f25444eec4a35a609b72bd397218ac6
DIST genpatches-4.1-18.extras.tar.xz 16180 SHA256 6c386d8e019d5ff811aaf2c75c14c819237e94df4f3cd7037e4e04a9660ce5ca SHA512 7e1239796426182271aaefbf3cf0afb14a0864f39cbc2a14105afbe137b347967035fe716d43bb31b75518b598f20c8523262564adef32b14564f60a1f9b3306 WHIRLPOOL 3906fc8c6565ce77c283dd125be18601043d74df0e0c498e9e542dd933d085201b20a4751c52eafa30fbb908baeed820b074e691fc4359f43c53ddc0eac6c401
+DIST genpatches-4.1-19.base.tar.xz 451948 SHA256 65c565a3659b0b1ce639aab4c37a45f1e1a2890d4bc7ca05507fe97a1def3c8f SHA512 595abfe560bf83a1809785f4e3c5885db73fab079cb9117669c1006baffb2657d8d0fb5ef2b2740396bcbd7e7296952fafbf9b665944e0ec6bb6fa300bc2e4e5 WHIRLPOOL 5295d5d7e5202cfd3c94c4e3b43a068aacd640d411a34c4a12098a16c854893f9c2d18969efc7d61e1b5951f376e57f402c70dbf3b85ef679940dce2f1dfc674
+DIST genpatches-4.1-19.experimental.tar.xz 61636 SHA256 bbb7d352123b1e35b9550921ce331d8972b91646ab74c0575e7c14d052eccef6 SHA512 0e71ea82d396da39d9806383972877f0ba1552b62b2972a3ea64e17e1f94ff42bda42cd6fdb91173408dbfb24d6294c52bf0e00b26ef8286c61f1f8d3829b2e9 WHIRLPOOL 0de3d30618c081a1a4fe5745f27ebdce6cf87d1040f7813b02a849942a371ecbd5864a06366c733e2b869ce83acef9c076545435919d63b66fb5b507c10f7d80
+DIST genpatches-4.1-19.extras.tar.xz 16188 SHA256 d88c39902511c8bd0e4b80761bef8d85471f08cdea3b7eec3c7e57e63fb4d33a SHA512 83ed872b30caf21f5cbeac892cf00b7633b2957708aa40d1e92b9c7b47c0e1eb72c8a3fd7c8711de3b1c1f9e39699c8d85df93c6db0165a8e8df6d2380fd5792 WHIRLPOOL 7a2deb7718ec4ecdf44fe4e810c973b6d3bf153a9a244bb5b7b5882212a3134f893460f0665a5c655f7ce73a3e90cfc63c8d2cc5c2a502706b5d35f1884899d3
DIST genpatches-4.2-10.base.tar.xz 248292 SHA256 8eb6bba57faabfba57c4415b145300c9fb7b96e9aebcb0dcde7b18aa447dc725 SHA512 0f449d0bc29102ea25fd695508fe17ce8258c216d454777d642727f2eb2f1042acde47bd52bcfabed296d4fc3d0fe3bcb080e5bde5077b1e0879b1651e7f9ffe WHIRLPOOL 3d07c16cc43de6237d6fee0af2bed8d3dae0c8e688d255a48f54b7b6a293ec9eb9658168120c18226079e1e2ca4ecff30b681ea326dcf9b434b2642c3910e16f
DIST genpatches-4.2-10.experimental.tar.xz 61620 SHA256 e3f6a3d33552281f012456a580cc1e624cb8acdf33f28bc07231319fe3db4dd2 SHA512 d72a6d135b36dbb2e665a537a8d9e31b6fae2cda68aca32532a1e6ea249da88bcbc4b9f853e62ca4f8b58c78a4f242d7fe96ff673f3a881091112a35868f1dff WHIRLPOOL 634df2eefc154eca49e8d15aa286ce79941a4193bba4534dcd6340419993e428351562c7e17e8b19a1c47bd53a9a31485952e035061c8b1b5a5922224cf477dc
DIST genpatches-4.2-10.extras.tar.xz 16180 SHA256 6c386d8e019d5ff811aaf2c75c14c819237e94df4f3cd7037e4e04a9660ce5ca SHA512 7e1239796426182271aaefbf3cf0afb14a0864f39cbc2a14105afbe137b347967035fe716d43bb31b75518b598f20c8523262564adef32b14564f60a1f9b3306 WHIRLPOOL 3906fc8c6565ce77c283dd125be18601043d74df0e0c498e9e542dd933d085201b20a4751c52eafa30fbb908baeed820b074e691fc4359f43c53ddc0eac6c401
+DIST genpatches-4.2-11.base.tar.xz 274904 SHA256 0407b8f542450e6c1a0af439b04b6fdb9668efbfb6a70da08fc08917b543b9a3 SHA512 ec4f0bc1a53ad19329ccd3000968eadfc9411ef890e8a342c5bbbb810ad1a1abdda430354f85d3fa4a158d330023dff3ec9a02f8228720d5a339806eb9374ec4 WHIRLPOOL 375134e742a18d874212a084cb949daddbf2cb833f8480857a1c65897845e6c8cc88761a4f3bf8858081dc5131710ce1bbe2316134888ba970eb0b98f51d3e24
+DIST genpatches-4.2-11.experimental.tar.xz 61620 SHA256 10111c0a06a30d661b90af17c5d50ce1ae533f55e419d253109a4a313c31121b SHA512 ecdb6aa5a53599d427f38915fb6f8955ee0dd9e9b3744de01e5eaa073e890124e6096cde67596dc853877cf39b227c8115605a71c40665d689febb02f6d193c0 WHIRLPOOL 4fcfc1aa68a6d95a3d3a91ed3d6b47308e17c433b95b0cc2bddfdf5e3dd394f5dd089b66145a4f853300cd18a6bce42e166fcec4ca1fd5a15b77724d99379dba
+DIST genpatches-4.2-11.extras.tar.xz 16188 SHA256 d88c39902511c8bd0e4b80761bef8d85471f08cdea3b7eec3c7e57e63fb4d33a SHA512 83ed872b30caf21f5cbeac892cf00b7633b2957708aa40d1e92b9c7b47c0e1eb72c8a3fd7c8711de3b1c1f9e39699c8d85df93c6db0165a8e8df6d2380fd5792 WHIRLPOOL 7a2deb7718ec4ecdf44fe4e810c973b6d3bf153a9a244bb5b7b5882212a3134f893460f0665a5c655f7ce73a3e90cfc63c8d2cc5c2a502706b5d35f1884899d3
DIST genpatches-4.2-7.base.tar.xz 177852 SHA256 7f7528ef582219a6d5aee348b09c8523f7b6d5b80eed2d7c6d0a804dffb11440 SHA512 657a7316aaf139820898f0136f5eb0011d38a439f55257567c70074f65f78ab67b316132fa0cf3a19990c8decc49ebf13ed8b4be4788df66e51dd45ac307da31 WHIRLPOOL a6cb9ab193d124f524e84ec427bcd397cc8ac0327743f8ad69d5b61b2d91c4187eefdcc3c48aacae28f10553fb19eec82a48f988eba22845c658159d9f529d0a
DIST genpatches-4.2-7.experimental.tar.xz 215956 SHA256 be585b9619c5828dca83243f5a3f74c7b5cd7bf775164c89a3eed808665795b5 SHA512 f555c5f870683de39c268ec7b5444340e1eeaadd2b48dc727c4bcc1a06a77643c9d058feb4d41276e0119132ea3c4fd09bb8b3171508fa48cd1a64643cfc6d5d WHIRLPOOL 02860073cf626b8c98e3aaa7df9c7138c8fec8387d58f6781d450c6f671dadf1ca8b329ca8768f9187a155b1fd7dd6a570de75d96973ee42e13e9a6fc0f2762b
DIST genpatches-4.2-7.extras.tar.xz 16180 SHA256 2a280c94254b721cacb423e683593fc800fd645fe54dc568b845cf02887932b9 SHA512 9af37fd4762c658001b2726534c0bbedf033d29a76017ee53d2ded37282bcb709bb4b33864fd0fb69e107955c98cc37cd82cfe0dab1cdff1ea88f68f87aa2ed9 WHIRLPOOL 2c516cdf55f6dcb613e873a69c968c0b2e18f779baf7f12d0bdc77de09c17205819b014772d10dd25bd1cf1feb1fb3397561b520c6b8261649407663095f2e42
@@ -50,6 +56,9 @@ DIST genpatches-4.3-1.extras.tar.xz 16288 SHA256 41cf40be254f6204a0dcfbb0051309b
DIST genpatches-4.3-3.base.tar.xz 42780 SHA256 61d6121205303e840e3eb29a2fc23be269f9aae7e8116012f476bff3d5d1a878 SHA512 be125ba6edd8731a8188478f5e463c2bb282654647b97c6e2190ae6183ebc380c53dd8f7324a5d2d6de207194bd1d9066ae611a40c93d6d74a5067aee37c98ca WHIRLPOOL 7f94a5bea46e661e12d1b0238233e94df6c6889397c7f5823283376f7a0587c41225c6c5d41caf1c04243f12d260cdf2b0aa8a3e8f0d95aae62328f524f3d1d2
DIST genpatches-4.3-3.experimental.tar.xz 61640 SHA256 75f14ed604b7bf6acfe5cda34de34e76a27fe6f858ff45c33211b2086f174b9a SHA512 4f3b82c0fa96c4f27910692faff913d9480923c84658c0a7cad2553bb424da4d4fea7771455fb97942449c1e08a47d1e71faeb808941cc1859a72f6c92161e38 WHIRLPOOL f91c325499e18c516d1e6a950fafbb5782ec0c288009511f82975582c594aba7bb1eadbc63bb2ffc915e1591dc31243b2a3b4a4088ea1e01e0b5dc6381407e8d
DIST genpatches-4.3-3.extras.tar.xz 16284 SHA256 575fdbd65e2c4a607cecd55e5ddb9be421fb9d7e199196b26eb31ea0f8933dfc SHA512 15c2a8bccb48219f925fadf3111066e8ce862fefb755451a1beaef954abedf5629fdc27dc7c66eb20598110b30f5774ed8029826464dadbdd7b3c60cdce573b3 WHIRLPOOL 803bbecf109f122b06807a93efc7efb914853a5675e49d052c7dc1275a1266937593d8ec835fa49699b4cf46078a1e5cdb6efd18b9b7e36c1b240701a986d42f
+DIST genpatches-4.3-4.base.tar.xz 75572 SHA256 c0c073f12a4f1c0adf9d3865fe5d16dc43ea0e5c95c0867868e16e57f2fd6235 SHA512 a16b75f8fcd868d6f9bc2b91318eb8b8ec4db2b622d244e750d4176c4e8225808751c543c54d768fbd88785da656e9f60d8ef8bc22672b5cb1038573c0c366e1 WHIRLPOOL 04c723b71f440035f57684088a47e83430f1c5b057951e037f128f3681f16669eca16f2f1b8d4b7be4a617420131277d1fe415503a679b83a081e06635df46e3
+DIST genpatches-4.3-4.experimental.tar.xz 61592 SHA256 93b8882ba8e67d58f997a9114d5f6d80097aa2773706299899dc38e14d23dda1 SHA512 ecd35bf49aff3afba08eadff0bef4adeac1d2de4e99f27f7fb2d21a55cbc933ea14eb540e77324680b551b9d96f613de7f5882f12efb25aac7109aa92a47713e WHIRLPOOL 259028c079acb258dbef7f36541ad1cce204b4db3058190b00a627e88d48247f4352e0dcd8d46f2106ba292ac740aea3e9d1220e4cb7865cfc6a03d402028370
+DIST genpatches-4.3-4.extras.tar.xz 16292 SHA256 51f02ec53d62389b330e5247a30cc1b84e689f450be6ee6a14f70aa563cac258 SHA512 f1861903f167a85bec8779cdd38d84e1503be4fa417582eb254627a421de32582e81e5983a7e38d371f74175b44685e34f6264cc7f3557b6e021140612afc644 WHIRLPOOL 610c81d7eb45f2152e90c6fdc88fe40a92701e9208bd04127bb54a2ab64ae51ff39f31ae0802efd9fa83b723e467008de2e0d1d93c440d4d3d44834efcd3034b
DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6
DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001
DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.1.15.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.1.15.ebuild
new file mode 100644
index 000000000000..ba037aa4e422
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.1.15.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="19"
+K_DEBLOB_AVAILABLE="0"
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo
+detect_version
+detect_arch
+
+AUFS_VERSION=4.1_p20151116
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="deblob experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_pkg_postinst
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.2.8.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.2.8.ebuild
new file mode 100644
index 000000000000..eed426bc8e55
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.2.8.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="11"
+K_DEBLOB_AVAILABLE="0"
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo
+detect_version
+detect_arch
+
+AUFS_VERSION=4.2_p20151116
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="deblob experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_pkg_postinst
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.3.3.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.3.3.ebuild
new file mode 100644
index 000000000000..f2544214a58b
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.3.3.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="4"
+K_DEBLOB_AVAILABLE="0"
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo
+detect_version
+detect_arch
+
+AUFS_VERSION=4.3_p20151116
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="deblob experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_pkg_postinst
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}