!12 Remove unused arguement

From: @si-gui
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2020-12-25 15:25:08 +08:00 committed by Gitee
commit 13829f3e7f
2 changed files with 29 additions and 1 deletions

View File

@ -4,7 +4,7 @@
Name: freeradius
Version: 3.0.21
Release: 2
Release: 3
Summary: Remote Authentication Dial-In User Service
License: GPLv2+ and LGPLv2+
@ -15,6 +15,7 @@ Source2: freeradius-logrotate
Source3: freeradius-pam-conf
Source4: freeradius-tmpfiles.conf
Patch0000: remove-unused-arguement.patch
# patch for backport CVE
BuildRequires: autoconf gdbm-devel openssl openssl-devel pam-devel zlib-devel net-snmp-devel
@ -434,6 +435,9 @@ exit 0
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/ldap
%changelog
* Fri Dec 25 2020 sunguoshuai <sunguoshuai@huawei.com> - 3.0.21-3
- Remove unused arguement
* Wed Nov 11 2020 zhangtao <zhangtao221@huawei.com> - 3.0.21-2
- delete the unused file

View File

@ -0,0 +1,24 @@
From f06084a007fdcaad3bd68f29e243fa8edcf0b590 Mon Sep 17 00:00:00 2001
From: "Alan T. DeKok" <aland@freeradius.org>
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 <raddb> Set user dictionary directory (defaults to " RADDBDIR ").\n");
fprintf(stderr, " -D <dictdir> Set main dictionary directory (defaults to " DICTDIR ").\n");
- fprintf(stderr, " -O <output_dir> Set output directory\n");
fprintf(stderr, " -x Debugging mode.\n");
fprintf(stderr, " -M Show program version information.\n");
--
2.23.0