summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-01-18 18:38:13 +0000
committerJustin Lecher <jlec@gentoo.org>2015-01-18 18:38:13 +0000
commitb3a9e950fb0b646cc5ba8465522205a166295bfd (patch)
tree2cb586d2f71fd168f5aa83f4d05eccb3a2be1ac4 /sys-fs
parentAdjust systemd blocker. (diff)
downloadhistorical-b3a9e950fb0b646cc5ba8465522205a166295bfd.tar.gz
historical-b3a9e950fb0b646cc5ba8465522205a166295bfd.tar.bz2
historical-b3a9e950fb0b646cc5ba8465522205a166295bfd.zip
sys-fs/aufs3: Bump to latest aufs3
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/aufs3/ChangeLog7
-rw-r--r--sys-fs/aufs3/Manifest32
-rw-r--r--sys-fs/aufs3/aufs3-3_p20150119.ebuild173
3 files changed, 196 insertions, 16 deletions
diff --git a/sys-fs/aufs3/ChangeLog b/sys-fs/aufs3/ChangeLog
index 564e70fdf7fa..f76c2ad92a3c 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.117 2015/01/05 15:49:28 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/ChangeLog,v 1.118 2015/01/18 18:38:07 jlec Exp $
+
+*aufs3-3_p20150119 (18 Jan 2015)
+
+ 18 Jan 2015; Justin Lecher <jlec@gentoo.org> +aufs3-3_p20150119.ebuild:
+ Bump to latest aufs3
*aufs3-3_p20150106 (05 Jan 2015)
diff --git a/sys-fs/aufs3/Manifest b/sys-fs/aufs3/Manifest
index 2244524e04c1..b2219dba5ef7 100644
--- a/sys-fs/aufs3/Manifest
+++ b/sys-fs/aufs3/Manifest
@@ -17,6 +17,7 @@ DIST aufs3-standalone-3_p20141110.tar.xz 2484416 SHA256 7832f2ee3f088340250bedc0
DIST aufs3-standalone-3_p20141208.tar.xz 2562260 SHA256 28c772a8f665f534e85965e4da79b46abf16382f04ef858f427cd44fe242d83c SHA512 baf387375ae84c996926ea7c59b73a4e7a9f82ba7a7b940a61096dc3183c8ebbb7da6b7123f258a9a74d31565b4969b1a4b39fe0bd729a630bf79df96ca56aa6 WHIRLPOOL 4ff701d47aa998325eaa39cfceda06d9ec046472d7e8a8ff69953b32bffc196104f8e7166d6b057131bc388861328e0a2dce1d8e5c459aaf9745d9f122087dfd
DIST aufs3-standalone-3_p20141215.tar.xz 2609084 SHA256 5f40f5b4b47c69932e1f2fbb6119edad3422baee0ffa2d2840f667af0b243414 SHA512 0cc995c8e1a5354c52bd25bde550258c8d37a01ca441b79ed054948238be4175279894784c66d0c8418fd8e48c5c39f3fb9f153c0bec693d91ba8d1ba072fe93 WHIRLPOOL 12e2fa49d93c8e7403639d10fef12a689999bda2c23829ced66ec08dff83d720a509462af203e03f9852fcacf71659e3118af8ed617020373eeef88ba75d5e44
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
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
@@ -29,24 +30,25 @@ EBUILD aufs3-3_p20141110.ebuild 5499 SHA256 6622a6f1e4114777af9982ea89636e508780
EBUILD aufs3-3_p20141208.ebuild 5499 SHA256 a81211c6c06e1a5ba0d5524b3ca4c70ded881019326ca5b6a2ed5e77d75091a7 SHA512 9e2ceff4ec976cd73b818d5a5c6fb4f329256080c2b130241d4015e4d8a7692e61dbe70626e8af72cdef765af7eeaf184c37de5c07ea1abaa77973f7618f9030 WHIRLPOOL 4c9be3faacd5070f6a6b399ad0574e93dc8b4a018aa1ce7fe73a0a263176c75263df4b0f36df9b57d4a3be1b791ff41b194071cff595df819e0f12373ff193bd
EBUILD aufs3-3_p20141215.ebuild 5499 SHA256 85c1dcee37f380f22db842c6b490293c5de449100b638f432057e7fc64213dd1 SHA512 c316fa3019e4a82b092acb4b7bd69a6639d057dd2bb2ca38147fbb93c76758a7c780bc7d8ddc5bcbb45254725b4b799c43bfded12cfb9dd51e73eb4d954576c9 WHIRLPOOL 7a59be1242a4eb8771efbbe1f65645d47866cb7b65b3ee1b4deba4af9efca5787003a9b4d41e55a50482068ae2fc8fc89c51e0ecb05fe46461a2da6a910d5bd4
EBUILD aufs3-3_p20150106.ebuild 5323 SHA256 069da636a0ef51a295bbd5e3da78ce24be3e86191b773b7e8937a0893643f0a2 SHA512 f5119e4bbfef9519d5c46ee479b782ff2b3079cc94223c9871af108fca5c816a27d10f9942c14cd2cd08667700b1e24694fa1a9e5fab121560fb5633830d251f WHIRLPOOL c8b7cff283404b51fd0330959a9d90ef531efda592f4b0d367ba619937c89289196c4a3aab2684cbffd4dfad26883798e719faa27930f865a9d41f52df76da78
-MISC ChangeLog 27429 SHA256 59e607d06a8474c339f85d73b131a5e39c428259bb3f8ef8dcf3456af194bf65 SHA512 6aaafc4f14cfa5c455afe37f9f203e04505560021f100df365ee6b59a752b23405534fd06bb525b591ced5debbe0989e6c76dc477e01ef3d5af368873033a17a WHIRLPOOL aabcd93d43b65a6ed208a10cdcca6788b578b37c3debf4e3324c746d27b525adb534188a823e39c1a8a0568067b9d5b89badeb481bb4044584ce82459249c1da
+EBUILD aufs3-3_p20150119.ebuild 5323 SHA256 5e5ac54da78108d65831b4065a93b14f66666a8caeced300a35716e66a89acf8 SHA512 2ae993985ce722ee5a885bc5222cb295eb177251d389983de36085ec3503703363e723c3f315a3d07a51e39d36a2afc717f27a046cda23fd8e160f6a8dedc955 WHIRLPOOL ecad072efb457fa02acc2e3eb7ffc4ed5c8e7f57c5188c5c55fef7572182eeb96d2d71ca8b377cda6420885799138c167e7a4aeb03be9cdb9cd536fd26775750
+MISC ChangeLog 27561 SHA256 aa2af01834e6d8ece712e293b3a7ccb9f4650104b3c56be20bb48d1b6bd0c103 SHA512 5447048a2b9c8ace6e4e880958ec23ca112768b362307bde99ee84af6a74b0a73e01a064adaaa7df1d131b512dc28524ed45fdf3b543d2b001eb6b8b442d31fb WHIRLPOOL d508583b8fed006f99afd192ec07b05ba93caf07e0b51a81b66857fc0fea53106afb4b551e513e97309d6dc03456510c1c9fb7fff63922dc5707fc64ba1f6b62
MISC metadata.xml 717 SHA256 3c55d0a76fa9856c7079674c14f0bfa18c454848aa652f26669b207905ee09aa SHA512 28a8b5b0e55ea607135f34da28025698b578bd6db14f48865ed4996745fccda6a05b0882a5fd13185005517b577231f6c1e01b192add81fddfd0e66b86fc8d4c WHIRLPOOL cd4f9b75f8b5aa5dad559af879445a86740c7cdfab6bd7d97d3ddba5596c139ed2c52b5447b66698078f476a65c3b4355d9f6377e70a54d9cd063e060a0ce2ce
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0
-iQJ8BAEBCgBmBQJUqrJ9XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+iQJ8BAEBCgBmBQJUu/5KXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
-OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirWmoP/3qsG7xZ3arptly56RQ8IphP
-evNIRB51mEeHQMqk9DAhxRkoIgqD3RLkybwTQ/E5tK91/3PVsk2zpB7KqVkH5C+A
-daO+MEajAMZ33RAOZ6G9Cvstlfn9LC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WcYK6i93u+1BIbC7d/KK9/I8b8K45zI8/pp
+sfJek+ADOyiQEpxaKUJPJGfwumbMK7NiHtmFq5Qez0BMd/rP9Ht66ZFsEUsAP9SJ
+0T9AGHvQBevGpayjuy3YzPpbvk/VdPayJRUz6dbgz8Hvka+DKZwxHm+RXy+3AiMX
+bDUXPdr9j2nzmebpk89Vbbpr3upfLDfyBEn3jd7w3Wfgr6HsqGwTRk1B0f5UOQYI
+cCJPQSonC5mdjeoqGaJt
+=QyMS
-----END PGP SIGNATURE-----
diff --git a/sys-fs/aufs3/aufs3-3_p20150119.ebuild b/sys-fs/aufs3/aufs3-3_p20150119.ebuild
new file mode 100644
index 000000000000..daf8c4dac6fd
--- /dev/null
+++ b/sys-fs/aufs3/aufs3-3_p20150119.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_p20150119.ebuild,v 1.1 2015/01/18 18:38:07 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
+}