SPECS: apparmor-profiles.spec (NEW) - new

zbyniu zbyniu at pld-linux.org
Thu Apr 27 23:36:37 CEST 2006


Author: zbyniu                       Date: Thu Apr 27 21:36:37 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   apparmor-profiles.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/apparmor-profiles.spec
diff -u /dev/null SPECS/apparmor-profiles.spec:1.1
--- /dev/null	Thu Apr 27 23:36:37 2006
+++ SPECS/apparmor-profiles.spec	Thu Apr 27 23:36:32 2006
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+%define		_ver 2.0
+%define		_svnrel 6376
+Summary:	AppArmor profiles
+Name:		apparmor-profiles
+Version:	%{_ver}.%{_svnrel}
+Release:	0.1
+Group:		Base
+Source0:	http://forge.novell.com/modules/xfcontent/private.php/apparmor/Development%20-%20April%20Snapshot/%{name}-%{_ver}-%{_svnrel}.tar.gz
+License:	GPL
+URL:		http://forge.novell.com/modules/xfmod/project/?apparmor
+Requires:	apparmor-parser
+Provides:	subdomain-profiles
+Obsoletes:	subdomain-profiles
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define extras_dir %{_sysconfdir}/apparmor/profiles/extras
+%define profiles_dir %{_sysconfdir}/apparmor.d
+
+%description
+Base AppArmor profiles (aka security policy). AppArmor is a file
+mandatory access control mechanism. AppArmor confines processes to the
+resources allowed by the systems administrator and can constrain the
+scope of potential security vulnerabilities. This package is part of a
+suite of tools that used to be named SubDomain.
+
+%prep
+%setup -q -n %{name}-%{_ver}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=${RPM_BUILD_ROOT} \
+	EXTRASDIR=${RPM_BUILD_ROOT}/%{extras_dir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_sysconfdir}/apparmor
+%dir %{_sysconfdir}/apparmor/profiles
+%dir %{extras_dir}
+%config(noreplace) %verify(not md5 mtime size) %{extras_dir}/*
+%dir %{_sysconfdir}/apparmor.d
+%dir %{_sysconfdir}/apparmor.d/abstractions
+%dir %{_sysconfdir}/apparmor.d/program-chunks
+%dir %{_sysconfdir}/apparmor.d/tunables
+%config(noreplace) %verify(not md5 mtime size) %{profiles_dir}/*.*
+%config(noreplace) %verify(not md5 mtime size) %{profiles_dir}/*/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/04/27 21:36:32  zbyniu
+- new
+
================================================================


More information about the pld-cvs-commit mailing list