diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-12 18:13:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-12 18:13:14 +0000 |
commit | f1ced5f5f09c4d27185e6986a465f7bc3b828c65 (patch) | |
tree | bb4a65f6889f3cbcc2f8e5053b624f23291d7921 /sys-kernel/gentoo-kernel | |
parent | 70d27c1344f6a6a51e11c610966542333b6f432a (diff) |
gentoo auto-resync : 12:03:2023 - 18:13:14
Diffstat (limited to 'sys-kernel/gentoo-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.15.101.ebuild | 134 |
2 files changed, 137 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index b8f0ae8e8222..5a1f243ea415 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -16,6 +16,8 @@ DIST genpatches-5.15-104.base.tar.xz 4172432 BLAKE2B 3056125f31757d4daf4d5a5df4f DIST genpatches-5.15-104.extras.tar.xz 3932 BLAKE2B 749f1d9446c12992266e4b24771cd4273fdb6a72793f3591956c33f210a2671d587f0cc04d0e9751511bce1e03b76df53e65231393e9d2eb1169ac825bd046e1 SHA512 66de4f74decfdb0f76050968d98a6cc378c04d5d19b9c16e35fa9746e9dce235c602ebe12fd19fc2b6bf8fc9d9eab3d9461e6aad3edc00cc465ae18a776b0e4c DIST genpatches-5.15-105.base.tar.xz 4208564 BLAKE2B 61c56a00ca87e33d7b566b319bba1e08e5dc104f2a5c21be61cb657abcc63d7b72ed88fae3adce80a6b648df7c2e715b9fbf71eaf0a43ceefcaba4d57e51707b SHA512 6ceed62dfac16a826451670771daaaaa47d92fc4971dcf72d486f802acbe111491bf01b1bcd5fca6f548d655a57bdf038a90bfc8a5ac1fe8d7796d90a2188757 DIST genpatches-5.15-105.extras.tar.xz 3932 BLAKE2B 7739e3d8459ebc58cafa0b95f7414e204a5c4410e468e11e27704bc08f32169a285baa6661289bf3d52602779d5e00eeafb84dba7847fa4154614534026aa5ec SHA512 28947f5bd2e49191fdcc46ccdde98a22c3e983a4ee6867c8d04458972ec3199bc4648374caff1a090105d05c8bb9eaa52e758b5d352e076c0a87967c659b8e18 +DIST genpatches-5.15-106.base.tar.xz 4208800 BLAKE2B 07fd817437b15b58e899eadd5ba2c278f9bf5f254a47ca4c702691072feb7c6bdc282de1c6b45ac16820dee4b5614e50e84a4869b66c037cb1be362259bf241c SHA512 453cbb424f0be467ff868a5dcf333dce3eca4593f961a90185d9d12bc54fb29fffce3b9b79dde7e4bd0e8c7dba1057c7b2821765976a6a1075b950ae9736c2a3 +DIST genpatches-5.15-106.extras.tar.xz 3936 BLAKE2B 37084de2c64502fe7825f54c2bacdbce1cfc325cabf68ffc0a727f81628d8ede4c4f38fdfdb780592e3e0e7d7df7609ecc1a3b17b7c5ee1525087ab6c02ab110 SHA512 95ed0181923ab92ad01646c792fdc1b3c2e6bad2e9bcf1e5bca3a9852fc2e7b65d66b84fb41d2360b8c3cdc7038e5558179b87799ee4f6e005eb72ff9b587708 DIST genpatches-5.15-98.base.tar.xz 4003192 BLAKE2B 79d4fb60a5192137571109ffaefdfba23ac589102539cdde89046f627f39e65a52a44a83607232b499509b8bb4c341e2fd26ae971587c9574d4ac87d8b220893 SHA512 946a7638d19d5fd610075520e529a6c5a47aaa433b7986493f62571a7dc541278013a5006bf1e745496e4eb98de44af56f61d23679c139a719a8d5bc20c9e734 DIST genpatches-5.15-98.extras.tar.xz 3932 BLAKE2B 4e5dd4f8ba6d14764a6546cf7e64dffb3ddcc77678b7d96d2498917f30561792c904c635b0fce7191b7c0c65549fa769e89befffbea5e53a3cef64c673937c20 SHA512 337d95159432cba3b85511cf80c350a8a2f67c65b72a90b26ddc98c01d2d8de70d9b6067e0573c5c339a5bf64973d10c06b42001ee19a7add3d672e4577d0622 DIST genpatches-5.15-99.base.tar.xz 4024008 BLAKE2B 82205380a55439dbe6f8605d09078d7a349ec60180204ced6c9902f340077c800cf515f3f513c69110eab37a8daa386a82ec4ba9e84dd02299ccc45379cdc659 SHA512 72033d94d3d509ecefb5a54e82906408802118cd985f617ccf7465e23d19363668159998dadb950bef58af11bab448110e6c753eb6eb7dd107feacbda4d67f3d @@ -84,6 +86,7 @@ EBUILD gentoo-kernel-5.10.170.ebuild 3663 BLAKE2B a96f9278e03d012a15254fe025dc63 EBUILD gentoo-kernel-5.10.172.ebuild 3663 BLAKE2B ff1886edfded2e3912cbcf2bf03a91fb49e40c0ec756dc81ba3db92654fd7964f79280f8423bb13c34a941f8076ef0a18d1df7d9d3528fe93ee7a1e4e6da25f7 SHA512 01039d321cef56eba69e15313301646de36baae97b3562bda002205950aabe22c90c1145256d60dd458893f76616474f5cdd5a75b8b52d33a9c56bd76724fe76 EBUILD gentoo-kernel-5.10.173.ebuild 3663 BLAKE2B ff1886edfded2e3912cbcf2bf03a91fb49e40c0ec756dc81ba3db92654fd7964f79280f8423bb13c34a941f8076ef0a18d1df7d9d3528fe93ee7a1e4e6da25f7 SHA512 01039d321cef56eba69e15313301646de36baae97b3562bda002205950aabe22c90c1145256d60dd458893f76616474f5cdd5a75b8b52d33a9c56bd76724fe76 EBUILD gentoo-kernel-5.15.100.ebuild 3660 BLAKE2B 8ecd2e65821a4d181f8c42e1676386820c59bdfa3d27b26f62114727e12dc2d58636d245f17954f05990dbadbfbddfb9c487731827f5eb311505c67b25152a52 SHA512 632bfbc9a13b6a9597765f0ce1c1d8f4d007f9ac64ec008f727fb374dd30677f93adfc452f9119b27dd2c2427b567214a68e1ef620b5f702f221e636b0965a16 +EBUILD gentoo-kernel-5.15.101.ebuild 3658 BLAKE2B f75ed2248ad071310367166b470e31ccce350a24a754a6708a9539cb6dc28368f3e6b50d605d0de851a51843a5744b327b47156247d044165ce37f7da5de7391 SHA512 32898982d5ccd08f32196632a12b3205a506b9c811957ec99a68af6687c1108d6b320ef1a2dff519d2c4b14e5a82a547b8c922489d3cb95bf846ea06dbcc5c8b EBUILD gentoo-kernel-5.15.94.ebuild 3656 BLAKE2B 8e1294146a170f847975ff97b1fa1595b284464587d382520db41a71dcf1dc1e88f677fe71c4521934d8f9c9876e1028a5601117f1901778bc261cca66f74beb SHA512 c7e03bfe540745c24e1a9aec613f3f893fda34238cc390b02ee0e349c79a314e71ebebef0cbfa620adc4f4ec3b3db0f4f6a0b0e57bc65781ee5ac47e21c40ccc EBUILD gentoo-kernel-5.15.95.ebuild 3658 BLAKE2B 5e1d1e367bce7c5b6ac25b1d92a3558d95e4c95cdb084646a48a4c170f34f38eeb172c665002e1e9d5ccd9d9abc207464e7eb9c05247d581aeaab8bc4f7292a4 SHA512 e32673293bd711082f1819d9ea3c1ce6d2378feda81ae7654a555d62ce1119a0fdf46710a1299346028fab4b61b6dfa284548f68830bc47d252df1150bfb2cc8 EBUILD gentoo-kernel-5.15.96.ebuild 3660 BLAKE2B 9be74faea9e4a9f9460b2b002c3e503de73c291c35e8cf116f7f668b4434fafb5a8bd449a264f7868183befa47afc959be4f5f0c3d79facee1d1789477e7f011 SHA512 8d6c5e4ac6e2595dde94dcd0d36c7176f8baf3f38f60beb08a76c14d7dadac4808a897d6184fdb9d68c00eb7bcd9e381588db588f1eef6d6ba79639b0542275c diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.101.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.101.ebuild new file mode 100644 index 000000000000..525ac2b652f3 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.101.ebuild @@ -0,0 +1,134 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 5 )) +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +GENTOO_CONFIG_VER=g7 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} |