sys-kernel/aufs-sources: Bump to latest genpatches and linux release
authorJustin Lecher <jlec@gentoo.org>
Sat, 6 Jan 2018 09:10:19 +0000 (09:10 +0000)
committerJustin Lecher <jlec@gentoo.org>
Sat, 6 Jan 2018 09:10:19 +0000 (09:10 +0000)
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Package-Manager: Portage-2.3.19, Repoman-2.3.6

12 files changed:
sys-kernel/aufs-sources/Manifest
sys-kernel/aufs-sources/aufs-sources-4.14.10-r1.ebuild [new file with mode: 0644]
sys-kernel/aufs-sources/aufs-sources-4.14.10.ebuild [new file with mode: 0644]
sys-kernel/aufs-sources/aufs-sources-4.14.11-r1.ebuild [new file with mode: 0644]
sys-kernel/aufs-sources/aufs-sources-4.14.11-r2.ebuild [new file with mode: 0644]
sys-kernel/aufs-sources/aufs-sources-4.14.11.ebuild [new file with mode: 0644]
sys-kernel/aufs-sources/aufs-sources-4.14.12.ebuild [new file with mode: 0644]
sys-kernel/aufs-sources/aufs-sources-4.4.109.ebuild [new file with mode: 0644]
sys-kernel/aufs-sources/aufs-sources-4.4.110.ebuild [new file with mode: 0644]
sys-kernel/aufs-sources/aufs-sources-4.9.73.ebuild [new file with mode: 0644]
sys-kernel/aufs-sources/aufs-sources-4.9.74.ebuild [new file with mode: 0644]
sys-kernel/aufs-sources/aufs-sources-4.9.75.ebuild [new file with mode: 0644]

index a6bff57892d16538867be1c146a0c81b6ed5b7ae..c2aea39cf359547461e86b8ef937ec5dd39804df 100644 (file)
@@ -19,6 +19,24 @@ DIST genpatches-4.14-10.extras.tar.xz 17496 BLAKE2B 0f076c8fce10e1a7e3845c185e88
 DIST genpatches-4.14-11.base.tar.xz 302512 BLAKE2B 7c86f6da33aca78bb504282329feb4eeb10459223336e1212b3e821e469c5a687a928a214420acc65c8538af5f8b4248a672d5072b12d9a5b06ee55c92b55d64 SHA512 ce62754e70f2c3e70e5d4f2f4c77d1a5f6f0d096f52567d2f2dfe342ad61e0e126e5c8eae07028e8dca23bf61b3c3241a63a530232369594438ae88bd034ce7b
 DIST genpatches-4.14-11.experimental.tar.xz 5180 BLAKE2B d6268837d4adb86b42c1a795cb22387ec7b03319613f361ff6b6b4674e61f29fc3fd3f5ef005adb055e475f484ce9e759c8940f0206cdc323647bb57659f19ef SHA512 9f28cb3f3143dca6435b4a33b795a89e5e2ff6682194abadb4c89ba13245af17662e15504779106816c568848953e758dfdfd5c00974ddd831d68c99631d1a5c
 DIST genpatches-4.14-11.extras.tar.xz 17480 BLAKE2B f8928c584ddde806347a6e2e0aafda9399de817d097f0d06e45da92e431eaccb00da7fdcd5d671cca7c8d4ef35510af901ab218786d25090c73c6777252fdd44 SHA512 dbd2c7d06c834522a42cdf470c338e3c2af335230a97fd8d6c00c8d857b5311db06ad9a2f69cf728e49f2dc4a72c06de614bd98314d5570d7ccfb34856228224
