diff options
author | Justin Lecher <jlec@gentoo.org> | 2017-04-22 16:49:38 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2017-04-22 16:49:59 +0100 |
commit | 2dc74c0e8beb24954b4d0c39755f06e5ade609f2 (patch) | |
tree | 2e1857699767994a54e95a68323ea4015a0a8721 /sys-kernel/aufs-sources | |
parent | kde-apps/ktp-desktop-applets: Add missing DEPEND (diff) | |
download | gentoo-2dc74c0e8beb24954b4d0c39755f06e5ade609f2.tar.gz gentoo-2dc74c0e8beb24954b4d0c39755f06e5ade609f2.tar.bz2 gentoo-2dc74c0e8beb24954b4d0c39755f06e5ade609f2.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.11.ebuild | 84 | ||||
-rw-r--r-- | sys-kernel/aufs-sources/aufs-sources-4.4.62.ebuild | 84 | ||||
-rw-r--r-- | sys-kernel/aufs-sources/aufs-sources-4.9.23.ebuild | 84 |
4 files changed, 261 insertions, 0 deletions
diff --git a/sys-kernel/aufs-sources/Manifest b/sys-kernel/aufs-sources/Manifest index 209064bb1961..3e6f21308216 100644 --- a/sys-kernel/aufs-sources/Manifest +++ b/sys-kernel/aufs-sources/Manifest @@ -4,6 +4,9 @@ DIST aufs-sources-4.9_p20170410.tar.xz 173208 SHA256 a34e8cc843f88ac49824fd48c9b DIST genpatches-4.10-10.base.tar.xz 243056 SHA256 eb8ad6a24d6d5e1917256e12cdc471f58347288da5e1ac652f0b5254ef8cb0a9 SHA512 3a3266edcca74ffb8c840fc4bba5e6a3d0b5bdae3e3d891d58344de9c569d1028fdd8d37c8b02b36d2f93034d46a070f4f4196ef0706a48254ceb7de91a4878d WHIRLPOOL d442ada52d7a7f1cf7bca3c64594fb2a0be6ac07b2642b2b09cab3c240d3f005bf557302dd8a6bfdadd51d59fd7eb2190691b8b79fe082c9459ce40312a7b1a8 DIST genpatches-4.10-10.experimental.tar.xz 105428 SHA256 632629a8dbf3732c1d2c32a8143e4ca3bb37554d0ee7199d4f3509b419670120 SHA512 2068f54ccbd9f6a4d3cbc85071dadcfed5a506604c78bf5e315222be3b4234e3a7ef2695697b368fd9ab9945182e6a6962aea8db30169f212f7fac6f5b76f4fa WHIRLPOOL 04f3ac4727634344a9e131b48b278fd7f0b64eedaac3885ca5961a0855e4bb6e0d031089ff516fad6a19805636596a2d59c65fbbc4002e669e83406bbca900f7 DIST genpatches-4.10-10.extras.tar.xz 17348 SHA256 b142e0749fc85818dbd9a2b786adb4a5942026049227531799b37efb42b613bc SHA512 503af5fc482b277a16a87e3ecfda21c64346b53f38fe7f56a7c8c6adb375527dacde81cef68b84de177ed30914fb2e7b326bdc9b0a68c95e87b3d399a3ca9ef0 WHIRLPOOL 1c74aaf61e2e785adc100e86692a11503ae74fd263c4ea0536ec29691f01f2f3fa0d845723c26352a1ff1cd8901e9b9399449b8a7578dcb818fc010cc0d9d93b +DIST genpatches-4.10-11.base.tar.xz 251756 SHA256 0fcbd3d296587bb6091bf4c421c141a1b243bb89ef1475a22ce849906232d3bf SHA512 4351e1e97790945725234f97ccddc2c615ba691541d6e30e6990f9ba870d45603bf1eb575be984ad8a82c0f4d96dbea6ca2113b1b28df311382c0b0f3de961bd WHIRLPOOL 4366a215aaa64c529118b38741a43574f04492e660ebe0a8cd742f102d240cd0acef8647f06420da8d354b3ed067aa7c652ea3b514b595c20c81ba9f9c4f1b8c +DIST genpatches-4.10-11.experimental.tar.xz 105416 SHA256 a4c51c0c781eab40091b26435a41407eb46296996e715db898d43c2035c691a2 SHA512 5b8d27d01ff84f98e34bb587962699d77eced9c45b527edf1d74818e8a3d63ce58ed5486fc42eecbf4960483077dc0599daa1edc25c947d82fd1502db35e0db8 WHIRLPOOL 24088d76b0e31345efc547101131cef29e5615bcd6241ebc4f13b62ceebb2f9b07f31bcf3466848feee1c0c14d3daceb078177f3ce3dc17acd3b7d93b6c33200 +DIST genpatches-4.10-11.extras.tar.xz 17344 SHA256 0d604227fd07cb97afe7ace9623d1f919f36ec2ea9d97fe8188fa29a54799e2e SHA512 fbf10241585ca9c176e87320eea175d37ce07d7a5c60830c538f81eb11f8e25e015037d8372809c14bb815da106e441bd6e1cc1347231d4b7da8745c679cecc5 WHIRLPOOL c6660b8cfe23532592a9999fb164f266d4cec12fdbeaa24b1a7b208d1643da11d6f59ec999e0e544b30551668634196b6429ccb640c94991b036f0de798a5502 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 @@ -22,6 +25,9 @@ DIST genpatches-4.4-63.extras.tar.xz 16456 SHA256 4e96ff321f8f6a08e52a46a6f649b5 DIST genpatches-4.4-64.base.tar.xz 1132180 SHA256 08d6f4a9b156ded37528d3d462bf47a2ce3fad8ada6a7f2b194a4cec29a1ab5b SHA512 5d9b2770890a600857cafec6367f7883d89ac744d741c339c7a48de46337bfb81e799dc2375e734d2a3ba45ccbd5ea9e1365ba033388ead055bf70238b399214 WHIRLPOOL 04cc2f178fc5cdec3e1ce4a0e361f049067c9e6d3add9041e80739014bc3499853b471133b4ece232281f23d0cc554f006484247ce000fc8798108cc917c360d DIST genpatches-4.4-64.experimental.tar.xz 87768 SHA256 0dc4a4215a8b0505dea0e4134df3b03ae6c2a002dc08fdd91c9a23d2ad994a26 SHA512 4c62109b1277113891e530c1568c31dc34507fdf21b048282d72d9c314153ecb8121a66e59fae6f2e040ecf550f278cac2ce6800ea0d9c405dd017b9849a5c6a WHIRLPOOL c47cb89fe7083c936806105939ee5c4ebc74af6889d19cc37490d4566ef990f9874ea911ee6ee52534ccff676b15591aa021ba56ecd33e5b90da2251b4880650 DIST genpatches-4.4-64.extras.tar.xz 16464 SHA256 91b0dc5a9a76498c3848555ceaa4d687f223f6a53e0819cabc8eab7b9d99d3ed SHA512 9f9fd7a4bbd5460d7e9765df4dbbd561f31c4d807558c6d203e4545879772d21fff95875a48de49c3e9a664e4ec5a178d4ded15ef43c8e62ff69bb804d20bbb7 WHIRLPOOL f789b11c9c953beb5083a18dff7b47f215411a868717089e5d4d1dc91e60931f2d78615cb0b2700116e24d5a33ca7c06c82999ac9ec32105ad4e8043e1ac3580 +DIST genpatches-4.4-65.base.tar.xz 1138044 SHA256 c40c55982fde6f085884919dea1f60e2b8b25227ad1f5ec33de47e6acf11e225 SHA512 313fe5c90bddbf89ffe28501e97529e617057902e1d130914b891c7f8c5eab143a1e997bee68d2e93256f665e1d7a34623ca24aa251d84cc29cccff83172f299 WHIRLPOOL 1f814976ca003583de32ed7500a2b65318e5d3a8e1595ff3dbe888944f53504b7c11cfcbf71bc02519c3957902da93cc57b81d2195bfe92230e94213e5936bc9 +DIST genpatches-4.4-65.experimental.tar.xz 87768 SHA256 7c5a5164b2bdc0d2814feb3d2e0cf7e8e25ed06507f82164235f8755f4c0faa5 SHA512 ece7f7cd364451b15238f945209b4545d92d4c85152da6a0882d84e8e2400b07d6ad1b629a2550ce45d6a238acbac85da99ace4350b4b5a23967cbf4fd7df33e WHIRLPOOL 629f68e35eb722dfea1942206b39df9ad5fbe4111b32b7997855d00e72da077f3b44e3aa8682e8571ade75ceae8e9b1f6766e2dccecd8d9f0248f4f621b7fc11 +DIST genpatches-4.4-65.extras.tar.xz 16472 SHA256 2969fa6da17617b3730dbec250959b84efe8ea644bff34d806d921ddabb6ed13 SHA512 bdcd71b9543d442f61407566398f94cc03e50b36e8280fd8c1a1a915890095b4aa05be5f4f916d2701b41de9e1f28c90e92043cbcb45f135413d57513c6dc762 WHIRLPOOL 00f13aaa99090c0ba67bf88e67aee171a716e155895badd91204cb91355b0bb8823021e8098323d67dc37cffbf6388fa5b4a82622cda677adc541af47d239f0c 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 @@ -34,6 +40,9 @@ DIST genpatches-4.9-22.extras.tar.xz 17356 SHA256 1452a339e59ada15d94697b0d00a9a DIST genpatches-4.9-23.base.tar.xz 527264 SHA256 8a7fa696395333d94bf577b3ebb8b3cbfaa9179ff529dd91028175e6f6fc0848 SHA512 7270df0aa2e5cb56ebca8c86c40be1340023e4c1d2af59b1f55eb2f34b4e491a96b88da642f58e12532cb034037c223eacfcbcfe12df8c65fab7786499ec07f2 WHIRLPOOL 73f9b2c0e69a13de4aa685c7682ed178fc10ca111a7e8f9d55a7f8f904bcf66ca59c6444dfb739b45693385215b3f7ecd100310dfcf2b50e7ab6763f1d929abe DIST genpatches-4.9-23.experimental.tar.xz 106388 SHA256 4bbf6de09786e7e0ade972ef2ffc5520955c97ba8cb97dbb369ba782b429c74c SHA512 c36370448bb952fe0a4205e37848a1b4f10ea467afb0bade0a30181a4f40a0e3cc3ee2daf986df815a00d3ee464e4f4506496abd9da1fac2b276af135d2fe461 WHIRLPOOL d0c2db4ec6f4b695be759b4e8f6e152370fea69dd44a346805a097a2ddc748cac6717dcb7ee34e6de30fd71de2b457cf7277f73c399e10861b5bd31deda3903a DIST genpatches-4.9-23.extras.tar.xz 17348 SHA256 b142e0749fc85818dbd9a2b786adb4a5942026049227531799b37efb42b613bc SHA512 503af5fc482b277a16a87e3ecfda21c64346b53f38fe7f56a7c8c6adb375527dacde81cef68b84de177ed30914fb2e7b326bdc9b0a68c95e87b3d399a3ca9ef0 WHIRLPOOL 1c74aaf61e2e785adc100e86692a11503ae74fd263c4ea0536ec29691f01f2f3fa0d845723c26352a1ff1cd8901e9b9399449b8a7578dcb818fc010cc0d9d93b +DIST genpatches-4.9-24.base.tar.xz 535872 SHA256 b5982f25edcab736a3448d396bce03f5f52c19fcd6f253f9125dee890ccdf4cf SHA512 ea033acf6c63b3da5e15c7889166b1995e494a588fc406c72b70e46172fd9c2cecd1404a00d1f33c776dca2fc70226e4d9dd017fe1c35bce9f44d71433887f1f WHIRLPOOL 98ff1a195d106504fe1319e52dde7a5b3d715afdd2b74a19b509624f3461895b5e09092a644b96b4fc653e0b2b12ec1f2b38c93901bad1c871c026b8ab3dbf5c +DIST genpatches-4.9-24.experimental.tar.xz 106380 SHA256 dd736139a5889ac682f71a4bae021306822757da089baff0e3f8925a4c89694f SHA512 d6578dc11bdbf2a67c2590b748491fe09337f40e4a32be3f5c5e1db8153fa680f1afd156b2ea6d70a4ff99321165bd4886749b9f992a43555a03a49d94f6090c WHIRLPOOL e961cb81f6bbdc88192a23ce397f53bbfa7210e7d132849071d7ce5f2f38829401ddf99ea128f8a7f04853f878912008c164027b5f3e6fac46d69f1d4b47cc79 +DIST genpatches-4.9-24.extras.tar.xz 17360 SHA256 7427dd7e31491ffaa51be08bb5517c507018b4e73a9bfbf6a3558f27c670c885 SHA512 2e60a0b5f8a202502fd42f4a2a0b506d0fbe971e934aac979021077df812554725cb16496ae6d45fcf4223019bc6d35bb0d3bf45fd2462384fd5f769ac88c3ed WHIRLPOOL b6af4c3ee7e12f2d1ce37e19a694175ca68f54e79f672ae4a5d563e2a32231f08f224808afcd6223f4f88eb5d71054104ce968c1946a3d941d95a0897e20f504 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.11.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.10.11.ebuild new file mode 100644 index 000000000000..5b5ccdd5483c --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.10.11.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=11 +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.62.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.62.ebuild new file mode 100644 index 000000000000..e79f2f3bfadc --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.4.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=65 +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.23.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.9.23.ebuild new file mode 100644 index 000000000000..961b766bd7a2 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.9.23.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=24 +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 +} |