summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2013-12-03 17:30:33 +0000
committerMichael Palimaka <kensington@gentoo.org>2013-12-03 17:30:33 +0000
commit25d32683dc3ed0e5dbc17cff44e0c9f4683d7daf (patch)
tree02ab11acd533a9237f838c33ffbc58e29d31041a /sys-libs/libapparmor
parentNew package wrt bug #118779. (diff)
downloadhistorical-25d32683dc3ed0e5dbc17cff44e0c9f4683d7daf.tar.gz
historical-25d32683dc3ed0e5dbc17cff44e0c9f4683d7daf.tar.bz2
historical-25d32683dc3ed0e5dbc17cff44e0c9f4683d7daf.zip
New package wrt bug #118779.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x675D0D2C
Diffstat (limited to 'sys-libs/libapparmor')
-rw-r--r--sys-libs/libapparmor/Manifest17
-rw-r--r--sys-libs/libapparmor/libapparmor-2.8.2.ebuild84
-rw-r--r--sys-libs/libapparmor/metadata.xml10
3 files changed, 110 insertions, 1 deletions
diff --git a/sys-libs/libapparmor/Manifest b/sys-libs/libapparmor/Manifest
index d16a295c599d..4748392b3700 100644
--- a/sys-libs/libapparmor/Manifest
+++ b/sys-libs/libapparmor/Manifest
@@ -1,3 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST apparmor-2.8.2.tar.gz 1507411 SHA256 742f3f776c5e1bf303fe2c4bca7607241593189a8c985f9f3acc01baa7dbd2bb SHA512 f3684a7a894d0330ade5b14525ab0f16d62410b39ae046c0239e8d322a6f1240ee3079d67a78afa455964dd84fe55aaa29857cef5e935be7ea92133e59e01e09 WHIRLPOOL 8b1c0870c9a32405acb19a7f00495d393febe700125f760aae45c0cdc9c2b5e256b2b89e00a8c83ff44c2194c9461fcd69a36f1029d56283a418ff0b478e4287
-EBUILD libapparmor-2.8.2.ebuild 1839 SHA256 4cd41ddc2dc8062a136c64f817678c28edb43b8d94f20b690c086c0fd673c153 SHA512 5ba5358beab361014adeafeb1b9de61ed0b17466948cb7a31dd70d8613134f0eeb0e826b9fa52ce8a0e8de7de015cbf69bd87c44b5bb59088ae47d623d55bc56 WHIRLPOOL b73c61e931329fb1e2649c23a1658397b64cc0d1f82b7403e754446169e5918df2b67283ec5c1cf644f10df05101f7ba191197e757561823c24240595224de77
+EBUILD libapparmor-2.8.2.ebuild 1950 SHA256 585aed110118f0e77113e468d5b88a8feef2e3fcd29361f86075221c4db50dab SHA512 0700c1b004273cbaf48da1fd612ede2933c0cbba240772b53cf72749ae2edca87411f5f0432602387e1ad448527376adda94855356e90393edfd327b4b64b7b4 WHIRLPOOL 7f2559c7b74686682ade1a0b33a306767380b1fe3cc9de3b3f2b5b8b0ee8aec1c540c76d977f3e07df061ae8ed730b9bc302d1d5e32814d3dcfadc8b19e07bba
+MISC ChangeLog 382 SHA256 4d02010570468bd3b5aa7864503c82647adfe66807cb5d0c36a7ff1d46b51a36 SHA512 0061fc8b7b4168b1081a4b158d115d83d8943e7ba2afed2f45dace03d3025e1bc9dabe290fa6797d5881ab9fee28d0d11ca39521a2c847580a06ce2cf2674e4b WHIRLPOOL df8fb601a539e5e20e74f63aaaf0ad01b91c44441c43b88839b1a15d7e3b4d4be684a0994947b9514296cf7686ee9e3c3918eb85b5bf0ae818b0d99bbfda73c9
MISC metadata.xml 283 SHA256 8181aa734479838ccf5fda17b726d5b98073078f272307e7745cb4fbf7d88bf3 SHA512 eb93496c7300aced5fcf864af2ab08e7367439f0932f015060530963ecde7d6d8da2902aa26248902a4acc2ca48ccff5aaf210302109c3effad10dca61b30df3 WHIRLPOOL ebcb3e58e0b534547dcd189ca796288b2b99d3c4c213d76fc603cbdea633d11aba86f4fad991a4579d80f18d6498b6e20bc09dd9c756c73d8982b2391cab39dd
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQEcBAEBCAAGBQJSnhRMAAoJEMbwO6tnXQ0snR8H+wYS6WKgwJtYAFt53ZzalJcM
+akW752cQ+GCjd+r1nyHj9IXIV7LXHXhBWIEeX5nj7dZy1iZ6LT5YjBYmaN2o2Bw2
+dZz0N8UkX2YVfzOAX8pZOPIUfW6beZ3J6dJeD0gu6iLuuqgZPIUbfKtCMugEMg9l
+zpDOu7f/AuAv/+e6yqKCYVPZ/2tGDKJ1XDH7UzkckcLzGMgbXM262Et5PuhHn4bt
+uTg7uZTBpurkmuCQYElEvEKhMcz9RRBoAkUirEe23O7lajJVCFNt59+f7rUc78sA
+D8mVO/P3fZnmWwnxNQLDYP/ACTT6lCjtYF9aLbaTTu69nkC82C5moeGmIRikc0E=
+=eiak
+-----END PGP SIGNATURE-----
diff --git a/sys-libs/libapparmor/libapparmor-2.8.2.ebuild b/sys-libs/libapparmor/libapparmor-2.8.2.ebuild
new file mode 100644
index 000000000000..bfacd9c14a1b
--- /dev/null
+++ b/sys-libs/libapparmor/libapparmor-2.8.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libapparmor/libapparmor-2.8.2.ebuild,v 1.1 2013/12/03 17:30:19 kensington Exp $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+GENTOO_DEPEND_ON_PERL="no"
+
+inherit autotools-utils distutils-r1 perl-module versionator
+
+DESCRIPTION="Library to support AppArmor userspace utilities"
+HOMEPAGE="http://apparmor.net/"
+SRC_URI="http://launchpad.net/apparmor/$(get_version_component_range 1-2)/${PV}/+download/apparmor-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc +perl python static-libs"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="perl? ( dev-lang/perl )
+ python? ( ${PYTHON_DEPS} )"
+
+DEPEND="${RDEPEND}
+ sys-devel/autoconf-archive
+ sys-devel/bison
+ sys-devel/flex
+ doc? ( dev-lang/perl )
+ perl? ( dev-lang/swig )
+ python? ( dev-lang/swig )"
+
+S=${WORKDIR}/apparmor-${PV}/libraries/${PN}
+
+src_prepare() {
+ rm -r m4 || die "failed to remove bundled macros"
+
+ autotools-utils_src_prepare
+ use python && distutils-r1_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with perl) \
+ $(use_with python)
+ )
+
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile -C src
+
+ use doc && autotools-utils_src_compile -C doc
+ use perl && autotools-utils_src_compile -C swig/perl
+
+ if use python ; then
+ pushd "${BUILD_DIR}"/swig/python > /dev/null
+ emake libapparmor_wrap.c
+ distutils-r1_src_compile
+ popd > /dev/null
+ fi
+}
+
+src_install() {
+ autotools-utils_src_install -C src
+ use doc && autotools-utils_src_install -C doc
+
+ if use perl ; then
+ autotools-utils_src_install -C swig/perl
+ perlinfo
+ insinto "${VENDOR_ARCH}"
+ doins "${BUILD_DIR}"/swig/perl/LibAppArmor.pm
+ fi
+
+ if use python ; then
+ pushd "${BUILD_DIR}"/swig/python > /dev/null
+ distutils-r1_src_install
+ popd > /dev/null
+ fi
+}
diff --git a/sys-libs/libapparmor/metadata.xml b/sys-libs/libapparmor/metadata.xml
new file mode 100644
index 000000000000..14820df3f094
--- /dev/null
+++ b/sys-libs/libapparmor/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>