-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security/easy-rsa: fix EASYRSA override and locale
* remove our own wrapper, overriding the EASYRSA folder is no longer working since 3.1.0. * patch EasyRSA to unset LC_ALL and override LC_TIME, to avoid date command failures * bump PORTREVISION=2 see comment #7 ff. of PR: 264415
- Loading branch information
Showing
4 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Isolate date -j -f ... + ... from locale. | ||
Filed upstream as Issue #591 <https://github.com/OpenVPN/easy-rsa/issues/591> | ||
|
||
--- easyrsa.orig 2022-05-19 01:53:50 UTC | ||
+++ easyrsa | ||
@@ -3829,6 +3829,8 @@ VERSION_TEXT | ||
NL=' | ||
' | ||
|
||
+LC_TIME=C ; export LC_TIME ; unset LC_ALL | ||
+ | ||
# Be secure with a restrictive umask | ||
[ -z "$EASYRSA_NO_UMASK" ] && umask "${EASYRSA_UMASK:-077}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
bin/easyrsa | ||
bin/easy-rsa | ||
%%DATADIR%%/easyrsa.real | ||
@sample %%DATADIR%%/openssl-easyrsa.cnf.example %%DATADIR%%/openssl-easyrsa.cnf | ||
%%DATADIR%%/vars.example |