sys-kernel/aufs-sources: Bump to latest aufs, genpatches and linux release
authorJustin Lecher <jlec@gentoo.org>
Mon, 28 Sep 2015 06:09:31 +0000 (08:09 +0200)
committerJustin Lecher <jlec@gentoo.org>
Mon, 28 Sep 2015 06:09:31 +0000 (08:09 +0200)
Package-Manager: portage-2.2.22
Signed-off-by: Justin Lecher <jlec@gentoo.org>
sys-kernel/aufs-sources/Manifest
sys-kernel/aufs-sources/aufs-sources-4.1.8.ebuild [new file with mode: 0644]
sys-kernel/aufs-sources/aufs-sources-4.2.1.ebuild [new file with mode: 0644]

index 793cc5df82f5fa7d07a1d2b08d707e8e7d135760..218f38207d2c199b5da649727d7dfcdbd72b29b0 100644 (file)
@@ -3,6 +3,8 @@ DIST aufs-sources-3.18.1+_p20150629.tar.xz 167804 SHA256 39fce606f62e4791ae78bbd
 DIST aufs-sources-4.0_p20150518.tar.xz 166024 SHA256 da653585bfd610bbc874b9f51c76777511a9b15eb662917f653af1ef8d255936 SHA512 b7e7f681b8125c98f6ea28482243edeb16952ac0ba53ebb7992a0988d54066dd288bac732cce7b6f89485407fb69f6bce164f9bdd09f15b446acba1c28c2905b WHIRLPOOL ed3eeb9658d87714268b0f03bf1de80aedef697f51a80407211b68beed5af8efca77d14de0dbcc9873f30b71fc4b026c6270b6c75ac0fd7e22ec89432867d17a
 DIST aufs-sources-4.0_p20150629.tar.xz 166624 SHA256 af28e0752a1f9c0edf34519b58ed4aaea9e3538a3041110061d1fa55e25acfca SHA512 c68c077bf399d188c72f8c2c6ca4ce634fa710b84296275529f1a8a20c3c923ca7d418cd564d66651b5dbc3544bc556f763a5c3687e3fede55e36b13223a2bec WHIRLPOOL e3590e5da82ae5252c1e318dd775d950a14c3ac0f6235552cef0943f304361299ed33731e7365f6ef586e02e7d23be5dfdc613b40f48a042655b2a110638ca3e
 DIST aufs-sources-4.1_p20150629.tar.xz 166912 SHA256 b9927b15bfc6be7b72206529402b33ceb32b72fd36c84e28f34fb73218575cd0 SHA512 6514479c83e04fe22c7d753bc351e77e9d84cc012eb590e0e463f639bd1ac4dd5cecc0f5b6046d7f721a4a90b6f492e015faadc392af2664f4bcfa9a860bec56 WHIRLPOOL e68b9da85b2abc7b6b42777e23d49c93e550e2cdd330a140f4471888e0bab5dafb5cddf2b1263b12a74098ef3d817f3270b92898137948ae76152104db5d8621
+DIST aufs-sources-4.1_p20150928.tar.xz 166712 SHA256 56b6b9c40a32eab3402444ca136d01e5ee8d00438d8679b730ce97912749bcae SHA512 c88ec4cb67293f392fbfd496e3bfed0836cc2bfbc53ab4f3af0e6929181e9f60d9dca30bfa10d3e7806edacdcb0a819ba2f83d48f9f08bedc06f27146a9e4a15 WHIRLPOOL 96cdbf312cbce9d484b59ec852d31726c7c79dec68c90137f0459b5f481f56c488d63a6756538c494df065e21e70c5c87650108f7213374bba066e16972796fc
+DIST aufs-sources-4.2_p20150928.tar.xz 166932 SHA256 fc04eaf2973ae8ba3e7bf9d68ee58a24c30a6c97e50c6666ec335b39a14438cc SHA512 2c539d77d2af8541991f19f52b8186a68484453874c864bb67163680409bd22a98e902f3a719cf0f0b583978f2bda3d4b97fe78bdcc3ebbdb7f152c13a3b8d14 WHIRLPOOL e65cbf9d55909d0e5dc28c96fb96bc51d20a210579fdebb7387d5ebf3bf66274872717a3e17b80033a799e01d5892228b41728a5cf49914f15d2cb8a8fc2715c
 DIST deblob-3.18 127087 SHA256 c720eabb3911f8dfa4398c4250853df4633018abebc01a509ee4a283c3e00941 SHA512 6fe33762ba19aad7ff891b7b805cc26f6e2926f5e40c92fa45bc7f31bdeb5c8fc42b97e5d37d71b9422da239c7c54abd25f1fa2fa1e5733c6053abbf4c9e9011 WHIRLPOOL c351a3ae15c59081fca69c1b5d9b9de10f024eb01f1426722a0d6ccb7caa34330be42897cd85cf19b22ff876352b0cec1c19707edc81c4cb01ad9c1df2e3d831
 DIST deblob-4.0 129952 SHA256 c3d8e9a9728d5c1fc11b1112f5343b14e46a8cf2880e10399a840bc94b6e2ad3 SHA512 055205394487dbc0022f9531fb76d0be51ca3ec4e119232cc0972790d1532c680e1367eb36a9f40529f0ab1d76f64240b1e8a07cb02d3605d594c06e3547f1bb WHIRLPOOL db32b66231e552ac6e3651152eb2b3212ef0863842cd352bd2f1b1080b9ea5543f1f7ed0e7958a9f4b115559233dc1817560e896c789378ea7b68b527b721ca8
 DIST deblob-4.1 130695 SHA256 2888a5a3b5e8e9ec242e4d702582fa1d739a1274fcd94643a9fb3516a210a8a7 SHA512 b861b9b53f9295e5e993784031ce57cf8cddc418184ec00c28ed92c9e7660406e0ede581a93d0def36e7847b8e068c8ca6c4dfdd65c15cb174d6c5803c16214a WHIRLPOOL b90f55dd8702eb254968ed7689b50859833ed362e9aa1720ade96aa1f6f84e8f90f5d1eee034c8535e8bf767c0b5f8b0bc559219e8d81d4c6ed53bd5cfe5e65e
