forked from pool/permissions
Accepting request 548532 from Base:System
- fillup is required for post, not pre installation (forwarded request 548215 from kukuk) OBS-URL: https://build.opensuse.org/request/show/548532 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=113
This commit is contained in:
commit
1585b5a9db
@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/openSUSE/permissions.git</param>
|
||||
<param name="changesrevision">73fce42f13a75d8e1a572f366bcebd7a8a0ecbeb</param></service></servicedata>
|
||||
<param name="changesrevision">37fe496b66d03043da61fc1af7cd51f21d4e2000</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:99db272036de941c6aaeaca0a6aeaeaa9d4e47f01e97a56dd5fad98c9c99b627
|
||||
size 19888
|
3
permissions-20171129.tar.xz
Normal file
3
permissions-20171129.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2236dad31161c64e2977c11d47c4c90f64495582dc9749245eca3723a56f27b4
|
||||
size 20020
|
@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 4 18:45:53 UTC 2017 - kukuk@suse.com
|
||||
|
||||
- fillup is required for post, not pre installation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 30 08:24:44 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Cleanup spec file with spec-cleaner
|
||||
- Drop conditions/definitions related to old distros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 29 17:02:20 UTC 2017 - astieger@suse.com
|
||||
|
||||
- Update to version 20171129:
|
||||
* permissions: adding gvfs (bsc#1065864)
|
||||
* Allow setgid incingacmd on directory /run/icinga2/cmd bsc#1069410
|
||||
* Allow fping cap_net_raw (bsc#1047921)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 13:41:09 UTC 2017 - rbrown@suse.com
|
||||
|
||||
- Replace references to /var/adm/fillup-templates with new
|
||||
%_fillupdir macro (boo#1069468)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 21 14:03:29 UTC 2017 - krahmer@suse.com
|
||||
|
||||
- Update to version 20171121:
|
||||
* - permissions: adding kwayland (bsc#1062182)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 06 15:55:58 UTC 2017 - eeich@suse.com
|
||||
|
||||
|
@ -14,65 +14,51 @@
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
# icecream 0
|
||||
|
||||
|
||||
BuildRequires: libcap-devel
|
||||
|
||||
Name: permissions
|
||||
Version: 20171106
|
||||
Version: 20171129
|
||||
Release: 0
|
||||
Provides: aaa_base:/etc/permissions
|
||||
PreReq: %fillup_prereq
|
||||
Summary: SUSE Linux Default Permissions
|
||||
# Maintained in github by the security team.
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Security
|
||||
%if 0%{?suse_version} >= 1330
|
||||
Requires(pre): group(trusted)
|
||||
#!BuildIgnore: group(trusted)
|
||||
%endif
|
||||
Source: permissions-%{version}.tar.xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
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.
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Werner Fink
|
||||
Roman Drahtmüller
|
||||
Michael Schröder
|
||||
Ludwig Nussel
|
||||
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 $RPM_OPT_FLAGS" FSCAPS_DEFAULT_ENABLED=0
|
||||
make %{?_smp_mflags} CFLAGS="-W -Wall %{optflags}" FSCAPS_DEFAULT_ENABLED=0
|
||||
|
||||
%install
|
||||
make DESTDIR="$RPM_BUILD_ROOT" install
|
||||
%make_install fillupdir=%{_fillupdir}
|
||||
|
||||
%post
|
||||
%{fillup_only -n security}
|
||||
# apply all potentially changed permissions
|
||||
/usr/bin/chkstat --system
|
||||
%{_bindir}/chkstat --system
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%config /etc/permissions
|
||||
%config /etc/permissions.easy
|
||||
%config /etc/permissions.secure
|
||||
%config /etc/permissions.paranoid
|
||||
%config(noreplace) /etc/permissions.local
|
||||
%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*
|
||||
%{_mandir}/man8/chkstat.8*
|
||||
/var/adm/fillup-templates/sysconfig.security
|
||||
%{_mandir}/man5/permissions.5%{ext_man}
|
||||
%{_mandir}/man8/chkstat.8%{ext_man}
|
||||
%{_fillupdir}/sysconfig.security
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user