]> git.pld-linux.org Git - packages/apparmor-profiles.git/commitdiff
- new
authorzbyniu <zbyniu@pld-linux.org>
Thu, 27 Apr 2006 21:36:32 +0000 (21:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apparmor-profiles.spec -> 1.1

apparmor-profiles.spec [new file with mode: 0644]

diff --git a/apparmor-profiles.spec b/apparmor-profiles.spec
new file mode 100644 (file)
index 0000000..e7ff24f
--- /dev/null
@@ -0,0 +1,50 @@
+%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}/*/*
This page took 0.772969 seconds and 4 git commands to generate.