Author: locilka Date: Tue Sep 13 10:45:12 2011 New Revision: 65672 URL: http://svn.opensuse.org/viewcvs/yast?rev=65672&view=rev Log: - Fixed SuSEfirewall2 SCR agent to understand single-quoted and double-quoted, single and multi-line variables and also single-line variables without any quotes (bnc#716013). - 2.21.19 Modified: trunk/yast2/VERSION trunk/yast2/library/network/agents/sysconfig_SuSEfirewall2.scr trunk/yast2/package/yast2.changes Modified: trunk/yast2/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/VERSION?rev=65672&r1=65671&r2=65672&view=diff ============================================================================== --- trunk/yast2/VERSION (original) +++ trunk/yast2/VERSION Tue Sep 13 10:45:12 2011 @@ -1 +1 @@ -2.21.18 +2.21.19 Modified: trunk/yast2/library/network/agents/sysconfig_SuSEfirewall2.scr URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/network/agents/sysconfig_SuSEfirewall2.scr?rev=65672&r1=65671&r2=65672&view=diff ============================================================================== --- trunk/yast2/library/network/agents/sysconfig_SuSEfirewall2.scr (original) +++ trunk/yast2/library/network/agents/sysconfig_SuSEfirewall2.scr Tue Sep 13 10:45:12 2011 @@ -32,20 +32,19 @@ "options" : [ "line_can_continue", "global_values", "comments_last", "flat", ], "comments": [ "^[ \t]*#.*$", "#.*", "^[ \t]*$", ], "params" : [ + // single quotes $[ - // with quotes - "match" : [ "^[ \t]*([_a-zA-Z0-9]+)[ \t]*=[ \t]*\"(.*)\"[ \t]*$", "%s=\"%s\"" ], - // without quotes - "match" : [ "^[ \t]*([_a-zA-Z0-9]+)[ \t]*=[ \t]*([^\"]*)[ \t]*$", "%s=\"%s\"" ], + "match" : [ "^[ \t]*([a-zA-Z0-9_]+)=\"([^\"]*)\"", "%s=\"%s\"" ], + "multiline" : [ "^[ \t]*([^=]+)[ \t]*=[ \t]*\"([^\"]*)", "([^\"]*)\"" ], ], + // double (common) quotes $[ - "match" : [ "([a-zA-Z0-9_]+)[ \t]*=[ \t]*\"([^\"]*)\"", "%s=\"%s\"" ], - "multiline" : [ "([a-zA-Z0-9_]+)[ \t]*=[ \t]*\"([^\"]*)", "([^\"]*)\"", ], + "match" : [ "^[ \t]*([a-zA-Z0-9_]+)='([^']*)'", "%s='%s'" ], + "multiline" : [ "^[ \t]*([^=]+)[ \t]*=[ \t]*'([^']*)", "([^']*)'" ], ], - // also single quotes, bnc#327565 + // without any quotes $[ - "match" : [ "([a-zA-Z0-9_]+)[ \t]*=[ \t]*'([^']*)'", "%s=\"%s\"" ], - "multiline" : [ "([a-zA-Z0-9_]+)[ \t]*=[ \t]*'([^']*)", "([^\']*)'", ], + "match" : [ "^[ \t]*([a-zA-Z0-9_]+)=([^ \t\"']*)[ \t]*$", "%s=\"%s\"" ], ], ], ] Modified: trunk/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=65672&r1=65671&r2=65672&view=diff ============================================================================== --- trunk/yast2/package/yast2.changes (original) +++ trunk/yast2/package/yast2.changes Tue Sep 13 10:45:12 2011 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Tue Sep 13 10:39:42 CEST 2011 - locilka@suse.cz + +- Fixed SuSEfirewall2 SCR agent to understand single-quoted and + double-quoted, single and multi-line variables and also + single-line variables without any quotes (bnc#716013). +- 2.21.19 + +------------------------------------------------------------------- Fri Sep 9 15:56:48 CEST 2011 - locilka@suse.cz - Using ButtonBox in Wizard where possible (bnc#571939) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org