From bf5cea0c9fbee83813f2b2c0841e5e1938b992fb6368566ab54f82d52e40a1c7 Mon Sep 17 00:00:00 2001 From: Olav Reinert Date: Tue, 17 Oct 2023 09:52:37 +0000 Subject: [PATCH] Accepting request 1118204 from home:polslinux:branches:network:vpn - Update to 3.1.7: * Completely Remove Upgrade Functionality * Expand help to include undocumented commands * Forbid "default vars in the default PKI" for all commands * show-expire: Calculate certificate expire seconds from Database date * Expand help to include undocumented commands * New command: make-vars - Print vars.example (here-doc) to stdout * gen-crl: preserve existing crl.pem ownership+mode by @Tabiskabis in #1020 * Improve vars auto load * Replace santize_path() and ignore Windows "security" warning * Improve select_vars() and source_vars() * sign-req: Allow the CSR DN-field order to be preserved * vars-file: Warn about EASYRSA_NO_VARS disabling vars-file use * Expand default status to include vars-file and CA status * verify_ssl_lib(): Minor style improvements * cleanup: Rename $easyrsa_error_exit to $easyrsa_exit_with_error OBS-URL: https://build.opensuse.org/request/show/1118204 OBS-URL: https://build.opensuse.org/package/show/network:vpn/easy-rsa?expand=0&rev=44 --- EasyRSA-3.1.5.tgz | 3 --- EasyRSA-3.1.5.tgz.sig | Bin 310 -> 0 bytes EasyRSA-3.1.7.tgz | 3 +++ EasyRSA-3.1.7.tgz.sig | Bin 0 -> 310 bytes easy-rsa.changes | 20 ++++++++++++++++++++ easy-rsa.spec | 5 ++--- suse-packaging.patch | 32 ++++++++++++++++++++++---------- 7 files changed, 47 insertions(+), 16 deletions(-) delete mode 100644 EasyRSA-3.1.5.tgz delete mode 100644 EasyRSA-3.1.5.tgz.sig create mode 100644 EasyRSA-3.1.7.tgz create mode 100644 EasyRSA-3.1.7.tgz.sig diff --git a/EasyRSA-3.1.5.tgz b/EasyRSA-3.1.5.tgz deleted file mode 100644 index 50d2476..0000000 --- a/EasyRSA-3.1.5.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9fc6081d4927e68e9baef350e6b3010c7fb4f4a5c3e645ddac901081eb6adbb2 -size 75808 diff --git a/EasyRSA-3.1.5.tgz.sig b/EasyRSA-3.1.5.tgz.sig deleted file mode 100644 index bd1d8a79872bf2f97bd94c5e7b749e2fa03091818bebc3925ecb4addf4c3d7dd..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j-4{G;dhhX*X)xg9TZmO>dh4Gj(j0%U}NcK`|r5OS76 z895CN4*3=c0GbfKba4gG1**2murndv!F^ZYNOFbwDt=K1N$}cn!vh$a?A{F#Hh^(npWIqyaQDHaz!h41ZlYtlH8;#Z_sXJb?a;!QVQNI zqSO%=VeoL)qk47Ckl}vmxR)y-BSBis>e{UXhSw;MgKi~UcwtZ=1I9r+Y}tmpTjbsv zrjgQ^-x_W68@|#?7;$E)?7RLq5q^xy4Pq_4&ZZQh&lQgHuwceqxQWCo7m61)Nh6pB zbw||bHNUCzfz-u+GltMX+O73m#go6IUPgEq-JMWlcce)r$nBJykdU76TV3mC&e!yE IMXyh370Bq1dh4Gj(j0%a-0Y5)oe5OS76 z895CN4wBdi0JW(n9x>odOG2lOdR?T-FlHbUqSQlFo-aHvMqu`WB-|!+o+Ft2VHTf% z4Q(TOk9IULokW{Rn{m;6_K6p=(D7TE;9gmKWzc}AZ*$ZiNFyaBe)q`De?RNQN5nMD zCDs_naQ1^QYA{4?Y4mW_8Gb + +- Update to 3.1.7: + * Completely Remove Upgrade Functionality + * Expand help to include undocumented commands + * Forbid "default vars in the default PKI" for all commands + * show-expire: Calculate certificate expire seconds from Database date + * Expand help to include undocumented commands + * New command: make-vars - Print vars.example (here-doc) to stdout + * gen-crl: preserve existing crl.pem ownership+mode by @Tabiskabis in #1020 + * Improve vars auto load + * Replace santize_path() and ignore Windows "security" warning + * Improve select_vars() and source_vars() + * sign-req: Allow the CSR DN-field order to be preserved + * vars-file: Warn about EASYRSA_NO_VARS disabling vars-file use + * Expand default status to include vars-file and CA status + * verify_ssl_lib(): Minor style improvements + * cleanup: Rename $easyrsa_error_exit to $easyrsa_exit_with_error + ------------------------------------------------------------------- Sun Aug 6 18:54:29 UTC 2023 - Matthias Eliasson diff --git a/easy-rsa.spec b/easy-rsa.spec index 80303eb..f93cb7f 100644 --- a/easy-rsa.spec +++ b/easy-rsa.spec @@ -19,7 +19,7 @@ %define pname EasyRSA Name: easy-rsa -Version: 3.1.5 +Version: 3.1.7 Release: 0 Summary: CLI utility to build and manage a PKI CA License: GPL-2.0-or-later @@ -38,8 +38,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} -%patch100 +%autosetup -p1 -n %{pname}-%{version} %build diff --git a/suse-packaging.patch b/suse-packaging.patch index f5d485d..48e9551 100644 --- a/suse-packaging.patch +++ b/suse-packaging.patch @@ -1,11 +1,23 @@ ---- easyrsa.orig 2023-08-06 20:50:08.140959981 +0200 -+++ easyrsa 2023-08-06 20:50:30.430836235 +0200 -@@ -5393,7 +5393,7 @@ +--- EasyRSA-3.1.7/easyrsa.orig 2023-10-17 08:27:37.665021587 +0200 ++++ EasyRSA-3.1.7/easyrsa 2023-10-17 08:34:59.943976542 +0200 +@@ -1440,10 +1440,7 @@ + # "$EASYRSA" - Old default and Windows + # "$PWD" - Usually the same as above, avoid + # "${0%/*}" - Usually the same as above, avoid +- # '/usr/local/share/easy-rsa' - Default user installed +- # '/usr/share/easy-rsa' - Default system installed +- # Room for more.. +- # '/etc/easy-rsa' - Last resort ++ # '/etc/easy-rsa' - # set up program path - prog_file="$0" -- prog_dir="${prog_file%/*}" -+ prog_dir="/etc/easy-rsa" - if [ "$prog_dir" = . ] || [ "$prog_dir" = "$PWD" ] - then - prog_in_pwd=1 + # Find and optionally copy data-files, in specific order + for area in \ +@@ -1451,8 +1448,6 @@ + "$EASYRSA" \ + "$PWD" \ + "${0%/*}" \ +- '/usr/local/share/easy-rsa' \ +- '/usr/share/easy-rsa' \ + '/etc/easy-rsa' \ + # EOL + do