From 80f51cc7758fccc05ccf4867d6e07e00bf3e6b88 Mon Sep 17 00:00:00 2001 From: si-gui <245140120@qq.com> Date: Fri, 25 Dec 2020 10:45:16 +0800 Subject: [PATCH] Remove unused arguement --- freeradius.spec | 8 ++++++-- remove-unused-arguement.patch | 24 ++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 remove-unused-arguement.patch diff --git a/freeradius.spec b/freeradius.spec index 618ae23..224c87f 100644 --- a/freeradius.spec +++ b/freeradius.spec @@ -4,7 +4,7 @@ Name: freeradius Version: 3.0.15 -Release: 19 +Release: 20 Summary: Remote Authentication Dial-In User Service License: GPLv2+ and LGPLv2+ @@ -19,6 +19,7 @@ Source4: freeradius-tmpfiles.conf Patch6000: CVE-2019-11234_1.patch Patch6001: CVE-2019-11234_2.patch Patch6002: CVE-2019-10143.patch +Patch6003: remove-unused-arguement.patch BuildRequires: autoconf gdbm-devel openssl openssl-devel pam-devel zlib-devel net-snmp-devel BuildRequires: net-snmp-utils readline-devel libpcap-devel systemd-units libtalloc-devel @@ -434,10 +435,13 @@ exit 0 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/ldap %changelog +* Fri Dec 25 2020 sunguoshuai - 3.0.15-20 +- Remove unused arguement + * Mon Nov 09 2020 huanghaitao - 3.0.15-19 - Make help package requires by freeradius - Aug 21 2020 yuboyun - 3.0.15-18 +* Fri Aug 21 2020 yuboyun - 3.0.15-18 - Type: bugfix - ID: NA - SUG: NA diff --git a/remove-unused-arguement.patch b/remove-unused-arguement.patch new file mode 100644 index 0000000..476420c --- /dev/null +++ b/remove-unused-arguement.patch @@ -0,0 +1,24 @@ +From f06084a007fdcaad3bd68f29e243fa8edcf0b590 Mon Sep 17 00:00:00 2001 +From: "Alan T. DeKok" +Date: Thu, 24 Dec 2020 07:38:59 -0500 +Subject: [PATCH] remove unused argument. Fixes #3817 + +--- + src/tests/map/map_unit.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/tests/map/map_unit.c b/src/tests/map/map_unit.c +index af6d016..df906a5 100644 +--- a/src/tests/map/map_unit.c ++++ b/src/tests/map/map_unit.c +@@ -81,7 +81,6 @@ static void NEVER_RETURNS usage(void) + fprintf(stderr, "usage: map_unit [OPTS] filename ...\n"); + fprintf(stderr, " -d Set user dictionary directory (defaults to " RADDBDIR ").\n"); + fprintf(stderr, " -D Set main dictionary directory (defaults to " DICTDIR ").\n"); +- fprintf(stderr, " -O Set output directory\n"); + fprintf(stderr, " -x Debugging mode.\n"); + fprintf(stderr, " -M Show program version information.\n"); + +-- +2.23.0 +