Diff vanilla-kernel-5.4.257 with a vanilla-kernel-5.4.9999

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

  
4 4
EAPI=8
5 5

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

  
8
MY_P=linux-${PV}
9 8
# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
10 9
CONFIG_VER=5.4.21
11 10
CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
12
GENTOO_CONFIG_VER=g9
11
GENTOO_CONFIG_VER=g7
13 12

  
14 13
DESCRIPTION="Linux kernel built from vanilla upstream sources"
15 14
HOMEPAGE="
......
17 16
	https://www.kernel.org/
18 17
"
19 18
SRC_URI+="
20
	https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
21 19
	https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
22 20
		-> 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
	)
26 21
	amd64? (
27 22
		https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
28 23
			-> kernel-x86_64.config.${CONFIG_VER}
......
40 35
			-> kernel-i686.config.${CONFIG_VER}
41 36
	)
42 37
"
43
S=${WORKDIR}/${MY_P}
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}"
44 44

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

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

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

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

  
71 62
src_prepare() {
Thank you!