[arch-commits] Commit in efibootmgr/trunk (5 files)

David Runge dvzrv at gemini.archlinux.org
Sat Jul 9 09:03:45 UTC 2022


    Date: Saturday, July 9, 2022 @ 09:03:44
  Author: dvzrv
Revision: 450553

upgpkg: efibootmgr 18-1: Upgrade to 18.

Remove unnecessary quotes and curly braces.
Simplify calls to make.
Remove unneeded prepare().
Switch to verifying based on tag, using a commit object (the tag points at).
Add 039A9CEA19DE9508C36875AA2532F9176A95A442 to validpgpkeys, which is
cross-signed with B00B48BC731AA8840FED9FB0EED266B70F4FEF10 on keyserver.ubuntu.com.
Add keys for B00B48BC731AA8840FED9FB0EED266B70F4FEF10 and
039A9CEA19DE9508C36875AA2532F9176A95A442.

Added:
  efibootmgr/trunk/keys/
  efibootmgr/trunk/keys/pgp/
  efibootmgr/trunk/keys/pgp/039A9CEA19DE9508C36875AA2532F9176A95A442.asc
  efibootmgr/trunk/keys/pgp/B00B48BC731AA8840FED9FB0EED266B70F4FEF10.asc
Modified:
  efibootmgr/trunk/PKGBUILD

-------------------------------------------------------+
 PKGBUILD                                              |   46 +++++-----------
 keys/pgp/039A9CEA19DE9508C36875AA2532F9176A95A442.asc |    1 
 keys/pgp/B00B48BC731AA8840FED9FB0EED266B70F4FEF10.asc |    1 
 3 files changed, 19 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-09 06:46:30 UTC (rev 450552)
+++ PKGBUILD	2022-07-09 09:03:44 UTC (rev 450553)
@@ -3,42 +3,30 @@
 # Contributor: Murtuza Akhtari <inxsible at gmail dot com>
 # Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
 
-# upstream only signs commits
-_commit=e067160ecef8208e1944002e5d50b275733211fb # 17
 pkgname=efibootmgr
-pkgver=17
-pkgrel=2
+_commit=712aeb81311de28a3fcfea7465dcb93743f07a53  # refs/tags/18
+pkgver=18
+pkgrel=1
 pkgdesc="Linux user-space application to modify the EFI Boot Manager"
-arch=('x86_64')
+arch=(x86_64)
 url="https://github.com/rhboot/efibootmgr"
-license=('GPL2')
-depends=('glibc' 'popt')
-makedepends=('efivar' 'git')
-source=("${pkgname}::git+https://github.com/rhboot/efibootmgr#tag=${pkgver}?signed")
+license=(GPL2)
+depends=(glibc popt)
+makedepends=(efivar git)
+source=($pkgname::git+https://github.com/rhboot/efibootmgr#tag=$_commit?signed)
 sha512sums=('SKIP')
-validpgpkeys=('B00B48BC731AA8840FED9FB0EED266B70F4FEF10') # Peter Jones <pjones at redhat.com>
+validpgpkeys=(
+  'B00B48BC731AA8840FED9FB0EED266B70F4FEF10'  # Peter Jones <pjones at redhat.com>
+  '039A9CEA19DE9508C36875AA2532F9176A95A442'  # Robbie Harwood (work) <rharwood at redhat.com>
+)
 
-prepare() {
-  mv -v "${pkgname}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  # removing hotfix function declaration:
-  # https://github.com/rhboot/efibootmgr/issues/128
-  sed -e '/extern int efi_set_verbose/d' -i "src/${pkgname}.c"
-}
-
 build() {
-  cd "${pkgname}-${pkgver}"
-  make libdir='/usr/lib' sbindir='/usr/bin' EFIDIR='arch'
+  make libdir=/usr/lib sbindir=/usr/bin EFIDIR=arch -C $pkgname
 }
 
 package() {
-  depends+=('libefiboot.so' 'libefivar.so')
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" \
-       libdir='/usr/lib' \
-       sbindir='/usr/bin' \
-       EFIDIR='arch' \
-       install
-  install -vDm 644 {AUTHORS,README,README.md,TODO} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  depends+=(libefiboot.so libefivar.so)
+
+  make DESTDIR="$pkgdir" libdir=/usr/lib sbindir=/usr/bin EFIDIR=arch install -C $pkgname
+  install -vDm 644 $pkgname/{AUTHORS,README,README.md,TODO} -t "$pkgdir/usr/share/doc/$pkgname/"
 }

Added: keys/pgp/039A9CEA19DE9508C36875AA2532F9176A95A442.asc
===================================================================
(Binary files differ)

Index: efibootmgr/trunk/keys/pgp/039A9CEA19DE9508C36875AA2532F9176A95A442.asc
===================================================================
--- keys/pgp/039A9CEA19DE9508C36875AA2532F9176A95A442.asc	2022-07-09 06:46:30 UTC (rev 450552)
+++ keys/pgp/039A9CEA19DE9508C36875AA2532F9176A95A442.asc	2022-07-09 09:03:44 UTC (rev 450553)

Property changes on: efibootmgr/trunk/keys/pgp/039A9CEA19DE9508C36875AA2532F9176A95A442.asc
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property
Added: keys/pgp/B00B48BC731AA8840FED9FB0EED266B70F4FEF10.asc
===================================================================
(Binary files differ)

Index: efibootmgr/trunk/keys/pgp/B00B48BC731AA8840FED9FB0EED266B70F4FEF10.asc
===================================================================
--- keys/pgp/B00B48BC731AA8840FED9FB0EED266B70F4FEF10.asc	2022-07-09 06:46:30 UTC (rev 450552)
+++ keys/pgp/B00B48BC731AA8840FED9FB0EED266B70F4FEF10.asc	2022-07-09 09:03:44 UTC (rev 450553)

Property changes on: efibootmgr/trunk/keys/pgp/B00B48BC731AA8840FED9FB0EED266B70F4FEF10.asc
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property


More information about the arch-commits mailing list