+DIST genpatches-4.14-12.base.tar.xz 348424 BLAKE2B 538eed70f434fd4f5234e1847aba7675a70633698fd4d88cd758377120960c2b9c83a1aff65d9e3638c3b5415e7a59c250734355dcc65c413d33d31caa51d130 SHA512 236a34ce8ab9162456c3bc301de28cca5dff60ec1d55004337ddbecee0d69c36248d7113310f3e7d5e6d68478582a4aadc822eb61f3e145b066181a7bf422c1e
+DIST genpatches-4.14-12.experimental.tar.xz 5180 BLAKE2B 671bee030fbb04111bafac179e4077c7ed67f855e74db995d657c2425ccb1388e9d6b215cb2538677b956dba5e464e6e38202dcb4b05765a9484e5e436df6d84 SHA512 88146d6255cab97e2a8cb3fedeb2ba658b10f06a8ca130006e937a32b7ff7a8a7da5aac11d25118e8ad74d582c20aebc2aed266300b32bdddccda10f8752338c
+DIST genpatches-4.14-12.extras.tar.xz 17488 BLAKE2B 5a3d8cb4cd6bdefffc5f21caa1ed9155b67caf1475575a90b4e1dc71e447ded6ab56652bee4ddf40cacfbbe56e5f25e921fc0fc912aecf2346d260a0efe24815 SHA512 74e0e482445124d65c2f13510c484a80b38ee5f48399bab232aced06e4dec113893ebe9c982522f8332c37373a0f15779a6a2afa0dadbc96a623d9a254a1162b
+DIST genpatches-4.14-13.base.tar.xz 349100 BLAKE2B c38845313e140b1d8681f6832b651beddf9d16957ee3eeea2d1c50d3707513a9a3566515384401fca8599255750d67db735c711617a7c3c265082dcc063b23d3 SHA512 3651adbc031e7d6ffe72de292ea5f28912aec17054712cc21292600e6f2ff88d30feee2b8d1a4e7087afb27f897d3de21448119c25f4c03ba5554a8f2eeec086
+DIST genpatches-4.14-13.experimental.tar.xz 5180 BLAKE2B 67e3da688f6881c983fa81ff95f2aad44e64d09fbe9dda69a495b79df8ebe6cb58e1a69bfba64ed4eaf909b70c1dba46a5f179adc89cc832d51b208b32c09045 SHA512 5f75bf8430358e036bd00e25c7a0b06ad9bf17b91a6032a137ce0fdc1c5611d7775b653169d4bc1ee2855f54df75f38361a5b5bffbc620d131837c9c4f51b329
+DIST genpatches-4.14-13.extras.tar.xz 17496 BLAKE2B e975699bf198db664e6eed352d964e7b908252bf4d0bd556f805b3caa4696bb63a4c6e1aeeab62867705acc9e1f59c2e9ba92e788568e99af55b012684b89d4a SHA512 fc435efb55749af0e4b50afb9024b474dec53bbe05eedca07ece2590ac96c08bb54e05b511d072fe3a07f6957f8c05f66697ad303477d27141d2afd3a0ddb897
+DIST genpatches-4.14-14.base.tar.xz 397500 BLAKE2B 9320eab6b8dfef9159e7f9b257f580627e159de1543c816aab0d586fb3f2c1509debb8776ac5a108772f35569ceb9145ec444a6ce8769b94237fb3d2c5210574 SHA512 f75c894495a0bca1c0e2f0d0418f7b1318b52bdc9d713383a8dbe3fed00bbf51f31bf58430016ab8635189d9991f23df9c3aaebcef5598ed62e764be22b733ad
+DIST genpatches-4.14-14.experimental.tar.xz 5184 BLAKE2B b8ccefae09c462c0215db2081362e5f43640c45e15098904fea95ae3814088ebfd6ef69c8ad4d37719fae1fa4081ca6ea8daed9d3d0d029e7c0b482031571251 SHA512 57a5e9bbc113c4d81a3116bcba88ff721862c7b7169526aed380145702ff788d1acc1ca74995e83626c255b13fab4a912c6558c251bddb657563e9e0282276e2
+DIST genpatches-4.14-14.extras.tar.xz 17496 BLAKE2B 368cf4eaedb655806d0e850f4d11d8230e14df47c3638e4579bca8f41550e469f787a264e262345b857e32a94bd3776cae02bcbf14af9fe211263c68535a8143 SHA512 f94390d7136baa4b69560d5838d177072ec9e93d5a68d51713005f8b43504d322794ff645b29baec084c862ebe1856be17d9b017dc762945912f3a6381e94abc
+DIST genpatches-4.14-15.base.tar.xz 399184 BLAKE2B 384c90575857824522817ab42728ec021baaf50b2d18c4f52e4f7ed041a9d56f5a82a8b0803f3f4c6d65ab494076cc1e238ddb39bad9cc79b6bc0f922e515c1b SHA512 4edd88d02d7c075eec28b3e26c42b133bfc9d449db7d4f4f7b92a54c16e5c876f99d9265d030d89f766349482b9c017a4759fd47658359c7adccbca443b58db6
+DIST genpatches-4.14-15.experimental.tar.xz 5180 BLAKE2B d27934727a282622759f1f43a6703adf2ebe96be821e7452e5687bceb6143efecd873f3eab34102b67b3351fae54808398431f9853bb0212b1b0614da810e35f SHA512 587d1c9630cb6188160078e7cf1c19c3def0b0dc47d370ebeb135928a6dd0f082520040fe459362bb96d49009d783a8b4e7160bdc6b06a8413c5953264c885c6
+DIST genpatches-4.14-15.extras.tar.xz 17480 BLAKE2B ba238e249594e0a25d0731f69487cd71cad9fa2d6f1079b97d451fcd6df4fc0f2511afd2a96eed93ea1750c152d00edab01686078fd70a9bbb76156dfc65d0f3 SHA512 a0cd4fe9872d38eb1d4f4098ce2a00f03eb99ca51d99ffe7406a21388fa35d55a4ce9af8d45088453168891a7943cef71f4732bde5b799bc13ab5d64b7bd9fe3
+DIST genpatches-4.14-16.base.tar.xz 401184 BLAKE2B 17c4b4def71e9596dc91bc2360f3cb9e6a2f4328b8aa06408ae46e36ccc1d1b82ab9c1416d3b420f436fcf28e5cd13120982ad7f3dd031b15d52eca21cdb88b6 SHA512 1d503a021edca12febd9d84e564ea58583e49e86e616916f92afd324339489a7df6a52d36e6f03ff5f1de1138ea4af35070055f1d5b80215297ccc52d4422ec6
+DIST genpatches-4.14-16.experimental.tar.xz 5180 BLAKE2B d27934727a282622759f1f43a6703adf2ebe96be821e7452e5687bceb6143efecd873f3eab34102b67b3351fae54808398431f9853bb0212b1b0614da810e35f SHA512 587d1c9630cb6188160078e7cf1c19c3def0b0dc47d370ebeb135928a6dd0f082520040fe459362bb96d49009d783a8b4e7160bdc6b06a8413c5953264c885c6
+DIST genpatches-4.14-16.extras.tar.xz 17480 BLAKE2B ba238e249594e0a25d0731f69487cd71cad9fa2d6f1079b97d451fcd6df4fc0f2511afd2a96eed93ea1750c152d00edab01686078fd70a9bbb76156dfc65d0f3 SHA512 a0cd4fe9872d38eb1d4f4098ce2a00f03eb99ca51d99ffe7406a21388fa35d55a4ce9af8d45088453168891a7943cef71f4732bde5b799bc13ab5d64b7bd9fe3
+DIST genpatches-4.14-17.base.tar.xz 401136 BLAKE2B b9e2a7604314393efd6edd9c143feee2742a5bf3a485de4a82ec8030dc802f24ee9a7b15e44314c5ea4e71f1345bf8552f38fbdd6b74558aad6b7606d3fbc292 SHA512 91df261c47d29c0e767a751ec135064df30f1ef65c1f100bcac54c571fcf2212d7bcc362975598480857966c58df9c9141678283b324afc1ad06d58673040d52
+DIST genpatches-4.14-17.experimental.tar.xz 5184 BLAKE2B bc2e6871e7d76e8781621328b5cb9c58162df3d7d51f5f460068368f3e98dd42225bb289ad9364c8344ec72b5e51d35459985dc0451b007b7e695d5d064b4812 SHA512 1e448e8c5846644dc8e21e99ed3e356f75c7e8e4e2789b329def21ad6af9cd993fcee418e93ac96cbea66a21c5d9d7b66d6710dea076ec66508f1fa12bd7a30f
+DIST genpatches-4.14-17.extras.tar.xz 17480 BLAKE2B 7cf764e9bf306b116a1e1a503f589603f87c4939a59fcb5f295cfa0e594a46fb8260920f6c5057ffffdb1b660773a6ff73ffd24929f3b331078379bc9ec4b681 SHA512 5c9a51e60ee8cce638ae6b21ecb16621b6c4b90502669675d9ddca48000d9e40aea8fdde16b8e3cf5188cdcbc88efd25121ed306bf2946986e2ca8a4104d3ecc
 DIST genpatches-4.4-107.base.tar.xz 1587988 BLAKE2B 827d3ae42c0fc412c165568edaf1f8550bf828d7e2edb7c5abd3013a2b639dbeb68d2e3a9656e2995baee07c7619695918e654174528ce3eebc8a891715bc636 SHA512 1fffc6d7b2c186c87c8b343d4bf5fcf94086dae9f4e70b2965f5dc8c18ff4753d417074ec4ad7deca29ff597a6e5d0cfca4bf325609596678febea5ac2f5ea24
 DIST genpatches-4.4-107.experimental.tar.xz 87776 BLAKE2B b239fcc9ee1d0344a9fac8b6ae8e712bdf97df7547a2d3d1d6b39ea23f50d8836ae8fac3bfffcc401b3af52dd333b2b2b1e1626fb739da608d247be5fc67dbf3 SHA512 49e0cbc980cfafc7992d92e0bd2dd07d594ec39b9ba0bae27dd915eaffbd78c5af6d3d47847a98ee9a619447b3b220faf0c44484dc99088609ff8053f3c5d907
 DIST genpatches-4.4-107.extras.tar.xz 16468 BLAKE2B 1ece602969ead12faab3e0e5d5703a75c737a18efe873d5bdda71ff134387f5760a76105262270543b4a0e882a9b5434905b3846bd68cc3af5bc1b0383122cd2 SHA512 0843f4cc2cb2b3219f7e1343d68062a9c86f08c51c67a801f82c7685c8c0eb92ea32841a8a6d4bb8da9fc9882eeb965bc66317d7c14e7a5ffbb58214f962dc35
