public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "WANG Xuerui" <xen0n@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-headers/
Date: Wed, 25 May 2022 00:09:16 +0000 (UTC)	[thread overview]
Message-ID: <1653437283.3ad3f12a16b22f1bd686b1806d11d26047f173c2.xen0n@gentoo> (raw)

commit:     3ad3f12a16b22f1bd686b1806d11d26047f173c2
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Mon May 23 08:01:27 2022 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Wed May 25 00:08:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ad3f12a

sys-kernel/linux-headers: add 5.18

Also updated the loongarch patchset [1] to upstream v11 [2], most notably
removing the fstat and newfstatat syscalls.

[1]: https://github.com/xen0n/linux/releases/tag/for-gentoo-linux-headers-5.18-20220523
[2]: https://lore.kernel.org/all/20220518092619.1269111-1-chenhuacai <AT> loongson.cn/

See: https://github.com/gentoo/gentoo/pull/25592
Reviewed-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 sys-kernel/linux-headers/Manifest                  |  3 ++
 sys-kernel/linux-headers/linux-headers-5.18.ebuild | 62 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest
index 4896ccb65e3c..7c4ceee6803f 100644
--- a/sys-kernel/linux-headers/Manifest
+++ b/sys-kernel/linux-headers/Manifest
@@ -7,6 +7,7 @@ DIST gentoo-headers-5.10-1.tar.xz 4304 BLAKE2B b5006ff13c8ef8394806919d547f1b15a
 DIST gentoo-headers-5.15-1.tar.xz 1496 BLAKE2B 9d88ecc517e226580ba43cba1b5cc62232690ed219f9c5e2d26047de6dbc4056eaaf04c320b2758acb3cb08b44ec402c7185989e0c5ded40c44f7b4bb1d77328 SHA512 f31d5fb4b5264a8b9c060d4215462796240c2423f0872e55ba4e96904086264f55b54d00342aef625a8f710c2ebc2d731bcf79cd0362b398c84235ff949eb229
 DIST gentoo-headers-5.16-0.tar.xz 1508 BLAKE2B 8a98768f3f33ca2fa5f61dbcea39388f7faf13033dc4f64dab989b0ecf06a193b22f3e692ad4aa882e4ae1428daae127f0562c7e3416b381d6825beff239a71d SHA512 e48e50ccd79ef79d59b986931dd65881e8a72d0531ff5043897c862795acb54fd3c3c0667eaca572cebd835a8c3196b01348f3865855d06fd409c185970855ef
 DIST gentoo-headers-5.17-0.tar.xz 1496 BLAKE2B 562923dd1fdb1fc8afc97196cf8ada2345170d91a4166722b474fc15484840bfcbb31d33b1a71d98fec7684f0c01660f3437dabca541dfbfe802591c81bea2f9 SHA512 27372682de83ba04aebcaa5d25aea8cfdf1ac51166b155c7bcd5e03ef2722f7cc2d4761d519c325267bfd79e69996d1a9647f0f24b4059d7771bc1f8e94a027e
