From f178beeb0c3b54ffea00317af8a0ee3bd2408204 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 26 Jun 2019 08:42:26 +0300 Subject: [PATCH] kiss: Add efibootmgr and friends to extra --- extra/efibootmgr/build | 11 +++ extra/efibootmgr/checksums | 2 + extra/efibootmgr/depends | 2 + extra/efibootmgr/licenses | 1 + extra/efibootmgr/patches/efivar.patch | 14 +++ extra/efibootmgr/sources | 2 + extra/efibootmgr/version | 1 + extra/efivar/build | 13 +++ extra/efivar/checksums | 1 + extra/efivar/licenses | 1 + extra/efivar/manifest | 65 ++++++++++++++ extra/efivar/sources | 1 + extra/efivar/version | 1 + extra/popt/build | 7 ++ extra/popt/checksums | 1 + extra/popt/licenses | 22 +++++ extra/popt/manifest | 122 ++++++++++++++++++++++++++ extra/popt/sources | 1 + extra/popt/version | 1 + 19 files changed, 269 insertions(+) create mode 100755 extra/efibootmgr/build create mode 100644 extra/efibootmgr/checksums create mode 100644 extra/efibootmgr/depends create mode 100644 extra/efibootmgr/licenses create mode 100644 extra/efibootmgr/patches/efivar.patch create mode 100644 extra/efibootmgr/sources create mode 100644 extra/efibootmgr/version create mode 100755 extra/efivar/build create mode 100644 extra/efivar/checksums create mode 100644 extra/efivar/licenses create mode 100644 extra/efivar/manifest create mode 100644 extra/efivar/sources create mode 100644 extra/efivar/version create mode 100755 extra/popt/build create mode 100644 extra/popt/checksums create mode 100644 extra/popt/licenses create mode 100644 extra/popt/manifest create mode 100644 extra/popt/sources create mode 100644 extra/popt/version diff --git a/extra/efibootmgr/build b/extra/efibootmgr/build new file mode 100755 index 00000000..b7daf2e6 --- /dev/null +++ b/extra/efibootmgr/build @@ -0,0 +1,11 @@ +#!/bin/sh -e + +patch -p1 < efivar.patch + +make EXTRA_CFLAGS=-Os EFIDIR=/boot/EFI + +install -d "$1/usr/bin/" +install -Dm0755 src/efibootmgr "$1/usr/bin/efibootmgr" + +install -d "$1/usr/share/man/man8/" +install -Dm0644 src/efibootmgr.8 "$1/usr/share/man/man8/efibootmgr.8" diff --git a/extra/efibootmgr/checksums b/extra/efibootmgr/checksums new file mode 100644 index 00000000..cb79ce74 --- /dev/null +++ b/extra/efibootmgr/checksums @@ -0,0 +1,2 @@ +22a95ebe0d5c9fb2915b3a100450f8f37484d1dbb8b296f55b343cc84f10397d 17.tar.gz +167ac36fb4bd59e90fede0422280117c0b50d0ac3c0c7d478fea427cb9a6944c efivar.patch diff --git a/extra/efibootmgr/depends b/extra/efibootmgr/depends new file mode 100644 index 00000000..a760e6c7 --- /dev/null +++ b/extra/efibootmgr/depends @@ -0,0 +1,2 @@ +efivar +popt diff --git a/extra/efibootmgr/licenses b/extra/efibootmgr/licenses new file mode 100644 index 00000000..7e20d5dd --- /dev/null +++ b/extra/efibootmgr/licenses @@ -0,0 +1 @@ +GPL-2.0-or-later diff --git a/extra/efibootmgr/patches/efivar.patch b/extra/efibootmgr/patches/efivar.patch new file mode 100644 index 00000000..614195f3 --- /dev/null +++ b/extra/efibootmgr/patches/efivar.patch @@ -0,0 +1,14 @@ +diff --git a/src/efibootmgr.c b/src/efibootmgr.c +index de38f01..4e1a680 100644 +--- a/src/efibootmgr.c ++++ b/src/efibootmgr.c +@@ -1536,9 +1536,6 @@ parse_opts(int argc, char **argv) + "invalid numeric value %s\n", + optarg); + } +- /* XXX efivar-36 accidentally doesn't have a public +- * header for this */ +- extern int efi_set_verbose(int verbosity, FILE *errlog); + efi_set_verbose(opts.verbose - 2, stderr); + break; + case 'V': diff --git a/extra/efibootmgr/sources b/extra/efibootmgr/sources new file mode 100644 index 00000000..4afc6a0a --- /dev/null +++ b/extra/efibootmgr/sources @@ -0,0 +1,2 @@ +https://github.com/rhboot/efibootmgr/archive/17.tar.gz +patches/efivar.patch diff --git a/extra/efibootmgr/version b/extra/efibootmgr/version new file mode 100644 index 00000000..5e661b99 --- /dev/null +++ b/extra/efibootmgr/version @@ -0,0 +1 @@ +17 1 diff --git a/extra/efivar/build b/extra/efivar/build new file mode 100755 index 00000000..baa01e6b --- /dev/null +++ b/extra/efivar/build @@ -0,0 +1,13 @@ +#!/bin/sh -e + +make libdir=/usr/lib/ \ + bindir=/usr/bin/ \ + mandir=/usr/share/man/ \ + includedir=/usr/include/ + +make libdir=/usr/lib/ \ + bindir=/usr/bin/ \ + mandir=/usr/share/man/ \ + includedir=/usr/include/ \ + DESTDIR="$1" \ + install diff --git a/extra/efivar/checksums b/extra/efivar/checksums new file mode 100644 index 00000000..99d00323 --- /dev/null +++ b/extra/efivar/checksums @@ -0,0 +1 @@ +3c67feb93f901b98fbb897d5ca82931a6698b5bcd6ac34f0815f670d77747b9f efivar-37.tar.bz2 diff --git a/extra/efivar/licenses b/extra/efivar/licenses new file mode 100644 index 00000000..8c9d38f6 --- /dev/null +++ b/extra/efivar/licenses @@ -0,0 +1 @@ +LGPL-2.1-or-later diff --git a/extra/efivar/manifest b/extra/efivar/manifest new file mode 100644 index 00000000..59b07b96 --- /dev/null +++ b/extra/efivar/manifest @@ -0,0 +1,65 @@ +/var/db/kiss/efivar/version +/var/db/kiss/efivar/sources +/var/db/kiss/efivar/manifest +/var/db/kiss/efivar/licenses +/var/db/kiss/efivar/checksums +/var/db/kiss/efivar/build +/var/db/kiss/efivar/ +/var/db/kiss/ +/var/db/ +/var/ +/usr/share/man/man3/efi_variable_t.3 +/usr/share/man/man3/efi_variables_supported.3 +/usr/share/man/man3/efi_variable_set_name.3 +/usr/share/man/man3/efi_variable_set_guid.3 +/usr/share/man/man3/efi_variable_set_data.3 +/usr/share/man/man3/efi_variable_set_attributes.3 +/usr/share/man/man3/efi_variable_realize.3 +/usr/share/man/man3/efi_variable_import.3 +/usr/share/man/man3/efi_variable_get_name.3 +/usr/share/man/man3/efi_variable_get_guid.3 +/usr/share/man/man3/efi_variable_get_data.3 +/usr/share/man/man3/efi_variable_get_attributes.3 +/usr/share/man/man3/efi_variable_free.3 +/usr/share/man/man3/efi_variable_export.3 +/usr/share/man/man3/efi_variable_alloc.3 +/usr/share/man/man3/efi_symbol_to_guid.3 +/usr/share/man/man3/efi_str_to_guid.3 +/usr/share/man/man3/efi_set_variable.3 +/usr/share/man/man3/efi_name_to_guid.3 +/usr/share/man/man3/efi_guid_to_symbol.3 +/usr/share/man/man3/efi_guid_to_str.3 +/usr/share/man/man3/efi_guid_to_name.3 +/usr/share/man/man3/efi_guid_to_id_guid.3 +/usr/share/man/man3/efi_get_variable_size.3 +/usr/share/man/man3/efi_get_variable_attributes.3 +/usr/share/man/man3/efi_get_variable.3 +/usr/share/man/man3/efi_get_next_variable_name.3 +/usr/share/man/man3/efi_del_variable.3 +/usr/share/man/man3/efi_append_variable.3 +/usr/share/man/man3/ +/usr/share/man/man1/efivar.1 +/usr/share/man/man1/ +/usr/share/man/ +/usr/share/ +/usr/lib/pkgconfig/efivar.pc +/usr/lib/pkgconfig/efiboot.pc +/usr/lib/pkgconfig/ +/usr/lib/libefivar.so.1.37 +/usr/lib/libefivar.so.1 +/usr/lib/libefivar.so +/usr/lib/libefiboot.so.1.37 +/usr/lib/libefiboot.so.1 +/usr/lib/libefiboot.so +/usr/lib/ +/usr/include/efivar/efivar.h +/usr/include/efivar/efivar-guids.h +/usr/include/efivar/efivar-dp.h +/usr/include/efivar/efiboot-loadopt.h +/usr/include/efivar/efiboot.h +/usr/include/efivar/efiboot-creator.h +/usr/include/efivar/ +/usr/include/ +/usr/bin/efivar +/usr/bin/ +/usr/ diff --git a/extra/efivar/sources b/extra/efivar/sources new file mode 100644 index 00000000..0f98fa14 --- /dev/null +++ b/extra/efivar/sources @@ -0,0 +1 @@ +https://github.com/rhboot/efivar/releases/download/37/efivar-37.tar.bz2 diff --git a/extra/efivar/version b/extra/efivar/version new file mode 100644 index 00000000..4189655b --- /dev/null +++ b/extra/efivar/version @@ -0,0 +1 @@ +37 1 diff --git a/extra/popt/build b/extra/popt/build new file mode 100755 index 00000000..6daf22f8 --- /dev/null +++ b/extra/popt/build @@ -0,0 +1,7 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr + +make +make DESTDIR="$1" install diff --git a/extra/popt/checksums b/extra/popt/checksums new file mode 100644 index 00000000..e9a82a58 --- /dev/null +++ b/extra/popt/checksums @@ -0,0 +1 @@ +e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8 popt-1.16.tar.gz diff --git a/extra/popt/licenses b/extra/popt/licenses new file mode 100644 index 00000000..b4c7ca87 --- /dev/null +++ b/extra/popt/licenses @@ -0,0 +1,22 @@ +Copyright (c) 1998 Red Hat Software + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of the X Consortium shall not be +used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from the X Consortium. diff --git a/extra/popt/manifest b/extra/popt/manifest new file mode 100644 index 00000000..423cf4a5 --- /dev/null +++ b/extra/popt/manifest @@ -0,0 +1,122 @@ +/var/db/kiss/popt/version +/var/db/kiss/popt/sources +/var/db/kiss/popt/manifest +/var/db/kiss/popt/licenses +/var/db/kiss/popt/checksums +/var/db/kiss/popt/build +/var/db/kiss/popt/ +/var/db/kiss/ +/var/db/ +/var/ +/usr/share/man/man3/popt.3 +/usr/share/man/man3/ +/usr/share/man/ +/usr/share/locale/zh_TW/LC_MESSAGES/popt.mo +/usr/share/locale/zh_TW/LC_MESSAGES/ +/usr/share/locale/zh_TW/ +/usr/share/locale/zh_CN/LC_MESSAGES/popt.mo +/usr/share/locale/zh_CN/LC_MESSAGES/ +/usr/share/locale/zh_CN/ +/usr/share/locale/wa/LC_MESSAGES/popt.mo +/usr/share/locale/wa/LC_MESSAGES/ +/usr/share/locale/wa/ +/usr/share/locale/vi/LC_MESSAGES/popt.mo +/usr/share/locale/vi/LC_MESSAGES/ +/usr/share/locale/vi/ +/usr/share/locale/uk/LC_MESSAGES/popt.mo +/usr/share/locale/uk/LC_MESSAGES/ +/usr/share/locale/uk/ +/usr/share/locale/tr/LC_MESSAGES/popt.mo +/usr/share/locale/tr/LC_MESSAGES/ +/usr/share/locale/tr/ +/usr/share/locale/th/LC_MESSAGES/popt.mo +/usr/share/locale/th/LC_MESSAGES/ +/usr/share/locale/th/ +/usr/share/locale/sv/LC_MESSAGES/popt.mo +/usr/share/locale/sv/LC_MESSAGES/ +/usr/share/locale/sv/ +/usr/share/locale/sl/LC_MESSAGES/popt.mo +/usr/share/locale/sl/LC_MESSAGES/ +/usr/share/locale/sl/ +/usr/share/locale/sk/LC_MESSAGES/popt.mo +/usr/share/locale/sk/LC_MESSAGES/ +/usr/share/locale/sk/ +/usr/share/locale/ru/LC_MESSAGES/popt.mo +/usr/share/locale/ru/LC_MESSAGES/ +/usr/share/locale/ru/ +/usr/share/locale/ro/LC_MESSAGES/popt.mo +/usr/share/locale/ro/LC_MESSAGES/ +/usr/share/locale/ro/ +/usr/share/locale/pt/LC_MESSAGES/popt.mo +/usr/share/locale/pt/LC_MESSAGES/ +/usr/share/locale/pt/ +/usr/share/locale/pl/LC_MESSAGES/popt.mo +/usr/share/locale/pl/LC_MESSAGES/ +/usr/share/locale/pl/ +/usr/share/locale/nl/LC_MESSAGES/popt.mo +/usr/share/locale/nl/LC_MESSAGES/ +/usr/share/locale/nl/ +/usr/share/locale/nb/LC_MESSAGES/popt.mo +/usr/share/locale/nb/LC_MESSAGES/ +/usr/share/locale/nb/ +/usr/share/locale/lv/LC_MESSAGES/popt.mo +/usr/share/locale/lv/LC_MESSAGES/ +/usr/share/locale/lv/ +/usr/share/locale/ko/LC_MESSAGES/popt.mo +/usr/share/locale/ko/LC_MESSAGES/ +/usr/share/locale/ko/ +/usr/share/locale/ja/LC_MESSAGES/popt.mo +/usr/share/locale/ja/LC_MESSAGES/ +/usr/share/locale/ja/ +/usr/share/locale/it/LC_MESSAGES/popt.mo +/usr/share/locale/it/LC_MESSAGES/ +/usr/share/locale/it/ +/usr/share/locale/is/LC_MESSAGES/popt.mo +/usr/share/locale/is/LC_MESSAGES/ +/usr/share/locale/is/ +/usr/share/locale/id/LC_MESSAGES/popt.mo +/usr/share/locale/id/LC_MESSAGES/ +/usr/share/locale/id/ +/usr/share/locale/hu/LC_MESSAGES/popt.mo +/usr/share/locale/hu/LC_MESSAGES/ +/usr/share/locale/hu/ +/usr/share/locale/gl/LC_MESSAGES/popt.mo +/usr/share/locale/gl/LC_MESSAGES/ +/usr/share/locale/gl/ +/usr/share/locale/ga/LC_MESSAGES/popt.mo +/usr/share/locale/ga/LC_MESSAGES/ +/usr/share/locale/ga/ +/usr/share/locale/fr/LC_MESSAGES/popt.mo +/usr/share/locale/fr/LC_MESSAGES/ +/usr/share/locale/fr/ +/usr/share/locale/fi/LC_MESSAGES/popt.mo +/usr/share/locale/fi/LC_MESSAGES/ +/usr/share/locale/fi/ +/usr/share/locale/es/LC_MESSAGES/popt.mo +/usr/share/locale/es/LC_MESSAGES/ +/usr/share/locale/es/ +/usr/share/locale/eo/LC_MESSAGES/popt.mo +/usr/share/locale/eo/LC_MESSAGES/ +/usr/share/locale/eo/ +/usr/share/locale/de/LC_MESSAGES/popt.mo +/usr/share/locale/de/LC_MESSAGES/ +/usr/share/locale/de/ +/usr/share/locale/da/LC_MESSAGES/popt.mo +/usr/share/locale/da/LC_MESSAGES/ +/usr/share/locale/da/ +/usr/share/locale/cs/LC_MESSAGES/popt.mo +/usr/share/locale/cs/LC_MESSAGES/ +/usr/share/locale/cs/ +/usr/share/locale/ +/usr/share/ +/usr/lib/pkgconfig/popt.pc +/usr/lib/pkgconfig/ +/usr/lib/libpopt.so.0.0.0 +/usr/lib/libpopt.so.0 +/usr/lib/libpopt.so +/usr/lib/libpopt.la +/usr/lib/libpopt.a +/usr/lib/ +/usr/include/popt.h +/usr/include/ +/usr/ diff --git a/extra/popt/sources b/extra/popt/sources new file mode 100644 index 00000000..5550496f --- /dev/null +++ b/extra/popt/sources @@ -0,0 +1 @@ +ftp://anduin.linuxfromscratch.org/BLFS/popt/popt-1.16.tar.gz diff --git a/extra/popt/version b/extra/popt/version new file mode 100644 index 00000000..d1d913ed --- /dev/null +++ b/extra/popt/version @@ -0,0 +1 @@ +1.16 1