forked from pool/permissions
Accepting request 693721 from home:jsegitz:branches:Base:System
- Created new subpackages -config, -doc and standalone package chkstat where we can start a better versioning scheme and require it from the original package OBS-URL: https://build.opensuse.org/request/show/693721 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=215
This commit is contained in:
parent
f25290dd69
commit
e7563d435d
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 11 11:18:36 UTC 2019 - jsegitz@suse.com
|
||||
|
||||
- Created new subpackages -config, -doc and standalone package chkstat
|
||||
where we can start a better versioning scheme and require it from the
|
||||
original package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 12 14:29:45 UTC 2019 - jsegitz@suse.com
|
||||
|
||||
|
@ -16,8 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%define VERSION 20190212
|
||||
|
||||
Name: permissions
|
||||
Version: 20190212
|
||||
Version: %{VERSION}
|
||||
Release: 0
|
||||
Summary: SUSE Linux Default Permissions
|
||||
# Maintained in github by the security team.
|
||||
@ -29,13 +31,11 @@ BuildRequires: libcap-devel
|
||||
#!BuildIgnore: group(trusted)
|
||||
Requires(post): %fillup_prereq
|
||||
Requires(pre): group(trusted)
|
||||
Requires: chkstat
|
||||
Requires: permissions-config
|
||||
Requires: permissions-doc
|
||||
Provides: aaa_base:%{_sysconfdir}/permissions
|
||||
|
||||
%description
|
||||
Permission settings of files and directories depending on the local
|
||||
security settings. The local security setting (easy, secure, or paranoid)
|
||||
can be configured in /etc/sysconfig/security.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
@ -45,22 +45,62 @@ make %{?_smp_mflags} CFLAGS="-W -Wall %{optflags}" FSCAPS_DEFAULT_ENABLED=0
|
||||
%install
|
||||
%make_install fillupdir=%{_fillupdir}
|
||||
|
||||
%post
|
||||
%{fillup_only -n security}
|
||||
# apply all potentially changed permissions
|
||||
%{_bindir}/chkstat --system
|
||||
%description
|
||||
Permission settings of files and directories depending on the local
|
||||
security settings. The local security setting (easy, secure, or paranoid)
|
||||
can be configured in /etc/sysconfig/security.
|
||||
|
||||
This package doesn't contain files, it just requires the necessary packages.
|
||||
|
||||
%files
|
||||
|
||||
%package doc
|
||||
Summary: SUSE Linux Default Permissions documentation
|
||||
Group: Productivity/Security
|
||||
Version: %{suse_version}_%{VERSION}
|
||||
Release: 0
|
||||
|
||||
%description doc
|
||||
Documentation for the permission files /etc/permissions*
|
||||
|
||||
%files doc
|
||||
%{_mandir}/man5/permissions.5%{ext_man}
|
||||
|
||||
%package config
|
||||
Summary: SUSE Linux Default Permissions config files
|
||||
Group: Productivity/Security
|
||||
Version: %{suse_version}_%{VERSION}
|
||||
Release: 0
|
||||
|
||||
%description config
|
||||
The acutal permissions configuration files /etc/permission.*
|
||||
|
||||
%files config
|
||||
%config %{_sysconfdir}/permissions
|
||||
%config %{_sysconfdir}/permissions.easy
|
||||
%config %{_sysconfdir}/permissions.secure
|
||||
%config %{_sysconfdir}/permissions.paranoid
|
||||
%config(noreplace) %{_sysconfdir}/permissions.local
|
||||
%{_bindir}/chkstat
|
||||
%{_mandir}/man5/permissions.5%{ext_man}
|
||||
%{_mandir}/man8/chkstat.8%{ext_man}
|
||||
%{_fillupdir}/sysconfig.security
|
||||
|
||||
%post config
|
||||
%{fillup_only -n security}
|
||||
# apply all potentially changed permissions
|
||||
%{_bindir}/chkstat --system
|
||||
|
||||
%package -n chkstat
|
||||
Summary: SUSE Linux Default Permissions tool
|
||||
Group: Productivity/Security
|
||||
Version: %{suse_version}_%{VERSION}
|
||||
Release: 0
|
||||
|
||||
%description -n chkstat
|
||||
Tool to check and set file permissions
|
||||
|
||||
%files -n chkstat
|
||||
%{_bindir}/chkstat
|
||||
%{_mandir}/man8/chkstat.8%{ext_man}
|
||||
|
||||
%package -n permissions-zypp-plugin
|
||||
BuildArch: noarch
|
||||
Requires: permissions = %version
|
||||
|
Loading…
Reference in New Issue
Block a user