From 21cd123d35fd5852efa93647e34680ba1fc8ca6f05521ce46a21ca5a8ff73ec8 Mon Sep 17 00:00:00 2001 From: Olav Reinert Date: Tue, 26 Jul 2022 11:31:42 +0000 Subject: [PATCH] Accepting request 989601 from home:oreinert:branches:network:vpn - Update to 3.0.9 (2022-05-04) * Upgrade OpenSSL from 1.1.0j to 1.1.1o (#405, #407) - We are buliding this ourselves now. * Fix --version so it uses EASYRSA_OPENSSL (#416) * Use openssl rand instead of non-POSIX mktemp (#478) * Fix paths with spaces (#443) * Correct OpenSSL version from Homebrew on macOs (#416) * Fix revoking a renewed certificate (Original PR #394) * Follow-up commit: ef22701 * Introduce 'show-crl' (d199389) * Support Windows-Git 'version of bash' (#533) * Disallow use of single quote (') in vars file, Warning (#530) * Creating a CA uses x509-types/ca and COMMON (#526) * Prefer 'PKI/vars' over all other locations (#528) * Introduce 'init-pki soft' option (#197) * Warnings are no longer silenced by --batch (#523) * Improve packaging options (#510) OBS-URL: https://build.opensuse.org/request/show/989601 OBS-URL: https://build.opensuse.org/package/show/network:vpn/easy-rsa?expand=0&rev=31 --- EasyRSA-3.0.8.tgz | 3 --- EasyRSA-3.0.8.tgz.sig | Bin 310 -> 0 bytes EasyRSA-v3.0.9.tgz | 3 +++ EasyRSA-v3.0.9.tgz.sig | Bin 0 -> 310 bytes easy-rsa.changes | 22 ++++++++++++++++++++++ easy-rsa.spec | 10 +++++----- suse-packaging.patch | 19 ++++++++----------- 7 files changed, 38 insertions(+), 19 deletions(-) delete mode 100644 EasyRSA-3.0.8.tgz delete mode 100644 EasyRSA-3.0.8.tgz.sig create mode 100644 EasyRSA-v3.0.9.tgz create mode 100644 EasyRSA-v3.0.9.tgz.sig diff --git a/EasyRSA-3.0.8.tgz b/EasyRSA-3.0.8.tgz deleted file mode 100644 index 1f7b2b0..0000000 --- a/EasyRSA-3.0.8.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cae114c212a5be4d89f2253d36c70ab94f68d295f24e8b6711c2cab0fabf7e18 -size 48907 diff --git a/EasyRSA-3.0.8.tgz.sig b/EasyRSA-3.0.8.tgz.sig deleted file mode 100644 index 4d674916ef66011b9981238fd762f6d94bddb3376bf3eb7c7bb0377bf625c733..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j-4{G;dhhX*X)xg9TZmO>dh4Gj(j0$*7|a{vkn5OS76 z895CN4ra3l`2lj`3jZ1CV+Efw8iTjY{&q-aG$yiD`hN0H&3<^41B)zt!8JGZ&l z<805q_X*Emkul!JAJcY|L5>S;PApl zRcj7?d@TgG#f9folK47Z-l|$fR?nPsLk+nD>_bAG$-PhT#FC=xg0YfZ_s~&n`9_Ky zjB#v|`rns#7qZ9s%&$X05W IXXUqGGa2KNkpKVy diff --git a/EasyRSA-v3.0.9.tgz b/EasyRSA-v3.0.9.tgz new file mode 100644 index 0000000..3fea712 --- /dev/null +++ b/EasyRSA-v3.0.9.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7205f3446216d884f3a83a00702f6d838d0756a7fdb5283525d7f035bef57046 +size 57722 diff --git a/EasyRSA-v3.0.9.tgz.sig b/EasyRSA-v3.0.9.tgz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..f881e4a784b61e2ffd935fe85fad576524fc4afcde96e09274bcba7e644b3f90 GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j-4{G;dhhX*X)xg9TZmO>dh4Gj(j0%C;k2>=QS5OS76 z895CN4uoC@|9km2RP!xL{a1A9o|c2{_WV1TVwVA8X=@9q;oW+em={*ABexqlRKLTQO-t;EaFHXi6QBsc3e%h+Ar|fU3Qe%+CsuM(ct7K zEl7_as~>A-DUGce*7yCwY{M46&>yfjkyulq%JZSZl7~I2V8{D^sDiGy{bhcpvjuz0 zl)!sxL8PVFuyLd7puiWFnm@OVa9s(HnezBr{|`*NteKcmmi^|pwA3^p1R_)3bt+&w Iu9RWS?J5|R9smFU literal 0 HcmV?d00001 diff --git a/easy-rsa.changes b/easy-rsa.changes index f49384f..820c5a5 100644 --- a/easy-rsa.changes +++ b/easy-rsa.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Wed Jun 15 19:12:30 UTC 2022 - Olav Reinert + +- Update to 3.0.9 (2022-05-04) + + * Upgrade OpenSSL from 1.1.0j to 1.1.1o (#405, #407) + - We are buliding this ourselves now. + * Fix --version so it uses EASYRSA_OPENSSL (#416) + * Use openssl rand instead of non-POSIX mktemp (#478) + * Fix paths with spaces (#443) + * Correct OpenSSL version from Homebrew on macOs (#416) + * Fix revoking a renewed certificate (Original PR #394) + * Follow-up commit: ef22701 + * Introduce 'show-crl' (d199389) + * Support Windows-Git 'version of bash' (#533) + * Disallow use of single quote (') in vars file, Warning (#530) + * Creating a CA uses x509-types/ca and COMMON (#526) + * Prefer 'PKI/vars' over all other locations (#528) + * Introduce 'init-pki soft' option (#197) + * Warnings are no longer silenced by --batch (#523) + * Improve packaging options (#510) + ------------------------------------------------------------------- Wed Nov 25 16:48:19 UTC 2020 - Olav Reinert diff --git a/easy-rsa.spec b/easy-rsa.spec index f5e2f20..d37dd4c 100644 --- a/easy-rsa.spec +++ b/easy-rsa.spec @@ -1,7 +1,7 @@ # # spec file for package easy-rsa # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2015 Stefan Jakobs. # # All modifications and additions to the file contributed by third parties @@ -20,14 +20,14 @@ %define pname EasyRSA Name: easy-rsa -Version: 3.0.8 +Version: 3.0.9 Release: 0 Summary: CLI utility to build and manage a PKI CA License: GPL-2.0-or-later Group: Productivity/Networking/Security URL: https://github.com/OpenVPN/easy-rsa -Source: https://github.com/OpenVPN/%{name}/releases/download/v%{version}/%{pname}-%{version}.tgz -Source1: https://github.com/OpenVPN/%{name}/releases/download/v%{version}/%{pname}-%{version}.tgz.sig +Source: https://github.com/OpenVPN/%{name}/releases/download/v%{version}/%{pname}-v%{version}.tgz +Source1: https://github.com/OpenVPN/%{name}/releases/download/v%{version}/%{pname}-v%{version}.tgz.sig # https://github.com/OpenVPN/easy-rsa/tree/master/release-keys Source2: %{name}.keyring Patch100: suse-packaging.patch @@ -40,7 +40,7 @@ easy-rsa is a CLI utility to build and manage a Public Key Infrastructure certificates, including sub-CAs, and create Certificate Revokation Lists (CRL). %prep -%setup -q -n %{pname}-%{version} +%setup -q -n %{pname}-v%{version} %patch100 %build diff --git a/suse-packaging.patch b/suse-packaging.patch index e659660..4bfe82e 100644 --- a/suse-packaging.patch +++ b/suse-packaging.patch @@ -1,14 +1,11 @@ ---- easyrsa.orig 2020-11-20 15:05:31.051230522 +0100 -+++ easyrsa 2020-11-20 15:08:45.769207521 +0100 -@@ -1664,10 +1664,7 @@ - vars= - - # set up program path -- prog_file="$0" -- prog_file2="$(which -- "$prog_file" 2>/dev/null)" && prog_file="$prog_file2" -- prog_file2="$(readlink -f "$prog_file" 2>/dev/null)" && prog_file="$prog_file2" +--- easyrsa.orig 2022-06-15 21:04:39.858643843 +0200 ++++ easyrsa 2022-06-15 21:05:18.250698012 +0200 +@@ -2562,7 +2562,7 @@ + # Removed for basic sanity - To re-enable provide a REASON + #prog_file2="$(which -- "$prog_file" 2>/dev/null)" && prog_file="$prog_file2" + #prog_file2="$(readlink -f "$prog_file" 2>/dev/null)" && prog_file="$prog_file2" - prog_dir="${prog_file%/*}" + prog_dir="/etc/easy-rsa" + + # Program dir vars - This location is least wanted. prog_vars="${prog_dir}/vars" - # set up PKI path - pki_vars="${EASYRSA_PKI:-$PWD/pki}/vars"