@@ -27,6 +29,13 @@ DIST genpatches-4.0-7.extras.tar.xz 16276 SHA256 911ccb197f2c9514d8b4eacbdb7c059
 DIST genpatches-4.1-10.base.tar.xz 210140 SHA256 d0ac2a9175fe72d0ddf23307a9c8d06102f48220886468e4c19c92855024d829 SHA512 fadf51efbda55e959cd4636e88c2a159ed967156acbe719b15056e9e56cf01652b0ac6b515203d4821853939fe8dc4dfb6e075e55530489d5a96e44e6dfe1be7 WHIRLPOOL e384c68de2b4a4e23934cdaba6f8d02942931ea721b1730bd6e99e02547c28f6219bb6a38425c5c04bd1ee13afbf091dcb9eedadc2aca2246e05e465c07cb974
 DIST genpatches-4.1-10.experimental.tar.xz 215988 SHA256 b4ab62875339a60623db576533638e12342815ba93091d16dca7a975c10ebf4c SHA512 e51eadd26e1db63ec558fa0f4a83b8e5fb40902c9e7c96e269b4102d048b9f90defc071f42faa058605af047790bc410b2186d6c06a5fd2b8f6fe957da8cfc96 WHIRLPOOL 3061975198673a38775b78004dcdf088fd01fdc2ce784aead81425d25f6b831267e9840fee56db96253a09290ab09d01bd4fcb916b8fbe654ac32027c702d4bc
 DIST genpatches-4.1-10.extras.tar.xz 16184 SHA256 5d4492d3d535b3904fe917532b52d314bd52566832acdb1d01362e03472945da SHA512 da4163afcc52c5385ff3869105afdc0bdd021e1967b6461d3ced62bfb22ae5e9f31a4493d93ce6ab33fdb23b92df6eaef14007bc53d77de63e76802e9d65c77a WHIRLPOOL 24318d0cd07b3c3cd7d752e3619883ffcf63cec3ec7b90ba5f327bbd204e1cb2e3a7cd91c8607a988e13a23ccff25cfe8b484b8596bfe6cbf365f18e7de180e8
