diff options
author | Justin Lecher <jlec@gentoo.org> | 2017-05-13 17:04:27 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2017-05-13 17:04:27 +0100 |
commit | 282e0c4c1547e1bcf6828fea5d04df163857013c (patch) | |
tree | 1e9bf093572d2e1a36ef13743b5ce44d922646bb /sys-kernel/aufs-sources | |
parent | sci-libs/chemkit: Fix exmaple installation (diff) | |
download | gentoo-282e0c4c1547e1bcf6828fea5d04df163857013c.tar.gz gentoo-282e0c4c1547e1bcf6828fea5d04df163857013c.tar.bz2 gentoo-282e0c4c1547e1bcf6828fea5d04df163857013c.zip |
sys-kernel/aufs-sources: Bump to latest genpatches and linux release
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sys-kernel/aufs-sources')
-rw-r--r-- | sys-kernel/aufs-sources/Manifest | 9 | ||||
-rw-r--r-- | sys-kernel/aufs-sources/aufs-sources-4.10.15.ebuild | 84 | ||||
-rw-r--r-- | sys-kernel/aufs-sources/aufs-sources-4.4.67.ebuild | 84 | ||||
-rw-r--r-- | sys-kernel/aufs-sources/aufs-sources-4.9.27.ebuild | 84 |
4 files changed, 261 insertions, 0 deletions
diff --git a/sys-kernel/aufs-sources/Manifest b/sys-kernel/aufs-sources/Manifest index 95bea2ce3490..45580cdf3ec3 100644 --- a/sys-kernel/aufs-sources/Manifest +++ b/sys-kernel/aufs-sources/Manifest @@ -16,6 +16,9 @@ DIST genpatches-4.10-14.extras.tar.xz 17348 SHA256 a5a81409396a9e811bcc1e6056eea DIST genpatches-4.10-15.base.tar.xz 297072 SHA256 ed5febe4ddebc77b702e6377fff621a9280913ea480f78fbff74bcb50ee0f282 SHA512 689194e08fae6a7bc777bee7989064f4efb37ea340476e09fa7fd629ac45c0d5d7a2637ed95eb92b8bde0a45727b610288e573388024ee15b431a780fab33e7d WHIRLPOOL 61ff87ac1c41ff739e8ad081aa6afb3971c8963339046cab74570dcf4ba6a9a1774f182c2e7b07c050a25ae5d30f52cb4fa8954793b8c9797a2b663b85c9d85d DIST genpatches-4.10-15.experimental.tar.xz 105400 SHA256 1adebb8f9010a51de20ca8f7ad2b4acf67b91e3478689070201b9b01352c7754 SHA512 600a61a214ce6ec234072319635cdf619d8935226ae387c7f7c4c8a8965408a66c50575f0bba5f837705963469b4f1eed3407d0ecfbd67200c8664a3f86414b1 WHIRLPOOL 66c2123199a20a17323c78be6459aca1a8e680b093b81da07996f3ebd256e335a7a69723a4068fbf95bd6c71b8758df4fa9219ce9a78712c9973a30f32218b33 DIST genpatches-4.10-15.extras.tar.xz 17344 SHA256 a8e82b18ec6263b107065e69b98de016476b89eedd2cb6b451975e5842aea715 SHA512 f5213b36ca334164db9262935b08a0635064bc22bba668e27336281a71be06039efc6ab3cd10c806dee474a44cfd87baac063db91574597942beb52b1cbc7b2e WHIRLPOOL b5b9483235869c003909d5c778838e0fa08be63d386816062db605d528c83bec69c3c1d7b555467500c756588ba2c61bd47ce882b17d9901f828551b8229c843 +DIST genpatches-4.10-16.base.tar.xz 300816 SHA256 beb7b61015260fd331502f68156456d55feaff7297f3b9d73066ef550fc9e05f SHA512 b14c83d6876fc99b191d5ae8924dc09ead688457f7205ba8b63bec2dcd218f3c2a5a7c96e8703806779fd8b26da30dd2c3b6229766d3a6a5755b31f05960fd5d WHIRLPOOL c9a2ac6275bd8796978ef0e1048347924ab9b51f22bbdf39e7d7dbdd94ae14555e702c53546c80d74976088cc16a2489ba110738275796a2781295917f93c6ed +DIST genpatches-4.10-16.experimental.tar.xz 105436 SHA256 57feae79da562d73f629a20dc09d6314dd6ea5de4885c44526b867cced8c8c17 SHA512 777b29036a55993e920a660f75c452c7c115f35e3c2bd9e9d98f5ef7bb83990f5975b757130a1280d3ed6389fb7b76d23b3150ca72d296ffa2a88173a530c187 WHIRLPOOL 2e57873bf39bec437dc23ca07b8849c21f03c1d702697197078f11bb0f1e3af23336769e9f7389a11351be6c2c22b9dc05d2f78dca660822e2618e2fff978cd5 +DIST genpatches-4.10-16.extras.tar.xz 17348 SHA256 9b8d40db773ce13feedd5ccb2ac7e88236d997c72d1adac7d0ba41fd2a432292 SHA512 5fa4001147c6a276a93896ea6d55f7ff24f4f0606b0cfbc2122d65dc685f9656b6146547000428b1940dc9cca434bd00880639b39bbd5e1f35331e2337842ab3 WHIRLPOOL 419bcba4c2e9fb26cceaede2bb70fbfeb41fdbb98ab1ccd49967a9e4daf1c75692f78ae35f70e8758031e94c7dfa52f27ad5a337c25a933df8aca36450a2fd83 DIST genpatches-4.10-8.base.tar.xz 177928 SHA256 d2a1baa7500946ad36849709bcc0430836fc9c050e0b85b094eb3de4f6a4a5e8 SHA512 38a0323484c88d1767962bb4327253e7aa47724f6f57e7fa94d559025c57bcceafaec4c5f6d13b1c2dc7e9cd80a917b8017d6cf1aac88c1212caf9cbd13cd7cd WHIRLPOOL c7503ceb8f870cf4fe2bf88f2ceb8b72b206c15d6e3d6fb8efe8198f8e8818eaf07a24e80969477f64b5ab9103f23bda1e152a3085f401305fe5f54520335356 DIST genpatches-4.10-8.experimental.tar.xz 105420 SHA256 1018517fff821f903912e118a5490c9513da476892aa72dca01f650a8920e951 SHA512 1f498c23affa95d2ba77588d178c09c2181c24e35ebd57ccd18ae48db9155c56b19ab48c39dba7dc98530881a29b64233015cf4c290f2c23432611bee58d64d6 WHIRLPOOL ac48d4c8a18222e968e2e553569733a462f847331ad99cdffcd2d9e919a415dd0140adaa80ba98d75123bd3df2e6439466628973a650e7b82fba406664a8babb DIST genpatches-4.10-8.extras.tar.xz 17348 SHA256 3444b846c3232541152db3bb2d9ff5aa66c7c7249d346fd990ed304489e19d02 SHA512 a655184d0dfc4327a18b8e170bfad077818b7064d4c3b682c478835f297fac1d1f3cc3c611111f51275a9a5edabdfe7837954e7ab112b0480c60b1936a37b35e WHIRLPOOL 360df1ae85469913c9236147e2f5e4d38f1e109a35d4961a2cab271ef79049101680058c5a99430829de7e895ef5ca89e81a59dbf83deccb5d49daca4d1d5159 @@ -31,6 +34,9 @@ DIST genpatches-4.4-68.extras.tar.xz 16460 SHA256 0108bf1cee7d24d43a98f5fe24c542 DIST genpatches-4.4-69.base.tar.xz 1171160 SHA256 532e39dc077d82f02f09d88f5f528fb56f65d75c280a7fa4a92d7e1e2ee75dc7 SHA512 8d2fac49e79a84364c6d4558a46974d6879f6f1a3931a74432cfa33939135bb83a4ef6f88d029db826ddb26187df0cea293a6ccfb41e7a914bdfb52313ff9816 WHIRLPOOL 4957d7d84153e1af9784cfc47e026c1b0860b28dcc2d7c2ac801b295ae38090a9f0922580c560de7169efed16825e076ba60fbc192ceb621ef92e0f7676ff7b6 DIST genpatches-4.4-69.experimental.tar.xz 87792 SHA256 e95c6a1f36b562406905a887671779dbf2659f7e686ce20496ee78ea3cd8453c SHA512 c1baf83af627b74e9a53d414c9653dd9af7c0bc8f1a9be5ff162390ec6bec7f30bc0e1c8b9004a00e6e5cab3b97016595d68de8eeb0beeb50afee0c8f72fbaf2 WHIRLPOOL e81704a18b99239a113ee8f1fb60653887f279026436a5c10a7d508c66acc98eafc72af493540f4ef75e5da7bf6d8d4d84041ada1819785f497b11a770dac00f DIST genpatches-4.4-69.extras.tar.xz 16468 SHA256 5833e7cf08f0eb1af3f77a1f2d65c3181394d71a7c51d2b9e85bb65053ee287c SHA512 95874e4f2c74633df03f5fbb467e1995ffdd5121792ecb99eda7bd4a7118b72c7edb63763b34b2e6d0a85ce0b61ec78ec7079eb923c3b9c22750d9e94b409611 WHIRLPOOL 8d7922b99128e46cc1192fc18237f4416d2059d2f2aa5c2d31b9691e796781cef972fe448b451ec018a64cc63d0317b1ee8db19b4f00b3d1f7c51bb60061e977 +DIST genpatches-4.4-70.base.tar.xz 1177632 SHA256 1b853612418a27dc8d7aee0286d10beed35d6736f04b3d2de13de0d6e7e55395 SHA512 b7b97921bcfd8f61f9d169820633670630adf33bb90d977266bb0aa6532c7efd3e98a5998fe75e0f9f08041a4335071fa87e28d872fbe8a81f5f61443dcf089c WHIRLPOOL ef55193c9b732ef4c013c0528c8fc2b89e76cab8ef3d72009d8db62192fbfd13e31a72a4726dd8b133243387e199eef74daa878b895bbfd470bade0baad2957e +DIST genpatches-4.4-70.experimental.tar.xz 87772 SHA256 55a9e78a4cb4551e4eef13a0d494ddf4cff9554665de2c557bb33b415f78abf3 SHA512 be0e27d758629fcb6823551256f5ff576fc8db669edbeb3a24c620caf4250491de2871e90df89439087b3e1d45e6dcb01f57049151a14cd2a3c0ceb752b00861 WHIRLPOOL 2dd0b56b1135890e30cfc69d2dcf543b9ddd12a8b046bd59763056ae6c2a60ec51f71bcf60a45bd2cc5d817af8bd860f87aa2a4e4454587fdee0ae69ca4ee7e4 +DIST genpatches-4.4-70.extras.tar.xz 16464 SHA256 d57dd4c5f615d0331f3473c116c26121fc0883e0dfa2c5be998041c3d54cb014 SHA512 973b366d813cfb82f6f57a94be98d318b2490da5315d5479c306f17b981be08b5ebe9b0f35bc265c44d42ca399d478eb710a927f12dc7de02a2fef27fa126ec4 WHIRLPOOL 931ffc3a9339c7b8cc95adc40271bf23fff354569e12d29cec10f106785870ae4cf596e5cc8078ad641f071d4a47d2c8aa7b31668898475e2dee1e1107e21a9f DIST genpatches-4.9-18.base.tar.xz 385508 SHA256 d29fc16842e846c2c6487e9c1543e6fe43429d34882ac9c6ca070c1fe3564605 SHA512 c1d08b3d66df74efe610cbf586921f7caa57bb8337848380fdc8e2034883180a60a26dab9ded50974fb468d35dc923912ead08cb0f751a515cef85efb31955d9 WHIRLPOOL e1ef981b945718eab2e96470f96a033cc2b1ede6c706d6cd3e32f4f1c4e066766135141d55a5ccee06d9fb84bc66df389cdb2d095ad569bd565afc600b3b4095 DIST genpatches-4.9-18.experimental.tar.xz 105616 SHA256 209be56c1efb0ba3fbee17f2437bd00b36caecc6c44db2b4e1a0e46ae17640b0 SHA512 37d6983f46ed4031f11f91ffcdacb510b40cab682d71ac471ab3c2ae78598ee9826068afb8b1388d96133635ba2680cc106624e0d79c341d2610b4f74330b773 WHIRLPOOL 5af9422c0526c5e23977f2d25ea683ed1ecf6f9e14a6daf52490bd808e9790cf6f6d9ef96353bda3474197eb954159575a4f0e6a768a86777d9b8a61828d0a0e DIST genpatches-4.9-18.extras.tar.xz 17348 SHA256 64167f17f122f969476bf68a3e0493a77d7ae9e78087c2748cdfdc6e6186af2a SHA512 dcbdea379a0e28e9b8ed08b32ee71a36ce9ccc817e5b79f38759031e3324441f3e91e6b7e2802d1a694574bb4ce9e8f441d88ccbbd9280b3a4456eadab7d5fec WHIRLPOOL 1d3ba61d03d17a707a65423e85f7f3a235a9d39fb26e4602b5cf663e097dc9e8618380d7a54db60705e6b38e9c0674330df57a6e243c7215411275a489ab8b42 @@ -40,6 +46,9 @@ DIST genpatches-4.9-26.extras.tar.xz 17348 SHA256 a5a81409396a9e811bcc1e6056eea1 DIST genpatches-4.9-27.base.tar.xz 575444 SHA256 a0a3b29e69bf3c9bcfff10817cba12dc6a43b9ef8375120a2510b965ccecb78c SHA512 fdb12314dad10086e4c5d26617c44ddafb552e4362195102bfdf68e5b6a0408fe26c5d7d6d04b9e4b929adaa4e804b9b9bb99a2be6dfe31d58f56612d9b59d7c WHIRLPOOL 870b6f518f49543ea557eb4d686e04d446f14424d3fdff2799708ae39d46cba28a4974ee131098332ab00913797227de5ed8cbf15f83fb5e95e28c8d91956f0f DIST genpatches-4.9-27.experimental.tar.xz 106396 SHA256 aaa23a58e0cd7284fc3f4a01f24b96e683db49a1b90a3cb3984b3b3cd614ca22 SHA512 8676a26f75ec6481a260bfc41247e7aa3ec5ddb663915db9225219b5b02f6b0f23bb5228aff1aef87bb72061c80c68f62877be2b4280703865dcc74cff2c12b1 WHIRLPOOL 427d8dac9855e585f40600e65bcf1bc934f7084386564881edc77b06ef97127334a9623105cf72e372dac09f00ff3cd9e871e067ef4a7c3d90749b996894dd79 DIST genpatches-4.9-27.extras.tar.xz 17344 SHA256 a8e82b18ec6263b107065e69b98de016476b89eedd2cb6b451975e5842aea715 SHA512 f5213b36ca334164db9262935b08a0635064bc22bba668e27336281a71be06039efc6ab3cd10c806dee474a44cfd87baac063db91574597942beb52b1cbc7b2e WHIRLPOOL b5b9483235869c003909d5c778838e0fa08be63d386816062db605d528c83bec69c3c1d7b555467500c756588ba2c61bd47ce882b17d9901f828551b8229c843 +DIST genpatches-4.9-28.base.tar.xz 581556 SHA256 a72e384dd4e3e835099bd430a89497e2d8ec9e1592262c887a705ad7f8c71160 SHA512 d6f04d54da3e57a8fa500063c215353d8a5d25122dcbca56443f35a13c833bc18fb499463df5c995818998df8b0b68167954a55682d7dbd44e5d2a97c5be5fe7 WHIRLPOOL dcdcfede3ec09b81277e337b4eca75e214395f73a8096ed103df88b0867c56774a3cc00637de0846e05f6a1835133be73012b57757b4ba5f92d569be9ad7948f +DIST genpatches-4.9-28.experimental.tar.xz 106388 SHA256 cef686eb8c86e5f867d4c30d0203441da2138339e53b14de06cbef3673e460eb SHA512 8de1f97455be9519cd5320cfbf395cbf2f3be6a307d0b435f149da6c14d3461aabd04599fb122c013bac7ad0118f79c36bfaf7f6b71acf2d7323de25468dba04 WHIRLPOOL 82da257449bc0447244d05dfecf099eab7301b2c1cdadb1801b7e5a1ce00b06b1c63de5ed88c052cb944e2dc7579e50b20485220486e70c7a0c500ab2adaf224 +DIST genpatches-4.9-28.extras.tar.xz 17348 SHA256 9b8d40db773ce13feedd5ccb2ac7e88236d997c72d1adac7d0ba41fd2a432292 SHA512 5fa4001147c6a276a93896ea6d55f7ff24f4f0606b0cfbc2122d65dc685f9656b6146547000428b1940dc9cca434bd00880639b39bbd5e1f35331e2337842ab3 WHIRLPOOL 419bcba4c2e9fb26cceaede2bb70fbfeb41fdbb98ab1ccd49967a9e4daf1c75692f78ae35f70e8758031e94c7dfa52f27ad5a337c25a933df8aca36450a2fd83 DIST linux-4.10.tar.xz 94231404 SHA256 3c95d9f049bd085e5c346d2c77f063b8425f191460fcd3ae9fe7e94e0477dc4b SHA512 c3690125a8402df638095bd98a613fcf1a257b81de7611c84711d315cd11e2634ab4636302b3742aedf1e3ba9ce0fea53fe8c7d48e37865d8ee5db3565220d90 WHIRLPOOL 86d021bae2dbfc4ef80c22d9e886bed4fbd9476473a2851d7beaf8ed0c7f7fbc1fa0da230eb9e763eb231b7c164c17b2a73fd336ab233543f57be280d6173738 DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a diff --git a/sys-kernel/aufs-sources/aufs-sources-4.10.15.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.10.15.ebuild new file mode 100644 index 000000000000..f2c385a2a28a --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.10.15.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=16 +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo-r1 + +AUFS_VERSION=4.10_p20170410 +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.67.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.67.ebuild new file mode 100644 index 000000000000..96cd2a9b984f --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.4.67.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=70 +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo-r1 + +AUFS_VERSION=4.4_p20170410 +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.27.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.9.27.ebuild new file mode 100644 index 000000000000..1eb8d11f4f1a --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.9.27.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=28 +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo-r1 + +AUFS_VERSION=4.9_p20170410 +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 +} |