summaryrefslogtreecommitdiff
path: root/sys-kernel/hardened-sources/hardened-sources-5.15.158.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/hardened-sources/hardened-sources-5.15.158.ebuild')
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-5.15.158.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-kernel/hardened-sources/hardened-sources-5.15.158.ebuild b/sys-kernel/hardened-sources/hardened-sources-5.15.158.ebuild
index 3c5b57a..fe84c51 100644
--- a/sys-kernel/hardened-sources/hardened-sources-5.15.158.ebuild
+++ b/sys-kernel/hardened-sources/hardened-sources-5.15.158.ebuild
@@ -10,14 +10,14 @@ inherit kernel-2
detect_version
detect_arch
SUBREL="hardened1"
-HARDENED_URI="https://github.com/anthraxx/linux-hardened/releases/download/${PV}-${SUBREL}/linux-hardened-${PV}-${SUBREL}.patch"
+HARDENED_URI="https://github.com/anthraxx/linux-hardened/releases/download/${PV%.0}-${SUBREL}/linux-hardened-${PV%.0}-${SUBREL}.patch"
DESCRIPTION="Minimal supplement to upstream Kernel Self Protection Project"
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches https://github.com/anthraxx/linux-hardened"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${HARDENED_URI} ${ARCH_URI}"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="experimental"
-UNIPATCH_LIST="${FILESDIR}/9999_revert-conflicts-v1.patch ${DISTDIR}/linux-hardened-${PV}-${SUBREL}.patch ${FILESDIR}/linux-hardened-gentoo-v1.patch"
+UNIPATCH_LIST="${FILESDIR}/9999_revert-conflicts-v1.patch ${DISTDIR}/linux-hardened-${PV%.0}-${SUBREL}.patch ${FILESDIR}/linux-hardened-gentoo-v1.patch"
UNIPATCH_EXCLUDE="1510_fs-enable-link-security-restrictions-by-default.patch"
pkg_postinst() {