summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-kernel/aufs-sources/Manifest4
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.2.6.ebuild85
2 files changed, 89 insertions, 0 deletions
diff --git a/sys-kernel/aufs-sources/Manifest b/sys-kernel/aufs-sources/Manifest
index 2916c09c5815..521b92c9d26f 100644
--- a/sys-kernel/aufs-sources/Manifest
+++ b/sys-kernel/aufs-sources/Manifest
@@ -3,6 +3,7 @@ DIST aufs-sources-4.0_p20150518.tar.xz 166024 SHA256 da653585bfd610bbc874b9f51c7
DIST aufs-sources-4.0_p20150629.tar.xz 166624 SHA256 af28e0752a1f9c0edf34519b58ed4aaea9e3538a3041110061d1fa55e25acfca SHA512 c68c077bf399d188c72f8c2c6ca4ce634fa710b84296275529f1a8a20c3c923ca7d418cd564d66651b5dbc3544bc556f763a5c3687e3fede55e36b13223a2bec WHIRLPOOL e3590e5da82ae5252c1e318dd775d950a14c3ac0f6235552cef0943f304361299ed33731e7365f6ef586e02e7d23be5dfdc613b40f48a042655b2a110638ca3e
DIST aufs-sources-4.1_p20151012.tar.xz 166736 SHA256 05c5f7e565d58b98db443752c1f7b085be2ea6b3328a7ad43ad764c72c58c9be SHA512 95f43145dea8b2068319453450de434b44b1d07b947b1ca795e7ca44e8d2c5bfb619aeb1fc8eb2085351a4a078c30b5641716def5703c9e651613f4761404d78 WHIRLPOOL 05ea5374ff905113ffbda7b17964f82ea7f2a5df0126af887cb7524d68661c8e381d094c02e2592ae4ab7c97f553d866be988adf1c938fe1acf1eca253e03db4
DIST aufs-sources-4.2_p20151012.tar.xz 166928 SHA256 2f3b5c79bc28a9b609cd7def95420af033ea016eb8f11c0675c40a4b7dd03055 SHA512 cd17fd9baee5cb1186df59131c861f96901fef6d87696c61743d454b15a33d9383dbe69de8d6f520072063891cc6813e4489e6a177079c6f6ad903a6f6d856e5 WHIRLPOOL 6a9814d33a80576bd6f302384ed6f37eed74d64be30389e61f2b060c1e3b0784c4116b1318a60d116c961bf2782fadefbb784a965c4e5e1c440c7e2b66af779c
+DIST aufs-sources-4.2_p20151116.tar.xz 167812 SHA256 3bda3fe61fa32a886b2fd723c4c00764401e40edf8d1c9ad1ee9610ff036ce95 SHA512 80cfc69a11ed9b3b6aa109523edf94d2f3b358535f9f310cf845129ffd2d831ea3b7e5608afbc76f8a0ee28d8e0f27ea1c0417be2a93d1bb74069907ebc7c440 WHIRLPOOL 58511b0437df861bb30a892c802c25135617755f156ffa51e0312c598e04822d1646b629123778253e5234847fc4058c0d6073d9b3f9e2f7301dec99e62561a3
DIST aufs-sources-4.3_p20151109.tar.xz 167420 SHA256 354c397edd4b58e7114f623871f758d1215011127a69de98041721035add1162 SHA512 2b38fcc3b02287cab3e92c7155cacec533ae4b6893f9efa1e951af0cedfabfbc39472259c9cd435184a7d372bac4ab46239261d6c0196d12bb7b2314f67c4758 WHIRLPOOL 69a670e9026ed04ad62041446a694be71098a4fd40f395a596cf3c4ac6f3d5cd96e354123b57facb5890d76cd8510a7d70036ff7a3fc681e4895f6b2e0b934aa
DIST deblob-3.18 127087 SHA256 c720eabb3911f8dfa4398c4250853df4633018abebc01a509ee4a283c3e00941 SHA512 6fe33762ba19aad7ff891b7b805cc26f6e2926f5e40c92fa45bc7f31bdeb5c8fc42b97e5d37d71b9422da239c7c54abd25f1fa2fa1e5733c6053abbf4c9e9011 WHIRLPOOL c351a3ae15c59081fca69c1b5d9b9de10f024eb01f1426722a0d6ccb7caa34330be42897cd85cf19b22ff876352b0cec1c19707edc81c4cb01ad9c1df2e3d831
DIST deblob-4.0 129952 SHA256 c3d8e9a9728d5c1fc11b1112f5343b14e46a8cf2880e10399a840bc94b6e2ad3 SHA512 055205394487dbc0022f9531fb76d0be51ca3ec4e119232cc0972790d1532c680e1367eb36a9f40529f0ab1d76f64240b1e8a07cb02d3605d594c06e3547f1bb WHIRLPOOL db32b66231e552ac6e3651152eb2b3212ef0863842cd352bd2f1b1080b9ea5543f1f7ed0e7958a9f4b115559233dc1817560e896c789378ea7b68b527b721ca8
@@ -26,6 +27,9 @@ DIST genpatches-4.2-7.extras.tar.xz 16180 SHA256 2a280c94254b721cacb423e683593fc
DIST genpatches-4.2-8.base.tar.xz 191276 SHA256 395dc09c285606e830be9b002eec8968394ec2ac67eaec6673c0703196e708d8 SHA512 216d8c9be1c3ed1fcc612e3739bf7186e996b6fca8ce3d08be4ea9da16f7d4f63a01d6e8606a83d2743f94ffe1640da9f2c1d588fddab51e0f25b090141a353d WHIRLPOOL fdb58098517642e5ec075218b612f765b559b6c850bfd678d3eb7fb0479bd175c6eb01896e552525eb6025a93e72ce204fa57c77f96a028ac0f93bc0c59d13c0
DIST genpatches-4.2-8.experimental.tar.xz 216032 SHA256 53f431427f4deb72e5495159f8f56902a5470b0f230ab549cd6a21380d757ffd SHA512 3c8233427efa0c181ddc8044d7d5ce3ad914b7df84381af8816b75545d8512777c786710422dfb1006277dd0e5fd69a18404e2d83cd361431853e3f900906db1 WHIRLPOOL eaa9d7697a391f90bcd04293545adbc21cff4c5ae82ee96e00c2cae12720ea9d9679c75988bf24f2eb9ca4f7e9aaa2bee36d3f7208edaa84fc1236a55b418bc9
DIST genpatches-4.2-8.extras.tar.xz 16176 SHA256 a6e00246f5e8feef952529d7be51104657f0acfea1d17b5c7a1e9fd800bd62ee SHA512 0ec02e89fef967286851d8cc0bd8c6d908d0b72c79ef55da30747cc151878340c3c882f9e1067edff3476851f136032674180e58cbc46a6a48d9f501c28c4f56 WHIRLPOOL 0aa25106c9346d8ec2eb3ff56b315312a07363e36039efcce7d52b2e73eebf4c6ffba65dac45ee49a3b6b0ffab05ed42905a86f3e7ead3d6be7bd998e5dbf8b6
+DIST genpatches-4.2-9.base.tar.xz 216388 SHA256 16e1a0fdc0c8b36b87477ba11913cd9b83d5cf96651814fb017c7ebe57b65d8f SHA512 3d8d1a25571a969e1e47d37dc87657b409a03200c2d3ee8ffe2cba19344795626225374128cdb7f09df9bd4cb0035a3c8645c2cca9fbab2024f6ea1875a3591c WHIRLPOOL 13254f0c939584052aa7ac736410796bfc37b5b0ca050a0c6c63c4de7c3e84a2ebf649ea87c141702f4a53af4b946aadd1b6eb9a551a620b7d89596f2fd5958a
+DIST genpatches-4.2-9.experimental.tar.xz 61624 SHA256 c9ee78cc17fc793b79d101b24da89b852a4bb12a80422e65d77f6bb74bb1f192 SHA512 c98d405bbed48a64a08e9b932dc61baa94eb541fab0a5c162f415e8dc29d7d6c22b3635bdce9c9a5fa976c723881effc54a09ab3cf5fa759aa083e2aa8758806 WHIRLPOOL 1ec54338e2a5c06d9f83d70984b028546f12ff47fa1bb2a2b87b2d7972c3a5bf10bb77ed5d6e76b972218a1f03df78d297488939aa5dfb72e3cf4f1186fef5b0
+DIST genpatches-4.2-9.extras.tar.xz 16176 SHA256 755f880b1683ac915aa36739ee355fbdc00ceaa6a0843fb4a02f122008a2b33b SHA512 70151870af107d62095f2df0a8881e8934225fd70e5be1731f0a01856ffed61e3b284c20d04105c18a1302974b5bf39b01565ffd9a2338db91dea146b9b626d2 WHIRLPOOL 7250978f19dce490f21f84a27867465d0db195f3bd6b3619e84e591bb83e61d28e732ceef65d90cffc3878ab41eec10b17b6b1b15eaa68e5bf9745a877c4a537
DIST genpatches-4.3-1.base.tar.xz 3464 SHA256 7a4fa6450f306844cbe767c69e0f26cd9363803840e5147c27bc78fa1b20d739 SHA512 a37d673a6daf0956cd5a9284c1772112b726187b2e83293cf1c41b64988eeb3ed27be41394fa18b9ce2dc2c2f07a974f39d74a0d9de406d76d5c8e960bafbe94 WHIRLPOOL 95289c547af7c6ef0c2bf2af323782044c45191b1055e032aeff2652ee2d51779abcb2caea23634dbeaf375397ca4b9ec6b4bb11e3074cac37787b047db0e958
DIST genpatches-4.3-1.experimental.tar.xz 4904 SHA256 e36a9856c8bef942c21f8211a23b54522cd270e98e7bb3facdd562f19e579a0a SHA512 1690d38ebdd12d9593931b6fe7467cfb3cbe160a65c955fa82fccce2a9f57b6818efb39ef01ce97274aa6c8d0596c2d651f293b67abba5556fba7c7495658cd1 WHIRLPOOL 42414daeecba5d9cbc1fe46a3e438c3ef82ebae317a38c9d8b78ad723376550dbf3b83b102a9a0f7f893ed624a62bfeb80a49566bf13803805ae3dd3050e5afe
DIST genpatches-4.3-1.extras.tar.xz 16288 SHA256 41cf40be254f6204a0dcfbb0051309bf506a9306e6c637058fc23dbecbe37c00 SHA512 6cedca7ab7e3971751077dbebb84d6cdd711600db7ea19a6e110ebc71a6281dc9db3d195b6f4e553bafd74d3dd1a252308c85e13de76879e3b6becd1b64ad2ff WHIRLPOOL 129068f0912b07e64b8087e90a4f8758673f89f61d9d6ff69962168ad183efe27f9a657bcac85e44db62ee690b86eadc131282200e9d657b47402b3bbc95b96b
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.2.6.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.2.6.ebuild
new file mode 100644
index 000000000000..1ffaabc42d55
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.2.6.ebuild
@@ -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="9"
+K_DEBLOB_AVAILABLE="0"
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo
+detect_version
+detect_arch
+
+AUFS_VERSION=4.2_p20151116
+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
+}