Add package "sys-kernel/linux" version 6.5.8 ebuild
This commit is contained in:
parent
be1550c35d
commit
ca99179b07
2
sys-kernel/linux/Manifest
Normal file
2
sys-kernel/linux/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST linux-6.5.8.tar.sign 987 BLAKE2B a5cc0238804fd53c50b60c5919f81ce14ca70777d9687342bd50dc6ee7ce8d2bb3d513c7f40403b4766e00bdada0fdb808334011186232a9d696948d0058cef5 SHA512 3e3702923e4990f4b52c69a77f22da4d12b4e041f7e988b284e4d64e1346605d220449ba0e4ce8f9f87024a9b72f548aceb697a8d9f69736e50084d4402e4cfb
|
||||
DIST linux-6.5.8.tar.xz 138985892 BLAKE2B 5d104cfd8f1f08b181ab85bb251e0a2fc1b37a791f396e83fab82ff5aeadc0c69a746359a6005dc766546c5a880235e1b4c477d67bd7b33ef6c4aaf4a8ea488b SHA512 d13b24b49b337238b09f7fba865082935836e6f3322694576b71776fd999b9ef45a5e4779bac4d0ce5303f0627ccb2889864a93532e9c20699acf0b35917beef
|
42
sys-kernel/linux/linux-6.5.8.ebuild
Normal file
42
sys-kernel/linux/linux-6.5.8.ebuild
Normal file
@ -0,0 +1,42 @@
|
||||
# Copyright 2020 Gentoo Authors, 2023 Jake Winters
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit verify-sig
|
||||
|
||||
DESCRIPTION="Linux kernel source code."
|
||||
HOMEPAGE="https://www.kernel.org/"
|
||||
SRC_URI="
|
||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${P}.tar.xz
|
||||
verify-sig? (
|
||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${P}.tar.sign
|
||||
)
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
SLOT="0"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 arm64"
|
||||
|
||||
BDEPEND="
|
||||
verify-sig? ( sec-keys/openpgp-keys-kernel )
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig; then
|
||||
einfo "Unpacking ${P}.tar.xz ..."
|
||||
verify-sig_verify_detached - "${DISTDIR}"/${P}.tar.sign \
|
||||
< <(xz -cd "${DISTDIR}"/${P}.tar.xz | tee >(tar -x))
|
||||
assert "Unpack failed"
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user