From d54ce0a04879832b0aa6ea905097a02ce3ebd8ee Mon Sep 17 00:00:00 2001 From: cherry530 <707078654@qq.com> Date: Tue, 7 May 2024 17:06:09 +0800 Subject: [PATCH] Remove unused i option in authvar Signed-off-by: cherry530 <707078654@qq.com> (cherry picked from commit f8cc4ae6b7988c7f18eb4da8438d10dddd87fc93) --- 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 ae9d66a..e0bb438 100644 --- a/pesign.spec +++ b/pesign.spec @@ -2,7 +2,7 @@ Name: pesign Summary: Signing utility for UEFI binaries Version: 116 -Release: 3 +Release: 4 License: GPLv2 URL: https://github.com/rhboot/pesign Source0: https://github.com/rhboot/pesign/archive/refs/tags/116.tar.gz @@ -22,6 +22,7 @@ Patch0002: 0001-cms_common-Fixed-Segmentation-fault.patch Patch9000: Feature-pesign-support-SM3-digest-algorithm.patch Patch9001: Feature-pesign-support-SM2-signature-algorithm.patch Patch9002: Fix-build-error-of-gcc-version-too-low.patch +Patch9004: Remove-unused-i-option-in-authvar.patch %description pesign is a command line tool for manipulating signatures and @@ -99,6 +100,9 @@ exit 0 %{_mandir}/man*/* %changelog +* Tue May 07 2024 xu_ping <707078654@qq.com> - 116-4 +- Remove unused i option in authvar + * Wed Apr 24 2024 xu_ping <707078654@qq.com> - 116-3 - Modify permissions for macros.pesign. -- Gitee