diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-08-11 12:55:48 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-08-11 12:55:48 +0000 |
commit | 00aa28062318726b7e31e35385403c9561f3a8ba (patch) | |
tree | cee16dcaf8e081e9ec22a440ef3c6e80949ccebd | |
parent | app-arch/p7zip: Drop old (diff) | |
download | historical-00aa28062318726b7e31e35385403c9561f3a8ba.tar.gz historical-00aa28062318726b7e31e35385403c9561f3a8ba.tar.bz2 historical-00aa28062318726b7e31e35385403c9561f3a8ba.zip |
sys-fs/aufs3: Bump to latest aufs release
Package-Manager: portage-2.2.0_alpha196/cvs/Linux x86_64
Manifest-Sign-Key: 0xB9D4F231BD1558AB!
-rw-r--r-- | sys-fs/aufs3/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/aufs3/Manifest | 30 | ||||
-rw-r--r-- | sys-fs/aufs3/aufs3-3_p20130811.ebuild | 138 |
3 files changed, 160 insertions, 15 deletions
diff --git a/sys-fs/aufs3/ChangeLog b/sys-fs/aufs3/ChangeLog index 2b703deb573d..aa7d0dab060c 100644 --- a/sys-fs/aufs3/ChangeLog +++ b/sys-fs/aufs3/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/aufs3 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/ChangeLog,v 1.63 2013/07/22 06:46:18 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/ChangeLog,v 1.64 2013/08/11 12:55:47 jlec Exp $ + +*aufs3-3_p20130811 (11 Aug 2013) + + 11 Aug 2013; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20130811.ebuild: + Bump to latest aufs release *aufs3-3_p20130722 (22 Jul 2013) diff --git a/sys-fs/aufs3/Manifest b/sys-fs/aufs3/Manifest index ca0779e35140..8e63f9da6f02 100644 --- a/sys-fs/aufs3/Manifest +++ b/sys-fs/aufs3/Manifest @@ -6,26 +6,28 @@ DIST aufs3-standalone-3_p20130506.tar.xz 1188700 SHA256 f8ab3c8978ded7f919155378 DIST aufs3-standalone-3_p20130519.tar.xz 1276192 SHA256 282e49afab0061e055a69729cb06d2f68da2e614e5adb22b862a5bd870b1a897 SHA512 0465e04a903c8087fa4af44c3b8a02eca8695e10f96b1c9b30d12feed0a9538fb893119bd7bdb64c72ae633276e0663f955e53d55506857a49eee16a5eb85940 WHIRLPOOL 0e48ba72a019d0e3c6e6b546be0b3ed5ad6e58fb02191076653303b405a0f4819ca5474474b290d933dc7de4f4533a99bfaf471701c2d0fe5e538f8b9166550f DIST aufs3-standalone-3_p20130708.tar.xz 1213564 SHA256 e1b111f13a0ba5b1f4c58cd7e8c7d043a810322216621f5212492083d19fc5bf SHA512 cf13e83704d89609308715f116a60fe6c22d3017bcd8f5d1ecefeb49320224147697f2f395824b8317542102cf874e875504be16f6e7807dfabcfb58ada4fdaa WHIRLPOOL 69a6d6ed97b86a9dc221a5dd3a7021013570a330732f89eb14beda61eaa03fe860b01cfc55b8750e2b0fe2ef3f423f3f4169d77e4e4001f0c45733a2e442fb14 DIST aufs3-standalone-3_p20130722.tar.xz 1375380 SHA256 cf2914e20c36f63f117e5d52d33b69582b5e528f90f3b35be8eec29ecae1516e SHA512 d02e7a12bb3869da0948fcf4dab025472c297317fc41246c23db84cd2dfd0ae94c8c9692efc2a2e8d80e576c6d27b594056668fe1b17b81de47764f7529bb73d WHIRLPOOL 70ef77d4576c01a768312972b0a303205f77e3712a5a9c327a985f43d812f2e7719c2563b923d246d335b6e5bbbd836facb2bd2f89171001d4b2f84594b82ed4 +DIST aufs3-standalone-3_p20130811.tar.xz 1438432 SHA256 0dad6694ba73c88d37f3cf2266dbcce6e16fb74c75c21bb37465287bad5b58eb SHA512 8325a2747ff0f20cd00f29249f3e151f42281ba18aa18e9c5cd815618b20bca12faa93063d94bb7de75bf273fdf07ca802dab8f5ecefda7b36cf0d84bcad97ef WHIRLPOOL 26530b40a3953b44facde02cf3c02e3aeec0dd04af853ce5211552a0ade448e81e17a68778ea45bc7efb7556dc01d0e2465d8dea9396977f6a6d7da7168c2ad4 EBUILD aufs3-3_p20130506.ebuild 4138 SHA256 527e3e85b96cb8a2928300298ca5d95a39ac8dea43bc56a43aafa823635ebbee SHA512 54eda09ac029e38801388fdb046337e1aacb4bc7d8cd5a2566abb1e2e5e5e484330aab9d2ceaa1824923a9a31ebf553be5d4a3a9582bedcafacc0de079fc327d WHIRLPOOL 0dc37640db64606b1921dcd9c8151d77660cc9e481e03bab3b2a113ad149a0fa135423ba9dbf1bdf600aa3bc817b08bf1ddf008dab6de0443f01708b6eaf81e8 EBUILD aufs3-3_p20130519.ebuild 4138 SHA256 e1831fd4163a0b6de71d6bbc02145525ee46706b62fb0372595eb78d0a166136 SHA512 da4243d308842332d92b830aa8329f249c33c68f868af2f9f60ba14e35c8636ebf8e3d3630762f198ce9141c842f2d120697fb10ff3e024a7effe78919ecdb7d WHIRLPOOL d019c7c51bffe51f2b0542098da795277c6cf90af9c690af0e9ae27f6484fcbc76601c08e5a81e5792b23d3eb21d3457c4bcf09cdc15d1a63bc3ed450690f7a7 EBUILD aufs3-3_p20130708.ebuild 4142 SHA256 b1f17d53de2e4b6c394c3e636110fde01d2210c4e05b70523c81042752578deb SHA512 8ca0f3cde8557f9a40a4e04f7cac9e6968a4d2d8fd73a74cf0d36d82000df8c21211ad81b4242cf1c4a2f91ee3b3d5d3b9c3e38a2218a0466451802b17d90970 WHIRLPOOL 5406b9e2032019cc8f01c2c95acc886e28b46f1b499f499cdfb29c241483ac094069bed654e9da02440fe29a681ea6f5efda389a678556782156aef44430cfd2 EBUILD aufs3-3_p20130722.ebuild 4142 SHA256 badbc8e770dbe19b9dac24bb7994886fdab3118300f57bc4de6f76817e89e808 SHA512 fa3f06375ac1250d9ad84febce98cfeb6fbcf4c56398da5d9e94ee9eed6788f12c37acb5f4d09355c266d234275e472cf4cbdd5f2c1d234ca5940b910e00f717 WHIRLPOOL 007f370a796f3ac83b580782fb3fe3805823112c5f0463ebd9181a57c24318ff94deea57932940140904dc986513947067049d9b98d12ecc05ce1e8365cfddc1 -MISC ChangeLog 18519 SHA256 a44011fa13df5a2e19e3f805d524052534861f4939138de4c342b38d445933ae SHA512 674dfd03700758946f86938165df16e5cbff1f9d71f8f908defec1a6b8d6eace446e4cc23344d7c7e8e8c287ad7ad37fefb2942208be922647290d9472a093f2 WHIRLPOOL 107346f7c779dec34a7f0060a86708ab39fcdd7edf2eb08a363d03194cc4390ff570aecc55d12cad4e5fe5d2ad24c9ae371d57ed579b6ecb58d1049ccfadb776 +EBUILD aufs3-3_p20130811.ebuild 4142 SHA256 b8a6b033816e6a709231efc61ad909cf070a33892d70ffcef5656102f5e33ab8 SHA512 c07d4b1c0cf32d24cd9b0ed43680f39d1d8a2545189b547a6b31a619b248746a25f4d6bf02532d46585783f99a0ace469f56897c0cfb0879ca889a0e7990fad0 WHIRLPOOL ecfde02300a8536c9714f355fb666c63b44fd7d5c943c160c459d4b5f59ccb5671ccdecf56ce92c0136b76020f1c3533aebc4ba7b2a588ca57721a3eaf0eecd1 +MISC ChangeLog 18658 SHA256 27d775ea3e0eed00a20c7936fc44c92a0767f77906e420e5a42da4bce10754d5 SHA512 91db3e4ddd869dde68618a5959468072ece934db40735c3444b4771aedfe819f5ef330c800f07eea5b533088b1f04d38e9ca1366af9b6ef7fbd890a680976b13 WHIRLPOOL 9496e3de225185a5fd0767e4aab2c2a692ea5c0badcbef0fa43f9d95f4e42bed7b0c04b0dc38b6deaabe61d35bc5f5dcd2669f6ec960e0f766e02f732f51a870 MISC metadata.xml 717 SHA256 3c55d0a76fa9856c7079674c14f0bfa18c454848aa652f26669b207905ee09aa SHA512 28a8b5b0e55ea607135f34da28025698b578bd6db14f48865ed4996745fccda6a05b0882a5fd13185005517b577231f6c1e01b192add81fddfd0e66b86fc8d4c WHIRLPOOL cd4f9b75f8b5aa5dad559af879445a86740c7cdfab6bd7d97d3ddba5596c139ed2c52b5447b66698078f476a65c3b4355d9f6377e70a54d9cd063e060a0ce2ce -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iQIcBAEBCgAGBQJR7NU5AAoJELnU8jG9FVirrjwP/12i0aRC0lx2Xa9BwHM6DMIK -dJ7AUPMAS0NW8cRyiewGxTQS7Q8mTPqzL+hNA3mNWWygXug//y/LJCtm5zw+ac7R -aK+vmmkz3ewoDRc+cIBPosijQnAifMyimvNA4zcYXCJt7j5QLzEgp9xFxryEc1o6 -kxvYPJtYjBrU7aswHagfyQW1VA0dbzxzedtgPpArZpj4x2tuJJGtb4SDXDxM1QFo -la7Q7BPsnL0owCKdivphEhMGUA7RLeFmlAbTOOoWZuBIRyvIWzJmG13Txvg/xL57 -Yj11eH5lRXp4uRz/AL2fOMePDIdjDp1b6xrxCCL2q78Fs/0TvNY5n75q9tTF38MF -Uo2iOszIvfY4TXY/AriOeMx3IcBlj7tCILvzh3p+i7xc9U4ZsnVa0TgnRVoPA26Z -dmoqIGJkOK+SSEFpavdVlvv6UiDL3ZdDrYLXZdz9ejd9X4YalnbdSduHbBWRzA8p -oV6bsDHl1Njv8OVSmy9HZvYyn2FxzvlCA88WIrD8brcaeWoqJOh//WJDFh0Rr1Ya -iimIgRYe/nDq24FR5gDGLANpWlNhZMqITtCvVKA05oprdzfbRvIB0WzqjgHsmJEC -7OLLl3ldpDI/3m7JWr8vENKV32V3xHIokAX1o+bBxLxqpVPk9EYFkNRvmzx+V7fA -4rMpAxTTJtWj0HufqABU -=eThV +iQIcBAEBCgAGBQJSB4nUAAoJELnU8jG9FVirK3oQAJ++I1A4r1AaKkzKy5MlOPiX +rRAZsw/DSANOSBXzD9qdLTFhcY+zUFCpu1Qw5M9PnEQjMT6q9rE0j8qTek9roovs +ylqGK2F2v5xlLHz70+oe5MMeVgmnHk8WSnEPmFCchICv7AeTyiF+CsxAQC2VdxhI +ip7PF0okUYAOUHVXlCpkaKsER1ooAjLFB3/JZn37HTZFVeDZKwNioBTgTqGvZ/2A +0Ki/MzjuscBWhU6t1pWsH0C6Jcfs5L/on78flaicGlWWLH/cvnDTUOJ8dJQlLCC/ +9hvCGG68LFVQzFHHsZsJTVXViAihJJ5/ZxdsablNikqIkBh1DVxUAAE1PaMGHOrq +MZjgLeCudiJ7RRZiZ2YUvIwHIcDAYhtxQXwfcYi3ErvPD/KNlsR+5vO8/8Lmk1kd +KRdTEc4Ewx9sKhTKwSNisxXSetZxd88VZFBgdf2uu6KS9hvdbMag9sgapYkP0wkh +BKj+ScH/wvnFBB/MR2lJsmP4MvU84OBc3SQ48r+0bWOTmKOXUpnhe7+g35MUNoRw +VjD0mVAPhMgdZ96OkG8IG7g3a6QhHvBXJPi8mAQmOXCjSRd6vG1B48HRx1TFPJ0p +ItLGBytMrIEJjWU65jPqgQfY8FeDLiZx4WnEFxjvMH0BUztv7O3S2hMroCrv//Pa +7w4sfWOGezC/JScH3TlI +=Orxg -----END PGP SIGNATURE----- diff --git a/sys-fs/aufs3/aufs3-3_p20130811.ebuild b/sys-fs/aufs3/aufs3-3_p20130811.ebuild new file mode 100644 index 000000000000..cc0d1ed73ab1 --- /dev/null +++ b/sys-fs/aufs3/aufs3-3_p20130811.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/aufs3-3_p20130811.ebuild,v 1.1 2013/08/11 12:55:47 jlec Exp $ + +EAPI=5 + +inherit eutils flag-o-matic linux-info linux-mod multilib toolchain-funcs + +AUFS_VERSION="${PV%%_p*}" +# highest branch version +PATCH_MAX_VER=10 +# highest supported version +KERN_MAX_VER=11 + +DESCRIPTION="An entirely re-designed and re-implemented Unionfs" +HOMEPAGE="http://aufs.sourceforge.net/" +SRC_URI="http://dev.gentoo.org/~jlec/distfiles/aufs3-standalone-${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc fuse hfs inotify kernel-patch nfs pax_kernel ramfs" + +DEPEND=" + dev-util/patchutils + dev-vcs/git" +RDEPEND=" + sys-fs/aufs-util + !sys-fs/aufs + !sys-fs/aufs2" + +S="${WORKDIR}"/${PN}-standalone + +MODULE_NAMES="aufs(misc:${S})" + +pkg_setup() { + kernel_is lt 3 9 && CONFIG_CHECK+=" ~EXPERIMENTAL" + CONFIG_CHECK+=" !AUFS_FS" + use inotify && CONFIG_CHECK+=" ~FSNOTIFY" + use nfs && CONFIG_CHECK+=" EXPORTFS" + use fuse && CONFIG_CHECK+=" ~FUSE_FS" + use hfs && CONFIG_CHECK+=" ~HFSPLUS_FS" + use pax_kernel && CONFIG_CHECK+=" PAX" && ERROR_PAX="Please use hardened sources" + + # this is needed so merging a binpkg ${PN} is possible w/out a kernel unpacked on the system + [ -n "$PKG_SETUP_HAS_BEEN_RAN" ] && return + + get_version + kernel_is lt 3 0 0 && die "kernel too old, Please use sys-fs/aufs2" + kernel_is gt 3 ${KERN_MAX_VER} 99 && die "kernel too new" + + linux-mod_pkg_setup + + if [[ "${KV_MINOR}" -gt "${PATCH_MAX_VER}" ]]; then + PATCH_BRANCH="x-rcN" + else + PATCH_BRANCH="${KV_MINOR}" + fi + + pushd "${T}" &> /dev/null + unpack ${A} + cd ${PN}-standalone || die + local module_branch=origin/${PN}.${PATCH_BRANCH} + git checkout -q -b local-gentoo ${module_branch} || die + combinediff ${PN}-base.patch ${PN}-standalone.patch > ${PN}-standalone-base-combined.patch + if ! ( patch -p1 --dry-run --force -R -d ${KV_DIR} < ${PN}-standalone-base-combined.patch > /dev/null ); then + if use kernel-patch; then + cd ${KV_DIR} + ewarn "Patching your kernel..." + patch --no-backup-if-mismatch --force -p1 -R -d ${KV_DIR} < "${T}"/${PN}-standalone/${PN}-standalone-base-combined.patch >/dev/null + epatch "${T}"/${PN}-standalone/${PN}-standalone-base-combined.patch + ewarn "You need to compile your kernel with the applied patch" + ewarn "to be able to load and use the aufs kernel module" + else + eerror "You need to apply a patch to your kernel to compile and run the ${PN} module" + eerror "Either enable the kernel-patch useflag to do it with this ebuild" + eerror "or apply ${EPRFIX}/usr/share/doc/${PF}/${PN}-standalone-base-combined.patch by hand" + die "missing kernel patch, please apply it first" + fi + fi + popd &> /dev/null + export PKG_SETUP_HAS_BEEN_RAN=1 +} + +set_config() { + for option in $*; do + grep -q "^CONFIG_AUFS_${option} =" config.mk || die "${option} is not a valid config option" + sed "/^CONFIG_AUFS_${option}/s:=:= y:g" -i config.mk || die + done +} + +src_prepare() { + local module_branch=origin/${PN}.${PATCH_BRANCH} + + einfo "Using for module creation branch ${module_branch}" + git checkout -q -b local-gentoo ${module_branch} || die + + # All config options to off + sed "s:= y:=:g" -i config.mk || die + + set_config RDU BRANCH_MAX_127 SBILIST + + use debug && set_config DEBUG + use fuse && set_config BR_FUSE POLL + use hfs && set_config BR_HFSPLUS + use inotify && set_config HNOTIFY HFSNOTIFY + use nfs && set_config EXPORT + use nfs && ( use amd64 || use ppc64 ) && set_config INO_T_64 + use ramfs && set_config BR_RAMFS + + use pax_kernel && epatch "${FILESDIR}"/pax-3.patch + + sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile || die +} + +src_compile() { + local ARCH=x86 + + emake \ + CC=$(tc-getCC) \ + LD=$(tc-getLD) \ + LDFLAGS="$(raw-ldflags)" \ + ARCH=$(tc-arch-kernel) \ + CONFIG_AUFS_FS=m \ + KDIR="${KV_OUT_DIR}" +} + +src_install() { + linux-mod_src_install + + insinto /usr/share/doc/${PF} + + use doc && doins -r Documentation + + use kernel-patch || doins "${T}"/${PN}-standalone/${PN}-standalone-base-combined.patch + + dodoc Documentation/filesystems/aufs/README +} |