summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2017-11-18 13:30:58 +0000
committerJustin Lecher <jlec@gentoo.org>2017-11-18 13:31:22 +0000
commitb22b1a8aac418a9cf49dfd4e99e2209c247d945d (patch)
tree5d71c9d114caa4abb0c996502632b0bf380ba1d9 /sys-kernel/aufs-sources
parentdev-lang/vala: stable 0.34.9 for ppc, bug #635938 (diff)
downloadgentoo-b22b1a8aac418a9cf49dfd4e99e2209c247d945d.tar.gz
gentoo-b22b1a8aac418a9cf49dfd4e99e2209c247d945d.tar.bz2
gentoo-b22b1a8aac418a9cf49dfd4e99e2209c247d945d.zip
sys-kernel/aufs-sources: Bump to latest genpatches and linux release
Signed-off-by: Justin Lecher <jlec@gentoo.org> Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'sys-kernel/aufs-sources')
-rw-r--r--sys-kernel/aufs-sources/Manifest12
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.13.13.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.4.96.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.4.98.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.9.62.ebuild84
5 files changed, 348 insertions, 0 deletions
diff --git a/sys-kernel/aufs-sources/Manifest b/sys-kernel/aufs-sources/Manifest
index 3b9353432cb2..3a86ddb30403 100644
--- a/sys-kernel/aufs-sources/Manifest
+++ b/sys-kernel/aufs-sources/Manifest
@@ -27,9 +27,18 @@ DIST genpatches-4.13-13.extras.tar.xz 17396 SHA256 dc3c9d2b5c8c5f95af5e3da9463e0
DIST genpatches-4.13-14.base.tar.xz 243120 SHA256 7ab50617a0dd9661b8e23db22d3be8d20c39715b9dee8b2ab7b9a19ecca2b1fb SHA512 c885d59f4d301b1ef71d40e3b35758914b669e25a15a64826454b3f46f5b45a49850971ddf11cd1d5db41d1c0fc5d814158dd02f14d9eb0c97af208865c44dd2 WHIRLPOOL 36f0972a3ff9f58100603faf6a7086e03a32cfdef42d903df5e202734c0d56eace42d7c1242712e764aa5b87f1eb9fe1c78070a05cff6eafc2150d05f35ffde2
DIST genpatches-4.13-14.experimental.tar.xz 5184 SHA256 6734f0f0fdf33b648f7af28252e17b72e9345a483ef0714fa45e192cb33e2b7c SHA512 c220d229f4dffaf7bf09b9d4cb1a73d61b7646191d715098e5eb51808c66d38827729edcc9999f1252d7b1bfaaed7d2d2566add7b6cbadad1db246379334dee1 WHIRLPOOL 307fe32b1492096547eca0af6de818d81724ee58f2594d4c537b1a6bf797ef45b96a51a25b5e92d279e78398f5104bb28bb20a2c2980bab779e5f292017de246
DIST genpatches-4.13-14.extras.tar.xz 17396 SHA256 dc3c9d2b5c8c5f95af5e3da9463e0fc3d9c83b8c40d992f6381ac3d4523d0287 SHA512 67a4cf48502378663c5277e5d6c2d98d195d7f7b3a7fe0e79a5118c7e910e19c9882807cd7d80f73c08f28d702b83e4af9248597af751dc3cf923eee40a5c0ab WHIRLPOOL 8aa276bb0617a876fea012e15ee8e1877ae6921b386e846c60881410ff565960e9c5b82e88e62e39c85439a79bf1561e2834912358f754a274870e224381ce8d
+DIST genpatches-4.13-15.base.tar.xz 254132 SHA256 42f1e2ba1ea6218492b7aa39553aec4497955eea9cca383ee757d30aaa5f58c0 SHA512 7d38c30f213a1bc0a38d2bb8e97f1f6b86ecff60779aa36cd1c9bd9cd2726c16b8bd3067364cae716d38e22d8f34dd34cac3072d5fe2c8256de229b99cb9a4b3 WHIRLPOOL 0457c37dae998872a21a84ae5e07259afa759f27cc61a27bd2b29fe4a530330ccce9acdf2f48c9b95af4f38a3e67c551d4f1f09afbedfdafc27f00e454db930b
+DIST genpatches-4.13-15.experimental.tar.xz 5184 SHA256 86e11d4000233f7832090f20771cb0b9b5fb68f630ded53e0492da79a54ae4ac SHA512 4c5416bdfa602ae083a9058d04d2dede66bef95e5c589dd211aa82264c044a1102b63459dc384e7bdd6c10678b440542db2b274ebeb4456aeef93f09aea4693f WHIRLPOOL d13f518bb332ff5c5daa9a4ec1e949ed93936d69c248f62b596e8426ace5a00b27cd907d40e2610d46fcc3ef6dace2a56d15969762645d8406b8c0d8e9d3ba47
+DIST genpatches-4.13-15.extras.tar.xz 17400 SHA256 28a3431e5d8aca353b9d763c67261ccf3f07209d3f622d118b6025c7b1b31f38 SHA512 4e41c0780bc7c37fa5e13847ee203cefc6e1676921d1560fef9a198ffcb948c7df38acb642098a1266661bf5ddeb022510aa0ab6863e654e29400eeccf093cc9 WHIRLPOOL d0ef7f5de7f12f94030676c9b9c94834b95dcf23d4607c1e33ee2c1a87830d136ae184ec61e27410b6cdab716b21959d681ddcb90f34b3599b51a8272d46146d
+DIST genpatches-4.4-100.base.tar.xz 1513104 SHA256 46ccb979e540dcb77f7af38d07c5f66a396a128f74c4af38aa7dc43e86ce2c48 SHA512 75324834165e3493387e635918cb81d73d27b3274cc6826557df548f7f84a0aab456faf1b60e1e4bf35d8ae5fef00d1bdb4298f43208440c0422e006a3b248ef WHIRLPOOL 1db08d1b79e29854e830ac9e4b167cf076620a9da8db8c3b0ae18679cab90fd3333b43b1479f68372b04daf4acefb6dbd2c97fc65f660ae9c685d617ab5b8576
+DIST genpatches-4.4-100.experimental.tar.xz 87748 SHA256 c0d5113ebed9c284738d8999e48734f2834f42d8583ff86899f82014bf4c69f2 SHA512 822c943f114c35a8caeea20ee5f6c56d67f0d1122ca9db8f3bd9f34561735b0eaa72f9be7161b55c390ab5adf967ee64540a81a042746e39c6d294158cfd52b9 WHIRLPOOL 27fd96867ba9dad975cc401737d979867582742bd68cd14c24edae86ceb155d2d9db72c5fcc61964b48fb1c6c44f9652709ca6963cf705435b3e8ff88c6feb95
+DIST genpatches-4.4-100.extras.tar.xz 16464 SHA256 68ddbd5cbab566284824a0458e40982c467aee31bc84bc7107ad95de97971bf1 SHA512 b9ae815130b993cd2723ba54c41aa62b04e8e373b4b26f63ad0c511c445eaa1af71e7d63f0eaecd23b6ded8589b65b4e9da0dd62349a0b8b836b15b01a4e523b WHIRLPOOL 6e9b183367a2327a957130b83cea4cd8b4f1faf01e12eed927c2ea7463d72533c275e6ec7f20c73813c4b2649e0a4b050187416fc019e8842d9c42677a94826b
DIST genpatches-4.4-101.base.tar.xz 1522480 SHA256 bd06966f0752c704152cc10710b6090815694454e155ff817aa81b7bdc351b05 SHA512 4b0c6aaabca1984996c393c118a61e289553c7b2e65847d19f8148a75a363ac50f88b63666e3cd3c90ae8aa6724da402ec6867b30e3cab6bdc6fdbe4de6373bf WHIRLPOOL 6dc02a0f2c41dee713046e8d423033066d623e7bd7db02bf79c7f7eaf6f2bace3ad62d9fc7ed4a5b9abdbb034cb6be873d1067e417cb0cb17cee7b0e2cbae020
DIST genpatches-4.4-101.experimental.tar.xz 87768 SHA256 afb292bff4fc3ca0893807e66e2e514425ba3f71db6e7a12a370b1241ce32609 SHA512 631feeed11f995d6071f38a7cd8d6b50a824cc33b3736a6ba8bb89943cb00c0c17039e4f4d27e8bd69740739b27d877d03616b2a88d19cf30ad0a51708077670 WHIRLPOOL 5c45651642a4e7583370cdf2dda0ea25b620154077df14f6ab2a1fe7c9426ba635377e29dc94d539ea311ffb3dc312a5a97f417f08d27bc5590b7b42c4da0d77
DIST genpatches-4.4-101.extras.tar.xz 16468 SHA256 17d08fbb9f38fb01ae0877fc2c17b51235d48fcd0547e377e2e3cb973408b377 SHA512 aaed443e351ff3c24063e7edfb2c24e73ed6e2d8796bafb03202b7eb35ff6d50985d22f45c1f0eb811f8074c1fc43cbc84116d37cbe81110776a867b79eb8a23 WHIRLPOOL 9f6b82f4b769a5b7b0dcf705a0a97313c7a0462ad6ae52928ecebcbcd1fb68f2fd1a1c089454c11d6d0e1a81ca4a765e70e59b9ba9ac427fa5894bf3ebbc1cb9
+DIST genpatches-4.4-102.base.tar.xz 1534876 SHA256 87f89f0d5912a9ed843d2c4ed8d45377e878a4df98101d99c10ef915b30c9479 SHA512 bc314f6a6bd7477ae3e217ce27c8b859f4574de76a7e5f3c1e70247eb3236d7bfd8e37a12d27a46cded56e49056e6e7d646c2814935634f387d2ab680b23e5af WHIRLPOOL b2dc5d694dda0c899877532918c636c3c265296e46f3aed31883e1d8da896607786f13a748e6ac5f6e2514a2ca3850b9a01369955cd4f5694ec5adae7cc255fc
+DIST genpatches-4.4-102.experimental.tar.xz 87724 SHA256 d76def758c05682a2bba83a4f86b933ca027d54212dfe33b4d87de26cdf1f42e SHA512 f38af999df68a51778d44aa83dc442824f09cdc4a743ebf1f96cb091338bd77ac0f8a0d49d04ddeca80c5930fc10fb00e3589ad5074e0ec08cdc9c7f09b7316e WHIRLPOOL 15f0aa454442407e6893d28f6526d6b3fd0edda15d5c40ad710f9ddfdd0f72511c25c16b9f8c11663b3dc2caf6c76dd76b8fdee3c654a65ac8f7f54977e516e9
+DIST genpatches-4.4-102.extras.tar.xz 16460 SHA256 6f58d9d2058c087bd1e09eca3b445b3012fa2805e3f5992a6121f99b13b3c2c9 SHA512 c93def08004c8a7f15aae95d8be454c2ff9142dc0721eb6623cb18fa621093539fa9458a3735cbc803aa76b8353b8e6ae421b32bb38bfafdcaaf131179b8c5e3 WHIRLPOOL e54226b1c873e07bda99939c700e3ba983d4f67b978b59857b1f0b9e4e402224fef5ec6f370861992b130c3d032430a13f8831c637f2b3f978c908853f93157c
DIST genpatches-4.4-91.base.tar.xz 1428436 SHA256 d6c806bd868856a9021b35d0bc3ced37029c8803846d6b251fe7fefadfe46c69 SHA512 cdddd25be04b33558f7ebcee66df992aae38f29181474ebed82958d4d50639097b4a82eaf256d7b3576bfcd0cd3fe7682956e1d2cdbdb912d47fe86205d9b554 WHIRLPOOL 8de12e7bdba76256e8fc41738605bbe961fa3fa0ccbe1fccaf0c8cb3708c692bb65a27db7675e42ce5558a22c81b9017742b14d6776ee2b93f4d1d92535942a9
DIST genpatches-4.4-91.experimental.tar.xz 87760 SHA256 e04a99c94b4dd9f5856dd08ed4b286b19c765d8d0fe40237dce256f7c874dbf8 SHA512 0bbc83e076d45da1d0258bfd7f6acf6170e99891a9a857b2552f3a0fcefff4f318a8c5c8779591b0bb654760f905530de18723f2ba960618eae59a1b7219c28f WHIRLPOOL fb6306af0191198d466b3349c348139342a70de118bcce0563e3209a7ead8a9d56291f3a4155ba4a4d211db8fc1e20ddec3a3b463d62fff5375df823646f7b02
DIST genpatches-4.4-91.extras.tar.xz 16468 SHA256 6cc85cbae6d2ccf087104b5f719abf10d186d3b630572caeb1906c344c66de76 SHA512 229922945fcb882a0cb7dcba8bac9de51683690462a8df59e181a03d702fcb1c9b54078c5434624b4a197c481f0bb9b73dca58456ef5a5884a30bfd3644dfd6d WHIRLPOOL 81f8fa1676856f0941bc6d09e7e602d2213740bed6edc914d9341bad590650d5a5249fd8bbd2d640380a638ce2a12fd4ec66e0c3753c8d9d22c1fa2c3f07aacb
@@ -48,6 +57,9 @@ DIST genpatches-4.9-62.extras.tar.xz 17356 SHA256 6a9eb1e797afee5006c2d11435f9b0
DIST genpatches-4.9-63.base.tar.xz 1183404 SHA256 8e5ad88a7a26df4c64b92a9fc6650ea753db6f7876034bfc4bf054d917db7eb0 SHA512 cb8e7ee1e8cf88e08bad0ec7078667f8cb044a5369a7bda6db68846ac56696d888125527b3dc0d4b5fc90bc072cbd31a75c327c6317036ba697ffa235c1c074e WHIRLPOOL b079cd9151f22140a9b1774159d28f430f7cc2a26816c1d7e58b9781c1b6f58635412eb308ad01a0fba90633cd582bb936fce8f44a970d70c5a7e8ab44d1dae3
DIST genpatches-4.9-63.experimental.tar.xz 106440 SHA256 f4b1d833cd7f827cd36a0354c52065a08a495436adfafe0c6f3c4643ff7e4d79 SHA512 3c03fadd3a532cf0db5e3b7a319f8ffa6a96e3d304f31cf017baba5766da4af619daacb08749ec12bf8d62ce7439d2087de05b07f42ae0a41d81540f130a615a WHIRLPOOL 255dbef473aca9748358a34d535335fab5a11db1614db80d10edde5b8e4970f2ae48680fe1d3812d0f9e280dced7c58f8cee7840eeea2bfdd3b892037cbef970
DIST genpatches-4.9-63.extras.tar.xz 17348 SHA256 28408ae0b16962f032f994635723a65d1dc2a4ad1fa41f36e2f3d18091e9e5eb SHA512 26e91da7d56177e7d0ec5c0c58e1acdddb99432978551a60cd48b58800c6f286054fbfabb87cf15b56ac4b7102c12f2c3edc2865f8fecce89e7eb0e7191ef1fa WHIRLPOOL 56313feff208263f6239237c3b177b8bf755d3b1a3ecfca7a42e71c5799836b7fbb9faf68d8a02ad9f93b2bef29fa33a834adcb2a7f7198d81e357c96b727769
+DIST genpatches-4.9-64.base.tar.xz 1203336 SHA256 218a08e0f85e6cadfddaf34cfb187b3eaf3f7aeed6f78f932a6ecb197196e07a SHA512 34bfbd0f72570d6f50b6d22b10dc2aa742b9554e467cbe82fad8c9fb463baaaaf7cad9acb46a4f65f44c3d720af539fa5923647afb144363110ec0cc3928bf65 WHIRLPOOL 331e3c21cc59e62f9f7d287fc2e441ca602affb828ba4cc59487ce2ba2af84de53e4820bf6a332c3fc1f5858e89f526ea07a321cfeb6041780b6c13e77de170f
+DIST genpatches-4.9-64.experimental.tar.xz 106388 SHA256 88279fabd32a49fce437d4dcc1c16539db18211e3ddba3dbfe29e02409cefaf9 SHA512 9ba6da1ae2a618b5c766a1b9cabb459d5e3296643ede83fc9a2eb3991030abcd37652e1cdcfa9f1756f42b386b2fccdfd498ccd6e7b54f87e7c953cd05faa8a7 WHIRLPOOL 16f76f83c2d91b7648b435308b27335734247402d36b1113b8fe1b7f4a47917a19c8d636b49e36a73879ba39a8b0175ba50f3b890ccad8d496ea8b225c451619
+DIST genpatches-4.9-64.extras.tar.xz 17356 SHA256 91388a8444f98a0535cade4b901a9480e6802f0895696c62b19377ec667d2d67 SHA512 2788478d0f659ab53b9fb5569cb6286b7db457520b2257db19ba8b9e2ef08be7e20e1901fe6d09069da09c8504507b2c1ea8ef3483ea5fda5272902ad49c18fe WHIRLPOOL 7c86180c55b4ebe26b93b4d8f1b280ec54c56d55b106109a614cfec211222f1c4e17803b1537c3179760a12dc12483951698c81bd2f7bf8deefcd5f454453180
DIST linux-4.12.tar.xz 99186576 SHA256 a45c3becd4d08ce411c14628a949d08e2433d8cdeca92036c7013980e93858ab SHA512 8e81b41b253e63233e92948941f44c6482acb52aa3a3fd172f03a38a86f2c35b2ad4fd407acd1bc3964673eba344fe104d3a03e3ff4bf9cd1f22bd44263bd728 WHIRLPOOL 3b97da251c2ba4ace4a27b708f2b1dcf94cb1b59aaeded6acb74bd98f0d3e33f1df83670665e4186d99a55daa84c88d539d93e20f0ff18a6d46ef326c48dd375
DIST linux-4.13.tar.xz 100579888 SHA256 2db3d6066c3ad93eb25b973a3d2951e022a7e975ee2fa7cbe5bddf84d9a49a2c SHA512 a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2 WHIRLPOOL d3d332e02cd3c5056c76c28cf1f81504c6f7b8f2caed7238e7dd7866747fb03154b88d8d7aec4d0eddf5760624bc7d6c5485fb52a3e32d098a2742eba96c0d05
DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.13.13.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.13.13.ebuild
new file mode 100644
index 000000000000..f2d45008bddd
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.13.13.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 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.13_p20171106
+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 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() {
+ 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.96.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.96.ebuild
new file mode 100644
index 000000000000..d74e2010db13
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.4.96.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 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=100
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.4_p20171002
+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 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() {
+ 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.98.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.98.ebuild
new file mode 100644
index 000000000000..23423f27b301
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.4.98.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 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=102
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.4_p20171106
+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 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() {
+ 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.62.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.9.62.ebuild
new file mode 100644
index 000000000000..186e388fef96
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.9.62.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 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=64
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.9_p20171106
+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 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() {
+ 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
+}