+DIST gentoo-headers-5.18-0.tar.xz 1172 BLAKE2B 136ea2989239f776ec0873c87a9d53f7f579f8c7341a80543912161073c22e0af275141a7e935e7af03b8fd82be19f88538f8a4b2963e7dc31cc0a4b2324fe2e SHA512 f0df48f3926eda93da8cf637e377ce5c3b06a55744870224dd4968ff5fac9a68f79ce62e0c1635fcc02646b9ff94672678f241cbe6048161c4784a1ec48f402e
 DIST gentoo-headers-5.4-2.tar.xz 11352 BLAKE2B 0ff989dbfff9070c291efe1a8b925462770e71d0c3faeb2e53581dcce02abe45969ec293a7293b6d843f483927b15f4accc1f24ee4966483164e8f72727cfad8 SHA512 b460e4d00bdd9ec2ecf229f3b2dde7c6468f775399ba6a49fa0533c0688628c7b27d83835c21eab07407fd98c220043cd1b20e37cc4decbd08a3f2fd9cf6c2be
 DIST gentoo-headers-base-3.18.tar.xz 3776668 BLAKE2B 837a675ecf05ec270549d0ba6b9dcb98fb0e40f22007ebfa3e430152b7149dcfa29c8bbe38c737add07f75642234f1633c1d5ae0170788e8d4f765faf00bbdbe SHA512 6615c604e5e618d26fff5a61691f7827bb05be9790db6c9f8e16e3842bce8f056f9928f85ae5714710b75743b0d0804faba4ba9c76e934e1de22dc03ef6d5535
 DIST gentoo-headers-base-4.14.tar.xz 8017944 BLAKE2B e967a3f26fa002f62af72c165cf960e855f5d84dd105b3f136e5ae24f4cdfc9e5f8b217a83955b325ca4bd6bda0a9d4c4de02d8d79fd4aa72191bc63db96183a SHA512 2a4e83a9ee36ffa85b59ebac1e12f4f1c572825b767928a42c4748d924d04f0536bab4d9375ca68c11ad867c226f386c40c7c4d0158d1ab00c838eb5b2f9f21a
@@ -17,5 +18,7 @@ DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a936
 DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
 DIST linux-5.16.tar.xz 123114100 BLAKE2B 07a90cc640ff89e1359c06cee8c38abd33e51f9b9a89833e31a1d2750526fda4a59e8884db3c1ea63df0a37f0d3de6b5a922b014b7313d8abce20d90ac08adcb SHA512 7a257dd576bc8493595ec7d6f3c9cb6e22c772a8b2dbe735d2485c4f5c56e26a08695546e7e0f1f1cd04a533f25e829361958d4da0b98bf0ba8094dd57a85aaf
 DIST linux-5.17.tar.xz 128399340 BLAKE2B 82dc4a45cc25c781ac67aa6ed1e4c369544154960f41c4634d47621f381159687a227054976d078524cda28884d395a15f7542fe44ca74ce98ca6ff54a81d6d0 SHA512 89f0a7ca69d20a539d4b612a7028a30a5e98b402e4b6b88516f14237e5da4b626d7929eab8b40fccc90766e8f3bae87e9858a19077ffad20d8204acf18794f5b
+DIST linux-5.18.tar.xz 129790264 BLAKE2B e2745a69eb70169e90505a9318a3993046eab3020496eecde7d8352ecda0eb71a25b21becf7ce93fc593507dce7d1cd61b94ddcdf82b3094d79c0d3d48508eeb SHA512 dbbc9d1395898a498fa4947fceda1781344fa5d360240f753810daa4fa88e519833e2186c4e582a8f1836e6413e9e85f6563c7770523b704e8702d67622f98b5
 DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
 DIST linux-loongarch-next-on-5.17-20220423.tar.xz 177296 BLAKE2B 947fd8c2192fe454beb346ea700a09a711f629d87cc5ff5b5d882fa1d57bb5e918fea821f5eddd44152812502479f853527b8317176326f8926bd1a532666a86 SHA512 b18df78802c2718181da95fdd5f83761bec7fced16b0aec05d00dcbd9b5c25fc0f84fbdd7e3b3fa5a3f78aea66e268dde3d9272a3f921b595b16270623ae0b7e
+DIST linux-loongarch-next-on-5.18-20220523.tar.xz 160468 BLAKE2B ccb6df7fbee86fba7ae725362efeb03cdf4187cf877a7f21e470639c14509214ed31c06434207950b219d34ed41a9fd2be0b711faeb5c6c02198836f06ef7dce SHA512 d87b667947a1d41fbea6db80dc2896c2c7e297bac471b99820b10a4d1e8a680f3566a89bdb4e70c0bdfba335ce158f3e82f930eb2f6b64fd6ba736028bf709f2

