From c9fecc7a71634022362720f6127e153b07a2d36e Mon Sep 17 00:00:00 2001 From: cherry530 <707078654@qq.com> Date: Mon, 6 May 2024 11:25:28 +0800 Subject: [PATCH] Remove unused i option in authvar Signed-off-by: cherry530 <707078654@qq.com> --- Remove-unused-i-option-in-authvar.patch | 16 ++++++++++++++++ pesign.spec | 6 +++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 Remove-unused-i-option-in-authvar.patch diff --git a/Remove-unused-i-option-in-authvar.patch b/Remove-unused-i-option-in-authvar.patch new file mode 100644 index 0000000..7b92d69 --- /dev/null +++ b/Remove-unused-i-option-in-authvar.patch @@ -0,0 +1,16 @@ +diff -Nur a/src/authvar.c b/src/authvar.c +--- a/src/authvar.c 2022-03-09 01:46:30.000000000 +0800 ++++ b/src/authvar.c 2023-05-31 16:47:15.329069974 +0800 +@@ -324,12 +324,6 @@ + .arg = &ctx.valuefile, + .descrip = "read value from ", + .argDescrip = "" }, +- {.longName = "import", +- .shortName = 'i', +- .argInfo = POPT_ARG_STRING, +- .arg = &ctx.importfile, +- .descrip = "import variable from ", +- .argDescrip = "" }, + {.longName = "export", + .shortName = 'e', + .argInfo = POPT_ARG_STRING, diff --git a/pesign.spec b/pesign.spec index c238250..d61ec78 100644 --- a/pesign.spec +++ b/pesign.spec @@ -2,7 +2,7 @@ Name: pesign Summary: Signing utility for UEFI binaries Version: 0.113 -Release: 7 +Release: 8 License: GPLv2 URL: https://github.com/vathpela/pesign Source0: https://github.com/rhboot/pesign/archive/113.tar.gz @@ -20,6 +20,7 @@ Patch0001: Fix-the-build-with-nss-3.44.patch Patch0002: remove-superfluous-type-settings.patch Patch0003: Fix-CVE-2022-3560.patch Patch0004: 0001-Rename-var-run-to-run.patch +Patch0005: Remove-unused-i-option-in-authvar.patch %description pesign is a command line tool for manipulating signatures and @@ -97,6 +98,9 @@ exit 0 %{_mandir}/man*/* %changelog +* Mon May 06 2024 xu_ping <707078654@qq.com> - 0.113-8 +- Remove unused i option in authvar + * Wed Mar 01 2023 wulei - 0.113-7 - Rename /var/run/ to /run/ -- Gitee