![](https://seccdn.libravatar.org/avatar/a36961f55c5967302ecb23457480797b.jpg?s=120&d=mm&r=g)
Author: locilka Date: Tue Sep 13 10:45:35 2011 New Revision: 65673 URL: http://svn.opensuse.org/viewcvs/yast?rev=65673&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.17.111 Modified: branches/SuSE-Code-11-SP2-Branch/yast2/VERSION branches/SuSE-Code-11-SP2-Branch/yast2/library/network/agents/sysconfig_SuSEfirewall2.scr branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes Modified: branches/SuSE-Code-11-SP2-Branch/yast2/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/VERSION?rev=65673&r1=65672&r2=65673&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/VERSION Tue Sep 13 10:45:35 2011 @@ -1 +1 @@ -2.17.110 +2.17.111 Modified: branches/SuSE-Code-11-SP2-Branch/yast2/library/network/agents/sysconfig_SuSEfirewall2.scr URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/library/network/agents/sysconfig_SuSEfirewall2.scr?rev=65673&r1=65672&r2=65673&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/library/network/agents/sysconfig_SuSEfirewall2.scr (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/library/network/agents/sysconfig_SuSEfirewall2.scr Tue Sep 13 10:45:35 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: branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes?rev=65673&r1=65672&r2=65673&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes Tue Sep 13 10:45:35 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.17.111 + +------------------------------------------------------------------- Thu Sep 1 11:33:18 UTC 2011 - lslezak@suse.cz - added String::FindMountPoint() function (moved from yast2-wagon -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org