summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2013-12-03 17:36:14 +0000
committerMichael Palimaka <kensington@gentoo.org>2013-12-03 17:36:14 +0000
commit6788099f2fe9afc4c74d7a34ec44c4c564eacaa3 (patch)
tree7d650cfe3f153f8b666e7a8835673f992a45885f /sys-apps/apparmor-utils
parentCorrect QWT dependency, thanks to 0xd34df00d (diff)
downloadgentoo-2-6788099f2fe9afc4c74d7a34ec44c4c564eacaa3.tar.gz
gentoo-2-6788099f2fe9afc4c74d7a34ec44c4c564eacaa3.tar.bz2
gentoo-2-6788099f2fe9afc4c74d7a34ec44c4c564eacaa3.zip
New package wrt bug #118779.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)
Diffstat (limited to 'sys-apps/apparmor-utils')
-rw-r--r--sys-apps/apparmor-utils/ChangeLog9
-rw-r--r--sys-apps/apparmor-utils/Manifest3
-rw-r--r--sys-apps/apparmor-utils/apparmor-utils-2.8.2.ebuild52
-rw-r--r--sys-apps/apparmor-utils/metadata.xml10
4 files changed, 74 insertions, 0 deletions
diff --git a/sys-apps/apparmor-utils/ChangeLog b/sys-apps/apparmor-utils/ChangeLog
new file mode 100644
index 000000000000..ec09dab53365
--- /dev/null
+++ b/sys-apps/apparmor-utils/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sys-apps/apparmor-utils
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/apparmor-utils/ChangeLog,v 1.1 2013/12/03 17:36:14 kensington Exp $
+
+*apparmor-utils-2.8.2 (03 Dec 2013)
+
+ 03 Dec 2013; Michael Palimaka <kensington@gentoo.org>
+ +apparmor-utils-2.8.2.ebuild, +metadata.xml:
+ New package wrt bug #118779.
diff --git a/sys-apps/apparmor-utils/Manifest b/sys-apps/apparmor-utils/Manifest
new file mode 100644
index 000000000000..5ae1bf34833e
--- /dev/null
+++ b/sys-apps/apparmor-utils/Manifest
@@ -0,0 +1,3 @@
+DIST apparmor-2.8.2.tar.gz 1507411 SHA256 742f3f776c5e1bf303fe2c4bca7607241593189a8c985f9f3acc01baa7dbd2bb SHA512 f3684a7a894d0330ade5b14525ab0f16d62410b39ae046c0239e8d322a6f1240ee3079d67a78afa455964dd84fe55aaa29857cef5e935be7ea92133e59e01e09 WHIRLPOOL 8b1c0870c9a32405acb19a7f00495d393febe700125f760aae45c0cdc9c2b5e256b2b89e00a8c83ff44c2194c9461fcd69a36f1029d56283a418ff0b478e4287
+EBUILD apparmor-utils-2.8.2.ebuild 1295 SHA256 b87cbff3db9fea9a2fca9addffbaef372a5ce6c9fc3b0f098ca578f00450f68c SHA512 b4a646ee08103c9dc0699ef5fbfbd6cb594e6ab0975fdc6bb63210e6e430d904b6fac62050c18df0ed2bdf790bd7a6c29f35e5d330cce2eb9d570e0edbdac31d WHIRLPOOL 561e3e2ca88ef0e3a1bee49cd1f94ca40e9c63dfa2df50d0f2d70cf687614b926bd5572b9338b7039ffb22ac21038fa572d293f9121aa8b89e2883ec5fd23d1a
+MISC metadata.xml 283 SHA256 8181aa734479838ccf5fda17b726d5b98073078f272307e7745cb4fbf7d88bf3 SHA512 eb93496c7300aced5fcf864af2ab08e7367439f0932f015060530963ecde7d6d8da2902aa26248902a4acc2ca48ccff5aaf210302109c3effad10dca61b30df3 WHIRLPOOL ebcb3e58e0b534547dcd189ca796288b2b99d3c4c213d76fc603cbdea633d11aba86f4fad991a4579d80f18d6498b6e20bc09dd9c756c73d8982b2391cab39dd
diff --git a/sys-apps/apparmor-utils/apparmor-utils-2.8.2.ebuild b/sys-apps/apparmor-utils/apparmor-utils-2.8.2.ebuild
new file mode 100644
index 000000000000..449670347ca2
--- /dev/null
+++ b/sys-apps/apparmor-utils/apparmor-utils-2.8.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/apparmor-utils/apparmor-utils-2.8.2.ebuild,v 1.1 2013/12/03 17:36:14 kensington Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_{6,7} )
+
+inherit perl-module python-r1 versionator
+
+DESCRIPTION="Additional userspace utils to assist with AppArmor profile management"
+HOMEPAGE="http://apparmor.net/"
+SRC_URI="http://launchpad.net/apparmor/$(get_version_component_range 1-2)/${PV}/+download/apparmor-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ ${PYTHON_DEPS}"
+RDEPEND="${DEPEND}
+ ~sys-libs/libapparmor-${PV}[perl]
+ ~sys-apps/apparmor-${PV}
+ dev-perl/Locale-gettext
+ dev-perl/RPC-XML
+ dev-perl/TermReadKey
+ virtual/perl-Data-Dumper
+ virtual/perl-Getopt-Long"
+
+S=${WORKDIR}/apparmor-${PV}/utils
+
+src_compile() {
+ python_export_best
+
+ # launches non-make subprocesses causing "make jobserver unavailable"
+ # error messages to appear in generated code
+ emake -j1
+}
+
+src_install() {
+ perlinfo
+ emake DESTDIR="${D}" PERLDIR="${D}/${VENDOR_LIB}/Immunix" \
+ VIM_INSTALL_PATH="${D}/usr/share/vim/vimfiles/syntax" install
+
+ install_python() {
+ "${PYTHON}" "${S}"/python-tools-setup.py install --prefix=/usr \
+ --root="${D}" --version="${PV}"
+ }
+
+ python_foreach_impl install_python
+ python_replicate_script "${D}"/usr/bin/aa-easyprof
+}
diff --git a/sys-apps/apparmor-utils/metadata.xml b/sys-apps/apparmor-utils/metadata.xml
new file mode 100644
index 000000000000..14820df3f094
--- /dev/null
+++ b/sys-apps/apparmor-utils/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>kensington@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="launchpad">apparmor</remote-id>
+ </upstream>
+</pkgmetadata>