2006-12-19 00:17:28 +01:00
|
|
|
#
|
2011-02-11 01:28:32 +01:00
|
|
|
# spec file for package permissions
|
2006-12-19 00:17:28 +01:00
|
|
|
#
|
2014-03-24 12:46:57 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:17:28 +01:00
|
|
|
#
|
2008-09-13 06:56:01 +02: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.
|
|
|
|
|
2006-12-19 00:17:28 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2009-08-26 17:26:35 +02:00
|
|
|
# icecream 0
|
2006-12-19 00:17:28 +01:00
|
|
|
|
2012-07-06 16:11:34 +02:00
|
|
|
|
2010-11-10 11:14:46 +01:00
|
|
|
BuildRequires: libcap-devel
|
2008-03-12 15:23:31 +01:00
|
|
|
|
2006-12-19 00:17:28 +01:00
|
|
|
Name: permissions
|
2014-07-23 17:21:41 +02:00
|
|
|
Version: 2014.07.23.1321
|
2012-07-06 16:11:34 +02:00
|
|
|
Release: 0
|
2006-12-19 00:17:28 +01:00
|
|
|
Provides: aaa_base:/etc/permissions
|
2010-11-18 12:01:47 +01:00
|
|
|
PreReq: %fillup_prereq
|
2006-12-19 00:17:28 +01:00
|
|
|
Summary: SUSE Linux Default Permissions
|
2012-07-06 16:11:34 +02:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Security
|
2013-10-28 13:14:20 +01:00
|
|
|
# Maintained in github by the security team.
|
2009-08-26 17:26:35 +02:00
|
|
|
Source: permissions-%{version}.tar.bz2
|
2006-12-19 00:17:28 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-10-28 13:14:20 +01:00
|
|
|
Url: http://github.com/openSUSE/permissions
|
2006-12-19 00:17:28 +01:00
|
|
|
|
|
|
|
%description
|
2010-11-18 12:01:47 +01:00
|
|
|
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.
|
2006-12-19 00:17:28 +01:00
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
2009-08-26 17:26:35 +02:00
|
|
|
Werner Fink
|
|
|
|
Roman Drahtmüller
|
|
|
|
Michael Schröder
|
|
|
|
Ludwig Nussel
|
2006-12-19 00:17:28 +01:00
|
|
|
|
2007-04-18 18:37:08 +02:00
|
|
|
%prep
|
2009-08-26 17:26:35 +02:00
|
|
|
%setup -q
|
2006-12-19 00:17:28 +01:00
|
|
|
|
|
|
|
%build
|
2011-06-17 12:56:53 +02:00
|
|
|
make %{?_smp_mflags} CFLAGS="-W -Wall $RPM_OPT_FLAGS" FSCAPS_DEFAULT_ENABLED=0
|
2006-12-19 00:17:28 +01:00
|
|
|
|
|
|
|
%install
|
2009-08-26 17:26:35 +02:00
|
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
2006-12-19 00:17:28 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%{fillup_only -n security}
|
2012-11-21 15:01:07 +01:00
|
|
|
# apply all potentially changed permissions
|
|
|
|
/usr/bin/chkstat --system
|
2006-12-19 00:17:28 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2009-08-26 17:26:35 +02:00
|
|
|
%config /etc/permissions
|
|
|
|
%config /etc/permissions.easy
|
|
|
|
%config /etc/permissions.secure
|
|
|
|
%config /etc/permissions.paranoid
|
2007-06-03 22:01:01 +02:00
|
|
|
%config(noreplace) /etc/permissions.local
|
|
|
|
%{_bindir}/chkstat
|
2010-11-10 11:14:46 +01:00
|
|
|
%{_mandir}/man5/permissions.5*
|
2006-12-19 00:17:28 +01:00
|
|
|
%{_mandir}/man8/chkstat.8*
|
|
|
|
/var/adm/fillup-templates/sysconfig.security
|
2007-12-03 23:29:54 +01:00
|
|
|
|
2007-02-25 23:35:05 +01:00
|
|
|
%changelog
|