forked from pool/permissions
Marcus Meissner
f25290dd69
- Update to version 20190212: * removed old entry for wodim * removed old entry for netatalk * removed old entry for suidperl * removed old entriy for utempter * removed old entriy for hostname * removed old directory entries * removed old entry for qemu-bridge-helper * removed old entries for pccardctl * removed old entries for isdnctrl * removed old entries for unix(2)_chkpwd * removed old entries for mount.nfs * removed old entries for (u)mount * removed old entry for fileshareset * removed old entries for KDE * removed old entry for heartbeat * removed old entry for gnome-control-center * removed old entry for pcp * removed old entry for lpdfilter * removed old entry for scotty * removed old entry for ia32el * removed old entry for squid * removed old qpopper whitelist * removed pt_chown entries. Not needed anymore and a bad idea anyway * removed old majordomo entry * removed stale entries for old ncpfs tools * removed old entry for rmtab * Fixed typo in icinga2 whitelist entry * New whitelisting for /usr/lib/virtualbox/VirtualBoxVM and removed stale entries for VirtualBox OBS-URL: https://build.opensuse.org/request/show/674173 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=213
84 lines
2.6 KiB
RPMSpec
84 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package permissions
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: permissions
|
|
Version: 20190212
|
|
Release: 0
|
|
Summary: SUSE Linux Default Permissions
|
|
# Maintained in github by the security team.
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Security
|
|
Url: http://github.com/openSUSE/permissions
|
|
Source: permissions-%{version}.tar.xz
|
|
BuildRequires: libcap-devel
|
|
#!BuildIgnore: group(trusted)
|
|
Requires(post): %fillup_prereq
|
|
Requires(pre): group(trusted)
|
|
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
|
|
|
|
%build
|
|
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
|
|
|
|
%files
|
|
%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
|
|
|
|
%package -n permissions-zypp-plugin
|
|
BuildArch: noarch
|
|
Requires: permissions = %version
|
|
Requires: python3-zypp-plugin
|
|
Requires: libzypp(plugin:commit) = 1
|
|
Summary: A zypper commit plugin for calling chkstat
|
|
Group: Productivity/Security
|
|
|
|
%description -n permissions-zypp-plugin
|
|
This package contains a plugin for zypper that calls `chkstat --system` after
|
|
new packages have been installed. This is helpful for maintaining custom
|
|
entries in /etc/permissions.local.
|
|
|
|
%files -n permissions-zypp-plugin
|
|
%dir /usr/lib/zypp
|
|
%dir /usr/lib/zypp/plugins
|
|
%dir /usr/lib/zypp/plugins/commit
|
|
/usr/lib/zypp/plugins/commit/permissions.py
|
|
|
|
%changelog
|