commit:     02efb0eb4231482b7d451e315e08a4eae0a56f4f
Author:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 23 14:08:29 2022 +0000
Commit:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 06:33:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02efb0eb

sys-kernel/raspberrypi-sources: add 5.15.61_p20220830

Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/27916
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>

 sys-kernel/raspberrypi-sources/Manifest            |  3 +
 .../raspberrypi-sources-5.15.61_p20220830.ebuild   | 75 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/sys-kernel/raspberrypi-sources/Manifest 
b/sys-kernel/raspberrypi-sources/Manifest
index 61116a299586..03f4bcb59fcd 100644
--- a/sys-kernel/raspberrypi-sources/Manifest
+++ b/sys-kernel/raspberrypi-sources/Manifest
@@ -1,4 +1,7 @@
 DIST genpatches-5.15-1.base.tar.xz 515540 BLAKE2B 
245520300cb9ea1a0803dd4497b3f98bad3ddd29851f8f1273e3b51a3479c03a4915f601f1df216593a36b6f7593ba852dbbb7f106a40260c14b4590201b8fb9
 SHA512 
baa107fdd1c893ba977391cc429542b90de96d0cf4e6a671e392ef8e0f795d5ce1e4d2e74c214a907c9bf35fbdcfcec220785a4e66322b6191f097eabadeb567
 DIST genpatches-5.15-1.extras.tar.xz 1772 BLAKE2B 
e4c9b0ccfcdade38239cbf0e8db14e46b394b3da9a08c2538f81c602e9c8f52ffaeac0b441831ac771e6a19314a8a7d61b5411e1762c7705c555bea5a478dd68
 SHA512 
59290f7ea30bebb5137829a1d69b22b2170ff06a794e06b334f03312174e31ed9be9c8372396b482a936283a79e557f813755b5fed77a5485b2144d1d4b0e52a
+DIST genpatches-5.15-22.base.tar.xz 986832 BLAKE2B 
48fcd267e6e28850d226693b902fd66696024e75db6a75bb78ec79c7ac8afdac62643c4113ff205c301024d245f075716e0bf8083f97917dcfc8b1fcd71b674e
 SHA512 
e8c64bd91caedc3dcd98301dbcbd2003b4aceb5a9713bd908a69448eaa2aea945fa8162e57442862b03daa0e1a4e7642e4504701b1f34a6edb127692e582e0e0
+DIST genpatches-5.15-22.extras.tar.xz 3876 BLAKE2B 
95daac6c95b82d628c0551b4e18e7c3ad9a5722b5ab8f087889b15bdeea8c6f5e232ee8b365bfb4a7c6730207d4735a0fb648b389626f35cda2593caa83ff3e2
 SHA512 
0616c4a976d22a5491039a6bc3babdd7e9095a2c53e2a1530d1ecfcf50a2dbfca637c1b6771078efc92e3371ac15f332f85f653d267ea8e6262ffd305be2723a
 DIST linux-5.10.63_p20211029-raspberrypi.tar.gz 186550447 BLAKE2B 
44e04467a63c5761c252280c5fbff48c3fa058891ff03623ed7fb872f0a22883ed2e3b8703847e30c1a6f5cf523db1248f027c89ce1558280f1012fa300308a7
 SHA512 
b050f74b5a62d355cd630d41f2f63df285662347048ed97db1bac2a74f1cefeddb31b7b352aa509e90d7f03832ad2ca8e1e476d8eac62b334132a3ab308559fc
 DIST linux-5.15.32_p20220331-raspberrypi.tar.gz 199328000 BLAKE2B 
06bfd61bfa94666101e0092246bfc3449ad6278f2a85104511320b27c76e5677011c7ee723f4af7f445d21dccd02ff40e73d7bfcf2fdd2f287465e2f0ff586f5
 SHA512 
bf20a5ea32975de8b88842f639f3e4bd2e92c51846fc00ddfca9cc4040590983d9820cfa19836bf54061780f9e8c0a1293e8aa74a7da20e2e7edd84b3932f8d7
+DIST linux-5.15.61_p20220830-raspberrypi.tar.gz 199608883 BLAKE2B 
53754553129f866ab27eb3e4f2d8720bddfba3a642fe505b9d5a0c819fdb8c714082de9c94d833719385b956b8463dbb0a0a4c6a63cfe322539652d44df7a96b
 SHA512 
4c6711ef4999c7e5a5df96bebdcc67b3f1fca274f0b3b3081543df11711cf000cc507044a4d86e607b7c015aafbbd3b3e92d7ee459429b7254f6222e9a6aa7e8

diff --git 
a/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.15.61_p20220830.ebuild 
b/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.15.61_p20220830.ebuild
new file mode 100644
index 000000000000..d77c92e734f6
--- /dev/null
+++ 
b/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.15.61_p20220830.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ETYPE=sources
+K_DEFCONFIG="bcmrpi_defconfig"
+K_SECURITY_UNSUPPORTED=1
+EXTRAVERSION="-${PN}/-*"
+
+K_EXP_GENPATCHES_NOUSE=1
+K_GENPATCHES_VER=22
+K_DEBLOB_AVAILABLE=0
+K_WANT_GENPATCHES="base extras"
+
+inherit kernel-2 linux-info
+detect_version
+detect_arch
+
+MY_P=$(ver_cut 4-)
+MY_P="1.${MY_P/p/}"
+
+DESCRIPTION="Raspberry Pi kernel sources"
+HOMEPAGE="https://github.com/raspberrypi/linux";
+SRC_URI="
+       https://github.com/raspberrypi/linux/archive/${MY_P}.tar.gz -> 
linux-${KV_FULL}.tar.gz
+       ${GENPATCHES_URI}
+"
+
+KEYWORDS="~arm ~arm64"
+
+PATCHES=("${FILESDIR}"/${PN}-5.15.32-gentoo-kconfig.patch)
+
+UNIPATCH_EXCLUDE="
+       10*
+       15*
+       2000
+       29*
+       3000
+       4567"
+
+pkg_setup() {
+       ewarn ""
+       ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any 
way."
+       ewarn "If you need support, please contact the raspberrypi developers 
directly."
+       ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues 
with"
+       ewarn "the ebuilds. Thank you."
+       ewarn ""
+
+       kernel-2_pkg_setup
+}
+
+universal_unpack() {
+       unpack linux-${KV_FULL}.tar.gz
+
+       # We want to rename the unpacked directory to a nice normalised string
+       # bug #762766
+       mv "${WORKDIR}"/linux-${MY_P} "${WORKDIR}"/linux-${KV_FULL} || die
+
+       # remove all backup files
+       find . -iname "*~" -exec rm {} \; 2>/dev/null
+}
+
+src_prepare() {
+       default
+       kernel-2_src_prepare
+}
+
+pkg_postinst() {
+       kernel-2_pkg_postinst
+}
+
+pkg_postrm() {
+       kernel-2_pkg_postrm
+}

Reply via email to