diff options
author | Justin Lecher <jlec@gentoo.org> | 2017-04-23 20:13:46 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2017-04-23 20:13:46 +0100 |
commit | b42c006e34bbbb233593cb833bf7cc39f7a3dffd (patch) | |
tree | 429795074e48034a587939c63eb33e789d7a8b5e /sys-kernel | |
parent | dev-qt/qtcore: Try to fix random plasmashell crashes (diff) | |
download | gentoo-b42c006e34bbbb233593cb833bf7cc39f7a3dffd.tar.gz gentoo-b42c006e34bbbb233593cb833bf7cc39f7a3dffd.tar.bz2 gentoo-b42c006e34bbbb233593cb833bf7cc39f7a3dffd.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')
-rw-r--r-- | sys-kernel/aufs-sources/Manifest | 9 | ||||
-rw-r--r-- | sys-kernel/aufs-sources/aufs-sources-4.10.12.ebuild | 84 | ||||
-rw-r--r-- | sys-kernel/aufs-sources/aufs-sources-4.4.63.ebuild | 84 | ||||
-rw-r--r-- | sys-kernel/aufs-sources/aufs-sources-4.9.24.ebuild | 84 |
4 files changed, 261 insertions, 0 deletions
diff --git a/sys-kernel/aufs-sources/Manifest b/sys-kernel/aufs-sources/Manifest index 3e6f21308216..5ac03f534da7 100644 --- a/sys-kernel/aufs-sources/Manifest +++ b/sys-kernel/aufs-sources/Manifest @@ -7,6 +7,9 @@ DIST genpatches-4.10-10.extras.tar.xz 17348 SHA256 b142e0749fc85818dbd9a2b786adb 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-13.base.tar.xz 273848 SHA256 65d39739b2ad77131fb187c1130df97432a17c6ccc63218d78a0cd6d39825308 SHA512 37a5db0a656f96d17f8629c12eedea879da21a46aeace5a28f43cffb05dcf906840509697b3aed9c3590dc1600be086a3090cef3e246642837f264c14dde75e2 WHIRLPOOL e133f925d17417129851c6f0812aa6bd73d3ddbf936f87a94674b0696dc7dea13669f24ac89dff22fdd02ca3b0e5cf6ab9860c5eb7bc1e9c79abe10e68bd5f87 +DIST genpatches-4.10-13.experimental.tar.xz 105404 SHA256 807ef08cc371cdefb048102e31d0e22bd3826835fe737ac5f04e9a20cbaf00c0 SHA512 91cf40bf8d70c1b4008f829a1459af180ca0531c7bb2950e3da6cfe5e9a0ff61bd7401ab2dae57b952bb18b6319447a0ee34f91bb7de7b0f23fbde9db36dcd91 WHIRLPOOL a3e5020c48a3c32eaa38b57bf38473df337066ef105ae3b87ab9f180339acfa56c85f74a063ec1fc7a80d93ae7c85fd1e5f23aa981b49abe373353960e080f48 +DIST genpatches-4.10-13.extras.tar.xz 17340 SHA256 89ecdd76d177c1d667b803d33f502ae7c211d45f8e7a3e1e444c21c117786902 SHA512 0b48c694fc296d8dd5bd0b7ff59ab5db0c5ff7639f3bb3ac9c06fa6c5fc162af690715696846ac459b91192191034f00220f06563880715b2aa6c02fd454bb10 WHIRLPOOL aa27674ee9989412fe608261a9bcea80745746afd9e5617bbba6bc5aa512cb9b8995b0e781a42a4951c45ad32a51f320396f66edd5d79dff295185de2d46cc1c 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 @@ -28,6 +31,9 @@ DIST genpatches-4.4-64.extras.tar.xz 16464 SHA256 91b0dc5a9a76498c3848555ceaa4d6 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.4-66.base.tar.xz 1149196 SHA256 db6a7cd45c16da060ce18d0c61d8d096a9b4c7ae79236eeecc8f698d52dcbce8 SHA512 2c545218bcde5714bcc1a12a8ad9cc6dd4c7e7415b271ae380f9721c490e3429743d90c858cc0188169ad5659df672c74fb8e5777e0b378e961fe024dbcb93b3 WHIRLPOOL 2f6e00715e39943064301fa29d3647694e27942cb63984da41ba75a6920f70810cab658e999ef9858ae17e267db2178f8f95fa3c6468304ea1e98ecf721e237e +DIST genpatches-4.4-66.experimental.tar.xz 87776 SHA256 8d737388ed6a605447db7b625d0d2caf0a67faf697170d1743c7bf6e17839c48 SHA512 5a3c64fe0ac8a3511611f53670ee15edcde1bd845e8eed3ef7350350cfcd1369417926215e44f7760793db3244ade5a73a2a4f6e762b22e6756f9e52cb27f636 WHIRLPOOL f56445a2cc28325b7a85bc61358f34e3f21b50178f1dd6e7dbdde708770200984186b3d46001baaaa8f6d1b6f37fd54da2da38444eb2096d4765a80ea52d94c2 +DIST genpatches-4.4-66.extras.tar.xz 16468 SHA256 53dc88a27d6b03dcaa09f97f7efd950e87a9c5ea0e448b75adb7e51878b01b62 SHA512 5a374b8e616e8cb1a35f218873d7cac9cc9f681b577db57dd8bfec284788ce18675aa60427922cbeebe1780b16f9ade3e87cd9335c23259c9ac881940b9ef6e2 WHIRLPOOL cf3bd1d49e5f9aac25eb2c5157b5c266c4ae34361b7993cadb58db780b5c42c4f22a748d500826bf732e7aaa1d2d8d1561538a4d72d88ca6c5cb19b993c43973 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 @@ -43,6 +49,9 @@ DIST genpatches-4.9-23.extras.tar.xz 17348 SHA256 b142e0749fc85818dbd9a2b786adb4 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 genpatches-4.9-25.base.tar.xz 556996 SHA256 4a238c650ade8b832110f046da192a5800010de1df671d2b6d55c1a465eb6329 SHA512 9c04a29cfb293fb34c9f1c9b2d727c62664603af9514cb0e91ca0589a0c7699046f7eebb6ddb58c3e3777f92422ae9bdf4f20386a26139f320faab4dcaa99a82 WHIRLPOOL 2aadfd3a792f82dbd0679ffe8a617a961476a7d275259d30bd2ad2ff99ff629a0ae2539d184718ce0808b603a014394a1ccb7f9ea9be2a9d1f0a36b9fce6566c +DIST genpatches-4.9-25.experimental.tar.xz 106408 SHA256 f2c2b9077c6ebcf8eef14bf7eea7a8d692709a001c62cc26916849b2304b81bd SHA512 b2be508731e892b831bd72a1a727474d73a74898e9a1acdc316c940fef823ccdba1bbe2c894d826162c47b15bc05756e8b867716014d2b8fbde39a560133aef9 WHIRLPOOL e53db28c191e9419fd80c2b43dc63ee0878f7e5fbeca3ee73ce3eaaffc609d2da2fce2e646a7a3148d996c121336c75874e5e31f95d7224ccb324e2a195afb3b +DIST genpatches-4.9-25.extras.tar.xz 17340 SHA256 89ecdd76d177c1d667b803d33f502ae7c211d45f8e7a3e1e444c21c117786902 SHA512 0b48c694fc296d8dd5bd0b7ff59ab5db0c5ff7639f3bb3ac9c06fa6c5fc162af690715696846ac459b91192191034f00220f06563880715b2aa6c02fd454bb10 WHIRLPOOL aa27674ee9989412fe608261a9bcea80745746afd9e5617bbba6bc5aa512cb9b8995b0e781a42a4951c45ad32a51f320396f66edd5d79dff295185de2d46cc1c 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.12.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.10.12.ebuild new file mode 100644 index 000000000000..158b3bd7db41 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.10.12.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=13 +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.63.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.63.ebuild new file mode 100644 index 000000000000..9b07b3c72afc --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.4.63.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=66 +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.24.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.9.24.ebuild new file mode 100644 index 000000000000..e5e8b9a9c3b5 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.9.24.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=25 +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 +} |