diff options
author | Justin Lecher <jlec@gentoo.org> | 2016-12-02 20:06:13 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2016-12-02 20:06:13 +0100 |
commit | 77cc2b89b533363b245598f4d1f910362d509477 (patch) | |
tree | c68272c8c3c7ff90b58e3212178224655abac35c /sys-kernel/aufs-sources | |
parent | dev-util/artifactory-bin: dev-util/artifactory-bin: version bump - 4.14.2 (diff) | |
download | gentoo-77cc2b89b533363b245598f4d1f910362d509477.tar.gz gentoo-77cc2b89b533363b245598f4d1f910362d509477.tar.bz2 gentoo-77cc2b89b533363b245598f4d1f910362d509477.zip |
sys-kernel/aufs-sources: Bump to latest genpatches and linux release
Package-Manager: portage-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-3.18.45.ebuild | 85 | ||||
-rw-r--r-- | sys-kernel/aufs-sources/aufs-sources-4.4.36.ebuild | 86 | ||||
-rw-r--r-- | sys-kernel/aufs-sources/aufs-sources-4.8.12.ebuild | 86 |
4 files changed, 266 insertions, 0 deletions
diff --git a/sys-kernel/aufs-sources/Manifest b/sys-kernel/aufs-sources/Manifest index d22691dd1785..77631f3cd492 100644 --- a/sys-kernel/aufs-sources/Manifest +++ b/sys-kernel/aufs-sources/Manifest @@ -4,6 +4,9 @@ DIST aufs-sources-4.8_p20161010.tar.xz 170924 SHA256 f80b6f194fcc4ee39c6f5bdcce9 DIST genpatches-3.18-43.base.tar.xz 1120732 SHA256 b56698cb12c7fafe59365ff569ca525fe8c0d399b634498af015e1b04a62e93d SHA512 6319e15cf7860bdb40abebcff1a91878a0a8187314f24fee53bd5678fcd958dfd0e13adc756cf371373abce9b6902b4b629e389d5ace78c3a2364511487ea891 WHIRLPOOL 416dfcb63a9468dd74909bbeb0c7fa8b8786733daa022bcd1ba405a33befc399cef9d55115e8c79178d12c204f2f8b3a3642966398697dd3aaca72643e2d32d5 DIST genpatches-3.18-43.experimental.tar.xz 61720 SHA256 1f5fcb3613c13821c9757e7ad2f7b0ef0a0d51602f41b769a4e62e289c30c21f SHA512 947b151ae7c5c85809516edef3e50edf84d9543d9d6d6bb1463cdce20cffeff413f73d4326973ef9bad2d87aef2992e39b950c734068a934b066718790344f72 WHIRLPOOL d57650c9fa527124354db6b9f2ce8b0f7127f2ac4d5d635cad3a79c6395448ce0a0069a5f5ee30965b60e7e600371ced9dfd780fa9f640eb0ddc1c9785ba4314 DIST genpatches-3.18-43.extras.tar.xz 16176 SHA256 5c2df2453a5d742d5b47758cc095910d5bb42e93ac3c7b4655c1d8ebd8c609c3 SHA512 f1f3365e62e059eb119db8cb789eef8e217dfeb1f350e9dfbff57789f1226f3c6fa31df69e86f3883af1ea0f3dd00f96d8a0b40508568c085f52604a4d9f1088 WHIRLPOOL aabbe19c34cad23ddf5ccb251afd8b735f1c1e4e3712e0d2c06ac6219a6ebb24f4f0dc8f5d5c6049e02a47b3d86e9e1b39a6324cb21c6e7b30771106a967ccb4 +DIST genpatches-3.18-44.base.tar.xz 1128740 SHA256 bdee2b3c2421ba678a62322dcb8aca2af52b3af2969a75889fa04160c1b53634 SHA512 291e30ce58cee0013b83dc5e4f6584697c730855855e267508ba3cfd94c0944b7e316845fea004ba7a1754f2b1a3992ac152f0bb898926af5fa081d0d5e71b06 WHIRLPOOL 5023d9251463e725d8b4ff9d4480a8083890c7671fd1f501497504134e9778667a489b2368430349396327fc4a7943aab47f42964bb5247173108e0607f73285 +DIST genpatches-3.18-44.experimental.tar.xz 61728 SHA256 69ebc4cbc6773c2d7d543db96fcdfcfe83f36c9253d2fe96e4db05372c062a40 SHA512 383d34e50f42a4883c922d3803d0a90496db69d38853ee29ddfee75162e7d646a3762d0125d2ccee7fc7de0fbd8f35a410ecab14df4ceaf2f472647459b2c7c8 WHIRLPOOL 8075283ff021afd649949857ad3163ebf9a228d400b2a0268ced31027bea00a38aaef3b402df6c3ae0aaa85941b72276b0865132c7f37f8faabb90d72bfedc56 +DIST genpatches-3.18-44.extras.tar.xz 16408 SHA256 5523eceda179a96c8a8704dd175ed3500498ca7f5610ce0244903b63ec841792 SHA512 b3214e103cad6f442cb2c11f894dd82e89b0184675fd464c2e0dc6a5d71766e40fce1ab6bccfe53cce8b3085235dbf65bf2b29f231cecc96ad9781adb3eb6cd4 WHIRLPOOL 196f5992deea32bd12c2a3ebc67324259d130887be1fc87ce2ba4f593158043cb4c245d19f19fa9817b2c7ab6b84f453169c2438a6e64852ce1c9c1f749f8ff3 DIST genpatches-4.4-28.base.tar.xz 784432 SHA256 40b5a66857a5a0d8707782c642218e551f0dba2c1e3bd138c2b10a40f49d8440 SHA512 eaea6e6d3ad25360d07bbed3882a77d49d2a53e369fad754b691d28be72dfc7b44a22a04017986048689b5805e9013dd66a27a3dbb063d5ca4af366b9fa71e7d WHIRLPOOL d0bbbe004052c047c4090befa1488d864ebef32b76699aba7e34035cc3debc8d13e106b8abd19c4605aa04b06c6b8d4d28f9c86b804ae354d250b4641a57acd6 DIST genpatches-4.4-28.experimental.tar.xz 87788 SHA256 14bf426c45e1f680b3ef6e7fa67fb9046cb72da64b4b36d9736cefce6e979282 SHA512 4e53cfcc0faedcf3040cd31f1291388f1fb4d50873b1bdd4cb376e52ac608855f608ae9b5849e717632266bfa096d5117515ff2e0ca8e608a06cd97b1717710f WHIRLPOOL b02da5f954e588bd6144f89820ff449469b05629ca3992c6fff505b312bf9ef5bcd2d8db2a97922801db7fa2ec52f6d4f376bd29a49378f0cf8391fddac38bae DIST genpatches-4.4-28.extras.tar.xz 16360 SHA256 6c1331851468c372e7f9ea2c456b458e2842aec4752d67817be2a9305df27fc8 SHA512 ca7b353f31e0b0460c78420b26ca8d82ae04f0efe5a395097471bd30d16744ba39e6e1e53ae857e2d4d1773a2ee30c9ce80ae855fc0d33c1d2c93e8ff5b35a66 WHIRLPOOL 16a92ff57cb514bd5b5942b293d290eb631bbeec7bfc13905dedbde83c1abe18050374c6217706d17a4b20dbc0d9f399b4fe10c304c14fefa460cdd95c920e6d @@ -16,6 +19,9 @@ DIST genpatches-4.4-36.extras.tar.xz 16416 SHA256 313b4322ed7fabb9067bd0d5c20e67 DIST genpatches-4.4-38.base.tar.xz 893240 SHA256 fb72de532c75e4d5d5d6de7bc479b458453a6d953291639178f0f01a6e3138e4 SHA512 91ab6916cb899b81bc5a001ef2a65134027834bc1b1dbd82acbc804be74c7872609c1f255ac4a10612801abc1d412d954ccc739284299b9d6f9aff19666dcbb5 WHIRLPOOL e11ca4e847590838d8613a456764ae56ec9ba55cb6bf173a9c3d7f53e998bd3ea7ffee8554b2ea4906a15d1ec65b4bdb16c1565e3d34ca48c52a268c8bd7fe76 DIST genpatches-4.4-38.experimental.tar.xz 87784 SHA256 b565b3eee775d7c256f8ddefdc5e8c21c52e550e327cd41b417cdd8a060dbd67 SHA512 a92363efd9642417c384520045ebf92f588a13c8fd8fdc7d08933736f98d7496ce88619b340cf19c342df7439dfea9c980bc36947273cb3aa5ae804fa011c8a0 WHIRLPOOL 58012b32aba8cce88452ed9b53a18b9cd5a53d21a9c64f14da64dead9755b6756eac70f0baff8ed827159ed1b4edac88d6767c497e11dbe8ae10aabd1b011749 DIST genpatches-4.4-38.extras.tar.xz 16428 SHA256 b60496f1217495d8ff3800deb49d305e534e9a73d1cd452748262e9f019488dd SHA512 9119130185fbb9b692de51baf99d1f6ac481e416bcdfeb3b1500d5275e82c92e4ecfb0745b9e9a3df8ee2c679dd240b317dadc3885689274fcbd5da626a31ac9 WHIRLPOOL 7d94404d7bf843045e2a7a1b9e2ddc0044c6e555186fdc4d5e9977242cb5a9bd31514b1202732e18c6e823406807083925ca7f31ee523c0771e8c19224567ac6 +DIST genpatches-4.4-39.base.tar.xz 899828 SHA256 527ca060a613235c8e991bc1556d1fbcefe61f76121e8911dabc0627ee6c474a SHA512 5ff2f81d6bcf7f1b0d5e768f3c440c00e60403a95ea7fceba56ea4d77f2cf230cec22b5856a53d3105fb0ba1c95eb4854bc69710b1094f0dd411edc1dced2921 WHIRLPOOL cffa9cc9d3f149e42dc06ea2b31e20cbc7e9e5f5652a081da4bfe59e82c876f66ae54916b6d885452037d578051c3888d1bdd940a193d4c5520132ee99e709d3 +DIST genpatches-4.4-39.experimental.tar.xz 87784 SHA256 9331896942c0fc5c87f05405db8205768b7b20abd5780095be6d608f32147e1c SHA512 17298c94b0a76066f520a76f48e88e706e1ea2d0c874d4523ae1332cbc4d4a4a007a3e0b183e54f7051c532a3755bd576d543bc7fab42a2ad57d3f38db9566bf WHIRLPOOL d42d9c42a7f881b91f380a43b693d5d8ae063a3b45cc3111dc9ade59a49e94381b7adccb1c13b9e70bf9b06194685289ef93968f780a98c95951374e1f7f7ad6 +DIST genpatches-4.4-39.extras.tar.xz 16420 SHA256 a1ea4470421a41f0020f226b90af23c0ea611841491332b8fa69ff4d8e78fc1a SHA512 a31a8cbc4f0292b791c9918ec0912625c320b8f77360f2d2daa9a1433abbbc6e55003b1cdd6ad3fa95311c1836ed99307316a29954c2df29f1ab7b1eba02d041 WHIRLPOOL 76aa5dd008ebbd1ea898e3be385225a959980725b8779e1f78d7aee213c3369b035e0fe1917462e49150343823deb59b90d7c869be1599238602276465e2caed DIST genpatches-4.8-10.base.tar.xz 195816 SHA256 c682b801ff8d0fa91ea25668223737fbab94e9034ea2d881992dd7b91ab36360 SHA512 b468210994ad688512b80608e25b9969461751827c46d63060534fc9c4d34c552f0bdc325fad1fa8556e4a7cdf4b346328129a997feb562f74a1f8471249cd2c WHIRLPOOL 67cfffd2aebc3253920b3abc42f8874b603f2df4e850c10575cf6210507eb25b911c4808604228c8cc1e2ad9e836d8b7c878facf460c38dd7e318e4c491b28ea DIST genpatches-4.8-10.experimental.tar.xz 91996 SHA256 aa8e2fdf527534f7595fd08da6e4f4108ed7c576298793af1a20ed1c57cc87dd SHA512 46eb1d232150e459452108b09326635d9250b1bb55beef05259bf4e64244fd46aa844dc063aa07cae4ce516338c74013b2f7f17aaefaa059b861851d356077d7 WHIRLPOOL 7556bfc112af421dee3e26a44b9fac70226a6cc8df27c8ef172c7bbd37705ffeda8e3b05c3cddb0127b3e47d27a952e71ffd1ac5b23c7e23fef94978182f4b1e DIST genpatches-4.8-10.extras.tar.xz 17228 SHA256 2585cd316731f3390d8dcd655f5b20599576de7a0112d443154a699bd8828169 SHA512 d43698b7ff8583bf8962097311ed22efe5a1eb072115376302312f7d2f581b743936585b82ef30920e0f124ec655320ad5df3a2572f9e8b3f82f9ce1def51578 WHIRLPOOL 23ff3f4edd52bca20110e9493c20bd5ebdc6bee580bfd7a63f34cf40842ea0db1b41b4f362c39fb402a5a73a3e7a1113310c3312c87794ecf8a04a8570865f72 @@ -25,6 +31,9 @@ DIST genpatches-4.8-11.extras.tar.xz 17304 SHA256 eb4f2dfd8e18610c83dc6f78e1f1c9 DIST genpatches-4.8-12.base.tar.xz 235128 SHA256 8c0b7f44bfea8d1f53ab32ce0a630b8a167cc6c989db195c39778f946fd3f28b SHA512 643f1abcf4bc1762d8000e1f3bf6679bcbacecd605a038bbe5ba62b87388d16fb20aa5669981adf405c0d7c0d33006ef775a38fa98f48f040a3d76619e601471 WHIRLPOOL 68ccb8808250c51d6583271f7736452a3b6dc222b409e39f1d3bdd13ab40192ecbf1775db8c99af0410124d448f44ed5b40fd46388c33555150e9750dce1746a DIST genpatches-4.8-12.experimental.tar.xz 91996 SHA256 603eef9d7505d22e79c5768372e852ae6cd37af72aff46a7c30be972bde8e033 SHA512 f0981838aeac02ea10695aa952e8d538c295f90032e7618616192bd7be8a19b3eb5503a1f16559f09e77c31a6bf7117d2caad35e812d8c4dbf292a939bacc096 WHIRLPOOL e29a0e4e9e2021286b9892e0c603373b2c3d45c4f84c1787c6dbc92e92aba1acdc2dbdbd513bc6587a54a04541ab231f94aeffd07faca0e7c2cabe5220007ba9 DIST genpatches-4.8-12.extras.tar.xz 17312 SHA256 f7ee38d1f3e8d02d092c9b52e829c2b61c2dfebd8888bff9029cd8fa937052cb SHA512 51c432705e6700f5b30754966bf02113b9f64b8f4c135d00e5362bf2cfe7bddbc0317bbe35e47dbd288d39df81af5461eb69451dcb2c794beaefcc70906638ce WHIRLPOOL 7e04383c25ae6bfe0f4e75d3e504f58c49662fd444870aedd2f26e54d0df9b06d1033244f02cf90db4449f47274e4a515e1ed45a3ed329d2da9144f446df4837 +DIST genpatches-4.8-13.base.tar.xz 248140 SHA256 4a2d23405042e57eedcd8884e1dc6f8af693a01822b3b4c25657be5768567fd3 SHA512 d0a79b11cb57c428166b94e734edd09de64803decdeb4b3e55b87d3c73e3c42fccf00753e98fd0a0a21b522dcda4ef69d428bca4073849e334159e6a1732bfd5 WHIRLPOOL d44e1a10b1c8e2b303d10a7d5fd2679fb2a6e2cefc0821ef1082111bdf54061789ff36765438079584c8bbf265fbb0f0da65cc4b48b83eb6e9c2af2ab8472d56 +DIST genpatches-4.8-13.experimental.tar.xz 91972 SHA256 eb971ac227b0849b7839df5ea30745284cae242010b5a7fce7af675f6b371bb7 SHA512 3a5aed0e619ceff2b3363fcf08c331924508abbb2eabd6a05f32e1cdb681116ec3f5e27bdbec7b11ac83a45583f671f2d58f54f98161f4b9c6393392dd6f8d9e WHIRLPOOL 5ec4d9982c85632f30fea693ed7a3d65fce408ccd80bc8815b78a76a915152c30ee9b48338f4b15019fad4f54d983f6578f316dd28be9d562a4abebb89b613a3 +DIST genpatches-4.8-13.extras.tar.xz 17316 SHA256 c760ecc18f8ddab5d6bc71edea58e1bcf0c6b1be6f448ccb5f572c2e02234961 SHA512 6f5e51d921c340f2ee6dad1141f5d01f7d1517dda11197510ab2ee2cf64ac0358ad0ddbd5ce8935885086a4580df4de6e908ecf2f73998fa388b59a71bea0c02 WHIRLPOOL 1a8399cfd39b38553cf6e26b3e6112c7dcbc2a9189eff724fa931f5ae634fc321860d9cd344936fda584753407ebab7018d597790ad93775dbfe5799d7e31ecc DIST genpatches-4.8-4.base.tar.xz 22700 SHA256 ec60a8dd77a13b82d4f6dc862579f4647ef4b42f3d8385fbad465a2182084c22 SHA512 6450df1fb0cf026246cf69cbed318969daa6c96615ea82d9c9e79362b5f3d4bfef634923c61910276e1c4ff3ad4fb325a7c76b2ba771123c4be125ad65662dec WHIRLPOOL 4ec100607196d1eaa22784c6c224683af638faa92529dae3a476aa75fe18f60a08c766f97f4f754048135a020fc3d35281cace8a58386fcf3a0d75961299a536 DIST genpatches-4.8-4.experimental.tar.xz 4272 SHA256 9d9cf00237787816175dd877669c184ff7d2de72bc7e428bdb3e7c1fb3e3174c SHA512 d701269683acdef0d5e472323d7e56a44d1e9c2cffd695005688ff3c6cca161254957cc572b583aedaa9bee3db6da085a0053d3a7961bd81cfeed1fed8239b63 WHIRLPOOL 4058bfa922a54f7bacba79c0820ea13dd05c9d07abe8d5be17d937b3533f8b0c279f2eca00cfa660c0ca88f991590ca6432238c69ef08b837f6981bfca138da8 DIST genpatches-4.8-4.extras.tar.xz 17244 SHA256 69cdebdb2cb1b7c2b9791afd372267089f5a9f83c3e74ae16f1497d49abfe081 SHA512 4238be54a0315eae698b7cd48a3a459ddf43ddf1f07e884910696b97c7dfc3d8a5b5b14ac96fdf69ea8fd37203a32a78fc45e9576e5e9217afaa0a2a6674c8e1 WHIRLPOOL b7107325834f02e486419a8006e0f5c478a46fb33e1df90f2d4b46aac36a221115698777a30cc8414cb5daa419e8bef17d55e5c9536e17562d88ea37eea5a5ad diff --git a/sys-kernel/aufs-sources/aufs-sources-3.18.45.ebuild b/sys-kernel/aufs-sources/aufs-sources-3.18.45.ebuild new file mode 100644 index 000000000000..f0b232d05c9d --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-3.18.45.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER=44 +K_DEBLOB_AVAILABLE="0" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo-r1 + +AUFS_VERSION=3.18.25+_p20160822 +AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz" +# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs3-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="deblob experimental module vanilla" + +DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs3 support" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${AUFS_URI} + !vanilla? ( ${GENPATCHES_URI} ) + " + +PDEPEND="=sys-fs/aufs-util-3*" + +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}"/aufs3-kbuild.patch + "${WORKDIR}"/aufs3-base.patch + "${WORKDIR}"/aufs3-mmap.patch" + + use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs3-standalone.patch" + + unpack ${AUFS_TARBALL} + + einfo "Using aufs3 version: ${AUFS_VERSION}" + + kernel-2_src_unpack +} + +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}"/{aufs3-loopback,vfs-ino,tmpfs-idr}.patch + docompress -x /usr/share/doc/${PF}/{aufs3-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.36.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.36.ebuild new file mode 100644 index 000000000000..03252f3610d6 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.4.36.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER=39 +K_DEBLOB_AVAILABLE="0" +K_KDBUS_AVAILABLE="0" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo-r1 + +AUFS_VERSION=4.4_p20161010 +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="deblob 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() { + 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.8.12.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.8.12.ebuild new file mode 100644 index 000000000000..ff327c42478e --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.8.12.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER=13 +K_DEBLOB_AVAILABLE="0" +K_KDBUS_AVAILABLE="0" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo-r1 + +AUFS_VERSION=4.8_p20161010 +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="deblob 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() { + 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 +} |