Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added dev-utils/mandoc/manifest.x86_64.bin
Binary file not shown.
50 changes: 50 additions & 0 deletions dev-utils/mandoc/manifest.x86_64.jsonc
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"
}
3 changes: 3 additions & 0 deletions dev-utils/mandoc/monitoring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
releases:
id: 70874
security: {}
32 changes: 32 additions & 0 deletions dev-utils/mandoc/stone.yml
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 added libs/hw/efivar/manifest.x86_64.bin
Binary file not shown.
96 changes: 96 additions & 0 deletions libs/hw/efivar/manifest.x86_64.jsonc
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"
}
3 changes: 3 additions & 0 deletions libs/hw/efivar/monitoring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
releases:
id: 664
security: {}
42 changes: 42 additions & 0 deletions libs/hw/efivar/pkg/Fix-ld.lld-flag.patch
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}
29 changes: 29 additions & 0 deletions libs/hw/efivar/pkg/Remove-ld.lld-workarounds.patch
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)

30 changes: 30 additions & 0 deletions libs/hw/efivar/stone.yml
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