From 7de765b2fbd2f9eb2be117a3c4172535d06373e02c7b58e8f40c822a3985056c Mon Sep 17 00:00:00 2001 From: Olav Reinert Date: Sun, 13 Aug 2023 10:09:05 +0000 Subject: [PATCH] Accepting request 1102594 from home:elimat:branches:network:vpn - Update to 3.1.5: * Build Update: script now supports signing and verifying * Automate support-file creation (Free packaging) (#964) * build-ca: New command option 'raw-ca', abbrevation: 'raw' (#963) This 'raw' method, is the most reliable way to build a CA, with a password, without writing the CA password to a temp-file. This option completely replaces both methods below: build-ca: New option --ca-via-stdin, use SSL -pass* argument 'stdin' (#959) Option '--ca-via-stdin' offers no more security than standard method. Easy-RSA version 3.1.4 ONLY. build-ca: Replace password temp-files with file-descriptors (#955) Using file-descriptors does not work in Windows. Easy-RSA version 3.1.3 ONLY. - update and rebase suse-packaging.patch OBS-URL: https://build.opensuse.org/request/show/1102594 OBS-URL: https://build.opensuse.org/package/show/network:vpn/easy-rsa?expand=0&rev=42 --- EasyRSA-3.1.2.tgz | 3 --- EasyRSA-3.1.2.tgz.sig | Bin 310 -> 0 bytes EasyRSA-3.1.5.tgz | 3 +++ EasyRSA-3.1.5.tgz.sig | Bin 0 -> 310 bytes easy-rsa.changes | 21 +++++++++++++++++++++ easy-rsa.spec | 2 +- suse-packaging.patch | 24 +++++++++++------------- 7 files changed, 36 insertions(+), 17 deletions(-) delete mode 100644 EasyRSA-3.1.2.tgz delete mode 100644 EasyRSA-3.1.2.tgz.sig create mode 100644 EasyRSA-3.1.5.tgz create mode 100644 EasyRSA-3.1.5.tgz.sig diff --git a/EasyRSA-3.1.2.tgz b/EasyRSA-3.1.2.tgz deleted file mode 100644 index e4b2ba7..0000000 --- a/EasyRSA-3.1.2.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d63cf129490ffd6d8792ede7344806c506c82c32428b5bb609ad97ca6a6e4499 -size 68984 diff --git a/EasyRSA-3.1.2.tgz.sig b/EasyRSA-3.1.2.tgz.sig deleted file mode 100644 index 7d19621dcd10e097210707629f357bed8b97966e682da069684df54d15007bed..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j-4{G;dhhX*X)xg9TZmO>dh4Gj(j0%O6_xc~|Y5OS76 z895CN4p&nL|6rOF102mOPzh-k;fD5nft>Eo%wemcb8(A>%bEPQ?*5RcoGSdvkmSPG zG!13?4v%AiZ0(3ZO`y;_C=(_85@#~l5k>T*qx6cKRoLKa{OO=R=Awg8shiBr-jCHzLOP>?6^{k`FfrC$TFP)(#dAJsP4RdKJk*JWXbDNIiFo z4Rv*mghlFbs}tw*AU0C{ZjLPfL)Oq34rtz%$)x3|y1)|utz`e7ON~p}#IA4NWC|$| zEOCa5r2;gYbimzH#2CW-lxIN6?yc!XmU7pKOHH1cHC^i1%;FRUuPhAM55-aOyv}nX Iau-Yw;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 IMXyh370Bq1 + +- Update to 3.1.5: + * Build Update: script now supports signing and verifying + * Automate support-file creation (Free packaging) (#964) + * build-ca: New command option 'raw-ca', abbrevation: 'raw' (#963) + This 'raw' method, is the most reliable way to build a CA, + with a password, without writing the CA password to a temp-file. + + This option completely replaces both methods below: + + build-ca: New option --ca-via-stdin, use SSL -pass* argument 'stdin' (#959) + Option '--ca-via-stdin' offers no more security than standard method. + Easy-RSA version 3.1.4 ONLY. + + build-ca: Replace password temp-files with file-descriptors (#955) + Using file-descriptors does not work in Windows. + Easy-RSA version 3.1.3 ONLY. +- update and rebase suse-packaging.patch + ------------------------------------------------------------------- Tue Jan 17 11:06:55 UTC 2023 - Paolo Stivanin diff --git a/easy-rsa.spec b/easy-rsa.spec index fdb0484..80303eb 100644 --- a/easy-rsa.spec +++ b/easy-rsa.spec @@ -19,7 +19,7 @@ %define pname EasyRSA Name: easy-rsa -Version: 3.1.2 +Version: 3.1.5 Release: 0 Summary: CLI utility to build and manage a PKI CA License: GPL-2.0-or-later diff --git a/suse-packaging.patch b/suse-packaging.patch index 5a2cd10..f5d485d 100644 --- a/suse-packaging.patch +++ b/suse-packaging.patch @@ -1,13 +1,11 @@ -Index: easyrsa -=================================================================== ---- easyrsa.orig -+++ easyrsa -@@ -4012,7 +4012,7 @@ vars_setup() { - # 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" - if [ "$prog_dir" = . ] || [ "$prog_dir" = "$PWD" ]; then - prog_in_pwd=1 - else +--- easyrsa.orig 2023-08-06 20:50:08.140959981 +0200 ++++ easyrsa 2023-08-06 20:50:30.430836235 +0200 +@@ -5393,7 +5393,7 @@ + + # 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