summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-02-17 07:01:18 +0000
committerJustin Lecher <jlec@gentoo.org>2015-02-17 07:01:18 +0000
commit69d8f106800aab616eb3821de2e95b6771225f6d (patch)
tree4dd9abd2868782f944a78d53a74877bdab870a99
parentCleanup. (diff)
downloadhistorical-69d8f106800aab616eb3821de2e95b6771225f6d.tar.gz
historical-69d8f106800aab616eb3821de2e95b6771225f6d.tar.bz2
historical-69d8f106800aab616eb3821de2e95b6771225f6d.zip
Bump to latest aufs3 release
Package-Manager: portage-2.2.16/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB!
-rw-r--r--sys-fs/aufs3/ChangeLog7
-rw-r--r--sys-fs/aufs3/Manifest32
-rw-r--r--sys-fs/aufs3/aufs3-3_p20150216.ebuild173
3 files changed, 196 insertions, 16 deletions
diff --git a/sys-fs/aufs3/ChangeLog b/sys-fs/aufs3/ChangeLog
index a98ae554fc29..5513c89e6a11 100644
--- a/sys-fs/aufs3/ChangeLog
+++ b/sys-fs/aufs3/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/aufs3
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/ChangeLog,v 1.119 2015/01/25 17:37:25 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/ChangeLog,v 1.120 2015/02/17 07:01:17 jlec Exp $
+
+*aufs3-3_p20150216 (17 Feb 2015)
+
+ 17 Feb 2015; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20150216.ebuild:
+ Bump to latest aufs3 release
*aufs3-3_p20150126 (25 Jan 2015)
diff --git a/sys-fs/aufs3/Manifest b/sys-fs/aufs3/Manifest
index fb0f407a6610..8dc2474975d7 100644
--- a/sys-fs/aufs3/Manifest
+++ b/sys-fs/aufs3/Manifest
@@ -19,6 +19,7 @@ DIST aufs3-standalone-3_p20141215.tar.xz 2609084 SHA256 5f40f5b4b47c69932e1f2fbb
DIST aufs3-standalone-3_p20150106.tar.xz 2630436 SHA256 47bcdb0b9eab31115ff306870dab178f91e2fd04ee31c31d17112bc677fac378 SHA512 5834834cfaed7a4a6e47f53656b1302d1e603e2095dc4939d627fd3316e9878b0296ce3df3f7d3939f877c3a03115444fb69be007748de04d38a3df68b47f11a WHIRLPOOL 52a71da7b7a928b0eccba6e466f1b946dff4f2b7bb4b8580063218b1d66384e3dde0ec693257d9553362853b35ea9414f724431ef49c4e285547c98669ae5c44
DIST aufs3-standalone-3_p20150119.tar.xz 2664080 SHA256 8758d15b49487e5339c61c4c0b0babd06fc76f66b821f4998964f3d9d39a71c7 SHA512 d10c978aa013adaa9ad70da83cd6d3e3f11c85e2857ebbf74d647cdf031fedced0befc6870e669ccf9248734b11fbdd5da7c840f078c19ad431cec54382c6546 WHIRLPOOL d937909fd47fff0dab6c25b18e21ec8d22e199003853d21fcdfb7cefae6f6044e28880d408acfc05289b1657df2e93e1346f548ac072ec67649ff40242bc6f30
DIST aufs3-standalone-3_p20150126.tar.xz 2726476 SHA256 8799abb92c27f7ba54f1119d16e50f4f6afd134e8e8510954f09ef96aaff3fb0 SHA512 238364ce5ad513a608d2aa9e22a1da69f6e9c7322e9450818366eebd48f998c2820dd30ab16c010da40de2ae992aef5d90d2883510b3798fcd0db882804751c2 WHIRLPOOL 113bc8316ab3eba8224450bc9b668b29b714104e115e67f286352658b4e998840889f0d99b396a43981d3d890bbeac97b100bf8a1878ddce4c83e9a5b7d6896e
+DIST aufs3-standalone-3_p20150216.tar.xz 2745548 SHA256 8687fde9e6670f7920767c2fb6450db44a8ef32fd3830d9c878b8695800ddd9e SHA512 116e1df3eed63f5d536f2b824975b9d3e0aa86b9b999789917bd71932b322bcbd5d98b19642793f6af84e5e81d65a3ae0d2c80376c386b8f1a6b349bdf607bb4 WHIRLPOOL bd57f126897b58d56e28e8a10a6bb8c932ff0fca2ac3fb8527fb685283fd14e876d372691ee8f2233aa3cba55b7c4cf14f996ccfb1e4b5c1623fa172ece7509b
EBUILD aufs3-3_p20140811.ebuild 5289 SHA256 90423edfc0dc22d1142b3cf29cff610ed0a9a8101a200a9333195e6e75f41d38 SHA512 d2fd015adee71aeb5cc5937b2f3dbfd682525d5c127ae23aa7c3531276420f675f08460bc3ce36e5fc49acc1ce38bb97d5f9dd2a0833770376ff0383653d65e3 WHIRLPOOL b7d8a2c3df0549725ba2fe8bc4d3a009101b239de8a3ff7553bba36097d74487ee1c7737eabf8b593b419a1b284ffc1e5aaaa1e7d2391f5df9bc5254d51bdd49
EBUILD aufs3-3_p20140818.ebuild 5289 SHA256 1ec07186d0b8c186fcfeec3af7ba6380a23c42ed9a9b92c2b83135f4b3e4e493 SHA512 8668411990b4e184ead86d4e2d670243a52885e9cbc4434b1129d6c6a172ccfdc93276277e320f366cb8fc41c461229e9c68d5598d94b6f756c51f70879efe1c WHIRLPOOL 1948e50544ebdf819120ca7480cf3f584fb3d98b4f0550de994682a4cccee47daa4d84b9589df06c396ada53f58d098cb132c3d4c14005f1f176c83492a3007a
EBUILD aufs3-3_p20140908.ebuild 5289 SHA256 7f710603aa95a8fe1e5ee9927db6107b0212e292c10d7bbf3da2cdf2e6d60f87 SHA512 4e44d470bfcf4e04764ff640bcb5ca61196ae796e1ba41a8884cdd3a5d7484b1e79c5c93f56264bbf72f5099048d4bb7f35e787c4e185da57d7149575fc4372b WHIRLPOOL ffd516d99b7acffd6b308a3cea3ced65545780515e86a89f7b80991001a05ffd059b5320204b559ab4099e419a9ffcfd262b31b87d369e7b798e9716a45bb96a
@@ -33,24 +34,25 @@ EBUILD aufs3-3_p20141215.ebuild 5499 SHA256 85c1dcee37f380f22db842c6b490293c5de4
EBUILD aufs3-3_p20150106.ebuild 5323 SHA256 069da636a0ef51a295bbd5e3da78ce24be3e86191b773b7e8937a0893643f0a2 SHA512 f5119e4bbfef9519d5c46ee479b782ff2b3079cc94223c9871af108fca5c816a27d10f9942c14cd2cd08667700b1e24694fa1a9e5fab121560fb5633830d251f WHIRLPOOL c8b7cff283404b51fd0330959a9d90ef531efda592f4b0d367ba619937c89289196c4a3aab2684cbffd4dfad26883798e719faa27930f865a9d41f52df76da78
EBUILD aufs3-3_p20150119.ebuild 5323 SHA256 5e5ac54da78108d65831b4065a93b14f66666a8caeced300a35716e66a89acf8 SHA512 2ae993985ce722ee5a885bc5222cb295eb177251d389983de36085ec3503703363e723c3f315a3d07a51e39d36a2afc717f27a046cda23fd8e160f6a8dedc955 WHIRLPOOL ecad072efb457fa02acc2e3eb7ffc4ed5c8e7f57c5188c5c55fef7572182eeb96d2d71ca8b377cda6420885799138c167e7a4aeb03be9cdb9cd536fd26775750
EBUILD aufs3-3_p20150126.ebuild 5323 SHA256 b654d605967dbef9991fee2b74166fc56ff166b11bad3894d5d4e5d7163c3d4b SHA512 d4d9e3a2bbd077daec384a8d498098e028b903fb426eaba615e1b40ed94ef70676f0d1da2af09d47768fde3e77599f082f571ce9e6db54465dcf319a74eb2f20 WHIRLPOOL 73a77dd9f482bcbc90a0d53943958e12bbb740ad49ea8c9776b391ef7f0aa5770f12f44b3b5cff9cba6de7283e040ed7c56d9832237f5e82dec7d529676f8ce1
-MISC ChangeLog 27693 SHA256 72a519b537ada3a0dd211053534b27b84c66e53c56884104f45a05392a8db26c SHA512 c2e175cb0303390d7eabcc60b2421f465eb62067efe0aea9b1c3980f78c4fa9263a969693d1960802a0cba03bd383017603ad89d109b0dabd3ce699170f167b6 WHIRLPOOL c7e12d6a3465cd6bce0efe01cc66f1d78eb34f21b5779982c2079cb77f9a656b01a19827e8bee50dabcb4f402802209113bf22f9de737899a84ac00f09691c07
+EBUILD aufs3-3_p20150216.ebuild 5323 SHA256 7008442ad8f72f8735644925169e840398ce2c890c7a2a0059fa3c9727dfd6e9 SHA512 f247f2a5a80b733c9dec662d7569c6d34d3153d82e12861ca9f959312acad31376c65dc2730a14629ad8d436b9f62731f3c4ef5ab83341a22463561fbd17f760 WHIRLPOOL 5ac5a5b26fce48ea0fad1e59d1bc72c3513944cf4297680812cc51db703765b80842e3955900338eb647b808fa21409d26a707cd0ff72d331ecd6f698e27ad1d
+MISC ChangeLog 27833 SHA256 4846a1206a5f6589db0a75972814cbdaca8f059d080f89f46ad0535dcde4bf1f SHA512 b209972b3e6a930b86199f6e7f73f339322852831b95baae91e17fc62f609c407f1c269b0ae8796732b676867f1e488716227bb546833508b27856b26b8269c0 WHIRLPOOL ae9be3ba60c880c8dd62c11af01ce9e503fae576a7f3553d6f3ad19dcc29e1965cc205a7f48eb86d449609bc2be4b06ceefd2e88b4c1acdd7b086ec03e04aba8
MISC metadata.xml 717 SHA256 3c55d0a76fa9856c7079674c14f0bfa18c454848aa652f26669b207905ee09aa SHA512 28a8b5b0e55ea607135f34da28025698b578bd6db14f48865ed4996745fccda6a05b0882a5fd13185005517b577231f6c1e01b192add81fddfd0e66b86fc8d4c WHIRLPOOL cd4f9b75f8b5aa5dad559af879445a86740c7cdfab6bd7d97d3ddba5596c139ed2c52b5447b66698078f476a65c3b4355d9f6377e70a54d9cd063e060a0ce2ce
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0
-iQJ8BAEBCgBmBQJUxSqAXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+iQJ8BAEBCgBmBQJU4uc1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
-OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirVIgP/1sGeLFp4V/H+a/RdM0fnSHI
-CO/Ip2HcwwT7rqreY3iaaIhnmpMNz9439oUcV2oE0AOkvVc8/e6DbIBTCNzkydkf
-YttR6vmzo8IOvhn0PSDq7rGcIHfCZAgpAK9j5m2ylsRZ1p/FleVdq3YV0/j0g6Xy
-4p8RH4UBt8UR/KZuWhI3jqw8mjugVUMTk8Hp3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7M166a6Fn6FFvXvxQuYyTWv0zh7t1a8
+X0v1ywGBGMQOcEKGZbzrWIO2Yvp32WZhldJpWCLVVpWOLnNYUio60YxXscxFhzXt
+9d8vUhaJBHPHWb+PhTUNzcV6bsdnd9avQTIA5Qtk81xyaVINuo/vREFNVVqToSiN
+IzcLTDxU4bmoJGNVEIlH
+=A2CM
-----END PGP SIGNATURE-----
diff --git a/sys-fs/aufs3/aufs3-3_p20150216.ebuild b/sys-fs/aufs3/aufs3-3_p20150216.ebuild
new file mode 100644
index 000000000000..fae9361fb442
--- /dev/null
+++ b/sys-fs/aufs3/aufs3-3_p20150216.ebuild
@@ -0,0 +1,173 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/aufs3-3_p20150216.ebuild,v 1.1 2015/02/17 07:01:17 jlec Exp $
+
+EAPI=5
+
+inherit eutils flag-o-matic linux-info linux-mod multilib readme.gentoo toolchain-funcs
+
+AUFS_VERSION="${PV%%_p*}"
+# highest branch version
+PATCH_MAX_VER=18
+# highest supported version
+KERN_MAX_VER=19
+# lowest supported version
+KERN_MIN_VER=14
+
+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})"
+
+README_GENTOO_SUFFIX="-r1"
+
+pkg_setup() {
+ 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 ${KERN_MIN_VER} 0 && die "the kernel version isn't supported by upstream anymore. Please upgrade."
+ 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"
+ elif [[ "${KV_MINOR}" == "14" ]] && [[ "${KV_PATCH}" -ge "21" ]]; then
+ PATCH_BRANCH="${KV_MINOR}".12+
+ elif [[ "${KV_MINOR}" == "18" ]] && [[ "${KV_PATCH}" -ge "1" ]]; then
+ PATCH_BRANCH="${KV_MINOR}".1+
+ else
+ PATCH_BRANCH="${KV_MINOR}"
+ fi
+
+ case ${KV_EXTRA} in
+ "")
+ elog "It seems you are using vanilla-sources with aufs3"
+ elog "Please use sys-kernel/aufs-sources with USE=vanilla"
+ elog "This will save you the nasty reemerge of sys-fs/aufs3 on every kernel upgrade"
+ ;;
+ "-gentoo")
+ elog "It seems you are using gentoo-sources with aufs3"
+ elog "Please use sys-kernel/aufs-sources"
+ elog "This will save you the nasty reemerge of sys-fs/aufs3 on every kernel upgrade"
+ ;;
+ esac
+
+ pushd "${T}" &> /dev/null
+ unpack ${A}
+ cd ${PN}-standalone || die
+ local module_branch=origin/${PN}.${PATCH_BRANCH}
+ einfo "Using ${module_branch} as patch source"
+ git checkout -q -b local-${PN}.${PATCH_BRANCH} ${module_branch} || die
+ combinediff ${PN}-base.patch ${PN}-standalone.patch > "${T}"/combined-1.patch
+ combinediff "${T}"/combined-1.patch ${PN}-mmap.patch > ${PN}-standalone-base-mmap-combined.patch
+ if ! ( patch -p1 --dry-run --force -R -d ${KV_DIR} < ${PN}-standalone-base-mmap-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-mmap-combined.patch >/dev/null
+ epatch "${T}"/${PN}-standalone/${PN}-standalone-base-mmap-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 "${T}"/${PN}-standalone/${PN}-standalone-base-mmap-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
+
+ if use pax_kernel; then
+ if kernel_is ge 3 11; then
+ epatch "${FILESDIR}"/pax-3.11.patch
+ else
+ epatch "${FILESDIR}"/pax-3.patch
+ fi
+ fi
+
+ 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-mmap-combined.patch
+
+ dodoc Documentation/filesystems/aufs/README "${T}"/${PN}-standalone/{aufs3-loopback,vfs-ino,tmpfs-idr}.patch
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_pkg_postinst
+ linux-mod_pkg_postinst
+}