From a656c0010067f61cf486bec7558fba185f324df2 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Sun, 3 Mar 2024 09:59:46 +0200 Subject: Revert "extra/linux-pae: Merge the two PKGBUILDs" This reverts commit 4be676cba9c973a51563e0507e3f5233b71e5cee. --- extra/linux-pae/PKGBUILD | 245 +------------------------------- extra/linux-pae/PKGBUILD_upstream_linux | 242 +++++++++++++++++++++++++++++++ 2 files changed, 243 insertions(+), 244 deletions(-) create mode 100644 extra/linux-pae/PKGBUILD_upstream_linux (limited to 'extra/linux-pae') diff --git a/extra/linux-pae/PKGBUILD b/extra/linux-pae/PKGBUILD index 3c0c17d7..a40c9c30 100644 --- a/extra/linux-pae/PKGBUILD +++ b/extra/linux-pae/PKGBUILD @@ -1,247 +1,4 @@ -# Maintainer: Jan Alexander Steffens (heftig) - -pkgbase=linux -pkgver=6.7.7.arch1 -pkgrel=1 -pkgdesc='Linux' -url='https://github.com/archlinux/linux' -arch=(x86_64) -license=(GPL2) -makedepends=( - bc - cpio - gettext - libelf - pahole - perl - python - tar - xz - - # htmldocs - graphviz - imagemagick - python-sphinx - texlive-latexextra -) -options=('!strip') -_srcname=linux-${pkgver%.*} -_srctag=v${pkgver%.*}-${pkgver##*.} -source=( - https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign} - $url/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig} - config # the main kernel config file -) -validpgpkeys=( - ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds - 647F28654894E3BD457199BE38DBBDC86092693E # Greg Kroah-Hartman - 83BC8889351B5DEBBB68416EB8AC08600F108CDF # Jan Alexander Steffens (heftig) -) -# https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256sums=('256b8b44570ddbe266eb3ad0c2cba2616f1609b4a3de5014a3da5512907b14d9' - 'SKIP' - '47208683675e5ad065c9a3821aa975fdb3c37d7d7d77222da4d6f8c3f09827d1' - 'SKIP' - '04143712e593d45a597661fe00f89cf92d52c62df3468c68a46c952c2ef4db64') -b2sums=('ef97a036ab6cd421200b2e8f0a49c6b570d2269a5e182ea948d48d456e6414bfa61f5f6efa2bad65efbe811d2078a54a4edff9c27de609401160f3905fe27a22' - 'SKIP' - '45e0ef14e26323bbd2457f77e4c1e9fc0c2d6fb028bb24814d38c2ebfbeaa2aee29cad2f5154df372d098856cf7f3fcd585575e5b95b93cba47ee5de9f92b8e0' - 'SKIP' - '21083151bdcd0fc2bcc0475b9cd73bab5666a71f043eedd67b19a3a4c09c8253a5a06794ce9270215782f5885e05e70b5e424123f1bded7aa7a6d3f30d02a4b3') - -export KBUILD_BUILD_HOST=archlinux -export KBUILD_BUILD_USER=$pkgbase -export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" - -prepare() { - cd $_srcname - - echo "Setting version..." - echo "-$pkgrel" > localversion.10-pkgrel - echo "${pkgbase#linux}" > localversion.20-pkgname - - local src - for src in "${source[@]}"; do - src="${src%%::*}" - src="${src##*/}" - src="${src%.zst}" - [[ $src = *.patch ]] || continue - echo "Applying patch $src..." - patch -Np1 < "../$src" - done - - echo "Setting config..." - cp ../config .config - make olddefconfig - diff -u ../config .config || : - - make -s kernelrelease > version - echo "Prepared $pkgbase version $( + +pkgbase=linux +pkgver=6.7.7.arch1 +pkgrel=1 +pkgdesc='Linux' +url='https://github.com/archlinux/linux' +arch=(x86_64) +license=(GPL2) +makedepends=( + bc + cpio + gettext + libelf + pahole + perl + python + tar + xz + + # htmldocs + graphviz + imagemagick + python-sphinx + texlive-latexextra +) +options=('!strip') +_srcname=linux-${pkgver%.*} +_srctag=v${pkgver%.*}-${pkgver##*.} +source=( + https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign} + $url/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig} + config # the main kernel config file +) +validpgpkeys=( + ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds + 647F28654894E3BD457199BE38DBBDC86092693E # Greg Kroah-Hartman + 83BC8889351B5DEBBB68416EB8AC08600F108CDF # Jan Alexander Steffens (heftig) +) +# https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc +sha256sums=('256b8b44570ddbe266eb3ad0c2cba2616f1609b4a3de5014a3da5512907b14d9' + 'SKIP' + '47208683675e5ad065c9a3821aa975fdb3c37d7d7d77222da4d6f8c3f09827d1' + 'SKIP' + '04143712e593d45a597661fe00f89cf92d52c62df3468c68a46c952c2ef4db64') +b2sums=('ef97a036ab6cd421200b2e8f0a49c6b570d2269a5e182ea948d48d456e6414bfa61f5f6efa2bad65efbe811d2078a54a4edff9c27de609401160f3905fe27a22' + 'SKIP' + '45e0ef14e26323bbd2457f77e4c1e9fc0c2d6fb028bb24814d38c2ebfbeaa2aee29cad2f5154df372d098856cf7f3fcd585575e5b95b93cba47ee5de9f92b8e0' + 'SKIP' + '21083151bdcd0fc2bcc0475b9cd73bab5666a71f043eedd67b19a3a4c09c8253a5a06794ce9270215782f5885e05e70b5e424123f1bded7aa7a6d3f30d02a4b3') + +export KBUILD_BUILD_HOST=archlinux +export KBUILD_BUILD_USER=$pkgbase +export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" + +prepare() { + cd $_srcname + + echo "Setting version..." + echo "-$pkgrel" > localversion.10-pkgrel + echo "${pkgbase#linux}" > localversion.20-pkgname + + local src + for src in "${source[@]}"; do + src="${src%%::*}" + src="${src##*/}" + src="${src%.zst}" + [[ $src = *.patch ]] || continue + echo "Applying patch $src..." + patch -Np1 < "../$src" + done + + echo "Setting config..." + cp ../config .config + make olddefconfig + diff -u ../config .config || : + + make -s kernelrelease > version + echo "Prepared $pkgbase version $(