summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2003-10-29 04:04:12 +0000
committerChris PeBenito <pebenito@gentoo.org>2003-10-29 04:04:12 +0000
commitfaeee71c21255e7fa5f3d59bc15de640d8c902e1 (patch)
tree708b71ec6d4cbec57642151fc4e2a7adb8e7e66f /app-admin/setools
parentadd selinux patch (diff)
downloadgentoo-2-faeee71c21255e7fa5f3d59bc15de640d8c902e1.tar.gz
gentoo-2-faeee71c21255e7fa5f3d59bc15de640d8c902e1.tar.bz2
gentoo-2-faeee71c21255e7fa5f3d59bc15de640d8c902e1.zip
remove old api version
Diffstat (limited to 'app-admin/setools')
-rw-r--r--app-admin/setools/Manifest2
-rw-r--r--app-admin/setools/files/digest-setools-200306091
-rw-r--r--app-admin/setools/setools-20030609.ebuild92
3 files changed, 0 insertions, 95 deletions
diff --git a/app-admin/setools/Manifest b/app-admin/setools/Manifest
index feacb71be10f..c23a5df19bcf 100644
--- a/app-admin/setools/Manifest
+++ b/app-admin/setools/Manifest
@@ -1,6 +1,4 @@
-MD5 5f0bba1204f85bb7e7bc3bd887ba4d43 setools-20030609.ebuild 2472
MD5 ad456677eb31fafcbfb1d55b8410b724 ChangeLog 584
MD5 418c2991b69fcf9d551aba29ae6f2b2e metadata.xml 505
MD5 e4bea5189288e3b3c3dbe08b0991f60c setools-1.0.ebuild 2162
-MD5 452654a1740a7defb4b5a8b2644c8285 files/digest-setools-20030609 65
MD5 e67f17b9d1144c47594fc42147520b6d files/digest-setools-1.0 60
diff --git a/app-admin/setools/files/digest-setools-20030609 b/app-admin/setools/files/digest-setools-20030609
deleted file mode 100644
index 94bc85646d76..000000000000
--- a/app-admin/setools/files/digest-setools-20030609
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a920713baf3578c4761c801bb82b9592 setools-20030609.tgz 247154
diff --git a/app-admin/setools/setools-20030609.ebuild b/app-admin/setools/setools-20030609.ebuild
deleted file mode 100644
index 19f29ad0298a..000000000000
--- a/app-admin/setools/setools-20030609.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-20030609.ebuild,v 1.4 2003/09/26 20:45:47 aliz Exp $
-
-DESCRIPTION="SELinux graphical policy tools"
-HOMEPAGE="http://www.tresys.com/selinux_policy_tools.html"
-SRC_URI="http://www.tresys.com/Downloads/selinux-tools/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-S="${WORKDIR}/setools"
-KEYWORDS="x86"
-IUSE="selinux"
-
-DEPEND="sys-devel/bison
- sys-devel/flex
- dev-lang/tk"
-
-RDEPEND="dev-lang/tk
- >=dev-tcltk/bwidget-1.4.1
- selinux? ( sys-apps/selinux-small )"
-
-src_compile() {
- # fix stupid hard-coded paths
- cd ${S}/libapol
- sed -i -e 's:local/::g' apol_tcl.h
- cd ${S}/apol
- sed -i -e 's:local/selinux/::' head.tcl
- cd ${S}/sepct
- sed -i -e 's:local/::g' top.tcl
- cd ${S}/seuser
- sed -i -e 's:local/selinux/::' seuser_head.tcl
- sed -i -e "s:/etc/security/selinux/src/policy/users:${POLICYDIR}/users:" \
- -e "s:/etc/security/selinux/src/policy$:${POLICYDIR}:" \
- seuser.conf
- cd ${S}
-
- # fix the Makefile to listen to portage CFLAGS
- sed -i -e 's:-g:$(EXTRA_CFLAGS):' Makefile
-
- # adjust for tcl/tk versions
- has_version '>=dev-lang/tk-8.4' && \
- TCL_LIBS="-ltk8.4 -ltcl8.4 -lfl -lm" || \
- TCL_LIBS="-ltk8.3 -ltcl8.3 -lfl -lm"
-
- emake TCL_LIBS="${TCL_LIBS}" EXTRA_CFLAGS="${CFLAGS}" all \
- || die "compile failed"
-
- if [ "`use selinux`" ]; then
- # fix up the scripts we're going to install
- cd ${S}/seuser
-
- sed -i -e 's:local/selinux/::g' seuseradd
- sed -i -e 's:local/selinux/::g' seuserdel
- sed -i -e 's:local/selinux/::g' seusermod
-
- # fix up the file contexts
- cd ${S}/policy
- sed -i -e 's:local/selinux/::' -e 's:local/::' \
- seuser.fc
- fi
-}
-
-src_install() {
- dobin ${S}/apol/apol
- dobin ${S}/awish/awish
- dobin ${S}/sepct/sepcut
-
- insinto /usr/lib/apol
- doins ${S}/apol/{apol.tcl,apol_help.txt}
- doins ${S}/sepct/sepcut_help.txt
-
- if [ "`use selinux`" ]; then
- dobin ${S}/seuser/{seuser,seuseradd,seuserdel,seusermod}
- doins ${S}/seuser/{se_user.tcl,seuser_help.txt,seuser.conf}
-
- insinto ${POLICYDIR}/domains/program
- doins ${S}/policy/seuser.te
- insinto ${POLICYDIR}/file_contexts/program
- doins ${S}/policy/seuser.fc
- fi
-
- dodoc COPYING ChangeLog-setools README
-}
-
-pkg_postinst() {
- if [ "`use selinux`" ]; then
- einfo "A policy for the seuser program has been installed into"
- einfo "${POLICYDIR}. Please reload your policy at relabel"
- einfo "setools: rlpkg setools"
- fi
-}