summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2006-05-09 03:57:04 +0000
committerChris PeBenito <pebenito@gentoo.org>2006-05-09 03:57:04 +0000
commiteb1c4c8a39d04d2e4dd04bc242e340233127972b (patch)
tree1e5f48ea2e7513abf52362d88791c7e467d70898 /app-admin
parentstable blah blah (diff)
downloadgentoo-2-eb1c4c8a39d04d2e4dd04bc242e340233127972b.tar.gz
gentoo-2-eb1c4c8a39d04d2e4dd04bc242e340233127972b.tar.bz2
gentoo-2-eb1c4c8a39d04d2e4dd04bc242e340233127972b.zip
new upstream release
(Portage version: 2.1_pre10-r3)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/setools/ChangeLog7
-rw-r--r--app-admin/setools/files/digest-setools-2.43
-rw-r--r--app-admin/setools/setools-2.4.ebuild75
3 files changed, 84 insertions, 1 deletions
diff --git a/app-admin/setools/ChangeLog b/app-admin/setools/ChangeLog
index 9c6629b65c7f..19449aa9410d 100644
--- a/app-admin/setools/ChangeLog
+++ b/app-admin/setools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/setools
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/ChangeLog,v 1.44 2006/02/03 13:52:01 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/ChangeLog,v 1.45 2006/05/09 03:57:04 pebenito Exp $
+
+*setools-2.4 (09 May 2006)
+
+ 09 May 2006; Chris PeBenito <pebenito@gentoo.org> +setools-2.4.ebuild:
+ New upstream release.
*setools-2.3 (03 Feb 2006)
diff --git a/app-admin/setools/files/digest-setools-2.4 b/app-admin/setools/files/digest-setools-2.4
new file mode 100644
index 000000000000..1ad609abab5e
--- /dev/null
+++ b/app-admin/setools/files/digest-setools-2.4
@@ -0,0 +1,3 @@
+MD5 4b3d22e07fc92a5c1321bf08958dda81 setools-2.4.tar.bz2 1181584
+RMD160 67c77950a4138300a3da4f17ab0d51b2d482bc18 setools-2.4.tar.bz2 1181584
+SHA256 fcd0bc7390275cce8b4c0dbf8cc3471c3ab73724b1b373d40625cc477794fc2e setools-2.4.tar.bz2 1181584
diff --git a/app-admin/setools/setools-2.4.ebuild b/app-admin/setools/setools-2.4.ebuild
new file mode 100644
index 000000000000..1f994443d04c
--- /dev/null
+++ b/app-admin/setools/setools-2.4.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2006 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.1 2006/05/09 03:57:04 pebenito Exp $
+
+inherit eutils
+
+DESCRIPTION="SELinux policy tools"
+HOMEPAGE="http://www.tresys.com/selinux/selinux_policy_tools.shtml"
+SRC_URI="http://www.tresys.com/files/setools/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+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}
+
+ # enable debug if requested
+ useq debug && sed -i -e '/^DEBUG/s/0/1/' ${S}/Makefile
+
+ # dont do findcon, replcon, searchcon, or indexcon if USE=-selinux
+ if ! useq 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
+ fi
+}
+
+src_compile() {
+ cd ${S}
+
+ if useq X; then
+ make all || die
+ else
+ make all-nogui || die
+ fi
+}
+
+src_install() {
+ cd ${S}
+
+ # 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
+}