summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Snelham <zeypher@gentoo.org>2006-11-08 20:21:06 +0000
committerMatthew Snelham <zeypher@gentoo.org>2006-11-08 20:21:06 +0000
commita7c1359e984d5039161a8c4d2b1df8fb4c11adc8 (patch)
tree96dcc0c426ae35d11155ff6ef8ca5ad08f7c82a1 /sys-apps/apparmor-utils/apparmor-utils-2.0_p142-r1.ebuild
downloadzeypher-a7c1359e984d5039161a8c4d2b1df8fb4c11adc8.tar.gz
zeypher-a7c1359e984d5039161a8c4d2b1df8fb4c11adc8.tar.bz2
zeypher-a7c1359e984d5039161a8c4d2b1df8fb4c11adc8.zip
Initial import of AppArmor ebuilds, October release.
svn path=/; revision=1
Diffstat (limited to 'sys-apps/apparmor-utils/apparmor-utils-2.0_p142-r1.ebuild')
-rw-r--r--sys-apps/apparmor-utils/apparmor-utils-2.0_p142-r1.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/sys-apps/apparmor-utils/apparmor-utils-2.0_p142-r1.ebuild b/sys-apps/apparmor-utils/apparmor-utils-2.0_p142-r1.ebuild
new file mode 100644
index 0000000..711cee7
--- /dev/null
+++ b/sys-apps/apparmor-utils/apparmor-utils-2.0_p142-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils perl-module toolchain-funcs
+
+#MY_PN="apparmor-utils"
+MY_PV="${PV/_p/-}"
+MY_P="${PN}-${MY_PV}"
+MY_S="${WORKDIR}/${PN}-${PV/_p*/}"
+MONTH="October"
+
+DESCRIPTION="AppArmor utilities for profile creation and management."
+HOMEPAGE="http://forge.novell.com/modules/xfmod/project/?apparmor"
+SRC_URI="http://forgeftp.novell.com/apparmor/Development%20-%20${MONTH}%20Snapshot/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="vim-syntax"
+
+DEPEND="sys-libs/libapparmor
+ sys-apps/apparmor-parser
+ sys-libs/libcap
+ dev-libs/libpcre
+ dev-lang/perl
+ perl-core/Test-Harness
+ perl-core/Getopt-Long
+ dev-perl/DBI
+ dev-perl/DBD-SQLite
+ dev-perl/TimeDate
+ dev-perl/File-Tail
+ dev-perl/Locale-gettext"
+RDEPEND="${DEPEND}
+ app-doc/apparmor-docs
+ vim-syntax? (app-vim/apparmor-syntax)"
+
+
+src_unpack() {
+ unpack ${A}
+ cd ${MY_S}
+
+ # Correct path for logger
+ sed -i "s/\/bin\/logger/\/usr\/bin\/logger/g" genprof
+}
+
+src_compile() {
+ cd ${MY_S}
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ cd ${MY_S}
+ perlinfo
+ make DESTDIR=${D} PERLDIR="${D}/${VENDOR_LIB}/Immunix" install || die
+}