+DIST genpatches-4.1-12.base.tar.xz 266104 SHA256 d99620d6fa052732357a9b050a878d6ed7f1f3b03c1ae59d99132db8244829cc SHA512 4128fd323a7451692b512b249226f25ed5a0d5aebdf48832495d3d72351ccf61b7d7ecbccdd85915eff023fcb9fcbb408a1c01f2bb58535434153ca00d5ef0a3 WHIRLPOOL 2c9d9f8c989a319fb1b06ff8f2e29feeabed05c41546eb91a0bfa5bf2d586a7ef39c01d1e100519c844e419c92ece745b7192f3e3839c2fcf9dd08d971143c35
+DIST genpatches-4.1-12.experimental.tar.xz 215960 SHA256 8d0659bda61873ce16612e919b7ba6ccb8b5b9b5362ab218a886bf2ccb2684c8 SHA512 b1392299fed208e973eed70174f55ab6e70c0f5c7cbe5e29a12dc27ca9fdb09448314fd3a32b1d4abfa529065d76e7ddbc66cc60019b1d9c66d1b96d0d146dd9 WHIRLPOOL 4e7189dae91ffcf37d70dd9d2547a8e2092cece356e004e9282d5c0aa3d5d992cb7423496ef9f28503e687052b21468e456f83772989a023fe0f8d33a2bdf00a
+DIST genpatches-4.1-12.extras.tar.xz 16184 SHA256 dae92203157380e361f9b114a56d59e68cb63a52ec9dfb9f9418b8804549c531 SHA512 3de0640711c7877872872025d10d4a34a8476244d0fcee9ebbaaa02213849683cf27492181783535a167791c35f6ddc0a60f4c939a62daf093739f776151cd15 WHIRLPOOL 6b10caf17084410d8c1b38be868c7658e74210a12f460b56956d8f4b4f462d8018bd983f58a7257a51be27181b20a3cddab1627edb05290b934ad078b307baa3
+DIST genpatches-4.2-3.base.tar.xz 44600 SHA256 ba1a0d8d9e1a139da388d44085a1011d760231467cef4ea9a87633673560e3dc SHA512 60367b50a40c60e6659cf11db99d4124b86fd7afa1bb8e5c3aac38b3025015f56f880e34250d1267ec4f295da38f656708ed2c6b46aa5b56f72503ed34b0e8c3 WHIRLPOOL 6dc72908e0ea0b4084d919f1049169fbe98153f85ae1bc87f3c3eef061b3cbefd427d87fef541299cf0bc48faea79b4a39e5dfb94dfdeedb4be7f53248ff3f9f
+DIST genpatches-4.2-3.experimental.tar.xz 216620 SHA256 b038447b1d8129229469dfa3898b42374233ee00c65ea4728abaf632657f431d SHA512 17c13d9669596a34a85a844e38886099ff717248183104e3b02c438de4f1916886afea9db985b5c56170917901611331ef5038777eed2a4019811f98a75d399c WHIRLPOOL 9547278a329049d20a73e31e6bd5d6bf0270a2b3c7c02ce51163f4f91da18d74820f782e2c7ff66cd1e7f4075e088013def679568043d800c89c601a1cc4cce2
+DIST genpatches-4.2-3.extras.tar.xz 16184 SHA256 dae92203157380e361f9b114a56d59e68cb63a52ec9dfb9f9418b8804549c531 SHA512 3de0640711c7877872872025d10d4a34a8476244d0fcee9ebbaaa02213849683cf27492181783535a167791c35f6ddc0a60f4c939a62daf093739f776151cd15 WHIRLPOOL 6b10caf17084410d8c1b38be868c7658e74210a12f460b56956d8f4b4f462d8018bd983f58a7257a51be27181b20a3cddab1627edb05290b934ad078b307baa3
 DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6
 DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001
 DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8
+DIST linux-4.2.tar.xz 85507784 SHA256 cf20e044f17588d2a42c8f2a450b0fd84dfdbd579b489d93e9ab7d0e8b45dbeb SHA512 a87bbce3c0c6d810a41bbba1c0dcaae80dc38dded9f8571e97fa4ee5a468d655daf52d260911412f7c7da3171a5114e89d63da14b1753b9a3eb2cc38fd89b9ee WHIRLPOOL 2058e664ee287cc03119ff3dd0155b7018b9c789a13a1012f190e516172f845dcb2d977c8e6a6951e9bd720e5e8cdfa3b888cce392c9b02780520e77475870d0
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.1.8.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.1.8.ebuild
new file mode 100644 (file)
index 0000000..6002d85
--- /dev/null
@@ -0,0 +1,85 @@
+# Copyright 1999-2015 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="12"
+K_DEBLOB_AVAILABLE="0"
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo
+detect_version
+detect_arch
+
+AUFS_VERSION=4.1_p20150928
+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 ${KV_MAJOR}.${KV_MINOR} 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() {
+       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_pkg_postinst
+}
+
+pkg_postrm() {
+       kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.2.1.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.2.1.ebuild
new file mode 100644 (file)
index 0000000..2848dd6
--- /dev/null
@@ -0,0 +1,85 @@
+# Copyright 1999-2015 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="3"
+K_DEBLOB_AVAILABLE="0"
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo
+detect_version
+detect_arch
+
+AUFS_VERSION=4.2_p20150928
+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 ${KV_MAJOR}.${KV_MINOR} 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() {
+       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_pkg_postinst
+}
+
+pkg_postrm() {
+       kernel-2_pkg_postrm
+}