From 3575a0d66a4a0c75d241efec77ef748b3ed3fa6b5a8237ba5df50b00e14dba00 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Fri, 17 Jun 2011 10:56:53 +0000 Subject: [PATCH] - disable fscaps by default as factory kernel still doesn't have the required patch for auto detection OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=58 --- _service:format_spec_file:permissions.spec | 81 ++++++++++++++++++++++ permissions.changes | 6 ++ permissions.spec | 2 +- 3 files changed, 88 insertions(+), 1 deletion(-) create mode 100644 _service:format_spec_file:permissions.spec diff --git a/_service:format_spec_file:permissions.spec b/_service:format_spec_file:permissions.spec new file mode 100644 index 0000000..06a81bd --- /dev/null +++ b/_service:format_spec_file:permissions.spec @@ -0,0 +1,81 @@ +# +# spec file for package permissions +# +# Copyright (c) 2011 SUSE LINUX Products 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/ +# + +# norootforbuild +# icecream 0 + +BuildRequires: libcap-devel + +Name: permissions +License: GPLv2+ +Group: Productivity/Security +AutoReqProv: on +Version: 2011.05.26.1717 +Release: 1 +Provides: aaa_base:/etc/permissions +PreReq: %fillup_prereq +Summary: SUSE Linux Default Permissions +Source: permissions-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url: http://gitorious.org/opensuse/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 + +%prep +%setup -q + + +%build +make %{?_smp_mflags} CFLAGS="-W -Wall $RPM_OPT_FLAGS" FSCAPS_DEFAULT_ENABLED=0 + + +%install +make DESTDIR="$RPM_BUILD_ROOT" install + + +%post +%{fillup_only -n security} + + +%files +%defattr(-,root,root,-) +%config /etc/permissions +%config /etc/permissions.easy +%config /etc/permissions.secure +%config /etc/permissions.paranoid +%config(noreplace) /etc/permissions.local +%{_bindir}/chkstat +%{_mandir}/man5/permissions.5* +%{_mandir}/man8/chkstat.8* +/sbin/conf.d/SuSEconfig.permissions +/var/adm/fillup-templates/sysconfig.security + + + +%changelog diff --git a/permissions.changes b/permissions.changes index 244688a..9147c79 100644 --- a/permissions.changes +++ b/permissions.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 17 09:46:29 UTC 2011 - lnussel@suse.de + +- disable fscaps by default as factory kernel still doesn't have the + required patch for auto detection + ------------------------------------------------------------------- Thu May 26 15:23:49 UTC 2011 - lnussel@suse.de diff --git a/permissions.spec b/permissions.spec index c12dfe9..c73c5e2 100644 --- a/permissions.spec +++ b/permissions.spec @@ -50,7 +50,7 @@ Authors: %setup -q %build -make %{?_smp_mflags} CFLAGS="-W -Wall $RPM_OPT_FLAGS" +make %{?_smp_mflags} CFLAGS="-W -Wall $RPM_OPT_FLAGS" FSCAPS_DEFAULT_ENABLED=0 %install make DESTDIR="$RPM_BUILD_ROOT" install