@@ -58,6 +76,15 @@ DIST genpatches-4.9-73.extras.tar.xz 17356 BLAKE2B a16dbd34ef4d3d50c370561776896
 DIST genpatches-4.9-74.base.tar.xz 1393624 BLAKE2B 988c985f1c0e6f70d0b4307e42ee0f153a6a287066bd52e8238cffea2b73ab34e2dd65bb2fd923211fd09566b62020a71cb62be1320a6c9a04d5f4e425931725 SHA512 d128939df8670a5140f497521813d5b220ef618d342d94576d2f287df08fca0cae0a4104884202b993e747c5085742f0d7d5ecff39b5f502911efb2d580ce8fd
 DIST genpatches-4.9-74.experimental.tar.xz 106368 BLAKE2B 790d7e4b6f3fbded41a486c623a4b18d47a6598b19e12eaa170c68607a258363485f236009d4032d4d2c17ced519c78ee2d246fd357e4d692aceddd936e3e232 SHA512 68a17e9457b4ec6e089e86db8f1ac129d9394bc07a54e63d230e709dc7c542c99cd3190206b3e2b921799ea64d2fd1076b2178515cd2532b8be9f04e93abb237
 DIST genpatches-4.9-74.extras.tar.xz 17356 BLAKE2B b0c02db68443f53360e0b0cd611af39386c87054b3668c5e3231df6595d1d82b4a767fac65ffaef6f7d29b29447411a2dd70e0dd1f8666a69b9360ea93e3a3cf SHA512 19cef8790311e3b54258df25f9accffec42db2654b82a39f1dde9a154cc0e0789783ea11bb9bb4e4b1b7a3f902bce65ff7898c516993aa9de8e0efc5f3e07b1d
