From 61f10f985e19dfe20a4d9552902625edd5b6eabb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 21 Jun 2021 17:32:00 +0100 Subject: gentoo resync : 21.06.2021 --- eclass/pax-utils.eclass | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'eclass/pax-utils.eclass') diff --git a/eclass/pax-utils.eclass b/eclass/pax-utils.eclass index 209e4831f960..9c4903d24b61 100644 --- a/eclass/pax-utils.eclass +++ b/eclass/pax-utils.eclass @@ -7,6 +7,7 @@ # @AUTHOR: # Author: Kevin F. Quinn # Author: Anthony G. Basile +# @SUPPORTED_EAPIS: 5 6 7 # @BLURB: functions to provide PaX markings for hardened kernels # @DESCRIPTION: # @@ -20,6 +21,11 @@ # To control what markings are made, set PAX_MARKINGS in /etc/portage/make.conf # to contain either "PT", "XT" or "none". The default is none +case ${EAPI:-0} in + [567]) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + if [[ -z ${_PAX_UTILS_ECLASS} ]]; then _PAX_UTILS_ECLASS=1 -- cgit v1.2.3