update to 4.5
This commit is contained in:
parent
9731305c0d
commit
43db62a5b5
@ -1,26 +0,0 @@
|
||||
From 55e0f262c77a5f9f2d2d6b833a58b9293efcdc4b Mon Sep 17 00:00:00 2001
|
||||
From: caodongxia <315816521@qq.com>
|
||||
Date: Wed, 11 Aug 2021 10:43:22 +0800
|
||||
Subject: [PATCH] fix algparse unknown option -d
|
||||
|
||||
---
|
||||
programs/algparse/algparse.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/programs/algparse/algparse.c b/programs/algparse/algparse.c
|
||||
index 3820d63..afd5702 100644
|
||||
--- a/programs/algparse/algparse.c
|
||||
+++ b/programs/algparse/algparse.c
|
||||
@@ -566,7 +566,8 @@ static void usage(void)
|
||||
" -P <password> | -nsspw <password> | -password <password>:\n"
|
||||
" <password> to unlock crypto database\n"
|
||||
" -v --verbose: be more verbose\n"
|
||||
- " -d --debug: enable debug logging\n"
|
||||
+ " --debug: enable debug logging\n"
|
||||
+ /* -d <NSSDB> is reserved */
|
||||
" --impair: disable all algorithm parser checks\n"
|
||||
" --ignore: ignore parser errors (or at least some)\n"
|
||||
" -p1: simple parser\n"
|
||||
--
|
||||
2.27.0
|
||||
|
||||
Binary file not shown.
BIN
libreswan-4.5.tar.gz
Normal file
BIN
libreswan-4.5.tar.gz
Normal file
Binary file not shown.
@ -18,15 +18,15 @@
|
||||
USE_LINUX_AUDIT=true \\\
|
||||
USE_NM=true \\\
|
||||
USE_SECCOMP=true \\\
|
||||
USE_XAUTHPAM=true \\\
|
||||
USE_AUTHPAM=true \\\
|
||||
USE_NSS_KDF=true \\\
|
||||
%{nil}
|
||||
|
||||
|
||||
Name: libreswan
|
||||
Summary: IKE implementation for IPsec with IKEv1 and IKEv2 support
|
||||
Version: 4.1
|
||||
Release: 2
|
||||
Version: 4.5
|
||||
Release: 1
|
||||
License: GPLv2
|
||||
Url: https://libreswan.org/
|
||||
Source0: https://download.libreswan.org/%{name}-%{version}.tar.gz
|
||||
@ -35,7 +35,6 @@ Source2: https://download.libreswan.org/cavs/ikev1_psk.fax.bz2
|
||||
Source3: https://download.libreswan.org/cavs/ikev2.fax.bz2
|
||||
Source4: openeuler-libreswan-sysctl.conf
|
||||
|
||||
Patch0: fix-algparse-unknown-option-d.patch
|
||||
|
||||
BuildRequires: audit-libs-devel
|
||||
BuildRequires: bison
|
||||
@ -94,7 +93,6 @@ Man pages and other related help documents for libreswan.
|
||||
|
||||
%prep
|
||||
%setup -q -n libreswan-%{version}%{?prever}
|
||||
%patch0 -p1
|
||||
|
||||
sed -i "s/-lfreebl //" mk/config.mk
|
||||
|
||||
@ -180,6 +178,7 @@ certutil -N -d sql:$tmpdir --empty-password
|
||||
%attr(0644,root,root) %{_unitdir}/ipsec.service
|
||||
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/pam.d/pluto
|
||||
%attr(0700,root,root) %dir %{_sharedstatedir}/ipsec/nss
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/libreswan
|
||||
%{_sbindir}/ipsec
|
||||
%{_libexecdir}/ipsec
|
||||
|
||||
@ -189,6 +188,9 @@ certutil -N -d sql:$tmpdir --empty-password
|
||||
%attr(0644,root,root) %doc %{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Mon Apr 18 2022 yangping <yangping69@h-partners.com> - 4.5-1
|
||||
- Update to 4.5
|
||||
|
||||
* Wed Aug 11 2021 caodongxia <caodongxia@huawei.com> - 4.1-2
|
||||
- Fix algparse unknown option -d
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user