-
Notifications
You must be signed in to change notification settings - Fork 5
Add efivar #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
livingsilver94
wants to merge
2
commits into
snekpit:main
Choose a base branch
from
livingsilver94:fwupd
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add efivar #85
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| /** Human readable report. This is not consumed by boulder */ | ||
| { | ||
| "manifest-version": "0.2", | ||
| "packages": { | ||
| "mandoc": { | ||
| "build-depends": [ | ||
| "pkgconfig(zlib)" | ||
| ], | ||
| "depends": [ | ||
| "interpreter(/usr/lib/ld-linux-x86-64.so.2(x86_64))", | ||
| "soname(libc.so.6(x86_64))", | ||
| "soname(libz.so.1(x86_64))" | ||
| ], | ||
| "files": [ | ||
| "/usr/bin/apropos", | ||
| "/usr/bin/demandoc", | ||
| "/usr/bin/mandoc", | ||
| "/usr/bin/soelim", | ||
| "/usr/bin/whatis", | ||
| "/usr/sbin/makewhatis", | ||
| "/usr/share/man/man1/apropos.1", | ||
| "/usr/share/man/man1/demandoc.1", | ||
| "/usr/share/man/man1/mandoc.1", | ||
| "/usr/share/man/man1/soelim.1", | ||
| "/usr/share/man/man1/whatis.1", | ||
| "/usr/share/man/man5/man.conf.5", | ||
| "/usr/share/man/man5/mandoc.db.5", | ||
| "/usr/share/man/man7/eqn.7", | ||
| "/usr/share/man/man7/man.7", | ||
| "/usr/share/man/man7/mandoc_char.7", | ||
| "/usr/share/man/man7/mdoc.7", | ||
| "/usr/share/man/man7/roff.7", | ||
| "/usr/share/man/man7/tbl.7", | ||
| "/usr/share/man/man8/makewhatis.8" | ||
| ], | ||
| "name": "mandoc", | ||
| "provides": [ | ||
| "binary(apropos)", | ||
| "binary(demandoc)", | ||
| "sysbinary(makewhatis)", | ||
| "binary(mandoc)", | ||
| "binary(soelim)", | ||
| "binary(whatis)" | ||
| ] | ||
| } | ||
| }, | ||
| "source-name": "mandoc", | ||
| "source-release": "1", | ||
| "source-version": "1.14.6" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| releases: | ||
| id: 70874 | ||
| security: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # | ||
| # SPDX-FileCopyrightText: © 2020-2023 Serpent OS Developers | ||
| # | ||
| # SPDX-License-Identifier: Zlib | ||
| # | ||
| name : mandoc | ||
| version : '1.14.6' | ||
| release : 1 | ||
| homepage : https://mandoc.bsd.lv | ||
| upstreams : | ||
| - https://mdocml.bsd.lv/snapshots/mandoc-1.14.6.tar.gz : 8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c | ||
| summary : Suite of tools for compiling mdoc, the "man" markup language | ||
| description : | | ||
| %(name) is a suite of tools compiling mdoc, the roff macro language of choice for BSD manual pages, and man, the predominant historical language for UNIX manuals. | ||
| license : ISC | ||
| builddeps : | ||
| - pkgconfig(zlib) | ||
| setup : | | ||
| cat > configure.local <<EOF | ||
| AR="%(ar)" | ||
| CC="%(cc)" | ||
| CFLAGS="%(cflags)" | ||
| LDFLAGS="%(ldflags)" | ||
| MANDIR=%(mandir) | ||
| PREFIX=%(prefix) | ||
| EOF | ||
| %configure | ||
| build : | | ||
| %make | ||
| install : | | ||
| %make_install | ||
| rm -fv %(installroot)/%(bindir)/man %(installroot)/%(mandir)/man1/man.1 |
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,96 @@ | ||
| /** Human readable report. This is not consumed by boulder */ | ||
| { | ||
| "manifest-version": "0.2", | ||
| "packages": { | ||
| "efivar": { | ||
| "build-depends": [ | ||
| "binary(mandoc)" | ||
| ], | ||
| "depends": [ | ||
| "interpreter(/usr/lib/ld-linux-x86-64.so.2(x86_64))", | ||
| "soname(ld-linux-x86-64.so.2(x86_64))", | ||
| "soname(libc.so.6(x86_64))" | ||
| ], | ||
| "files": [ | ||
| "/usr/bin/efisecdb", | ||
| "/usr/bin/efivar", | ||
| "/usr/lib64/libefiboot.so", | ||
| "/usr/lib64/libefiboot.so.1", | ||
| "/usr/lib64/libefiboot.so.1.38", | ||
| "/usr/lib64/libefisec.so", | ||
| "/usr/lib64/libefisec.so.1", | ||
| "/usr/lib64/libefisec.so.1.38", | ||
| "/usr/lib64/libefivar.so", | ||
| "/usr/lib64/libefivar.so.1", | ||
| "/usr/lib64/libefivar.so.1.38", | ||
| "/usr/lib64/pkgconfig/efiboot.pc", | ||
| "/usr/lib64/pkgconfig/efisec.pc", | ||
| "/usr/lib64/pkgconfig/efivar.pc", | ||
| "/usr/share/man/man1/efisecdb.1", | ||
| "/usr/share/man/man1/efivar.1" | ||
| ], | ||
| "name": "efivar", | ||
| "provides": [ | ||
| "pkgconfig(efiboot)", | ||
| "pkgconfig(efisec)", | ||
| "binary(efisecdb)", | ||
| "pkgconfig(efivar)", | ||
| "binary(efivar)", | ||
| "soname(libefiboot.so.1(x86_64))", | ||
| "soname(libefisec.so.1(x86_64))", | ||
| "soname(libefivar.so.1(x86_64))" | ||
| ] | ||
| }, | ||
| "efivar-devel": { | ||
| "build-depends": [ | ||
| "binary(mandoc)" | ||
| ], | ||
| "files": [ | ||
| "/usr/include/efivar/efiboot-creator.h", | ||
| "/usr/include/efivar/efiboot-loadopt.h", | ||
| "/usr/include/efivar/efiboot.h", | ||
| "/usr/include/efivar/efisec-secdb.h", | ||
| "/usr/include/efivar/efisec-types.h", | ||
| "/usr/include/efivar/efisec.h", | ||
| "/usr/include/efivar/efivar-dp.h", | ||
| "/usr/include/efivar/efivar-guids.h", | ||
| "/usr/include/efivar/efivar-time.h", | ||
| "/usr/include/efivar/efivar-types.h", | ||
| "/usr/include/efivar/efivar.h", | ||
| "/usr/share/man/man3/efi_append_variable.3", | ||
| "/usr/share/man/man3/efi_del_variable.3", | ||
| "/usr/share/man/man3/efi_get_next_variable_name.3", | ||
| "/usr/share/man/man3/efi_get_variable.3", | ||
| "/usr/share/man/man3/efi_get_variable_attributes.3", | ||
| "/usr/share/man/man3/efi_get_variable_size.3", | ||
| "/usr/share/man/man3/efi_guid_to_id_guid.3", | ||
| "/usr/share/man/man3/efi_guid_to_name.3", | ||
| "/usr/share/man/man3/efi_guid_to_str.3", | ||
| "/usr/share/man/man3/efi_guid_to_symbol.3", | ||
| "/usr/share/man/man3/efi_name_to_guid.3", | ||
| "/usr/share/man/man3/efi_set_variable.3", | ||
| "/usr/share/man/man3/efi_str_to_guid.3", | ||
| "/usr/share/man/man3/efi_symbol_to_guid.3", | ||
| "/usr/share/man/man3/efi_variable_alloc.3", | ||
| "/usr/share/man/man3/efi_variable_export.3", | ||
| "/usr/share/man/man3/efi_variable_free.3", | ||
| "/usr/share/man/man3/efi_variable_get_attributes.3", | ||
| "/usr/share/man/man3/efi_variable_get_data.3", | ||
| "/usr/share/man/man3/efi_variable_get_guid.3", | ||
| "/usr/share/man/man3/efi_variable_get_name.3", | ||
| "/usr/share/man/man3/efi_variable_import.3", | ||
| "/usr/share/man/man3/efi_variable_realize.3", | ||
| "/usr/share/man/man3/efi_variable_set_attributes.3", | ||
| "/usr/share/man/man3/efi_variable_set_data.3", | ||
| "/usr/share/man/man3/efi_variable_set_guid.3", | ||
| "/usr/share/man/man3/efi_variable_set_name.3", | ||
| "/usr/share/man/man3/efi_variable_t.3", | ||
| "/usr/share/man/man3/efi_variables_supported.3" | ||
| ], | ||
| "name": "efivar-devel" | ||
| } | ||
| }, | ||
| "source-name": "efivar", | ||
| "source-release": "1", | ||
| "source-version": "38" | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| releases: | ||
| id: 664 | ||
| security: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| From 8695d256e98c1a79a64c69c60c5f07546c580b05 Mon Sep 17 00:00:00 2001 | ||
| From: Ali Abdel-Qader <abdelqaderali@protonmail.com> | ||
| Date: Tue, 31 May 2022 11:53:32 -0400 | ||
| Subject: [PATCH] Remove deprecated --add-needed linker flag | ||
|
|
||
| Resolves #204 | ||
| Signed-off-by: Ali Abdel-Qader <abdelqaderali@protonmail.com> | ||
| --- | ||
| src/include/defaults.mk | 2 -- | ||
| src/include/gcc.specs | 2 +- | ||
| 2 files changed, 1 insertion(+), 3 deletions(-) | ||
|
|
||
| diff --git a/src/include/defaults.mk b/src/include/defaults.mk | ||
| index ab8e9a8c..2c98e07d 100644 | ||
| --- a/src/include/defaults.mk | ||
| +++ b/src/include/defaults.mk | ||
| @@ -51,7 +51,6 @@ LDFLAGS ?= | ||
| override _CCLDFLAGS := $(CCLDFLAGS) | ||
| override _LDFLAGS := $(LDFLAGS) | ||
| override LDFLAGS = $(CFLAGS) -L. $(_LDFLAGS) $(_CCLDFLAGS) \ | ||
| - -Wl,--add-needed \ | ||
| -Wl,--build-id \ | ||
| -Wl,--no-allow-shlib-undefined \ | ||
| -Wl,--no-undefined-version \ | ||
| @@ -94,7 +93,6 @@ override _HOST_LDFLAGS := $(HOST_LDFLAGS) | ||
| override _HOST_CCLDFLAGS := $(HOST_CCLDFLAGS) | ||
| override HOST_LDFLAGS = $(HOST_CFLAGS) -L. \ | ||
| $(_HOST_LDFLAGS) $(_HOST_CCLDFLAGS) \ | ||
| - -Wl,--add-needed \ | ||
| -Wl,--build-id \ | ||
| -Wl,--no-allow-shlib-undefined \ | ||
| -Wl,-z,now \ | ||
| diff --git a/src/include/gcc.specs b/src/include/gcc.specs | ||
| index ef28e2bb..d85e8658 100644 | ||
| --- a/src/include/gcc.specs | ||
| +++ b/src/include/gcc.specs | ||
| @@ -5,4 +5,4 @@ | ||
| + %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-no-fatal-warnings -Wl,-static -static -Wl,-z,relro,-z,now} -grecord-gcc-switches | ||
|
|
||
| *link: | ||
| -+ %{!static:--fatal-warnings} --no-undefined-version --no-allow-shlib-undefined --add-needed -z now --build-id %{!static:%{!shared:-pie}} %{shared:-z relro} %{static:%<pie} | ||
| ++ %{!static:--fatal-warnings} --no-undefined-version --no-allow-shlib-undefined -z now --build-id %{!static:%{!shared:-pie}} %{shared:-z relro} %{static:%<pie} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| diff --git a/src/include/workarounds.mk b/src/include/workarounds.mk | ||
| index 3118834..ff5fb49 100644 | ||
| --- a/src/include/workarounds.mk | ||
| +++ b/src/include/workarounds.mk | ||
| @@ -2,12 +2,12 @@ | ||
| # | ||
| # workarounds.mk - workarounds for weird stuff behavior | ||
|
|
||
| -LD_FLAVOR := $(shell $(LD) --version | grep -E '^(LLD|GNU ld)'|sed 's/ .*//g') | ||
| -LD_VERSION := $(shell $(LD) --version | grep -E '^(LLD|GNU ld)'|sed 's/.* //') | ||
| +LD_FLAVOR := $(shell $(LD) --version | grep -E '^((.* )?LLD|GNU ld)'|sed 's/.* LLD/LLD/;s/ .*//g') | ||
| +LD_VERSION := $(shell $(LD) --version | grep -E '^((.* )?LLD|GNU ld)'|sed 's/.* LLD/LLD/;s/.* //') | ||
| # I haven't tested 2.36 here; 2.35 is definitely broken and 2.37 seems to work | ||
| LD_DASH_T := $(shell \ | ||
| if [ "x${LD_FLAVOR}" = xLLD ] ; then \ | ||
| - echo '-T' ; \ | ||
| + echo "" ; \ | ||
| elif [ "x${LD_FLAVOR}" = xGNU ] ; then \ | ||
| if echo "${LD_VERSION}" | grep -q -E '^2\.3[789]|^2\.[456789]|^[3456789]|^[[:digit:]][[:digit:]]' ; then \ | ||
| echo '-T' ; \ | ||
| @@ -15,7 +15,7 @@ LD_DASH_T := $(shell \ | ||
| echo "" ; \ | ||
| fi ; \ | ||
| else \ | ||
| - echo "Your linker is not supported" ; \ | ||
| + echo "Your linker ${LD_FLAVOR} version ${LD_VERSION} is not supported" ; \ | ||
| exit 1 ; \ | ||
| fi) | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # | ||
| # SPDX-FileCopyrightText: © 2020-2023 Serpent OS Developers | ||
| # | ||
| # SPDX-License-Identifier: Zlib | ||
| # | ||
| name : efivar | ||
| version : '38' | ||
| release : 1 | ||
| homepage : https://github.com/rhboot/efivar | ||
| upstreams : | ||
| - https://github.com/rhboot/efivar/releases/download/38/efivar-38.tar.bz2 : f018ed6e49c5f1c16d336d9fd7687ce87023276591921db1e49a314ad6515349 | ||
| summary : Tools and libraries to work with EFI variables | ||
| description : | | ||
| %(name) is a collection of tools and libraries to work with EFI variables. | ||
| license : | ||
| - LGPL-2.1-or-later | ||
| builddeps : | ||
| - binary(mandoc) | ||
| setup : | | ||
| %patch %(pkgdir)/Fix-ld.lld-flag.patch | ||
| %patch %(pkgdir)/Remove-ld.lld-workarounds.patch | ||
| build : | | ||
| %make \ | ||
| CC="%(cc)" \ | ||
| HOST_MARCH="-march=%(march) -mtune=%(mtune)" \ | ||
| CFLAGS="%(cflags)" \ | ||
| LIBDIR=%(libdir) \ | ||
| LDFLAGS=%(ldflags) | ||
| install : | | ||
| %make_install |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.