+DIST genpatches-4.9-75.base.tar.xz 1398252 BLAKE2B 045e19c482aad1b7d840feb7e851509ec90f53be9152b31fe4e37cc2ea36d6253435dc394d9313fa832c2676a24ec856ebe3307c7de0134f07f9e60564081798 SHA512 ea1fd01d66de7c2712dfe80e3e5bfb796aa8765c20345b19ccb9d366aa254425cee0547565613b419d3f3f50234a3a8b67b2b8e6a3b875028b8521ac896f5639
+DIST genpatches-4.9-75.experimental.tar.xz 106412 BLAKE2B bf566e48086dd834d2b2ccbbf026072cc422f27b2d157c31c53708b725601a4a4b826aed5c61d4f038d200c31707f83f865905d7e692fc76837c49dfe7c9fa90 SHA512 b84fbca86d3ded460aaa24ee9c7aa71d09a1a2c4d6f90bbfab83a9b9f71e670ca61cc710a67497a731bada2a75b864f2b95c76670f82f29591d0e399fa06b0ab
+DIST genpatches-4.9-75.extras.tar.xz 17344 BLAKE2B 747276412345bffd763a88d9c77de3fafeab320e0474595213daf71dcdb88da2d78cdfa50469eed149f3d181496b07bf87b0981961cf12cd8aba24cb1e998163 SHA512 d2829fb8643e16e7a9a021e9430f19195e0a60f088351738f39140c7a685557ab99647f31f5106e841e1310de24c4ee4b534e476f862684822a005500e172242
+DIST genpatches-4.9-76.base.tar.xz 1416656 BLAKE2B ff07be80dfac7f2c8a51e525bdda14f95afcdd93dde5a455f771c9a664a8023577e5f52343401420afc963e0d26c97dfe23cefd53517865e542f9d78d2e70471 SHA512 fea0bc6766c95d97bc4d1360d9eb3afbd6ead6c8bb6e6fb8c937117587b87b7a82c983273d026e8ecf99aa816b1ab9af742d551cc12fca055b0f032b3ee3ea8a
+DIST genpatches-4.9-76.experimental.tar.xz 106408 BLAKE2B 63dddb61ccb331b0cb7496815bc2e22eb98141092a61a4a37eb560477579e4336f621cfa7f6c3bf82ab240736328722ec9c5d6e3a4c336943652a3d2e0f6cd4a SHA512 fcf6ed5797a607bfd9b90fb442f8cd10d335ecdc024a151a3eb33b235a3864a15b589aa143e2bc7a54d8c0983bdf8e6ce1051badc1a7bb74de15b203380d774f
+DIST genpatches-4.9-76.extras.tar.xz 17364 BLAKE2B d77fda48564a1993a34ba6f833b88aeb3c8f7becf68bf6445bb52f0897c97a52e265067ef1fe38b993013420ad3c36833ef44e4fa842653a7473b4e9db499e36 SHA512 7acb497609ae96e9f87d14789037b15165210983d674d1b2306573c268ec67d72f066e19df48047c3b390cd84f69ea4e0c66bad78295f37a147cf7cb0059ba42
+DIST genpatches-4.9-77.base.tar.xz 1434412 BLAKE2B e12fa3e83ba930cc969f37ca74d078e8e34e1da777ac749d31e690b8f949cc854f1dd46d347c929717f22f95f517e84ac67fd682fcca29d47722ecdbc4ec37d4 SHA512 5a6b5b8d16c49a1f3068581e1bfb31ce926ae21d34182da7d8bb50fc5d1bad82aa921bb69eac86c3932cf7b4db195181a4e1a29d5c3b347ba49d171c550e30c1
+DIST genpatches-4.9-77.experimental.tar.xz 106384 BLAKE2B d549d7c735f6b509a199388017e4354257e27e1f65c3fed7d1aed0144abd2d81c726e5539af4a48d3cfd55bba0bfa0c93e5c630e244bfd713ca76bcf56944bf1 SHA512 0a6319be130c2122df871a0af43424f9640998099fe184562d58fb940849658f5b5eab1221be99d8d788b5950f1e0e2c19200b90778c5989814ca63dd5ffbf85
+DIST genpatches-4.9-77.extras.tar.xz 17364 BLAKE2B c666be38c1f3dc02cc87324a603598e62ceebb3feffe2e7a9b8e368ac933b982eedf385a87618ba4cdaff8eec85ddc8a4d1c76f984d3bcc6233ed88d3a141723 SHA512 c8df8e4c563a0add6ffa241978dd866102684055ee2b5bd9ba37f5f41f04b687e9b0fbd7cec9c6b365de84fb2c083b5c2ec210bd9b7348e972735cd071be652a
 DIST linux-4.12.tar.xz 99186576 BLAKE2B 02d031c7f2f29849c06a6b5b589af78bc486a05a758267e47f2ff16844ae8ca701fff53cb859fcc105f7ea92c0769acf8d7f7cc116444c15235ef4d63cadc8c0 SHA512 8e81b41b253e63233e92948941f44c6482acb52aa3a3fd172f03a38a86f2c35b2ad4fd407acd1bc3964673eba344fe104d3a03e3ff4bf9cd1f22bd44263bd728
 DIST linux-4.14.tar.xz 100770500 BLAKE2B 85dc4aa953fe65e273a24473d8de98e4f204f97c43be9fc87cf5be01f796f94cfde5c8f9c84619751f1cac51f83ce0b4681fb19c5f2965a72d4a94fe5577846a SHA512 77e43a02d766c3d73b7e25c4aafb2e931d6b16e870510c22cef0cdb05c3acb7952b8908ebad12b10ef982c6efbe286364b1544586e715cf38390e483927904d8
 DIST linux-4.4.tar.xz 87295988 BLAKE2B f260f1858994f5d481fd078c86e51bddbc958f7c5d1586f60dced772e1b1107ecf3aae0558c3e6f39c36f7d3aa1e6cd1e5c64ec9d6f2218f47b98413da6466fb SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.14.10-r1.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.14.10-r1.ebuild
