This commit is contained in:
Christian Hesse 2021-03-01 12:03:29 +00:00
parent a9c5d78778
commit 74c4729474

View File

@ -24,7 +24,7 @@ pkgdesc='GNU GRand Unified Bootloader (2)'
epoch=2 epoch=2
_pkgver=2.04 _pkgver=2.04
pkgver=${_pkgver/-/} pkgver=${_pkgver/-/}
pkgrel=10.1 pkgrel=10
url='https://www.gnu.org/software/grub/' url='https://www.gnu.org/software/grub/'
arch=('x86_64') arch=('x86_64')
license=('GPL3') license=('GPL3')
@ -66,7 +66,6 @@ source=("git+https://git.savannah.gnu.org/git/grub.git#tag=grub-${_pkgver}?signe
'0004-add-GRUB_COLOR_variables.patch' '0004-add-GRUB_COLOR_variables.patch'
'0005-grub-install-fix-inverted-test-for-NLS-enabled-when-.patch' '0005-grub-install-fix-inverted-test-for-NLS-enabled-when-.patch'
'0006-BootHole.patch' '0006-BootHole.patch'
'0007-next-security.patch'
'grub.default') 'grub.default')
sha256sums=('SKIP' sha256sums=('SKIP'
@ -78,7 +77,6 @@ sha256sums=('SKIP'
'a5198267ceb04dceb6d2ea7800281a42b3f91fd02da55d2cc9ea20d47273ca29' 'a5198267ceb04dceb6d2ea7800281a42b3f91fd02da55d2cc9ea20d47273ca29'
'06820004912a3db195a76e68b376fce1ba6507ac740129f0b99257ef07aba1ea' '06820004912a3db195a76e68b376fce1ba6507ac740129f0b99257ef07aba1ea'
'55c559b6d8c4a832a43cc35c7635de37402ec9e3e3bfd8b2b7761a06f0bfda02' '55c559b6d8c4a832a43cc35c7635de37402ec9e3e3bfd8b2b7761a06f0bfda02'
'f36847261155feb068fedb4c3dde6e76d770f0aa7bee5144db8a2e2dd4a4b327'
'791fadf182edf8d5bee4b45c008b08adce9689a9624971136527891a8f67d206') '791fadf182edf8d5bee4b45c008b08adce9689a9624971136527891a8f67d206')
_backports=( _backports=(
@ -135,9 +133,6 @@ prepare() {
echo "Patch BootHole..." echo "Patch BootHole..."
patch -Np1 -i "${srcdir}/0006-BootHole.patch" patch -Np1 -i "${srcdir}/0006-BootHole.patch"
echo "Patch more vulnerabilities..."
patch -Np1 -i "${srcdir}/0007-next-security.patch"
echo "Fix DejaVuSans.ttf location so that grub-mkfont can create *.pf2 files for starfield theme..." echo "Fix DejaVuSans.ttf location so that grub-mkfont can create *.pf2 files for starfield theme..."
sed 's|/usr/share/fonts/dejavu|/usr/share/fonts/dejavu /usr/share/fonts/TTF|g' -i "configure.ac" sed 's|/usr/share/fonts/dejavu|/usr/share/fonts/dejavu /usr/share/fonts/TTF|g' -i "configure.ac"