diff --git a/sys-kernel/linux-headers/linux-headers-5.18.ebuild b/sys-kernel/linux-headers/linux-headers-5.18.ebuild
new file mode 100644
index 000000000000..a986dc69d625
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-5.18.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ETYPE="headers"
+H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 cris frv hexagon hppa ia64 loong m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score sh sparc x86 xtensa"
+inherit kernel-2
+detect_version
+
+PATCH_PV=${PV} # to ease testing new versions against not existing patches
+PATCH_VER="0"
+PATCH_DEV="xen0n"
+LOONGARCH_PATCH_VER="20220523"
+LOONGARCH_PATCH_DEV="xen0n"
+SRC_URI="${KERNEL_URI}
+	${PATCH_VER:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/sys-kernel/linux-headers/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}
+	experimental-loong? ( ${LOONGARCH_PATCH_VER:+https://dev.gentoo.org/~${LOONGARCH_PATCH_DEV}/distfiles/linux-loongarch-next-on-${PATCH_PV}-${LOONGARCH_PATCH_VER}.tar.xz} )"
+S="${WORKDIR}/linux-${PV}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE+=" experimental-loong"
+
+BDEPEND="app-arch/xz-utils
+	dev-lang/perl"
+
+# bug #816762
+RESTRICT="test"
+
+[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PATCH_PV} )
+
+src_unpack() {
+	# avoid kernel-2_src_unpack
+	default
+}
+
+src_prepare() {
+	# TODO: May need forward porting to newer versions
+	use elibc_musl && PATCHES+=(
+		"${FILESDIR}"/${PN}-5.10-Use-stddefs.h-instead-of-compiler.h.patch
+		"${FILESDIR}"/${PN}-5.15-remove-inclusion-sysinfo.h.patch
+	)
+
+	use experimental-loong && PATCHES+=(
+		"${WORKDIR}"/loongarch-next-on-${PATCH_PV}
+	)
+
+	# avoid kernel-2_src_prepare
+	default
+}
+
+src_test() {
+	emake headers_check ${xmakeopts}
+}
+
+src_install() {
+	kernel-2_src_install
+
+	find "${ED}" \( -name '.install' -o -name '*.cmd' \) -delete || die
+	# delete empty directories
+	find "${ED}" -empty -type d -delete || die
+}


             reply	other threads:[~2022-05-25  0:09 UTC|newest]

Thread overview: 204+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25  0:09 WANG Xuerui [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-05 21:57 [gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-headers/ Sam James
2024-10-11  1:57 Sam James
2024-08-12 15:42 Sam James
2024-05-18 17:06 Sam James
2024-05-14  1:17 Sam James
2024-04-02 11:59 Sam James
2024-03-13  4:46 Sam James
2024-03-13  4:46 Sam James
2024-01-21 20:46 Sam James
2024-01-21 20:46 Sam James
2024-01-21 20:46 Sam James
2024-01-21 20:46 Sam James
2024-01-21 20:46 Sam James
2024-01-21 19:32 Sam James
2024-01-21 19:31 Arthur Zamarin
2024-01-21 19:31 Arthur Zamarin
2024-01-19 11:14 Sam James
2024-01-19 11:12 Sam James
2023-12-28  4:23 Sam James
2023-10-31 19:53 Sam James
2023-10-06 19:41 Sam James
2023-08-28 20:48 Sam James
2023-06-27  8:04 Sam James
2023-06-27  6:34 Sam James
2023-04-28  1:38 Sam James
2023-02-28  3:02 Sam James
2023-02-28  3:02 Sam James
2023-02-28  3:02 Sam James
2023-02-28  3:02 Sam James
2023-02-28  1:31 Sam James
2023-02-28  1:31 Sam James
2023-02-28  1:31 Sam James
2023-02-28  1:31 Sam James
2023-01-27 22:11 James Le Cuirot
2022-12-17  8:38 Sam James
2022-10-08 22:08 Sam James
2022-10-08 22:08 Sam James
2022-08-05  4:09 Sam James
2022-08-04  9:42 WANG Xuerui
2022-08-04  9:42 WANG Xuerui
2022-08-04  9:42 WANG Xuerui
2022-06-25  8:54 WANG Xuerui
2022-06-24  5:12 WANG Xuerui
2022-06-05 22:06 Sam James
2022-05-15  1:00 Sam James
2022-03-30 23:13 Sam James
2022-03-20 17:35 David Seifert
2022-03-20  9:13 David Seifert
2022-03-19 23:17 David Seifert
2022-01-10 21:06 David Seifert
2022-01-01  3:57 Sam James
2022-01-01  3:57 Sam James
2021-12-25 21:14 Sam James
2021-12-25 10:21 Sam James
2021-12-25  1:07 Georgy Yakovlev
2021-12-25  1:06 Georgy Yakovlev
2021-12-25  1:00 Sam James
2021-12-24 22:50 Sam James
2021-12-24 22:49 Sam James
2021-12-24 22:48 Sam James
2021-12-24 21:21 Sam James
2021-12-01 21:15 Sam James
2021-11-04  0:34 Sam James
2021-11-03  2:02 Sam James
2021-10-01  7:14 Sam James
2021-09-30 17:38 Jakov Smolić
2021-09-05 18:06 Sam James
2021-09-05  6:14 Sam James
2021-09-05  5:48 Sam James
2021-07-09 22:36 Sergei Trofimovich
2021-07-05 17:41 David Seifert
2021-07-05 16:40 David Seifert
2021-07-01  3:49 Mike Frysinger
2021-05-27 21:48 Sergei Trofimovich
2021-04-26  6:49 Sergei Trofimovich
2021-04-02 10:04 Sergei Trofimovich
2021-04-02 10:04 Sergei Trofimovich
2021-03-28 12:42 Sam James
2021-03-28 12:42 Sam James
2021-03-26 12:01 Agostino Sarubbo
2021-02-24 12:00 Mikle Kolyada
2021-02-20 10:23 Sergei Trofimovich
2021-02-19  1:51 Thomas Deutschmann
2021-02-18 20:11 Sergei Trofimovich
2021-02-16  7:37 Sergei Trofimovich
2021-02-11  7:45 Sergei Trofimovich
2021-02-05 15:26 Sergei Trofimovich
2020-12-25 12:17 Sergei Trofimovich
2020-12-14  8:01 Sergei Trofimovich
2020-10-12 22:25 Sergei Trofimovich
2020-09-02  7:38 Sergei Trofimovich
2020-08-03 22:54 Sergei Trofimovich
2020-06-08 16:34 Mart Raudsepp
2020-06-03 18:42 Agostino Sarubbo
2020-06-03  9:22 Agostino Sarubbo
2020-06-01  6:59 Sergei Trofimovich
2020-05-30 12:19 Sergei Trofimovich
2020-05-25 12:07 Mikle Kolyada
2020-05-25  9:36 Sergei Trofimovich
2020-05-22 20:55 Sergei Trofimovich
2020-05-22  8:02 Sergei Trofimovich
2020-05-08 22:05 Sergei Trofimovich
2020-04-14 13:15 Mart Raudsepp
2020-04-01 21:14 Sergei Trofimovich
2020-04-01 21:14 Sergei Trofimovich
2020-04-01 21:14 Sergei Trofimovich
2020-03-31  8:38 Jeroen Roovers
2020-03-30 21:06 Sergei Trofimovich
2020-03-29 14:45 Sergei Trofimovich
2020-03-26 12:03 Agostino Sarubbo
2020-03-26 12:03 Agostino Sarubbo
2020-03-26 10:24 Agostino Sarubbo
2020-03-26 10:22 Agostino Sarubbo
2020-03-26 10:22 Agostino Sarubbo
2020-03-26 10:20 Agostino Sarubbo
2020-03-26  7:54 Mikle Kolyada
2020-02-13 21:40 David Seifert
2020-01-29 20:16 Sergei Trofimovich
2019-12-08 14:36 Sergei Trofimovich
2019-11-10 22:24 Sergei Trofimovich
2019-11-07 23:03 Sergei Trofimovich
2019-09-17 22:49 Sergei Trofimovich
2019-07-28 14:14 Mikle Kolyada
2019-07-28 14:14 Mikle Kolyada
2019-07-28 14:14 Mikle Kolyada
2019-07-28 14:14 Mikle Kolyada
2019-07-26  8:47 Agostino Sarubbo
2019-07-24  8:19 Agostino Sarubbo
2019-07-24  6:54 Sergei Trofimovich
2019-07-23  6:35 Sergei Trofimovich
2019-07-23  6:35 Sergei Trofimovich
2019-07-23  0:04 Aaron Bauman
2019-07-22 21:24 Sergei Trofimovich
2019-07-22  8:43 Mikle Kolyada
2019-07-20 11:09 Sergei Trofimovich
2019-06-22 15:57 Sergei Trofimovich
2019-05-04 14:42 Mikle Kolyada
2019-03-07  7:31 Sergei Trofimovich
2019-03-06 22:27 Sergei Trofimovich
2019-03-06  7:32 Sergei Trofimovich
2019-01-30 13:20 Tobias Klausmann
2019-01-23 13:41 Mikle Kolyada
2019-01-16 14:48 Mikle Kolyada
2019-01-16 14:48 Mikle Kolyada
2019-01-16 14:48 Mikle Kolyada
2019-01-07 21:17 Mart Raudsepp
2018-12-28 19:40 Sergei Trofimovich
2018-12-24 14:00 Sergei Trofimovich
2018-12-22 23:57 Sergei Trofimovich
2018-12-22  9:36 Sergei Trofimovich
2018-12-22  0:09 Sergei Trofimovich
2018-12-20 15:47 Mikle Kolyada
2018-12-20  1:30 Thomas Deutschmann
2018-10-23 22:43 Sergei Trofimovich
2018-10-13  9:44 Sergei Trofimovich
2018-10-03 21:33 Andreas Hüttel
2018-06-19  2:08 Mike Frysinger
2018-04-27 21:41 Sergei Trofimovich
2018-04-14 19:03 Sergei Trofimovich
2018-04-08 10:33 Sergei Trofimovich
2018-04-05 22:54 Sergei Trofimovich
2018-03-20 16:42 Matthias Maier
2018-01-30  6:38 Mike Frysinger
2018-01-30  6:38 Mike Frysinger
2018-01-30  6:38 Mike Frysinger
2018-01-11 21:55 Sergei Trofimovich
2018-01-02  0:02 Mikle Kolyada
2017-12-31 21:37 Sergei Trofimovich
2017-12-30  1:05 Thomas Deutschmann
2017-12-29 22:04 Sergei Trofimovich
2017-12-29  0:19 Sergei Trofimovich
2017-12-28 16:39 Sergei Trofimovich
2017-09-10 23:46 Matt Turner
2017-09-10 23:46 Matt Turner
2017-09-10 23:46 Matt Turner
2017-09-10 16:45 Sergei Trofimovich
2017-09-08 20:11 Markus Meier
2017-09-07 19:28 Markus Meier
2017-08-25 23:02 Mikle Kolyada
2017-08-25 22:39 Matt Turner
2017-08-05 18:24 Sergei Trofimovich
2017-07-30 18:33 Joshua Kinard
2017-02-22 21:17 Mike Frysinger
2017-01-02 19:34 Markus Meier
2016-12-20 16:39 Thomas Deutschmann
2016-12-19  6:43 Mike Frysinger
2016-12-19  6:43 Mike Frysinger
2016-12-18 12:36 Jeroen Roovers
2016-12-18  1:34 Aaron Bauman
2016-11-11 20:54 Mike Frysinger
2016-08-02 16:02 Mike Frysinger
2016-05-17  4:41 Mike Frysinger
2016-03-15  2:52 Mike Frysinger
2016-03-15  2:52 Mike Frysinger
2016-02-29 18:54 Mike Frysinger
2016-02-29  8:46 Stephen Klimaszewski
2016-02-04 16:35 Tobias Klausmann
2016-01-22  4:57 Jeroen Roovers
2016-01-14 22:00 Markus Meier
2016-01-11  2:17 Mike Frysinger
2015-11-02 19:59 Mike Frysinger
2015-09-01  2:38 Mike Frysinger
2015-09-01  2:38 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1653437283.3ad3f12a16b22f1bd686b1806d11d26047f173c2.xen0n@gentoo \
    --to=xen0n@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox