1 |
commit: 38d13689d84f298eb29a795afccd2d429a213f2a |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 8 17:27:41 2012 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 8 17:29:14 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=38d13689 |
7 |
|
8 |
sec-policy/apparmor-profiles: initial commit |
9 |
|
10 |
(Portage version: 2.1.11.5/git/Linux x86_64, signed Manifest commit with key 675D0D2C) |
11 |
|
12 |
--- |
13 |
.../apparmor-profiles-2.8.0.ebuild | 29 ++++++++++++++++++++ |
14 |
sec-policy/apparmor-profiles/metadata.xml | 10 +++++++ |
15 |
2 files changed, 39 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/sec-policy/apparmor-profiles/apparmor-profiles-2.8.0.ebuild b/sec-policy/apparmor-profiles/apparmor-profiles-2.8.0.ebuild |
18 |
new file mode 100644 |
19 |
index 0000000..a16cb0b |
20 |
--- /dev/null |
21 |
+++ b/sec-policy/apparmor-profiles/apparmor-profiles-2.8.0.ebuild |
22 |
@@ -0,0 +1,29 @@ |
23 |
+# Copyright 1999-2012 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+# $Header: $ |
26 |
+ |
27 |
+EAPI=4 |
28 |
+ |
29 |
+inherit versionator |
30 |
+ |
31 |
+DESCRIPTION="A collection of profiles for the AppArmor application security system" |
32 |
+HOMEPAGE="http://apparmor.net/" |
33 |
+SRC_URI="http://launchpad.net/apparmor/$(get_version_component_range 1-2)/${PV}/+download/apparmor-${PV}.tar.gz" |
34 |
+ |
35 |
+LICENSE="GPL-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64" |
38 |
+IUSE="minimal" |
39 |
+ |
40 |
+RESTRICT="test" |
41 |
+ |
42 |
+S=${WORKDIR}/apparmor-${PV}/profiles |
43 |
+ |
44 |
+src_install() { |
45 |
+ if use minimal ; then |
46 |
+ insinto /etc/apparmor.d |
47 |
+ doins -r apparmor.d/{abstractions,tunables} |
48 |
+ else |
49 |
+ default |
50 |
+ fi |
51 |
+} |
52 |
|
53 |
diff --git a/sec-policy/apparmor-profiles/metadata.xml b/sec-policy/apparmor-profiles/metadata.xml |
54 |
new file mode 100644 |
55 |
index 0000000..14820df |
56 |
--- /dev/null |
57 |
+++ b/sec-policy/apparmor-profiles/metadata.xml |
58 |
@@ -0,0 +1,10 @@ |
59 |
+<?xml version="1.0" encoding="UTF-8"?> |
60 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
61 |
+<pkgmetadata> |
62 |
+ <maintainer> |
63 |
+ <email>kensington@g.o</email> |
64 |
+ </maintainer> |
65 |
+ <upstream> |
66 |
+ <remote-id type="launchpad">apparmor</remote-id> |
67 |
+ </upstream> |
68 |
+</pkgmetadata> |