summaryrefslogtreecommitdiff
path: root/sys-kernel/hardened-sources/hardened-sources-6.1.99.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/hardened-sources/hardened-sources-6.1.99.ebuild')
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-6.1.99.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-kernel/hardened-sources/hardened-sources-6.1.99.ebuild b/sys-kernel/hardened-sources/hardened-sources-6.1.99.ebuild
index ad010c6..6037c31 100644
--- a/sys-kernel/hardened-sources/hardened-sources-6.1.99.ebuild
+++ b/sys-kernel/hardened-sources/hardened-sources-6.1.99.ebuild
@@ -10,14 +10,14 @@ inherit kernel-2
detect_version
detect_arch
SUBREL="hardened1"
-HARDENED_URI="https://github.com/anthraxx/linux-hardened/releases/download/v${PV}-${SUBREL}/linux-hardened-v${PV}-${SUBREL}.patch"
+HARDENED_URI="https://github.com/anthraxx/linux-hardened/releases/download/v${PV%.0}-${SUBREL}/linux-hardened-v${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-v2.patch ${DISTDIR}/linux-hardened-v${PV}-${SUBREL}.patch"
+UNIPATCH_LIST="${FILESDIR}/9999_revert-conflicts-v2.patch ${DISTDIR}/linux-hardened-v${PV%.0}-${SUBREL}.patch"
UNIPATCH_EXCLUDE="1510_fs-enable-link-security-restrictions-by-default.patch"
pkg_postinst() {