Diff vanilla-kernel-5.19.9999 with a vanilla-kernel-6.1.55

/usr/portage/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.55.ebuild 2023-10-09 14:52:35.536368503 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit git-r3 kernel-build toolchain-funcs
6
inherit kernel-build toolchain-funcs verify-sig
7 7

  
8
MY_P=linux-${PV}
8 9
# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
9 10
# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
10
CONFIG_VER=5.19.13-gentoo
11
GENTOO_CONFIG_VER=g3
11
CONFIG_VER=6.1.7-gentoo
12
GENTOO_CONFIG_VER=g9
12 13

  
13 14
DESCRIPTION="Linux kernel built from vanilla upstream sources"
14 15
HOMEPAGE="
......
16 17
	https://www.kernel.org/
17 18
"
18 19
SRC_URI+="
20
	https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
19 21
	https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
20 22
		-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
23
	verify-sig? (
24
		https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign
25
	)
21 26
	amd64? (
22 27
		https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
23 28
			-> kernel-x86_64-fedora.config.${CONFIG_VER}
......
35 40
			-> kernel-i686-fedora.config.${CONFIG_VER}
36 41
	)
37 42
"
38

  
39
EGIT_REPO_URI=(
40
	https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
41
	https://github.com/gregkh/linux/
42
)
43
EGIT_BRANCH="linux-${PV/.9999/.y}"
43
S=${WORKDIR}/${MY_P}
44 44

  
45 45
LICENSE="GPL-2"
46
KEYWORDS=""
46
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
47 47
IUSE="debug hardened"
48 48
REQUIRED_USE="arm? ( savedconfig )"
49 49

  
50 50
BDEPEND="
51 51
	debug? ( dev-util/pahole )
52
	verify-sig? ( sec-keys/openpgp-keys-kernel )
52 53
"
53 54
PDEPEND="
54
	>=virtual/dist-kernel-$(ver_cut 1-2)
55
	>=virtual/dist-kernel-${PV}
55 56
"
56 57

  
58
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc
59

  
57 60
src_unpack() {
58
	git-r3_src_unpack
59
	default
61
	if use verify-sig; then
62
		einfo "Unpacking linux-${PV}.tar.xz ..."
63
		verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \
64
			< <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x))
65
		assert "Unpack failed"
66
		unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
67
	else
68
		default
69
	fi
60 70
}
61 71

  
62 72
src_prepare() {
Thank you!