filan recovers the option d that needs to be parsed
Signed-off-by: cherry530 <707078654@qq.com> (cherry picked from commit 1086216937a91bbbf4ca2494bc44ce8d09bc2551)
This commit is contained in:
parent
989b3b5ca1
commit
71e5e8445c
25
filan-recovers-the-option-d-that-needs-to-be-parsed.patch
Normal file
25
filan-recovers-the-option-d-that-needs-to-be-parsed.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From a4b0405548cc5d12e0e5888061e1880ea524e8c6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: cherry530 <707078654@qq.com>
|
||||||
|
Date: Wed, 3 Apr 2024 10:09:02 +0800
|
||||||
|
Subject: [PATCH] filan recovers the option d that needs to be parsed
|
||||||
|
|
||||||
|
Signed-off-by: cherry530 <707078654@qq.com>
|
||||||
|
---
|
||||||
|
error.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/error.c b/error.c
|
||||||
|
index d0a2a9e..3e91d93 100644
|
||||||
|
--- a/error.c
|
||||||
|
+++ b/error.c
|
||||||
|
@@ -197,6 +197,7 @@ void diag_set(char what, const char *arg) {
|
||||||
|
case 'p': diagopts.progname = arg;
|
||||||
|
openlog(diagopts.progname, LOG_PID, diagopts.logfacility);
|
||||||
|
break;
|
||||||
|
+ case 'd': --diagopts.msglevel; break;
|
||||||
|
case 'u': diagopts.micros = true; break;
|
||||||
|
default: msg(E_ERROR, "unknown diagnostic option %c", what);
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
@ -3,11 +3,13 @@
|
|||||||
Summary: Multipurpose relay
|
Summary: Multipurpose relay
|
||||||
Name: socat
|
Name: socat
|
||||||
Version: 1.8.0.0
|
Version: 1.8.0.0
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Url: http://www.dest-unreach.org/socat/
|
Url: http://www.dest-unreach.org/socat/
|
||||||
Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.gz
|
Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch0: filan-recovers-the-option-d-that-needs-to-be-parsed.patch
|
||||||
|
|
||||||
BuildRequires: gcc openssl-devel readline-devel ncurses-devel
|
BuildRequires: gcc openssl-devel readline-devel ncurses-devel
|
||||||
BuildRequires: autoconf kernel-headers > 2.6.18
|
BuildRequires: autoconf kernel-headers > 2.6.18
|
||||||
BuildRequires: iproute net-tools coreutils procps-ng openssl iputils
|
BuildRequires: iproute net-tools coreutils procps-ng openssl iputils
|
||||||
@ -22,7 +24,7 @@ line editor (readline), a program, or a combination of two of these.
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup -n %{name}-%{version} -p1
|
||||||
iconv -f iso8859-1 -t utf-8 CHANGES > CHANGES.utf8
|
iconv -f iso8859-1 -t utf-8 CHANGES > CHANGES.utf8
|
||||||
mv CHANGES.utf8 CHANGES
|
mv CHANGES.utf8 CHANGES
|
||||||
|
|
||||||
@ -60,6 +62,9 @@ cp -a *.sh %{buildroot}/%{_docdir}/socat/
|
|||||||
%doc %{_mandir}/man1/*
|
%doc %{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 03 2024 xu_ping <707078654@qq.com> - 1.8.0.0-2
|
||||||
|
- filan recovers the option d that needs to be parsed
|
||||||
|
|
||||||
* Wed Feb 28 2024 liyanan <liyanan61@h-partners.com> - 1.8.0.0-1
|
* Wed Feb 28 2024 liyanan <liyanan61@h-partners.com> - 1.8.0.0-1
|
||||||
- update to 1.8.0.0
|
- update to 1.8.0.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user