Skip to content

Commit

Permalink
sys-kernel/aufs-sources: Bump to latest aufs, genpatches and linux re…
Browse files Browse the repository at this point in the history
…lease

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <[email protected]>
  • Loading branch information
jlec committed Feb 23, 2016
1 parent 47dd3b6 commit e293179
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sys-kernel/aufs-sources/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ DIST aufs-sources-3.18.25+_p20160219.tar.xz 169620 SHA256 62e28c5f345182c324d4ba
DIST aufs-sources-4.0_p20160219.tar.xz 168396 SHA256 16e4044f8bf83b0dbb8f6b087351de4d619f873b7023e22855f930bd2b55d10a SHA512 68cf371383250575afce395fbc368208db92b78168be31137ff9238017d40c141b29efbcbe68a850d54f8b4fa36d1556d243682a66417c67e28464b667ecd292 WHIRLPOOL 2b1008e8b76811537ed68a8b932cb488230736f3a89a815ee77cbd4d2a15a9ebaf98099fdc1aa9f084b8daad96d847e1b1decc195b5d2b0613a92512e7f9a3ef
DIST aufs-sources-4.1.13+_p20160219.tar.xz 168840 SHA256 e4eac1836d9ad7860599b7c036168df8f2060bff834fd24dc168413c03c449bb SHA512 336da270576f83930bf338b063092e78949929ce53dcf0ad6f9d4072bba6978ff70a5b3dc1d1e358c904d49630fca9c3f82f34a9b44219ba62e30d4f8030b1e6 WHIRLPOOL 4a4530c4208ba5af675c41a0e6d61857a3cd67ca55e5f15b0a762aaec6246b480e52d43af39fa7ccb61bad651f0011cff445c0337d4e92213d7d2438e2a6fe40
DIST aufs-sources-4.3_p20160219.tar.xz 169048 SHA256 6471c1ab669fd59f62f6d3b21ca6277c67f621ce6a362d87c2f603aa57824ad5 SHA512 b6640165c41db58ca4208cf1487d16b5fd0afc0358f3e759cd388fd952e3c7430d9e5457dd1712933e90f99d4d0baa9627d456d9d22c68db755a61bf12fa52f7 WHIRLPOOL d504577d772b5637986a0f645564b27efc0a914a265e3bde60ad0d6054e72b15ec50c6a48c9c32c1022b25614c1866509c04c6ed45852389084b063bf9abf139
DIST aufs-sources-4.3_p20160223.tar.xz 169096 SHA256 8795ff9aa455d8e9effb980af422135d6cfd35928cc5f084e12ccd82fd13fdb4 SHA512 5e39fb0255cb6df12fafd1efa5ac9730ea29fffc9bdcfd296541821c42f34493ef59035344f6cf4ea9ccf4759f6e7dad35c162cca49864274732f868022d72f2 WHIRLPOOL 21737396487cadc0e7a13d4f87ca5464de50f18ef214512214ff5f5134d872a1f4b4822e8773e739e7f0a84ddaddfbd2eb545ed71c51b26fac8f71438aa1b657
DIST aufs-sources-4.4_p20160219.tar.xz 168956 SHA256 f8d1b9bea2e69f73020aa43dde5b085444fbf346b68997db03a7a00140acfc2e SHA512 0da7257647838f3f7d2703ba8d8e2fb9f98a28dbdbaf4dd4f56727255759279f8774481fdb6ea7927a9b3b174056825416d7bf8e736625a98e024873f09a5933 WHIRLPOOL 5832a517fa0e231d4c1af9cb68192b7aca588a54efe34bde64260d172f0ed6c93335d577025174b9f3af50fab0ccb0973553bbab51abc29f410a3939f154deb7
DIST deblob-3.18 127087 SHA256 c720eabb3911f8dfa4398c4250853df4633018abebc01a509ee4a283c3e00941 SHA512 6fe33762ba19aad7ff891b7b805cc26f6e2926f5e40c92fa45bc7f31bdeb5c8fc42b97e5d37d71b9422da239c7c54abd25f1fa2fa1e5733c6053abbf4c9e9011 WHIRLPOOL c351a3ae15c59081fca69c1b5d9b9de10f024eb01f1426722a0d6ccb7caa34330be42897cd85cf19b22ff876352b0cec1c19707edc81c4cb01ad9c1df2e3d831
DIST deblob-4.0 129952 SHA256 c3d8e9a9728d5c1fc11b1112f5343b14e46a8cf2880e10399a840bc94b6e2ad3 SHA512 055205394487dbc0022f9531fb76d0be51ca3ec4e119232cc0972790d1532c680e1367eb36a9f40529f0ab1d76f64240b1e8a07cb02d3605d594c06e3547f1bb WHIRLPOOL db32b66231e552ac6e3651152eb2b3212ef0863842cd352bd2f1b1080b9ea5543f1f7ed0e7958a9f4b115559233dc1817560e896c789378ea7b68b527b721ca8
Expand All @@ -19,6 +20,9 @@ DIST genpatches-4.1-23.extras.tar.xz 16172 SHA256 60de73d8aef3fc161d5f8fc69ea8d3
DIST genpatches-4.3-7.base.tar.xz 137724 SHA256 f45b2b6bd27dd6ba0ce82f4b143078cdb99f729d344773ef31f42fff339f295d SHA512 3a910f0c0a41b1658190b005ca6cbfd82ddea72a65f09e26b4173371f5ff1f65a1712cd35633d0692f74fd8ff0d0fdb4163113ccca8c1de197d1ee52356fbad5 WHIRLPOOL 67611446db6eb94c59842874762797cd2986399e7304eb3adcdfd9a72b104a10dbdde7a22de87381f416ebe07ab312b80dc1a8946077a003bf5646db65aaedd9
DIST genpatches-4.3-7.experimental.tar.xz 61640 SHA256 963f0c524dfb50dd9c8d9b211d672eeaaaa3f8fd5a1ae623dd9c4f1ad32513e0 SHA512 757630a3b74653fc9cbe0009069a3ac81eb7b989d02411234a328cb6ae4363afe5e0dfc4bd8d84828d8450951ed50a6b476d2b130f49bc32fa4251d0599b51c0 WHIRLPOOL 43fdb49d7d8fdd42775cd13c976cfc621ef879f9adaad5db971ed7f28ffdd5d8b5bb35cd0c6be3e01cbf3744ccd70f70dcc4a9fc82583c62b6e63e5c9a0415dc
DIST genpatches-4.3-7.extras.tar.xz 16284 SHA256 11fe6eb76d8cfbda95001b05ee1c78243c7394d0a4e12600b3fbdfb69574c9b8 SHA512 503936e84af45909eb4df1b6b4968ca48cb65ed7617340270b41cfc41ad209b22a20ae63dd720901b750d905fa7215912a8c8d271c9544fbf2b3c1ca70adece5 WHIRLPOOL eb7beae6d4bd324b7b4e0daeb292891a53ba9072f30eb2c038e8b74af14643d20a577142c0fce72a36324866868582c8574700c1e86ad06aaa8ce4a7ff5fcb9d
DIST genpatches-4.3-8.base.tar.xz 196548 SHA256 9246ac430ca198817f177093cdb628bb3eea3fad8ac0723adb38a02502cfb89a SHA512 ce2dd67fa2fba9583b9cd309d68e63b937e718cfabd9f3eb882ebc23b3139d59ff3c84beb3cf770dca367284fff6ca2bc85cf9e114da4621b7f6865b2d69dc0e WHIRLPOOL 0c5640f03d44b1219c23a7eff655b8f1749e20b30b89473c06c3a6fb0f34d30094534382ee1a1e4b5fbdffbbcce20dbe4e377410e390b8b5586ad1da9efb57fa
DIST genpatches-4.3-8.experimental.tar.xz 61636 SHA256 8f1297df01d21d8ff121549061b8a8cfb463130edb1a873c6daba6ad8c3d7894 SHA512 19df4ca02e4552befbadef8f0824eb09cccfe10fc00e48d1e684bc7e7761f4d896e605f0153c5ad7d8f96575166c4823f08d9a5f7be3df23128b39d97a685c57 WHIRLPOOL 4d6661b13be1002d9610bbd19618d77f251f6672e286ecdd9a19fccc335ccf0c3dbc9572e60919f50b562249b9589082786762cae0b961a92f056da206b17dbc
DIST genpatches-4.3-8.extras.tar.xz 16280 SHA256 6752a91afa4c10417ab561e8b93c92c2e56e42695730a1004266b025d91dbfa2 SHA512 3513947ec3ff2a959a92c6f45ab6482d57ddf218e9ee9af70c896bfb7773135b72eed64ba7548100acc044e8e82c9a66c3dfc34757f7ef15271be65f086947a8 WHIRLPOOL 56d8afd3b28f607c3646328822f8e24da8c57f778fd1b7af61ae4a873fc980559e072447d40f6238c95a2b96a011d0e28c78d6652a759bf32121648c5b9e1d44
DIST genpatches-4.4-4.base.tar.xz 63520 SHA256 1a682ab2279d2b57cf1575e10f70d4cd411bb209189ff9fcfd1270291f311fcf SHA512 040f590980aac0bba3805e959344f93ee9d32d4fc9e667e3cc2ab1b5375cef5043a4a0228c3fb34457af79579b96f5f587b9b0874ee066105acbe0250780c956 WHIRLPOOL 2f1bdacc234c18be10e0d3f61f3852d21cd6259d015146d7e274499f4fb9643e7e83151f3682d25c1f5a0adea507163dbcbb5e269f7f73b6e226b178a603201d
DIST genpatches-4.4-4.experimental.tar.xz 4896 SHA256 e3c5381823db06220d1b464a8b8db3fb0efc0cae87cbe9695ccaefc956f9a17a SHA512 9ae08e11750d27a012c7b6019d14133decc14fb004d7152b83e71b0f400c3ed8bdfdf7d9f6538c8a0689efc5ff27760f79a34176275e79a99b6021a4c4db646d WHIRLPOOL 2cd692e0d14c04034f74c7742e7fea330e7a2741fc03220589d1e978e42998f4e23790e9719d38843d9dc0291f87b196ac026472a232793f10f594458c2866f4
DIST genpatches-4.4-4.extras.tar.xz 16280 SHA256 6752a91afa4c10417ab561e8b93c92c2e56e42695730a1004266b025d91dbfa2 SHA512 3513947ec3ff2a959a92c6f45ab6482d57ddf218e9ee9af70c896bfb7773135b72eed64ba7548100acc044e8e82c9a66c3dfc34757f7ef15271be65f086947a8 WHIRLPOOL 56d8afd3b28f607c3646328822f8e24da8c57f778fd1b7af61ae4a873fc980559e072447d40f6238c95a2b96a011d0e28c78d6652a759bf32121648c5b9e1d44
Expand Down
86 changes: 86 additions & 0 deletions sys-kernel/aufs-sources/aufs-sources-4.3.6.ebuild
Original file line number Diff line number Diff line change
@@ -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="8"
K_DEBLOB_AVAILABLE="0"
K_KDBUS_AVAILABLE="0"
UNIPATCH_STRICTORDER=1
inherit kernel-2 eutils readme.gentoo-r1
detect_version
detect_arch

AUFS_VERSION=4.3_p20160223
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_print_elog
}

pkg_postrm() {
kernel-2_pkg_postrm
}

0 comments on commit e293179

Please sign in to comment.