new file mode 100644 (file)
index 0000000..51c2d61
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=13
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.14_p20171127
+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.14.10.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.14.10.ebuild
new file mode 100644 (file)
index 0000000..24abf9e
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=12
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.14_p20171127
+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.14.11-r1.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.14.11-r1.ebuild
new file mode 100644 (file)
index 0000000..5d059c0
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=15
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.14_p20171127
+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.14.11-r2.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.14.11-r2.ebuild
new file mode 100644 (file)
index 0000000..d4996e2
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=16
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.14_p20171127
+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.14.11.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.14.11.ebuild
new file mode 100644 (file)
index 0000000..3d2c2d5
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=14
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.14_p20171127
+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.14.12.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.14.12.ebuild
new file mode 100644 (file)
index 0000000..e90ad5f
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=17
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.14_p20171127
+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.4.109.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.109.ebuild
new file mode 100644 (file)
index 0000000..9841bfd
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=111
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.4_p20171127
+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.4.110.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.110.ebuild
new file mode 100644 (file)
index 0000000..9841bfd
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=111
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.4_p20171127
+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.9.73.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.9.73.ebuild
new file mode 100644 (file)
index 0000000..f13f77f
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=75
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.9_p20171127
+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.9.74.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.9.74.ebuild
new file mode 100644 (file)
index 0000000..6985093
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=76
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.9_p20171127
+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.9.75.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.9.75.ebuild
new file mode 100644 (file)
index 0000000..8e3ab59
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=77
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.9_p20171127
+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
+}