Hello community, here is the log from the commit of package yast2-vpn for openSUSE:Factory checked in at 2015-09-08 17:45:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-vpn (Old) and /work/SRC/openSUSE:Factory/.yast2-vpn.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-vpn" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-vpn/yast2-vpn.changes 2015-08-01 11:38:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-vpn.new/yast2-vpn.changes 2015-09-08 18:06:41.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Sep 7 12:45:26 UTC 2015 - h...@suse.com + +- Display a warning if ipsec.conf or ipsec.secrets appear to have + been manually manipulated. + +------------------------------------------------------------------- Old: ---- yast2-vpn-3.1.0.tar.bz2 New: ---- yast2-vpn-3.1.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-vpn.spec ++++++ --- /var/tmp/diff_new_pack.9I1TRi/_old 2015-09-08 18:06:42.000000000 +0200 +++ /var/tmp/diff_new_pack.9I1TRi/_new 2015-09-08 18:06:42.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-vpn -Version: 3.1.0 +Version: 3.1.1 Release: 0 Url: https://github.com/yast/yast-vpn Source0: %{name}-%{version}.tar.bz2 ++++++ yast2-vpn-3.1.0.tar.bz2 -> yast2-vpn-3.1.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-vpn-3.1.0/package/yast2-vpn.changes new/yast2-vpn-3.1.1/package/yast2-vpn.changes --- old/yast2-vpn-3.1.0/package/yast2-vpn.changes 2015-07-29 11:15:37.000000000 +0200 +++ new/yast2-vpn-3.1.1/package/yast2-vpn.changes 2015-09-07 14:46:01.000000000 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Sep 7 12:45:26 UTC 2015 - h...@suse.com + +- Display a warning if ipsec.conf or ipsec.secrets appear to have + been manually manipulated. + +------------------------------------------------------------------- Fri Jul 17 11:49:05 UTC 2015 - h...@suse.com - New package. Initial version, initial release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-vpn-3.1.0/package/yast2-vpn.spec new/yast2-vpn-3.1.1/package/yast2-vpn.spec --- old/yast2-vpn-3.1.0/package/yast2-vpn.spec 2015-07-29 11:15:48.000000000 +0200 +++ new/yast2-vpn-3.1.1/package/yast2-vpn.spec 2015-09-07 14:45:14.000000000 +0200 @@ -16,7 +16,7 @@ # Name: yast2-vpn -Version: 3.1.0 +Version: 3.1.1 Release: 0 License: GPL-2.0 URL: https://github.com/yast/yast-vpn diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-vpn-3.1.0/src/lib/vpn/ipsec.rb new/yast2-vpn-3.1.1/src/lib/vpn/ipsec.rb --- old/yast2-vpn-3.1.0/src/lib/vpn/ipsec.rb 2015-07-29 10:46:41.000000000 +0200 +++ new/yast2-vpn-3.1.1/src/lib/vpn/ipsec.rb 2015-09-07 14:42:44.000000000 +0200 @@ -223,15 +223,22 @@ # Load parameters from connections of known scenarios conns = Yast::IPSecConf.GetIPSecConnections conns ||= {} + has_unsupported_scenario = false conns.each { | name, conf| scenario = determine_scenario(conf) if scenario == nil + has_unsupported_scenario = true log.info "The connection is not supported: " + name else conn_conf = {"name" => name, "scenario" => scenario} @all_conns[name] = conn_conf.merge(get_scenario_specific_params(scenario, conf)) end } + if has_unsupported_scenario || !Yast::IPSecConf.GetUnsupportedConfiguration.empty? || + !Yast::IPSecConf.GetUnsupportedSecrets.empty? + Yast::Popup.LongWarning(_("ipsec.conf and ipsec.secrets have been manipulated outside of this module.\n" + + "Continue using the module will remove your customisation.")) + end log.info "Loaded IPSec connections: #{@all_conns}" # By default, look at the first connection @curr_conn_name = @all_conns.keys.first unless @all_conns[@curr_conn_name] @@ -555,4 +562,4 @@ end end IPSec = IPSecClass.new -end \ No newline at end of file +end