Hello community, here is the log from the commit of package yast2-security for openSUSE:Factory checked in at 2018-11-10 16:48:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-security (Old) and /work/SRC/openSUSE:Factory/.yast2-security.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-security" Sat Nov 10 16:48:03 2018 rev:80 rq:646091 version:4.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-security/yast2-security.changes 2018-09-04 22:51:05.419957427 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-security.new/yast2-security.changes 2018-11-10 16:48:10.388584803 +0100 @@ -1,0 +2,13 @@ +Fri Nov 2 13:19:01 UTC 2018 - schubi@suse.de + +- Writing security settings in first AY installation stage. + So other modules (e.g. users) can rely on these settings now. + (bnc#1112769) +- 4.1.1 + +------------------------------------------------------------------- +Tue Oct 16 16:18:09 CEST 2018 - schubi@suse.de + +- Added license file to spec. + +------------------------------------------------------------------- Old: ---- yast2-security-4.1.0.tar.bz2 New: ---- yast2-security-4.1.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-security.spec ++++++ --- /var/tmp/diff_new_pack.Ow1v9Y/_old 2018-11-10 16:48:11.828582976 +0100 +++ /var/tmp/diff_new_pack.Ow1v9Y/_new 2018-11-10 16:48:11.840582961 +0100 @@ -17,7 +17,7 @@ Name: yast2-security -Version: 4.1.0 +Version: 4.1.1 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -96,5 +96,6 @@ %{yast_ydatadir}/security %{yast_libdir}/security %doc %{yast_docdir} +%license COPYING %changelog ++++++ yast2-security-4.1.0.tar.bz2 -> yast2-security-4.1.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-4.1.0/package/yast2-security.changes new/yast2-security-4.1.1/package/yast2-security.changes --- old/yast2-security-4.1.0/package/yast2-security.changes 2018-08-23 18:03:32.000000000 +0200 +++ new/yast2-security-4.1.1/package/yast2-security.changes 2018-11-02 16:22:28.000000000 +0100 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Fri Nov 2 13:19:01 UTC 2018 - schubi@suse.de + +- Writing security settings in first AY installation stage. + So other modules (e.g. users) can rely on these settings now. + (bnc#1112769) +- 4.1.1 + +------------------------------------------------------------------- +Tue Oct 16 16:18:09 CEST 2018 - schubi@suse.de + +- Added license file to spec. + +------------------------------------------------------------------- Thu Aug 23 10:25:21 UTC 2018 - dgonzalez@suse.com - Upate calls to YaST2 systemd classes (related to fate#319428) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-4.1.0/package/yast2-security.spec new/yast2-security-4.1.1/package/yast2-security.spec --- old/yast2-security-4.1.0/package/yast2-security.spec 2018-08-23 18:03:32.000000000 +0200 +++ new/yast2-security-4.1.1/package/yast2-security.spec 2018-11-02 16:22:28.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-security -Version: 4.1.0 +Version: 4.1.1 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -89,3 +89,4 @@ %{yast_ydatadir}/security %{yast_libdir}/security %doc %{yast_docdir} +%license COPYING diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-4.1.0/src/clients/security_finish.rb new/yast2-security-4.1.1/src/clients/security_finish.rb --- old/yast2-security-4.1.0/src/clients/security_finish.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-security-4.1.1/src/clients/security_finish.rb 2018-11-02 16:22:28.000000000 +0100 @@ -0,0 +1,9 @@ +# encoding: utf-8 + +# File: clients/security_finish.rb +# Package: Security configuration +# Summary: Configuration of /etc/login.defs /etc/sysctl.conf +# users and boot settings + +require "security/clients/security_finish" +Yast::SecurityFinishClient.new.run diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-4.1.0/src/lib/security/clients/security_finish.rb new/yast2-security-4.1.1/src/lib/security/clients/security_finish.rb --- old/yast2-security-4.1.0/src/lib/security/clients/security_finish.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-security-4.1.1/src/lib/security/clients/security_finish.rb 2018-11-02 16:22:28.000000000 +0100 @@ -0,0 +1,48 @@ +# encoding: utf-8 + +# ------------------------------------------------------------------------------ +# Copyright (c) 2018 SUSE LLC +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of version 2 of the GNU General Public License as published by the +# Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# ------------------------------------------------------------------------------ + +require "installation/finish_client" + +module Yast + class SecurityFinishClient < ::Installation::FinishClient + include Logger + + def initialize + textdomain "security" + + Yast.import "Security" + end + + # Write security settings + # + def write + Security.Write + end + + protected + + # @see Implements ::Installation::FinishClient#modes + def modes + # Security module has no proposal or configuration while a + # normal installation. So only AutoYaST installation is for interest. + [:autoinst] + end + + # @see Implements ::Installation::FinishClient#title + def title + _("Writing Security Configuration...") + end + end +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-4.1.0/test/security_finish_test.rb new/yast2-security-4.1.1/test/security_finish_test.rb --- old/yast2-security-4.1.0/test/security_finish_test.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-security-4.1.1/test/security_finish_test.rb 2018-11-02 16:22:28.000000000 +0100 @@ -0,0 +1,15 @@ +#! /usr/bin/env rspec + +require_relative "./test_helper" +require "security/clients/security_finish" +Yast.import "Security" + +describe ::Yast::SecurityFinishClient do + describe "#write" do + it "writes security settings" do + expect(::Yast::Security).to receive(:Write) + + subject.write + end + end +end