diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2003-12-22 20:16:50 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2003-12-22 20:16:50 +0000 |
commit | c49a129ea827fe764c022a11e67f7991cddf043a (patch) | |
tree | 0c1c2ef5e6669a3b8ce750df49c2661f3e9b0a61 /app-admin/setools | |
parent | new upstream version (diff) | |
download | historical-c49a129ea827fe764c022a11e67f7991cddf043a.tar.gz historical-c49a129ea827fe764c022a11e67f7991cddf043a.tar.bz2 historical-c49a129ea827fe764c022a11e67f7991cddf043a.zip |
rm old
Diffstat (limited to 'app-admin/setools')
-rw-r--r-- | app-admin/setools/Manifest | 2 | ||||
-rw-r--r-- | app-admin/setools/files/digest-setools-1.0 | 1 | ||||
-rw-r--r-- | app-admin/setools/setools-1.0.ebuild | 83 |
3 files changed, 0 insertions, 86 deletions
diff --git a/app-admin/setools/Manifest b/app-admin/setools/Manifest index 6ae9ab82521c..6bed44cf9a97 100644 --- a/app-admin/setools/Manifest +++ b/app-admin/setools/Manifest @@ -1,8 +1,6 @@ MD5 8fb317db54d945003dde0f10ae0f84a5 setools-1.0.1.ebuild 2164 MD5 418c2991b69fcf9d551aba29ae6f2b2e metadata.xml 505 -MD5 e4bea5189288e3b3c3dbe08b0991f60c setools-1.0.ebuild 2162 MD5 61c14d4efc4967fd3f55f270ad7a52de ChangeLog 1048 MD5 acfcfe6d3319bdc75f971a403cfeb8a9 setools-1.1.ebuild 3074 MD5 5564aa4a7b6c1f09a6b07813defbedd5 files/digest-setools-1.0.1 62 -MD5 e67f17b9d1144c47594fc42147520b6d files/digest-setools-1.0 60 MD5 471bf4cba5a334dcb65b4451a1b0ce07 files/digest-setools-1.1 60 diff --git a/app-admin/setools/files/digest-setools-1.0 b/app-admin/setools/files/digest-setools-1.0 deleted file mode 100644 index c97494b83114..000000000000 --- a/app-admin/setools/files/digest-setools-1.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 66380e27ae6465fb7a97e0f4eac31f1d setools-1.0.tgz 912756 diff --git a/app-admin/setools/setools-1.0.ebuild b/app-admin/setools/setools-1.0.ebuild deleted file mode 100644 index 3d56440688df..000000000000 --- a/app-admin/setools/setools-1.0.ebuild +++ /dev/null @@ -1,83 +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-1.0.ebuild,v 1.1 2003/10/23 18:55:37 pebenito 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}/${P}" -KEYWORDS="x86" -IUSE="selinux" - -DEPEND="sys-devel/bison - sys-devel/flex - dev-lang/tk" - -RDEPEND="dev-lang/tk - >=dev-tcltk/bwidget-1.4.1" - -src_unpack() { - unpack ${A} - - # fix the Makefile to listen to portage CFLAGS - sed -i -e 's:-O2:-O2 $(EXTRA_CFLAGS):' ${S}/Makefile - - 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_compile() { - cd ${S} - - # adjust for tcl/tk versions - has_version '>=dev-lang/tk-8.4' && \ - TCL_LIBS="-ltk8.4 -ltcl8.4 -lfl -lm -dl" || \ - TCL_LIBS="-ltk8.3 -ltcl8.3 -lfl -lm -dl" - - make TCL_LIBS="${TCL_LIBS}" EXTRA_CFLAGS="${CFLAGS}" all \ - || die "compile failed" -} - -src_install() { - dodoc COPYING ChangeLog-setools README - - dobin ${S}/apol/apol - dobin ${S}/awish/awish - dobin ${S}/sepct/sepcut - - insinto /usr/lib/apol - doins ${S}/apol/{apol.tcl,apol_help.txt,dta_help.txt,iflow_help.txt} - doins ${S}/sepct/sepcut_help.txt - newins ${S}/apol/apol_perm_mapping_ver15 apol_perm_mapping - - 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 -} - -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 -} |