summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <swift@gentoo.org>2011-08-19 19:38:44 +0000
committerSven Vermeulen <swift@gentoo.org>2011-08-19 19:38:44 +0000
commit686f698443488be2db3c63de3cdad6006517f04c (patch)
tree048b9bdfa13fab1a30748a7e0ebc38a42fddff14 /app-admin/setools
parentRequire Python 2. Patch by Arfrever. (diff)
downloadhistorical-686f698443488be2db3c63de3cdad6006517f04c.tar.gz
historical-686f698443488be2db3c63de3cdad6006517f04c.tar.bz2
historical-686f698443488be2db3c63de3cdad6006517f04c.zip
Remove obsoleted versions of setools
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'app-admin/setools')
-rw-r--r--app-admin/setools/ChangeLog7
-rw-r--r--app-admin/setools/Manifest12
-rw-r--r--app-admin/setools/files/apol_tcl_fc.c.diff24
-rw-r--r--app-admin/setools/files/setools-3.3.6-headers.diff73
-rw-r--r--app-admin/setools/setools-2.4.ebuild77
-rw-r--r--app-admin/setools/setools-3.3.4.ebuild67
-rw-r--r--app-admin/setools/setools-3.3.5.ebuild67
-rw-r--r--app-admin/setools/setools-3.3.6.ebuild78
8 files changed, 7 insertions, 398 deletions
diff --git a/app-admin/setools/ChangeLog b/app-admin/setools/ChangeLog
index 304299d72e52..a94586d1bd70 100644
--- a/app-admin/setools/ChangeLog
+++ b/app-admin/setools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/setools
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/ChangeLog,v 1.69 2011/08/19 17:16:46 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/ChangeLog,v 1.70 2011/08/19 19:38:44 swift Exp $
+
+ 19 Aug 2011; <swift@gentoo.org> -setools-2.4.ebuild, -setools-3.3.4.ebuild,
+ -setools-3.3.5.ebuild, -setools-3.3.6.ebuild,
+ -files/setools-3.3.6-headers.diff, -files/apol_tcl_fc.c.diff:
+ Remove obsoleted versions of setools
*setools-3.3.7-r1 (19 Aug 2011)
diff --git a/app-admin/setools/Manifest b/app-admin/setools/Manifest
index deaeb497c801..4a3d1d3d50f6 100644
--- a/app-admin/setools/Manifest
+++ b/app-admin/setools/Manifest
@@ -1,17 +1,7 @@
-AUX apol_tcl_fc.c.diff 1077 RMD160 1db09fde3eb402aa9fe92c0740568bdef7b7586d SHA1 350110b8beb653b6c7b5052530de3d34ae88fc1e SHA256 3457cbba134699babd6882655cfc1957fb0768591690736c4a67c71310ac09b9
AUX fix-check-role_set_expand-libsepol-2.1.0.patch 1150 RMD160 6fec7f3fa1c9db1010cd760c56e458025e33ba60 SHA1 df5111346358adfa44990c96cb2f28eee8dc6169 SHA256 8b9bcb857a77ae446721a4c7387493d74500bced0c6e2fc967c991a488122b3f
AUX fix-implicit-def-fstat.patch 441 RMD160 acf643ff2dab2d96bef4b6fd0352a6df28aebf3e SHA1 a501b6b64bd6adb74e5dfa76a4c2354822d3243d SHA256 3d0c55580056353ab3ca575899fb8f669d0b7a3f00f62dedf3a643a7e0ea8a9b
-AUX setools-3.3.6-headers.diff 3278 RMD160 d42b64452e61e584bf6e391058fd06d0c74d4051 SHA1 516f50ee1a8a5084ec64fccb918b190e6efc1fa1 SHA256 97a3c02386cc77800e7fe8c69e84824802782db3c5f2903d2e4057a3fd5a552d
-DIST setools-2.4.tar.bz2 1181584 RMD160 67c77950a4138300a3da4f17ab0d51b2d482bc18 SHA1 3dd26552388180087b11884857c3f5e5c8058acf SHA256 fcd0bc7390275cce8b4c0dbf8cc3471c3ab73724b1b373d40625cc477794fc2e
-DIST setools-3.3.4.tar.bz2 1333898 RMD160 ec7020db9aff4888895020390046e18cec4e83ef SHA1 eda6b68de50bf06b302bc3ed32249e0dfa52652d SHA256 266e150fd62bf6cf01da9de8dd09c93a0ebfa5f2adac354b2d3c4c6f0509f748
-DIST setools-3.3.5.tar.bz2 1328629 RMD160 a7f3470170f3f52acaeca48c85dfe951db9fa4d2 SHA1 3c0c5d275bc76a60ef90e122c3716cbbae993df0 SHA256 61c64129032458e8f5e1d35b8b5fe7a62fd85ba4ada31132efc5b0610d29d69b
-DIST setools-3.3.6.tar.bz2 1308992 RMD160 dd73b2e91f09aac71972cf1d2361a73fa7811763 SHA1 cf584655a41a345fb0fc8d36bc62d536936503bd SHA256 2e1094e5c9f1e90d78f74ef978b0b07332378690a1815c3c44e2411cc87fa2a5
DIST setools-3.3.7.tar.bz2 940657 RMD160 0bc31e2a8a712d8b062e44a569814ddcee492bb8 SHA1 5117f4ffb7eb34dcb08760fae89c6d5a5d3bfd3b SHA256 2bfa0918746bdcc910b16b26a51109a4ffd07404c306141ada584cb36e3c895a
-EBUILD setools-2.4.ebuild 1830 RMD160 de6246765a1a2300d94596a2ee4d86f67b81008f SHA1 de9518d84c9ea0e54ba83058a6944d35deed95ae SHA256 3740b6928bb137c0a03bfd647bde4576958517310801284d4eb6010947b95b34
-EBUILD setools-3.3.4.ebuild 1509 RMD160 060427b4101a477ee263a42954c73e2ac27ecd37 SHA1 f9c02a8b1c7172ad20b7c9649195ca2f941a116b SHA256 8e85bb7481d991f918e100c7c0951a8acfa59fde5f8ae4528218da74912c7555
-EBUILD setools-3.3.5.ebuild 1510 RMD160 808cf8ac5d3f523e78b4d51e30776012e45f74a7 SHA1 82445b3019cbe5db95307e341a7a3a0e7c7e9980 SHA256 27e08006dbcc490518745252046d8973a7ed72a99491d54847e5a0d7032fe38f
-EBUILD setools-3.3.6.ebuild 1748 RMD160 545035325f0291c1556ba490221361d55e394dbd SHA1 123d4b7740e1946dd923f81e391b43a84a29b607 SHA256 c53022203fe0c76c2961090dc589e36a8342f8c3574ffd1f90ff24da6963412e
EBUILD setools-3.3.7-r1.ebuild 4282 RMD160 daef389cbcaa05b64840575a4365d5f1e72585c2 SHA1 ac023820e82e058251ad2c1b5b7dba2d7bab06db SHA256 e30097c945206f94d78b6096be7d627b18bc11f5ed5e9e9f1555775fff78334b
EBUILD setools-3.3.7.ebuild 3967 RMD160 e6d1ae8966b8b6970398227e2e46b60b7d5e22dc SHA1 c071d1aae8ff2effc61945199a2356edb936be63 SHA256 8230a4fa36c1fff8c327173b1056631529a467e3b8a611217b40a61a34eb7857
-MISC ChangeLog 9454 RMD160 ec5c10fd54aa46d9c77b1df57630977136ed2b3e SHA1 9054628e1ff03970d32c0c67001e9be549eb994a SHA256 272255ef375dc68b6ba10c37d4fa85ab7ba2b2b03d6d3d9d7397b97ecf2876c3
+MISC ChangeLog 9684 RMD160 0ddf2193a5e2068f04c579c9f4d0f4e36d191bea SHA1 3220463f29ce1d0cb16c947baeb1cfc352150cc1 SHA256 4ca5b4bc67a579f6f287add953ad8b07950065cc3aa3c663a1f29de64ef0fc1d
MISC metadata.xml 228 RMD160 b905eec946a901453222cb4fec1ae02782fdc2c4 SHA1 385d1d3cfdb3233bd47fa645401c1fe2ca4be156 SHA256 bbcb1daec06953b214112a968d7691679891d41b620789200450e8fabf533951
diff --git a/app-admin/setools/files/apol_tcl_fc.c.diff b/app-admin/setools/files/apol_tcl_fc.c.diff
deleted file mode 100644
index a8543746ab95..000000000000
--- a/app-admin/setools/files/apol_tcl_fc.c.diff
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ur a/libapol/apol_tcl_fc.c b/libapol/apol_tcl_fc.c
---- a/libapol/apol_tcl_fc.c 2006-04-11 17:27:18.000000000 -0300
-+++ b/libapol/apol_tcl_fc.c 2006-05-12 17:11:07.000000000 -0300
-@@ -178,16 +178,16 @@
- */
- static int Apol_Search_FC_Index_DB(ClientData clientData, Tcl_Interp *interp, int argc, CONST char *argv[])
- {
-+#ifndef LIBSEFS
-+ Tcl_SetResult(interp, "You need to build apol with libsefs to use this feature!", TCL_STATIC);
-+ return TCL_ERROR;
-+#else
- sefs_search_keys_t search_keys;
- CONST char **object_classes = NULL, **types = NULL, **users = NULL,
- **ranges, **paths = NULL;
- int retval = TCL_ERROR;
- Tcl_Obj *result_obj = Tcl_NewListObj(0, NULL);
-
--#ifndef LIBSEFS
-- Tcl_SetResult(interp, "You need to build apol with libsefs to use this feature!", TCL_STATIC);
-- return TCL_ERROR;
--#else
- memset(&search_keys, 0, sizeof(search_keys));
- if (argc != 10) {
- Tcl_SetResult(interp, "Need a list of users, list of types, list of object classes, list of ranges, list of paths, user_regex, type_regex, range_regex, and path_regex", TCL_STATIC);
diff --git a/app-admin/setools/files/setools-3.3.6-headers.diff b/app-admin/setools/files/setools-3.3.6-headers.diff
deleted file mode 100644
index eae76e191915..000000000000
--- a/app-admin/setools/files/setools-3.3.6-headers.diff
+++ /dev/null
@@ -1,73 +0,0 @@
-diff -purN setools-3.3.6.orig/libqpol/include/qpol/Makefile.am setools-3.3.6/libqpol/include/qpol/Makefile.am
---- setools-3.3.6.orig/libqpol/include/qpol/Makefile.am 2009-07-14 11:03:27.000000000 -0700
-+++ setools-3.3.6/libqpol/include/qpol/Makefile.am 2009-09-20 15:15:00.362508234 -0700
-@@ -17,7 +17,7 @@ qpol_HEADERS = \
- netifcon_query.h \
- nodecon_query.h \
- permissive_query.h \
-- polcap_query.h
-+ polcap_query.h \
- policy.h \
- policy_extend.h \
- portcon_query.h \
-diff -purN setools-3.3.6.orig/libseaudit/include/seaudit/avc_message.h setools-3.3.6/libseaudit/include/seaudit/avc_message.h
---- setools-3.3.6.orig/libseaudit/include/seaudit/avc_message.h 2009-07-16 07:41:36.000000000 -0700
-+++ setools-3.3.6/libseaudit/include/seaudit/avc_message.h 2009-09-20 14:57:57.294509062 -0700
-@@ -104,7 +104,7 @@ extern "C"
- * @return Source target, or NULL upon error or if unknown. Do not
- * free() this string.
- */
-- extern const char *seaudit_avc_message_get_source__mls_lvl(const seaudit_avc_message_t * avc);
-+ extern const char *seaudit_avc_message_get_source_mls_lvl(const seaudit_avc_message_t * avc);
-
- /**
- * Return the source context's mls clearance of an avc message.
-@@ -114,7 +114,7 @@ extern "C"
- * @return Source target, or NULL upon error or if unknown. Do not
- * free() this string.
- */
-- extern const char *seaudit_avc_message_get_source__mls_clr(const seaudit_avc_message_t * avc);
-+ extern const char *seaudit_avc_message_get_source_mls_clr(const seaudit_avc_message_t * avc);
-
- /**
- * Return the target context's user of an avc message.
-diff -purN setools-3.3.6.orig/seaudit/toplevel.h setools-3.3.6/seaudit/toplevel.h
---- setools-3.3.6.orig/seaudit/toplevel.h 2009-07-16 07:41:36.000000000 -0700
-+++ setools-3.3.6/seaudit/toplevel.h 2009-09-20 15:04:48.770508867 -0700
-@@ -155,28 +155,28 @@ apol_vector_t *toplevel_get_log_roles(to
- apol_vector_t *toplevel_get_log_types(toplevel_t * top);
-
- /**
-- * Return a vector of strings corresponding to all mls
-- * levels found within the current log file.
-- * The vector will be sorted alphabetically.
-+ * Return a vector of strings corresponding to all mls levels
-+ * found within currently opened log files. The vector will be sorted
-+ * alphabetically.
- *
- * @param top Toplevel containing seaudit log object.
- *
- * @return Vector of sorted types, or NULL if no log is loaded. The
- * caller must call apol_vector_destroy() upon the return value.
- */
--apol_vector_t *toplevel_get_log_clr(toplevel_t * top);
-+apol_vector_t *toplevel_get_log_mls_lvl(toplevel_t * top);
-
- /**
-- * Return a vector of strings corresponding to all mls
-- * clearance found within the current log file.
-- * The vector will be sorted alphabetically.
-+ * Return a vector of strings corresponding to all mls clearance
-+ * found within currently opened log files. The vector will be sorted
-+ * alphabetically.
- *
- * @param top Toplevel containing seaudit log object.
- *
- * @return Vector of sorted types, or NULL if no log is loaded. The
- * caller must call apol_vector_destroy() upon the return value.
- */
--apol_vector_t *toplevel_get_log_clr(toplevel_t * top);
-+apol_vector_t *toplevel_get_log_mls_clr(toplevel_t * top);
-
- /**
- * Return a vector of strings corresponding to all object classes
diff --git a/app-admin/setools/setools-2.4.ebuild b/app-admin/setools/setools-2.4.ebuild
deleted file mode 100644
index 79c8c805afc1..000000000000
--- a/app-admin/setools/setools-2.4.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-2.4.ebuild,v 1.6 2011/07/08 10:17:36 ssuominen Exp $
-
-inherit eutils
-
-DESCRIPTION="SELinux policy tools"
-HOMEPAGE="http://www.tresys.com/selinux/selinux_policy_tools.shtml"
-SRC_URI="http://oss.tresys.com/projects/setools/chrome/site/dists/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="X debug selinux"
-
-#S="${WORKDIR}/${PN}"
-
-DEPEND="sys-devel/bison
- sys-devel/flex
- dev-libs/libxml2
- dev-util/pkgconfig
- selinux? ( sys-libs/libselinux )
- X? (
- dev-lang/tk
- >=gnome-base/libglade-2.0
- )"
-
-RDEPEND="dev-libs/libxml2
- selinux? ( sys-libs/libselinux )
- X? (
- dev-lang/tk
- >=dev-tcltk/bwidget-1.4.1
- >=gnome-base/libglade-2.0
- )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/apol_tcl_fc.c.diff"
-
- # enable debug if requested
- use debug && sed -i -e '/^DEBUG/s/0/1/' "${S}/Makefile"
-
- # dont do findcon, replcon, searchcon, or indexcon if USE=-selinux
- if ! use selinux; then
- sed -i -e '/^USE_LIBSELINUX/s/1/0/' "${S}/Makefile"
- sed -i -e '/^SE_CMDS/s/replcon//' \
- -e '/^SE_CMDS/s/findcon//' \
- -e '/^SE_CMDS/s/searchcon//' \
- -e '/^SE_CMDS/s/indexcon//' "${S}/secmds/Makefile"
-
- # sechecker won't compile w/o libselinux
- sed -i -e '/^all-nogui/s/sechecker//' "${S}/Makefile"
- sed -i -r -e '/^install-sechecker/!s/install-sechecker//' "${S}/Makefile"
- fi
-}
-
-src_compile() {
- if use X; then
- make all || die
- else
- make all-nogui || die
- fi
-}
-
-src_install() {
- # some of the Makefiles are broken, and will fail
- # if ${D}/usr/bin is nonexistant
- dodir /usr/bin
-
- if use X; then
- make DESTDIR="${D}" install || die "install failed."
- else
- make DESTDIR="${D}" install-nogui || die "install failed."
- fi
-}
diff --git a/app-admin/setools/setools-3.3.4.ebuild b/app-admin/setools/setools-3.3.4.ebuild
deleted file mode 100644
index 7f1cf3ac46d9..000000000000
--- a/app-admin/setools/setools-3.3.4.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-3.3.4.ebuild,v 1.3 2011/03/29 12:10:02 angelos Exp $
-
-EAPI=1
-inherit java-pkg-opt-2
-
-DESCRIPTION="SELinux policy tools"
-HOMEPAGE="http://www.tresys.com/selinux/selinux_policy_tools.shtml"
-SRC_URI="http://oss.tresys.com/projects/setools/chrome/site/dists/${PN}-${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="X debug java python"
-
-DEPEND=">=sys-libs/libsepol-1.16.3
- sys-libs/libselinux
- sys-devel/bison
- sys-devel/flex
- >=dev-db/sqlite-3.2:3
- dev-libs/libxml2:2
- dev-util/pkgconfig
- java? (
- >=dev-lang/swig-1.3.28
- >=virtual/jdk-1.4
- )
- python? (
- >=dev-lang/python-2.4
- >=dev-lang/swig-1.3.28
- )
- X? (
- >=dev-lang/tk-8.4.9
- >=gnome-base/libglade-2.0
- >=x11-libs/gtk+-2.8:2
- )"
-
-RDEPEND=">=sys-libs/libsepol-1.16.3
- sys-libs/libselinux
- >=dev-db/sqlite-3.2:3
- dev-libs/libxml2:2
- java? ( >=virtual/jre-1.4 )
- python? ( >=dev-lang/python-2.4 )
- X? (
- >=dev-lang/tk-8.4.9
- >=dev-tcltk/bwidget-1.8
- >=gnome-base/libglade-2.0
- >=x11-libs/gtk+-2.8:2
- )"
-
-src_compile() {
- econf \
- --with-java-prefix=${JAVA_HOME} \
- --disable-selinux-check \
- --disable-bwidget-check \
- $(use_enable python swig-python) \
- $(use_enable java swig-java) \
- $(use_enable X swig-tcl) \
- $(use_enable X gui) \
- $(use_enable debug)
-
- emake || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "install failed."
-}
diff --git a/app-admin/setools/setools-3.3.5.ebuild b/app-admin/setools/setools-3.3.5.ebuild
deleted file mode 100644
index 068dfa9116f2..000000000000
--- a/app-admin/setools/setools-3.3.5.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-3.3.5.ebuild,v 1.4 2011/03/29 12:10:03 angelos Exp $
-
-EAPI=1
-inherit java-pkg-opt-2
-
-DESCRIPTION="SELinux policy tools"
-HOMEPAGE="http://www.tresys.com/selinux/selinux_policy_tools.shtml"
-SRC_URI="http://oss.tresys.com/projects/setools/chrome/site/dists/${PN}-${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="X debug java python"
-
-DEPEND=">=sys-libs/libsepol-1.16.3
- sys-libs/libselinux
- sys-devel/bison
- sys-devel/flex
- >=dev-db/sqlite-3.2:3
- dev-libs/libxml2:2
- dev-util/pkgconfig
- java? (
- >=dev-lang/swig-1.3.28
- >=virtual/jdk-1.4
- )
- python? (
- >=dev-lang/python-2.4
- >=dev-lang/swig-1.3.28
- )
- X? (
- >=dev-lang/tk-8.4.9
- >=gnome-base/libglade-2.0
- >=x11-libs/gtk+-2.8:2
- )"
-
-RDEPEND=">=sys-libs/libsepol-1.16.3
- sys-libs/libselinux
- >=dev-db/sqlite-3.2:3
- dev-libs/libxml2:2
- java? ( >=virtual/jre-1.4 )
- python? ( >=dev-lang/python-2.4 )
- X? (
- >=dev-lang/tk-8.4.9
- >=dev-tcltk/bwidget-1.8
- >=gnome-base/libglade-2.0
- >=x11-libs/gtk+-2.8:2
- )"
-
-src_compile() {
- econf \
- --with-java-prefix=${JAVA_HOME} \
- --disable-selinux-check \
- --disable-bwidget-check \
- $(use_enable python swig-python) \
- $(use_enable java swig-java) \
- $(use_enable X swig-tcl) \
- $(use_enable X gui) \
- $(use_enable debug)
-
- emake || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed."
-}
diff --git a/app-admin/setools/setools-3.3.6.ebuild b/app-admin/setools/setools-3.3.6.ebuild
deleted file mode 100644
index a9a3d1d34ee9..000000000000
--- a/app-admin/setools/setools-3.3.6.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-3.3.6.ebuild,v 1.3 2011/03/29 12:10:03 angelos Exp $
-
-EAPI=1
-inherit java-pkg-opt-2 autotools
-
-DESCRIPTION="SELinux policy tools"
-HOMEPAGE="http://www.tresys.com/selinux/selinux_policy_tools.shtml"
-SRC_URI="http://oss.tresys.com/projects/setools/chrome/site/dists/${PN}-${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="X debug java python"
-
-DEPEND=">=sys-libs/libsepol-2.0.37
- sys-libs/libselinux
- sys-devel/bison
- sys-devel/flex
- >=dev-db/sqlite-3.2:3
- dev-libs/libxml2:2
- dev-util/pkgconfig
- java? (
- >=dev-lang/swig-1.3.28
- >=virtual/jdk-1.4
- )
- python? (
- >=dev-lang/python-2.4
- >=dev-lang/swig-1.3.28
- )
- X? (
- >=dev-lang/tk-8.4.9
- >=gnome-base/libglade-2.0
- >=x11-libs/gtk+-2.8:2
- )"
-
-RDEPEND=">=sys-libs/libsepol-2.0.37
- sys-libs/libselinux
- >=dev-db/sqlite-3.2:3
- dev-libs/libxml2:2
- java? ( >=virtual/jre-1.4 )
- python? ( >=dev-lang/python-2.4 )
- X? (
- >=dev-lang/tk-8.4.9
- >=dev-tcltk/bwidget-1.8
- >=gnome-base/libglade-2.0
- >=x11-libs/gtk+-2.8:2
- )"
-
-src_unpack() {
- unpack ${A}
-
- epatch "${FILESDIR}/setools-3.3.6-headers.diff"
- eautomake
-}
-
-src_compile() {
- econf \
- --with-java-prefix=${JAVA_HOME} \
- --disable-selinux-check \
- --disable-bwidget-check \
- $(use_enable python swig-python) \
- $(use_enable java swig-java) \
- $(use_enable X swig-tcl) \
- $(use_enable X gui) \
- $(use_enable debug)
-
- # work around swig c99 issues. it does not require
- # c99 anyway.
- sed -i -e 's/-std=gnu99//' "${S}/libseaudit/swig/python/Makefile"
-
- emake || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed."
-}