Accepting request 895613 from home:jsikes:branches:devel:libraries:c_c++

Fix for bsc 1185524. Enjoy!

OBS-URL: https://build.opensuse.org/request/show/895613
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=86
This commit is contained in:
Dirk Mueller 2021-05-27 15:14:14 +00:00 committed by Git OBS Bridge
parent 3a03c4a940
commit d35725d0a5
3 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,23 @@
diff --git a/lenses/networkmanager.aug b/lenses/networkmanager.aug
index 81d1cb5..8649168 100644
--- a/lenses/networkmanager.aug
+++ b/lenses/networkmanager.aug
@@ -34,13 +34,17 @@ let eol = Util.eol
* ENTRY
* GLib entries can contain semicolons, entry names can contain spaces and
* brackets
+ *
+ * At least entry for WPA-PSK definition can contain all printable ASCII
+ * characters including '#', ' ' and others. Comments following the entry
+ * are no option for this reason.
*************************************************************************)
(* Variable: entry_re *)
let entry_re = /[A-Za-z][A-Za-z0-9:._\(\) \t-]+/
(* Lens: entry *)
let entry = [ key entry_re . sep
- . Quote.double_opt? . eol ]
+ . IniFile.sto_to_eol? . eol ]
| comment
(************************************************************************

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed May 26 23:58:36 UTC 2021 - Jason Sikes <jsikes@suse.com>
- Allow all printable ASCII characters in WPA-PSK definition
* augeas-allow_printable_ASCII.patch
* bsc#1185524
* Sourced from https://github.com/hercules-team/augeas/pull/723/commits
* Credit to Michal Filka <mfilka@suse.com>
-------------------------------------------------------------------
Tue Feb 9 15:17:04 UTC 2021 - Jason Sikes <jsikes@suse.com>

View File

@ -30,6 +30,7 @@ Source3: baselibs.conf
Patch0: augeas-modprobe-lense.patch
Patch1: gcc9-disable-broken-test.patch
Patch2: augeas-new_options_for_chrony.patch
Patch3: augeas-allow_printable_ASCII.patch
BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: pkgconfig(libxml-2.0)
@ -95,6 +96,7 @@ modifying the official lenses, or when creating new ones.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%configure \