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
|
|
|
#
|
2011-02-11 01:28:32 +01:00
|
|
|
# Copyright (c) 2011 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
2009-08-26 17:26:35 +02:00
|
|
|
# icecream 0
|
2006-12-19 00:17:28 +01: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
|
2010-02-12 08:00:17 +01:00
|
|
|
License: GPLv2+
|
2006-12-19 00:17:28 +01:00
|
|
|
Group: Productivity/Security
|
2007-10-13 00:12:30 +02:00
|
|
|
AutoReqProv: on
|
2011-05-26 17:24:27 +02:00
|
|
|
Version: 2011.05.26.1717
|
2010-09-27 00:46:30 +02:00
|
|
|
Release: 1
|
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
|
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
|
2009-08-26 17:26:35 +02:00
|
|
|
Url: http://gitorious.org/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
|
2010-06-28 23:24:43 +02:00
|
|
|
make %{?_smp_mflags} CFLAGS="-W -Wall $RPM_OPT_FLAGS"
|
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}
|
|
|
|
|
|
|
|
%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*
|
|
|
|
/sbin/conf.d/SuSEconfig.permissions
|
|
|
|
/var/adm/fillup-templates/sysconfig.security
|
2007-12-03 23:29:54 +01:00
|
|
|
|
2007-02-25 23:35:05 +01:00
|
|
|
%changelog
|