[arch-commits] Commit in efitools/repos/extra-x86_64 (3 files)

David Runge dvzrv at archlinux.org
Sat May 23 15:13:10 UTC 2020


    Date: Saturday, May 23, 2020 @ 15:13:09
  Author: dvzrv
Revision: 387452

archrelease: copy trunk to extra-x86_64

Added:
  efitools/repos/extra-x86_64/PKGBUILD
    (from rev 387451, efitools/trunk/PKGBUILD)
  efitools/repos/extra-x86_64/efitools-1.9.2-console_warning_typo.patch
    (from rev 387451, efitools/trunk/efitools-1.9.2-console_warning_typo.patch)
Deleted:
  efitools/repos/extra-x86_64/PKGBUILD

-------------------------------------------+
 PKGBUILD                                  |   83 ++++++++++++----------------
 efitools-1.9.2-console_warning_typo.patch |   13 ++++
 2 files changed, 51 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-23 15:10:17 UTC (rev 387451)
+++ PKGBUILD	2020-05-23 15:13:09 UTC (rev 387452)
@@ -1,45 +0,0 @@
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-# Contributor: Mirco Tischler <mt-ml at gmx dot de>
-# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
-
-pkgname="efitools"
-pkgver=1.9.2
-pkgrel=2
-pkgdesc="Tools for manipulating UEFI secure boot platforms"
-url="https://git.kernel.org/cgit/linux/kernel/git/jejb/efitools.git"
-arch=('x86_64')
-replaces=('prebootloader')
-license=('GPL' 'LGPL2.1')
-options=('!strip' '!makeflags')
-makedepends=('gnu-efi-libs' 'help2man' 'sbsigntools' 'perl-file-slurp' 'git')
-depends=('openssl')
-_commit=392836a46ce3c92b55dc88a1aebbcfdfc5dcddce # master
-source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/jejb/$pkgname.git#commit=$_commit")
-md5sums=('SKIP')
-
-pkgver() {
-	cd "${pkgname}"
-	echo "$(git describe --tags)" | sed -e 's|-|\.|g' -e 's|^v||g'
-}
-
-prepare() {
-	cd "${pkgname}"
-	git clean -x -d -f
-	sed -i "s/-O2/${CFLAGS} -Wno-pointer-sign/" Make.rules
-	sed -i "s/EFI_WARN_UNKOWN_GLYPH/EFI_WARN_UNKNOWN_GLYPH/" lib/console.c
-}
-
-build() {
-	cd "${pkgname}"
-	# fix PreLoader.efi building on x86_64 #49314
-	export ARCH="${CARCH}"
-	make
-}
-
-package() {
-	# http://www.rodsbooks.com/efi-bootloaders/secureboot.html#prebootloader
-	# http://blog.hansenpartnership.com/uefi-secure-boot/
-	# http://blog.hansenpartnership.com/linux-foundation-secure-boot-system-released
-	cd "${pkgname}"
-	make DESTDIR="${pkgdir}" install
-}

Copied: efitools/repos/extra-x86_64/PKGBUILD (from rev 387451, efitools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-23 15:13:09 UTC (rev 387452)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Mirco Tischler <mt-ml at gmx dot de>
+# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
+
+pkgname=efitools
+pkgver=1.9.2
+pkgrel=3
+pkgdesc="Tools for manipulating UEFI secure boot platforms"
+url="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git/about/"
+arch=('x86_64')
+license=('GPL2' 'LGPL2.1')
+makedepends=('git' 'gnu-efi-libs' 'help2man' 'perl-file-slurp' 'sbsigntools')
+depends=('glibc' 'openssl')
+source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/jejb/$pkgname.git#tag=v${pkgver}?signed"
+        "${pkgname}-1.9.2-console_warning_typo.patch")
+sha512sums=('SKIP'
+            '9e609eb4fb2a7116166626d15470d66e2eb66a25867618d4065d48636304f88549a71c5e827ac92750183f0fabaa3b84beea3dffa905031a2867939bfae955e7')
+validpgpkeys=('D5606E73C8B46271BEAD9ADF814AE47C214854D6') # James Bottomley <jejb at kernel.org>
+
+prepare() {
+  mv -v "${pkgname}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i "../${pkgname}-1.9.2-console_warning_typo.patch"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  # fix PreLoader.efi building on x86_64 #49314
+  export ARCH="${CARCH}"
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -vDm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Copied: efitools/repos/extra-x86_64/efitools-1.9.2-console_warning_typo.patch (from rev 387451, efitools/trunk/efitools-1.9.2-console_warning_typo.patch)
===================================================================
--- efitools-1.9.2-console_warning_typo.patch	                        (rev 0)
+++ efitools-1.9.2-console_warning_typo.patch	2020-05-23 15:13:09 UTC (rev 387452)
@@ -0,0 +1,13 @@
+diff --git i/lib/console.c w/lib/console.c
+index 9c10560..dc0f9e7 100644
+--- i/lib/console.c
++++ w/lib/console.c
+@@ -357,7 +357,7 @@ static struct {
+ 	{  EFI_SECURITY_VIOLATION,     L"Security Violation"},
+ 
+ 	// warnings
+-	{  EFI_WARN_UNKOWN_GLYPH,      L"Warning Unknown Glyph"},
++	{  EFI_WARN_UNKNOWN_GLYPH,      L"Warning Unknown Glyph"},
+ 	{  EFI_WARN_DELETE_FAILURE,    L"Warning Delete Failure"},
+ 	{  EFI_WARN_WRITE_FAILURE,     L"Warning Write Failure"},
+ 	{  EFI_WARN_BUFFER_TOO_SMALL,  L"Warning Buffer Too Small"},


More information about the arch-commits mailing list