2012-01-31 14:56:40 +00:00
|
|
|
#
|
|
|
|
# spec file for package yast2-security
|
|
|
|
#
|
2022-01-05 06:45:55 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2012-01-31 14:56:40 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-10-28 12:23:08 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-01-31 14:56:40 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: yast2-security
|
2022-01-10 09:48:55 +00:00
|
|
|
Version: 4.4.5
|
2012-01-31 14:56:40 +00:00
|
|
|
Release: 0
|
2019-06-04 15:40:53 +00:00
|
|
|
Summary: YaST2 - Security Configuration
|
|
|
|
License: GPL-2.0-only
|
|
|
|
Group: System/YaST
|
2020-10-28 12:23:08 +00:00
|
|
|
URL: https://github.com/yast/yast-security
|
2012-01-31 14:56:40 +00:00
|
|
|
|
2013-10-08 13:14:57 +00:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2012-01-31 14:56:40 +00:00
|
|
|
|
2012-03-26 08:38:57 +00:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: perl-XML-Writer
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: update-desktop-files
|
2020-07-29 09:07:15 +00:00
|
|
|
# Pam.List
|
2019-06-04 15:40:53 +00:00
|
|
|
BuildRequires: yast2-devtools >= 4.2.2
|
2020-07-29 09:07:15 +00:00
|
|
|
BuildRequires: yast2-pam >= 4.3.1
|
2021-02-18 15:01:06 +00:00
|
|
|
# Y2Security::Selinux requires Yast::Bootloader
|
|
|
|
BuildRequires: yast2-bootloader
|
2019-08-22 15:01:48 +00:00
|
|
|
BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec)
|
|
|
|
BuildRequires: rubygem(%{rb_default_ruby_abi}:yast-rake) >= 0.2.5
|
2020-02-21 09:23:20 +00:00
|
|
|
# CFA::SysctlConfig
|
|
|
|
BuildRequires: yast2 >= 4.2.66
|
2021-02-18 15:01:06 +00:00
|
|
|
# CFA::Selinux
|
|
|
|
BuildRequires: augeas-lenses
|
2021-02-23 23:14:27 +00:00
|
|
|
# Y2Storage::StorageManager
|
|
|
|
BuildRequires: yast2-storage-ng
|
2019-06-04 15:40:53 +00:00
|
|
|
# Unfortunately we cannot move this to macros.yast,
|
|
|
|
# bcond within macros are ignored by osc/OBS.
|
|
|
|
%bcond_with yast_run_ci_tests
|
|
|
|
%if %{with yast_run_ci_tests}
|
2019-08-22 15:01:48 +00:00
|
|
|
BuildRequires: rubygem(%{rb_default_ruby_abi}:yast-rake-ci)
|
2019-06-04 15:40:53 +00:00
|
|
|
%endif
|
2012-01-31 14:56:40 +00:00
|
|
|
|
|
|
|
# new Pam.ycp API
|
|
|
|
Requires: yast2-pam >= 2.14.0
|
2020-02-21 09:23:20 +00:00
|
|
|
# CFA::SysctlConfig
|
|
|
|
Requires: yast2 >= 4.2.66
|
2019-06-04 15:40:53 +00:00
|
|
|
Requires: yast2-ruby-bindings >= 1.0.0
|
2020-07-29 09:07:15 +00:00
|
|
|
# Pam.List
|
|
|
|
Requires: yast2-pam >= 4.3.1
|
2021-02-18 15:01:06 +00:00
|
|
|
# Y2Security::Selinux requires Yast::Bootloader
|
|
|
|
Requires: yast2-bootloader
|
|
|
|
# CFA::Selinux
|
|
|
|
Requires: augeas-lenses
|
2021-02-23 23:14:27 +00:00
|
|
|
# Y2Storage::StorageManager
|
|
|
|
Requires: yast2-storage-ng
|
2012-01-31 14:56:40 +00:00
|
|
|
|
2012-03-26 08:38:57 +00:00
|
|
|
Provides: y2c_sec
|
|
|
|
Provides: y2t_sec
|
2019-06-04 15:40:53 +00:00
|
|
|
Provides: yast2-config-security
|
2012-03-26 08:38:57 +00:00
|
|
|
Provides: yast2-trans-security
|
2019-06-04 15:40:53 +00:00
|
|
|
|
|
|
|
Obsoletes: y2c_sec
|
2012-03-26 08:38:57 +00:00
|
|
|
Obsoletes: y2t_sec
|
2019-06-04 15:40:53 +00:00
|
|
|
Obsoletes: yast2-config-security
|
2012-03-26 08:38:57 +00:00
|
|
|
Obsoletes: yast2-trans-security
|
2012-01-31 14:56:40 +00:00
|
|
|
|
2020-08-12 10:22:42 +00:00
|
|
|
Supplements: autoyast(security)
|
|
|
|
|
2012-01-31 14:56:40 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
The YaST2 component for security settings configuration.
|
|
|
|
|
|
|
|
%prep
|
2019-06-04 15:40:53 +00:00
|
|
|
%setup -q
|
2012-01-31 14:56:40 +00:00
|
|
|
|
|
|
|
%build
|
2016-03-14 17:55:58 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
%yast_check
|
2012-01-31 14:56:40 +00:00
|
|
|
|
|
|
|
%install
|
2013-10-08 13:14:57 +00:00
|
|
|
%yast_install
|
2019-06-04 15:40:53 +00:00
|
|
|
%yast_metainfo
|
2012-01-31 14:56:40 +00:00
|
|
|
|
2013-03-12 12:17:00 +00:00
|
|
|
%post
|
|
|
|
# remove broken entry in /etc/login.defs, introduced during installation (bnc#807099)
|
|
|
|
if [ -f /etc/login.defs ] ; then
|
|
|
|
sed -e '/^[ \t]*LASTLOG_ENAB[ \t]*\"\"/d' -i /etc/login.defs
|
|
|
|
fi
|
|
|
|
|
2012-01-31 14:56:40 +00:00
|
|
|
%files
|
2019-06-04 15:40:53 +00:00
|
|
|
%{yast_yncludedir}
|
|
|
|
%{yast_desktopdir}
|
|
|
|
%{yast_metainfodir}
|
|
|
|
%{yast_clientdir}
|
|
|
|
%{yast_moduledir}
|
|
|
|
%{yast_scrconfdir}
|
|
|
|
%{yast_schemadir}
|
|
|
|
%{yast_ydatadir}
|
|
|
|
%{yast_libdir}
|
2018-11-28 16:07:18 +00:00
|
|
|
%{yast_icondir}
|
2013-10-08 13:14:57 +00:00
|
|
|
%doc %{yast_docdir}
|
2018-10-16 16:18:14 +00:00
|
|
|
%license COPYING
|
2012-01-31 14:56:40 +00:00
|
|
|
|
|
|
|
%changelog
|