summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2019-02-06 18:42:24 +0000
committerJustin Lecher <jlec@gentoo.org>2019-02-06 18:43:29 +0000
commit4ecf79fc323948d53e9f3053230b51dac10c1a0d (patch)
tree1e7edde61dc2b895ae802df3968daf7b8a847051 /sys-kernel
parentdev-lang/php: bump to v7.2.15 (diff)
downloadgentoo-4ecf79fc323948d53e9f3053230b51dac10c1a0d.tar.gz
gentoo-4ecf79fc323948d53e9f3053230b51dac10c1a0d.tar.bz2
gentoo-4ecf79fc323948d53e9f3053230b51dac10c1a0d.zip
sys-kernel/aufs-sources: Bump to latest aufs, genpatches and linux release
Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/aufs-sources/Manifest26
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.20.0.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.20.1.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.20.2.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.20.3.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.20.4.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.20.5.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.20.6.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.20.7.ebuild84
9 files changed, 698 insertions, 0 deletions
diff --git a/sys-kernel/aufs-sources/Manifest b/sys-kernel/aufs-sources/Manifest
index 7d6be2a98bb8..a18aed7b09cc 100644
--- a/sys-kernel/aufs-sources/Manifest
+++ b/sys-kernel/aufs-sources/Manifest
@@ -1,5 +1,6 @@
DIST aufs-sources-4.14.56+_p20181217.tar.xz 185952 BLAKE2B 287a45908e5659ed8eb7a9fe4b250baaa3d35891b9601e6d02f0ab4b74cb7a80cb71e77e01e53d10364f5545318cad8a870edb51ca3bd24d7aa04ee6112b3d8d SHA512 3b9b52fbee9de5b02121b89b23ee0e8cf7ab7223f6d61715ee01502b33773f34dfe230eb4614819b870bc81b0b986625f9281e7a1ed2ee09c7a82ccd270e9e89
DIST aufs-sources-4.19_p20181217.tar.xz 185712 BLAKE2B e5eca7fe564eae80ac6ce556042864d45c43b3eecf7109c930813eceb7eab11615db8ebe237e7c05773021028577fba6f37131c0afef751490834bbf0658fef1 SHA512 55f0788f34dcdfcf01def35e19c98bb020a396d312c0caf650049306d61a4decc4702c48915335c79b0672120efe58bf356985b40d9d110e0c321ff282f75a2b
+DIST aufs-sources-4.20_p20190204.tar.xz 186152 BLAKE2B e8b4cd4ffa192135b9b0282f2a40e60ff0a96967791a6ce96c48e735faa7c2b3b4d8a00cfcc2dcc86e3743d1cb704695da04bd36fd6949f79c8d6cb58e7eb14f SHA512 2c527b5ab426d2f64e572b451d400ac5254e556a15e99df353e23c368bc0602c1ce3cc5cda3ee5c8061c69d1185a8a2bf06620748523b7f00e6c8959b00c90ec
DIST genpatches-4.14-100.base.tar.xz 2365856 BLAKE2B c4a5c4d0ec84ae557c6779069bfe7a846cc86c0c6e9cd9149d7071e17a17abce01d86f348cab7399f488832d3b7a4980922484fb1f41bd3f897f1e700b86ff74 SHA512 65ca3501b7ec4d3c190f19d79f18770815b7010a8211d7cba51da09c58280bf33314987b0fddbab6d191b0cb681428a28212f527b807fd0a2fc8994e56b6e7af
DIST genpatches-4.14-100.experimental.tar.xz 5220 BLAKE2B 8f409ee4127ef0bcade20933fd5bfd4b1bc23135a28cdea676f54bfe7dddfd716142d51984921a9b5cf13422a0a9cb27e616710d12d881e11897a1874f1beb49 SHA512 854e2766ff11f067c8a4ca1318824f63240f0193ad74c3731a499cdc1aa672276fc87b2dfaf7ef0480c5a90d27fb4b3970271546fd9de77e65b38704ebf8f97d
DIST genpatches-4.14-100.extras.tar.xz 17488 BLAKE2B ebed8f0992ea03154bfe052cd235389abe6c0f091f8d431695ec4f33b37b3cdf31fe76f4b04ba182ff0f86fb92a68198a5c9145446dda550dd8b85cd1bf7f7e5 SHA512 78e5c6492139d83b6b048dc1fdc30581ad143afd2176a625ad417097a76572a0f1ebba930d2eb6d13803ab74d5daf843cce4e0a7de6a187ca55ba907a7d2df6a
@@ -36,5 +37,30 @@ DIST genpatches-4.19-19.extras.tar.xz 17484 BLAKE2B e3b57dc25077418b254fdc6eb747
DIST genpatches-4.19-20.base.tar.xz 615520 BLAKE2B f4620dfeb70ec0e406652e71ceffdd878b8fa7f3a6235decf8337572dcbaaeb2521b73b351dd59e93c7fe2e1f40d0dd853d30e157a599eb73115b8b339165623 SHA512 4fc47bac4ff23e0bc4550f8e6019e9b10f288251bc19d48bcba1ee0db1ced2f3788798eb1ee3c0d1e2127e8c48f8611b01f88ee59acb2135e9c848572421d945
DIST genpatches-4.19-20.experimental.tar.xz 5216 BLAKE2B 37f293162cc78f520867a16f0e356a5cb39975d95d5167b06ade5f31a89f3d593c60865abcff54676219fbbf000ca6220b0ea126d758a0a47c9cedd278944742 SHA512 a2a46c9c7a1c88411879705235a1316635642a1ef7d0c15e55e375d8caf0decfac4b57d695d2a1f00ff0693b19c209ea91ae650d8c97c07da1dacf98d7f0c725
DIST genpatches-4.19-20.extras.tar.xz 17484 BLAKE2B eae292de6e308aa4c45a6282b0333a320042fe75cd325eca0257f6e38c2b71639cca24757b9fb40b284a5dc05b0900b4bf85fa111740f662a2e4309f8f5cba9e SHA512 d8cf1e87b9814e1db1c2745a6a16fab46303042d621ed0de7c303d5a416f60e0ccea71106988fbb85cc65e6b6978c2dc0cb67704ca29b7c6aab631637c8d7913
+DIST genpatches-4.20-1.base.tar.xz 4008 BLAKE2B 3d4e9420d01fce23b89d54487abb0dee4082be5df9ae6b1ebdf9b491bcdc73262c08d26e119527d3da1169c24d52236b47fd7b8089eae9bdc0f888e60225a6f3 SHA512 a8d75d79bfdff5a31478a147117e0e2630b42dd50ea3a07a8c7b52de4a768cc191a38a36c323a7ca2288eb64d48b74d862a7f827346944a252762ee9b3f566a8
+DIST genpatches-4.20-1.experimental.tar.xz 5220 BLAKE2B 20417cb43be021ac767c0df7afa1bb4dd421fc08c49e0a5e53b91c431d3b95f0cd100bff92d0f827becf096431661bea2b1648c2465c9e336fa0519e6f3b8eee SHA512 ef91e66de331c25336cdf2f61fd5c78746264ef1e7af04a92d961237563652e7022376e63b3fed7219210f11ca64429f3893b026947f411a6c2642e630f6fda3
+DIST genpatches-4.20-1.extras.tar.xz 3268 BLAKE2B 48dbd360602ab2c7b8f5ac41fcdcdda93477c82d59ac426945aabf1b52868817e77140c289c3f2920b5b39d2d38ed49fcba5d3474203ae5a8a206114af9a8216 SHA512 158cfb239a003e0c8faf57a3919549629850f14ee9f61cccc4a0268d13b228ce4099cc7ba1fbb057eb05c1a9b3cc6315e95f53e23978a81a63f461713d2a76d2
+DIST genpatches-4.20-2.base.tar.xz 57640 BLAKE2B 712df7096f456ae43cd64cbf3ed5d397219485be1d6872fe16cc8bd9bd142cfb4aefa0d0186b6efccfe6f41aa780b2515e47cea1cd717865fc07a81072e69428 SHA512 22512178b63b674f5db66ade1a34de6e00ac02feb8532340def404865b8f1dd075e751c4fa8ac3ce84bc754e5c80778472430183f8dba53c7fe2e47ff630cebf
+DIST genpatches-4.20-2.experimental.tar.xz 5216 BLAKE2B fafb98bf0403056b3dd9b431d104910f0d1f47cf992a05b0fe5d6df51d90db17cb3ea64df92cdb1c1ded15ea1d90daec437135efb22af50b1dd0ddd7ceeb5149 SHA512 23e93a9e5e13c4297a223144c7288b6d8f2487b1d6b68e1cf4167d4ee22ba10b549f21e5f56ff7f5e3a2d7f1f78339c5b6e8a221d579aab9e2d391f9300b9a14
+DIST genpatches-4.20-2.extras.tar.xz 3280 BLAKE2B 812db74905945a9ea8c14c3d1434802e5de6ee24fce423489bed4a3f6007868900760d43607b735d7a9b129498d1c31f590095e69c36cdf464cc8540ca05638e SHA512 8806c6c138cf72d4049e688dadc9d5069219c9834f66169a2073079291e44ffda7c86f4b250632d86e7252d959876b6a31a45c1f2c4bbf996137efd0b69611ee
+DIST genpatches-4.20-3.base.tar.xz 81368 BLAKE2B 353040441b047d9f28e846581ce8ce3076830e0d7891b083cc79f8872423e29f273c036766a6b82aaa8f460a2ddbbeb2a092a02d42782142ead3e60b2ea27161 SHA512 e73c2dac264acd23fe866ec8b755dd96b67fb662876bb2935fcb95abb32103d7ac424eb70c50bbcc2e1adf1b6478cf9bd9087b1142b3b1e5712cdbd7364a996f
+DIST genpatches-4.20-3.experimental.tar.xz 5216 BLAKE2B a349b6cbb7e2d59249911b3039234baf54522fe049b4ff095b253b51afd3360ac367ce016726a73d488f2f9c35d5d9951eec7e5b5e85984c02e2867791e9fccb SHA512 410c5c84001bc594430d10c42171a332bbcfafdccb1ba5891d694d3a556b3e549b746e00722be4fd890addbafdc024e08ce20896791b2606227c50bcd27f85e1
+DIST genpatches-4.20-3.extras.tar.xz 3280 BLAKE2B 99e70b602dfe38ab8c1fe93423b92bacd32996eb5cae270accaa36cd9592dc6efcbe6ddeed239947fec156ffef5a4821c32d7f5838c7e718da5e03055a388aac SHA512 4a124e40937d3983f10159331e9da201fb868c65777a34cc5a6ebe7c37047a66a0f2c9b29c0652154624dfaab14dfc976b4d56f20111a5460d7e028c86e1763a
+DIST genpatches-4.20-4.base.tar.xz 95772 BLAKE2B 3d673526f6023ac879cb6af826e1dec5974ea8d88fa6bcd5b2c4db89a1dcb788e7b2ffd485a3d244a9ec2e23353913ccff0db6776e139aed1f6a034ecdd043af SHA512 944a4d5dc79bbda46463eb72490a4d2d8e6c45a494dd3174109ac04ad61d8aa0983e8f1fcb274a80e99e5d15742c64f138d57a0295553647deba1892bea9245d
+DIST genpatches-4.20-4.experimental.tar.xz 5216 BLAKE2B 4ac6633634a4e01a10d4df063403a4c1e6219ac22bf93c4185346c8626aaf2193c174d1aff4e769a3522af910c57229c9638b49534946d298773eda02b670579 SHA512 a55c22eb3b0228ab483d3805926bc87361fec1546418e0869a3758c4df7cc2b472c04a5fdd90be8d41aae727103a54309133c6d5181cf3fd972eb14bb7c84489
+DIST genpatches-4.20-4.extras.tar.xz 3276 BLAKE2B 52a38645899b74b35005cfe9ccb297b8c9d4e0611c42e06c09d934d04ae4165ac8185cae73a775c295b2c2fab1d38801757bbaa0376b3cbb7b35fc3a80f6cbb2 SHA512 17ab47b2302212ef2763fab43d933c0a16c75df43138d950e5431fc93089a4907b191c475fc1f24fb1711ff365218ba9e5b56469862ea3a0e2998791baf96594
+DIST genpatches-4.20-5.base.tar.xz 127200 BLAKE2B 9193205f7664329527bce907190a27c57860a5dcf78bad85fe32d6179cc5f6bef10c32b7d590345939cb13e58b706af31a5b92fe71e6ed7ec1380b1684c8e5ec SHA512 6a8f4cf3c8698d47269d5a9dc7bba9698eec09c1cdbd3c04a45f9ffd62413af5ad49ea27f828e8db04761b6cfdb511023e770dbeaf277b8e221944842043f567
+DIST genpatches-4.20-5.experimental.tar.xz 5220 BLAKE2B f3fb705b557e1f5a3df3d7a4d883e217f2992d25fc9c5cd12596bf206d684542d81099b1cf4f4613ae45419921347ed1e0127cc59b9961ee69b3ee31d15065f1 SHA512 6414608e1769566715b4d6aa1e737d7053b3613ccbd3335ccdc0d1dccbfa9b703d8d1477ee3226ed285cdf1cdee123d8d714d744eb32172b58124ef06826c773
+DIST genpatches-4.20-5.extras.tar.xz 3280 BLAKE2B 6f6f5cdfaa9c56a5fc58586a8c27f1bb03fb78688eda91d7416c481750dbcc21589738ce1d41c226afab37afb73e46473f12e2494507f3ff5cda449ac018f42c SHA512 29c6e097b7f988990bc8a54307ee245a0637997191e9e827b6a0aec03cf7c803bfd985729fff6ab15a93f3927825e85286279a7e7da892f5557acb17d5f1736d
+DIST genpatches-4.20-6.base.tar.xz 168964 BLAKE2B ad6f2da4b24288c4552183e082db374c55beee20fe2e6e6fe762472ddeda009ef5c85d0dce8beafac3534218ad817c663226d9e6db038ac38433a0ac6c8cc02e SHA512 1233efd5d1325ee6da4f0c78181f7254377d09953da059f26ffac227240f5dd083cea69695e2eba219cbc17f66649922086794474a30368a6ef9bcb92f53182b
+DIST genpatches-4.20-6.experimental.tar.xz 5216 BLAKE2B dc1153af5e5bad993ad95560dc583146fb9f0fc032f88c3eb82d951baac6d4d6719660844e42bf79474ccbdc1ec6c50bf752932b40e205187c8312626fef9702 SHA512 0579f47e5e632af806a223b559086d0c9c5e7ee582ee3dc171a57b8ae9060121cd426cd44cb40caf8fd171a84f629fe434c41e24f29855cddef672d5aff51f61
+DIST genpatches-4.20-6.extras.tar.xz 3280 BLAKE2B 4da3653298bfe1242aa045669aa387dc40cbe67969eca6005187f89963e674ae942551a7a501e174ab3cafec16890a86dffeb86843a66ffb7060714bd8d7280d SHA512 0da990862dd6b641fe8900110c5d396d94b18491c1f9700bc48611cb5878233221e30aad54a1a0c5b12e05cf0132136be07531ac16c082435cc0f8c997b33471
+DIST genpatches-4.20-7.base.tar.xz 206500 BLAKE2B 6c319de96dcafcebaaa1477f4cb3116749d8443e1b2ee50ad502f7693a7f15f398eedc4beb96e0d33d748d6508d63a17fbb1734accec515fec291ee4bb000f92 SHA512 4776b9a193eea2623be4c131e83126b5763b9a7e578585f6f777eeaaa346199414cdb1b1ee0ed5e3f7898e35a3b4303bdd6584e3454db616d299157a3107e57f
+DIST genpatches-4.20-7.experimental.tar.xz 5216 BLAKE2B 1813ee1abee9f62a1e1b75b8cbc9a69815f77b04929e4273d35594283abb76a5c188a9cad5068b1215cf956a81c3b1f05c44d16f13b2486d2ef44f91c067918b SHA512 32d285ab3bf91dee85658c9013a5c00a6ecbfaf6c281eef515275ac5530bf1e75f36aa4b5af87369a0fa6500e30525561e1b475d9fd80f1a04f5292bac8714a3
+DIST genpatches-4.20-7.extras.tar.xz 3276 BLAKE2B 658d34dfa1ec5e3b0d0013c38636f313a4e653d90be00b42f8224790a7e35787b83925101cd25e8154767adb2d7c4272ddda77ac887631407420cf7fb77f5779 SHA512 6c76ed48816b1c94da76d312820f60a12f0a01dea31e5b1dadea0270f297a81d6cd1740672a354a15b88577c708b4ddb94fe0086015242dbc59631ca3fe627d9
+DIST genpatches-4.20-8.base.tar.xz 229496 BLAKE2B bd1a484a5c8cf9aec092b8ad96136c4ee846e11c9d412371243e88cc5076fd0617c129bcad1b47cda568c0225b0f18dc1e1afcab6ec63b148640f8810b08e858 SHA512 3ae66b9e422c470debab6d4dc8ad8f8c4793d51c508017ed34317b1f1126e89f04d592c13abec4f0ff8bc7c7919effd5e02befc2bfad36ed4922ca3f6b5e08d8
+DIST genpatches-4.20-8.experimental.tar.xz 5220 BLAKE2B 27a12b30651f05c8fdc1a758eff4f80280d57bc36f08ff51b879596339fa62d5a7dedc966bdb29726ec30e117cbe12c39bf6270a83f08a820cca9cf23fb8322b SHA512 c9679280d5d7b3aef8e18d85bf594fdd609dbc2be556aca23480ae0309648cc67bc1518cc9b98d03de9b177004191de43430be9528bb82e05fec4580c68a14f9
+DIST genpatches-4.20-8.extras.tar.xz 3276 BLAKE2B 96c059e775385f61b12e7c2ba661ecb6a1700bd7c9fa37b717c1643f301d1de0f84f4efae17ecde327c6c9ccabd787aabed874ef57f3e1be34fbda199975c498 SHA512 5bdede35255ad0be959d51ba8ad7a28df6d827058c2a122aef1f1b0e7afb2a670721105b84e36b16cd104d9b379d00aa4cfd6946fbf7a420693029dd60db3332
DIST linux-4.14.tar.xz 100770500 BLAKE2B 85dc4aa953fe65e273a24473d8de98e4f204f97c43be9fc87cf5be01f796f94cfde5c8f9c84619751f1cac51f83ce0b4681fb19c5f2965a72d4a94fe5577846a SHA512 77e43a02d766c3d73b7e25c4aafb2e931d6b16e870510c22cef0cdb05c3acb7952b8908ebad12b10ef982c6efbe286364b1544586e715cf38390e483927904d8
DIST linux-4.19.tar.xz 103117552 BLAKE2B 1dbf16cf410867412d17568fe42bc1e90c034183b654d270b650621ff7664a321950943d0639205bc1ee7ef6210be170c1f2c785a042ed8a4ec5e3a486d890e0 SHA512 ab67cc746b375a8b135e8b23e35e1d6787930d19b3c26b2679787d62951cbdbc3bb66f8ededeb9b890e5008b2459397f9018f1a6772fdef67780b06a4cb9f6f4
+DIST linux-4.20.tar.xz 104257836 BLAKE2B fb52cad2897da319299486fa8c3b9415cd0aee0842dbf353a5b269720dcb902db407bb55dd95a77b212dcb4a488c15363d561f3649d6bd16885561f2466d90b1 SHA512 e282399beea5da539701aed2bc131abd5bc74a970dcd344163e9d295106dfd700180e672ed546ae5e55bc6b9ac95efd5ca1de2039015c1b7a6fc9c01ea6583d4
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.20.0.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.20.0.ebuild
new file mode 100644
index 000000000000..2f482cad723a
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.20.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=1
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.20_p20190204
+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="experimental module vanilla"
+
+DESCRIPTION="Full sources (incl. 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() {
+ kernel-2_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.20.1.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.20.1.ebuild
new file mode 100644
index 000000000000..471e839b41ba
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.20.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=2
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.20_p20190204
+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="experimental module vanilla"
+
+DESCRIPTION="Full sources (incl. 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() {
+ kernel-2_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.20.2.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.20.2.ebuild
new file mode 100644
index 000000000000..2f0ae3e25c2b
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.20.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=3
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.20_p20190204
+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="experimental module vanilla"
+
+DESCRIPTION="Full sources (incl. 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() {
+ kernel-2_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.20.3.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.20.3.ebuild
new file mode 100644
index 000000000000..dc46fe5e56f0
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.20.3.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=4
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.20_p20190204
+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="experimental module vanilla"
+
+DESCRIPTION="Full sources (incl. 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() {
+ kernel-2_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.20.4.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.20.4.ebuild
new file mode 100644
index 000000000000..06624e6bfa84
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.20.4.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=5
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.20_p20190204
+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="experimental module vanilla"
+
+DESCRIPTION="Full sources (incl. 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() {
+ kernel-2_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.20.5.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.20.5.ebuild
new file mode 100644
index 000000000000..f0fb39a3535c
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.20.5.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=6
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.20_p20190204
+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="experimental module vanilla"
+
+DESCRIPTION="Full sources (incl. 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() {
+ kernel-2_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.20.6.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.20.6.ebuild
new file mode 100644
index 000000000000..92d12384586b
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.20.6.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=7
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.20_p20190204
+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="experimental module vanilla"
+
+DESCRIPTION="Full sources (incl. 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() {
+ kernel-2_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.20.7.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.20.7.ebuild
new file mode 100644
index 000000000000..d85282f00253
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.20.7.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=8
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.20_p20190204
+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="experimental module vanilla"
+
+DESCRIPTION="Full sources (incl. 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() {
+ kernel-2_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
+}