summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-12-09 21:32:17 +0100
committerJustin Lecher <jlec@gentoo.org>2016-12-09 21:40:58 +0100
commit86d701cd59df81de0dd83b32e5e83140b62cdedd (patch)
tree7ac950ec5b4fe176da86d55d908259e320af76cd /sys-kernel/aufs-sources
parentapp-text/docbook-xsl-stylesheets: mark 1.79.0 m68k/s390/sh stable (diff)
downloadgentoo-86d701cd59df81de0dd83b32e5e83140b62cdedd.tar.gz
gentoo-86d701cd59df81de0dd83b32e5e83140b62cdedd.tar.bz2
gentoo-86d701cd59df81de0dd83b32e5e83140b62cdedd.zip
sys-kernel/aufs-sources: Bump to latest genpatches and linux release
Package-Manager: portage-2.3.3 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sys-kernel/aufs-sources')
-rw-r--r--sys-kernel/aufs-sources/Manifest9
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-3.18.45-r1.ebuild85
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.4.37.ebuild86
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.8.13.ebuild86
4 files changed, 266 insertions, 0 deletions
diff --git a/sys-kernel/aufs-sources/Manifest b/sys-kernel/aufs-sources/Manifest
index 6e8b2f834a29..c375c0272846 100644
--- a/sys-kernel/aufs-sources/Manifest
+++ b/sys-kernel/aufs-sources/Manifest
@@ -7,6 +7,9 @@ DIST genpatches-3.18-43.extras.tar.xz 16176 SHA256 5c2df2453a5d742d5b47758cc0959
DIST genpatches-3.18-44.base.tar.xz 1128740 SHA256 bdee2b3c2421ba678a62322dcb8aca2af52b3af2969a75889fa04160c1b53634 SHA512 291e30ce58cee0013b83dc5e4f6584697c730855855e267508ba3cfd94c0944b7e316845fea004ba7a1754f2b1a3992ac152f0bb898926af5fa081d0d5e71b06 WHIRLPOOL 5023d9251463e725d8b4ff9d4480a8083890c7671fd1f501497504134e9778667a489b2368430349396327fc4a7943aab47f42964bb5247173108e0607f73285
DIST genpatches-3.18-44.experimental.tar.xz 61728 SHA256 69ebc4cbc6773c2d7d543db96fcdfcfe83f36c9253d2fe96e4db05372c062a40 SHA512 383d34e50f42a4883c922d3803d0a90496db69d38853ee29ddfee75162e7d646a3762d0125d2ccee7fc7de0fbd8f35a410ecab14df4ceaf2f472647459b2c7c8 WHIRLPOOL 8075283ff021afd649949857ad3163ebf9a228d400b2a0268ced31027bea00a38aaef3b402df6c3ae0aaa85941b72276b0865132c7f37f8faabb90d72bfedc56
DIST genpatches-3.18-44.extras.tar.xz 16408 SHA256 5523eceda179a96c8a8704dd175ed3500498ca7f5610ce0244903b63ec841792 SHA512 b3214e103cad6f442cb2c11f894dd82e89b0184675fd464c2e0dc6a5d71766e40fce1ab6bccfe53cce8b3085235dbf65bf2b29f231cecc96ad9781adb3eb6cd4 WHIRLPOOL 196f5992deea32bd12c2a3ebc67324259d130887be1fc87ce2ba4f593158043cb4c245d19f19fa9817b2c7ab6b84f453169c2438a6e64852ce1c9c1f749f8ff3
+DIST genpatches-3.18-45.base.tar.xz 1129464 SHA256 70795d777e2076e75a8826f6e85dac7c701cbf5f151c9ce11c5cbef2d95f7e0a SHA512 f78e275519eaf98946b7bee7e0f806c2b2c0983d22ec0502e39e0147a35b0829c716a11ff296ab0fd634a64163678a9b1a76017805e413ba820e42b36e7cc4db WHIRLPOOL 15e44fec693874c2657960c2564f7945c880b18c431d68d935ba3f065f751adec2604bfe5eeaa852fff5f4c527e3bd83fb88fab6a064e7a513906a4673c406f5
+DIST genpatches-3.18-45.experimental.tar.xz 61732 SHA256 b4b67f6f20c4a71ad97c0791445c744cd5fbcac0c274acc8ae1a323e5255de2d SHA512 1ad62d4f1ff57a24bb0e3737560ec3a7bcb3a4de07d64fdf3de17bbe23a82acb31c823ad92282e0b2d32eca5ed424cf4b99b86ac20130d88c91e3e41478e23fd WHIRLPOOL 135f6c5125f28b60ed6aad97441143933f74b7d09c75748133836ba5fc9190f832351b1d39ee9850dfd17805494a0c3442b3c0a7bba52a4f88dda4de9112c7f0
+DIST genpatches-3.18-45.extras.tar.xz 16404 SHA256 501bffca23a82219e96af8ab29e2f23acfebf0f5be78a22419585a2a6e00180c SHA512 3951bbe832b9cd848c43d17e65e79891f30ef05b51bd6e64c202f9b6f713619c448fa91ec2d79ce5f842883aa2f91c804feb8276e51fe61d7bb57552326dd919 WHIRLPOOL 57299f70f0b712a50ce767b4afde213afc603b284588ddf412aabf8a101f661001c848f6d00be704b0f97756e08bb9bb7470380df4a33ea932d5f99b7b5b591a
DIST genpatches-4.4-28.base.tar.xz 784432 SHA256 40b5a66857a5a0d8707782c642218e551f0dba2c1e3bd138c2b10a40f49d8440 SHA512 eaea6e6d3ad25360d07bbed3882a77d49d2a53e369fad754b691d28be72dfc7b44a22a04017986048689b5805e9013dd66a27a3dbb063d5ca4af366b9fa71e7d WHIRLPOOL d0bbbe004052c047c4090befa1488d864ebef32b76699aba7e34035cc3debc8d13e106b8abd19c4605aa04b06c6b8d4d28f9c86b804ae354d250b4641a57acd6
DIST genpatches-4.4-28.experimental.tar.xz 87788 SHA256 14bf426c45e1f680b3ef6e7fa67fb9046cb72da64b4b36d9736cefce6e979282 SHA512 4e53cfcc0faedcf3040cd31f1291388f1fb4d50873b1bdd4cb376e52ac608855f608ae9b5849e717632266bfa096d5117515ff2e0ca8e608a06cd97b1717710f WHIRLPOOL b02da5f954e588bd6144f89820ff449469b05629ca3992c6fff505b312bf9ef5bcd2d8db2a97922801db7fa2ec52f6d4f376bd29a49378f0cf8391fddac38bae
DIST genpatches-4.4-28.extras.tar.xz 16360 SHA256 6c1331851468c372e7f9ea2c456b458e2842aec4752d67817be2a9305df27fc8 SHA512 ca7b353f31e0b0460c78420b26ca8d82ae04f0efe5a395097471bd30d16744ba39e6e1e53ae857e2d4d1773a2ee30c9ce80ae855fc0d33c1d2c93e8ff5b35a66 WHIRLPOOL 16a92ff57cb514bd5b5942b293d290eb631bbeec7bfc13905dedbde83c1abe18050374c6217706d17a4b20dbc0d9f399b4fe10c304c14fefa460cdd95c920e6d
@@ -25,9 +28,15 @@ DIST genpatches-4.4-39.extras.tar.xz 16420 SHA256 a1ea4470421a41f0020f226b90af23
DIST genpatches-4.4-40.base.tar.xz 900384 SHA256 37e46efeff392dc9e60529bcb5968d41509f7584c2452837c1aeefce8aec433e SHA512 630979a3e8366025327961d8b83d7558f57dc8646de1dbeada48bf746a32c238827a9038861d72a7747ae78aa1eb5739ca2d87245ae2528e17dc57295e9b4dec WHIRLPOOL 2a1082442dde035407d918fff833ec0585d600490d700049951cb6c50eae543369549aeafaf159c69bfc1789b965f3a43cb1920747ba8dafbe45ff36e0e7e856
DIST genpatches-4.4-40.experimental.tar.xz 87796 SHA256 88cc5074b3365417f97e319fbfe7bf3b4dc0af2cd7ba7041a09c13b1799f51a0 SHA512 f050858eb451258002a56fa2ca5e659724505a32aae5a8f7f0aed80dfbbcc681ac9e08eaf20dc963782e64d77938d255472a97a9a14d9682aca824b4ca6d66ed WHIRLPOOL 0c7e385760c343d4e00249874c32fda40970d3c79bd4120efd01b54a2ddfee429f00a14a64b7e91eab4d861b984b126c5b8ef7ba903e944fdca1ee64a54b412a
DIST genpatches-4.4-40.extras.tar.xz 16420 SHA256 e8d9995830a65146198ab957a95b3d5397155b56150884ebe8897a7a1dc2b072 SHA512 0212316ca623b87ed9c3154107ea246e452709cd48572882af7be0ff776cf3aa978521ee4c7c82e62d4d3cef5412bae4f90def577b841f61fac529a317aa8106 WHIRLPOOL 6b9188a4007020125e5bce136273b1e9262ae8f863905fc08e7ac3a1b41848de11b54dd6426c3babd8e670997bc1c0aed8073800bb04ef5fa4242e350d2b0572
+DIST genpatches-4.4-41.base.tar.xz 903076 SHA256 2fc1ec72c69851617430b023ee34e709e3381d35b9e9d8a304f82497fa9b122b SHA512 756cb5f4dd790338219d753721805b178838088cf9fb283971b0de17f3f25e5503cdde3c7f12d6dc9ffaffcb6280335c7bee16027adca8a95ffb63482575c6b6 WHIRLPOOL d662282e974f1fca142b85518df2018fb6572df6f642600eb7136f02dcc77acb3b2e519387c8979a3ae55cd05a9f09f04dfb5739186ebccb42d33e3b64492982
+DIST genpatches-4.4-41.experimental.tar.xz 87756 SHA256 7e0a05f5392ea0a0a773ba6a213099fb5e5e7f160d0e97e5efbef75949634edf SHA512 bc4f6c73042af681216df63ec45163cefa59cbd2a7c856d0eb5432e4d4b8c274fb2459004c900ff401e90c691cb299c20a0a136766eaa7155dd9af8f9ba28c7a WHIRLPOOL 910d1607f6b588433e50a6645e7d947b73a5f92f9fc1ce8d3c4335d59f9b7009a1048475da411ea8613d1614cf2aecd447fa160cce4a0d8c54544444ee746381
+DIST genpatches-4.4-41.extras.tar.xz 16420 SHA256 3bb432cefdaf61a4777e2fecea0e668605c6cdbdba723fdf396953c5beb94ef8 SHA512 de4ea7d47034a32ad3e3013d23d841d2112719016e6789b1b4d2821098b0adb8ddf9b97e53c3b605bcffa1bed9c2ad86decd022813f20a6d60bd06f469019993 WHIRLPOOL be0df2881d58d62d2d11bfc1387b0bab69565a82b19e52aec7d9c3dd3f1919c0555ba70e6cac8b7100e949797216a875cec6075e5cc334d4322a28d539722ab4
DIST genpatches-4.8-14.base.tar.xz 248780 SHA256 abe559e7a15d2bb125811ef28d455baca07092b6af93943803e1079f4d4f6fbc SHA512 4a30f10dcadb47cd02e4f4992ef7f7d221872e03c254751320bd9977bfc59eb27321a02cec6dae1bacebe734adb3d04d022ea019c30f75b943f65f9c0dd49ea3 WHIRLPOOL 77bd42de19550647fbe6c22804a0dd71455f006055dc8c7f5fcc9257e4052b42293a3933dc71400bea198db50656747176777d94c40ef3926100075fbdc6d383
DIST genpatches-4.8-14.experimental.tar.xz 92004 SHA256 0e574fd254afead4ba164f40fec008f069f78f94100cb04f44b5a313906e8ecb SHA512 fac626c3c4387ab9121de9b10b5fc8753991a326c773d243bc2f7d8c4833d83864458036d3adeed6cf7f7f3d0fb846cdbff707d55d216fe5232e5c842ecdad36 WHIRLPOOL 26c0c1e9a6a840e32d533c7eb4492679f5452ec36b8fbae043b0f7888af71386bb5863c2dc46e299e6f8a54c2cd5d451cd4c71945d6bd185403c11f838ad8d83
DIST genpatches-4.8-14.extras.tar.xz 17308 SHA256 c64cdd104354fa9d5cac6fcb543c164433cc5abc2f5d85b868bd60464213c83b SHA512 0befc3771ec97707673b94a9183d8969a9f82dd7ec89629ea62dc6d21b023239358ac31cf96f1ef09ae329cde68db45170156d8caaaa29facccbe290521c3601 WHIRLPOOL 61cc5e3d5e69d02716507e10800f41742c8f1de744a8b9e9d2308692890b98292ef31487e0152e1ff24848f81504e5b60a98f89c840bd1a76ca049c487c0bab6
+DIST genpatches-4.8-15.base.tar.xz 256616 SHA256 8e2b0088ccc69454f516d7b2ab8799367c1a58f8966ec047c1376e80d82733bd SHA512 22ac9ce0565b2c8a8559cbb88aa42a2a6f6b470e8ce5d55c409b1fcb802e293e21e93dc8b4903033b87867913e833188d204962b4439000af7ea3af438ef1b85 WHIRLPOOL cf99a52d2e9158ba2d47704bff500c5c806afe723dbe7f4ad1aee8132c95760c2d70a95890a9ede777364971943bc02ce4bca194d010ee488020a53b23a194d9
+DIST genpatches-4.8-15.experimental.tar.xz 91972 SHA256 eb971ac227b0849b7839df5ea30745284cae242010b5a7fce7af675f6b371bb7 SHA512 3a5aed0e619ceff2b3363fcf08c331924508abbb2eabd6a05f32e1cdb681116ec3f5e27bdbec7b11ac83a45583f671f2d58f54f98161f4b9c6393392dd6f8d9e WHIRLPOOL 5ec4d9982c85632f30fea693ed7a3d65fce408ccd80bc8815b78a76a915152c30ee9b48338f4b15019fad4f54d983f6578f316dd28be9d562a4abebb89b613a3
+DIST genpatches-4.8-15.extras.tar.xz 17316 SHA256 c760ecc18f8ddab5d6bc71edea58e1bcf0c6b1be6f448ccb5f572c2e02234961 SHA512 6f5e51d921c340f2ee6dad1141f5d01f7d1517dda11197510ab2ee2cf64ac0358ad0ddbd5ce8935885086a4580df4de6e908ecf2f73998fa388b59a71bea0c02 WHIRLPOOL 1a8399cfd39b38553cf6e26b3e6112c7dcbc2a9189eff724fa931f5ae634fc321860d9cd344936fda584753407ebab7018d597790ad93775dbfe5799d7e31ecc
DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6
DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc
DIST linux-4.8.tar.xz 91966856 SHA256 3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a SHA512 a48a065f21e1c7c4de4cf8ca47b8b8d9a70f86b64e7cfa6e01be490f78895745b9c8790734b1d22182cf1f930fb87eaaa84e62ec8cc1f64ac4be9b949e7c0358 WHIRLPOOL 3888c8c07db0c069f827245d4d7306087f78f7d03e8240eb1fcd13622cd5dbe1c17cd8ed7dc11513f77f3efd5dbd84e2b48e82bdb9b9bfd2242fd62ae32812d5
diff --git a/sys-kernel/aufs-sources/aufs-sources-3.18.45-r1.ebuild b/sys-kernel/aufs-sources/aufs-sources-3.18.45-r1.ebuild
new file mode 100644
index 000000000000..a87b8c1fbc5a
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-3.18.45-r1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2016 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=45
+K_DEBLOB_AVAILABLE="0"
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=3.18.25+_p20160822
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs3-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 linux kernel tree and aufs3 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-3*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ 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}"/aufs3-kbuild.patch
+ "${WORKDIR}"/aufs3-base.patch
+ "${WORKDIR}"/aufs3-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs3-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs3 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}"/{aufs3-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs3-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_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.4.37.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.37.ebuild
new file mode 100644
index 000000000000..50c829b86a50
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.4.37.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2016 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=41
+K_DEBLOB_AVAILABLE="0"
+K_KDBUS_AVAILABLE="0"
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.4_p20161010
+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 linux 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() {
+ detect_version
+ detect_arch
+ 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_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.8.13.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.8.13.ebuild
new file mode 100644
index 000000000000..cccb6986194b
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.8.13.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2016 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=15
+K_DEBLOB_AVAILABLE="0"
+K_KDBUS_AVAILABLE="0"
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.8_p20161010
+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 linux 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() {
+ detect_version
+ detect_arch
+ 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_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}