diff options
author | Justin Lecher <jlec@gentoo.org> | 2017-05-19 11:03:41 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2017-05-19 11:03:41 +0100 |
commit | 43d31505730baa43c51da03ad39fd864b7a99cd3 (patch) | |
tree | 40d5fd641a2659d7f69e44982834a85bbcbcbdae | |
parent | sci-chemistry/openbabel-python: Version Bump (diff) | |
download | gentoo-43d31505730baa43c51da03ad39fd864b7a99cd3.tar.gz gentoo-43d31505730baa43c51da03ad39fd864b7a99cd3.tar.bz2 gentoo-43d31505730baa43c51da03ad39fd864b7a99cd3.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>
-rw-r--r-- | sys-kernel/aufs-sources/Manifest | 9 | ||||
-rw-r--r-- | sys-kernel/aufs-sources/aufs-sources-4.10.16.ebuild | 84 | ||||
-rw-r--r-- | sys-kernel/aufs-sources/aufs-sources-4.4.68.ebuild | 84 | ||||
-rw-r--r-- | sys-kernel/aufs-sources/aufs-sources-4.9.28.ebuild | 84 |
4 files changed, 261 insertions, 0 deletions
diff --git a/sys-kernel/aufs-sources/Manifest b/sys-kernel/aufs-sources/Manifest index 45580cdf3ec3..611e82a8003d 100644 --- a/sys-kernel/aufs-sources/Manifest +++ b/sys-kernel/aufs-sources/Manifest @@ -19,6 +19,9 @@ DIST genpatches-4.10-15.extras.tar.xz 17344 SHA256 a8e82b18ec6263b107065e69b98de 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-17.base.tar.xz 335288 SHA256 e5db86a6bffa7fe3ad59cf97e8870b558d59448d4d20a3457a371a558f0c6971 SHA512 a8713b8c4356b9c2d6fd7e124ec1621499cd1375e42193e08ea4ff6670c86f7e2da1ae1888212c811379fdbc59fd887fef5e39c023cb3132c799b1b339134787 WHIRLPOOL d94d1dd09e6c12c8aebf7bdf36af45cda3a84d193f9015d9e4cc29f9fa5aab4b83803370edbdec02b7747ccb63bbf191fb9a960c207ca4f3fac7243723600d61 +DIST genpatches-4.10-17.experimental.tar.xz 105420 SHA256 4c4414d9ed43f7c9103889d60bfa1d04c41ae4bb6ac454d58959b9c1e2d6b0f7 SHA512 677a5d5cfade4ada1a05c732a6251b61da56e3d1cf32c48647fa1d67880f4dd7f87ffaefc265e7d46aabdb2aeb3b7e50d87302cde75f6e81affa27f8ed99b860 WHIRLPOOL ca98994cb83547a12295e618c25f7c5a8d64482db6c753a4fcdb922dfc614d8dc10a3f47a65bb4511b7c4c3b204e1563a46ab3cfa1b0d524583bd576e3767f3e +DIST genpatches-4.10-17.extras.tar.xz 17344 SHA256 67335b74fcb7ac24389ed17cc586a758d865ced67822749eb407ef4d5295d463 SHA512 431610bd824e842a34233f49f320f194182343925c652844f0629e263fbdd3046a9867e1488e9f7307324adc3a27920a44a4c2e67d10d50ab896fa0da4d35db9 WHIRLPOOL 94d0740e4d3701017377848090ec364028ae2e61221a956ac634beeeef8d47e4f18562fa4f9067be23bab471c1761d25e2737a508c3070c3087b8b691af526b9 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 @@ -37,6 +40,9 @@ DIST genpatches-4.4-69.extras.tar.xz 16468 SHA256 5833e7cf08f0eb1af3f77a1f2d65c3 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.4-71.base.tar.xz 1191000 SHA256 c23c01949f40cd6db6024913c10e95ad6e04c4974803ef33b0d06383546b9ce3 SHA512 b01933e63a75203bbe30eb3998090000bec956dfc25f7a81072eb3d984e114274c49fd3d76c65af63aef18d9b85ebf16f12c260952e9b76a1b7fde5889f30c94 WHIRLPOOL 83667bb0937b6778da2f019ba0ad63f845130fa4e033c4f361109ceada66aa529133b56ad2cd715d59462a026326277cdef0e6c2342ee7e05948a197b1bf8d16 +DIST genpatches-4.4-71.experimental.tar.xz 87776 SHA256 2d71ce70f2a76119eb8850058a35758206dcda51c312919a4e3a140ed1b9a990 SHA512 bf0f38e0ac4afebc5c9046550234b504d96313f8084810ee5a7aef9f661f9cb356901dbf01491a84e9ee367a989b7a8ccbd6f0583c441d9f52d386e2efdc4019 WHIRLPOOL bba382c370a802849b66f773d57c44169370c850847c90775b0251af07051dc2291d9bf1a39fa5460a6e3f5f54dd21bb853e290e9dc57687d023c6ad44d66210 +DIST genpatches-4.4-71.extras.tar.xz 16460 SHA256 b9e22857579b22dd87048cb156a8535502e5b85a0923d7ac434f51c002240831 SHA512 64bca67e5d75279d5463c01c203cf4fa85faa4dd1865ce0e696a9fa81c12711e6a93ce295d9b9772ebf4b23ff5b64a4bd44f13b554357631154aec5f785903b2 WHIRLPOOL 0dafe4977d07ae38a5ce55bc7c75a453842fa587c42c26fe23c3e34412c5ea7aca0bf1fa5fb9b872643ce2ee38474be2afbbed98ed84ec901117ac67ef62e0be 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 @@ -49,6 +55,9 @@ DIST genpatches-4.9-27.extras.tar.xz 17344 SHA256 a8e82b18ec6263b107065e69b98de0 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 genpatches-4.9-29.base.tar.xz 609688 SHA256 6aba05d2d4f38128b9bd365e25c2f597bc26f06ddf13a46ec0664b1dc86c8419 SHA512 46a12879c40efc9c6bac6062d2f8dfc9b5e1e0cb57b9cf4a69eb60222c9cd45c0d890aab66f2f70a744c71e5c8c34cb2290f85d785772109cc27f1c3cffe022d WHIRLPOOL 1576d1209a67741e7246e1bd8ac100e398083d9dacda77490aec96047b744c35d2e6fc0510e94f6a1fc5d0ed73a10d6f9116b8ed184900fa6765df2916ded20b +DIST genpatches-4.9-29.experimental.tar.xz 106404 SHA256 1c254e199737008f6751955effaae6d628adbe96e96077b2cffd60d49a59ac1e SHA512 fc185d20d49d0b582cfdb27f5e2bc703c847bd969a6b40a6b23f9ad36c7ded427b7fcf6d2f45060c0acba2b65d25e816c9ec52f9fb1c45dba2ab944ed3eb782e WHIRLPOOL 35cc00f185a1d5faa47a65f6b5a2f5a1e30215d4ea77e987157f4f1f9873fd7662617fded3e4d590209b5a21a42e4f900b5853a4b777a5d4bb1aaa57a477eba4 +DIST genpatches-4.9-29.extras.tar.xz 17344 SHA256 67335b74fcb7ac24389ed17cc586a758d865ced67822749eb407ef4d5295d463 SHA512 431610bd824e842a34233f49f320f194182343925c652844f0629e263fbdd3046a9867e1488e9f7307324adc3a27920a44a4c2e67d10d50ab896fa0da4d35db9 WHIRLPOOL 94d0740e4d3701017377848090ec364028ae2e61221a956ac634beeeef8d47e4f18562fa4f9067be23bab471c1761d25e2737a508c3070c3087b8b691af526b9 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.16.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.10.16.ebuild new file mode 100644 index 000000000000..4714a8b994fd --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.10.16.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=17 +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.68.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.68.ebuild new file mode 100644 index 000000000000..a04d131b23d8 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.4.68.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=71 +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.28.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.9.28.ebuild new file mode 100644 index 000000000000..a1fcddedc21b --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.9.28.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=29 +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 +} |