summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-11-19 07:22:53 +0000
committerJustin Lecher <jlec@gentoo.org>2013-11-19 07:22:53 +0000
commit362fc43d7e06fd9da83d75af61516701b53100c5 (patch)
treec16f810df7a16de2a5d59176d82b44ebce5b5f7c /sys-fs
parentUpdated to current upstream stable; closes Bug 453692. Several USE flag (diff)
downloadgentoo-2-362fc43d7e06fd9da83d75af61516701b53100c5.tar.gz
gentoo-2-362fc43d7e06fd9da83d75af61516701b53100c5.tar.bz2
gentoo-2-362fc43d7e06fd9da83d75af61516701b53100c5.zip
sys-fs/aufs3: Add min supported version check
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/aufs3/ChangeLog5
-rw-r--r--sys-fs/aufs3/aufs3-3_p20131111.ebuild6
2 files changed, 8 insertions, 3 deletions
diff --git a/sys-fs/aufs3/ChangeLog b/sys-fs/aufs3/ChangeLog
index 5a583cba15f4..2f9ba8796a3c 100644
--- a/sys-fs/aufs3/ChangeLog
+++ b/sys-fs/aufs3/ChangeLog
@@ -1,6 +1,9 @@
# 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.76 2013/11/11 15:45:39 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/ChangeLog,v 1.77 2013/11/19 07:22:53 jlec Exp $
+
+ 19 Nov 2013; Justin Lecher <jlec@gentoo.org> aufs3-3_p20131111.ebuild:
+ Add min supported version check
*aufs3-3_p20131111 (11 Nov 2013)
diff --git a/sys-fs/aufs3/aufs3-3_p20131111.ebuild b/sys-fs/aufs3/aufs3-3_p20131111.ebuild
index de86bc79a72c..d51386f3a66b 100644
--- a/sys-fs/aufs3/aufs3-3_p20131111.ebuild
+++ b/sys-fs/aufs3/aufs3-3_p20131111.ebuild
@@ -1,6 +1,6 @@
# 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_p20131111.ebuild,v 1.1 2013/11/11 15:45:39 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/aufs3-3_p20131111.ebuild,v 1.2 2013/11/19 07:22:53 jlec Exp $
EAPI=5
@@ -11,6 +11,8 @@ AUFS_VERSION="${PV%%_p*}"
PATCH_MAX_VER=12
# highest supported version
KERN_MAX_VER=13
+# lowest supported version
+KERN_MIN_VER=9
DESCRIPTION="An entirely re-designed and re-implemented Unionfs"
HOMEPAGE="http://aufs.sourceforge.net/"
@@ -46,7 +48,7 @@ pkg_setup() {
[ -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 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