summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <swift@gentoo.org>2011-11-12 18:16:30 +0000
committerSven Vermeulen <swift@gentoo.org>2011-11-12 18:16:30 +0000
commite15e0033de4471c145df4195fd40f845791aa020 (patch)
tree11e02aa58f4a106a65b44dda460e5f6474fb2ff4 /app-admin
parentRemoving older versions of checkpolicy, not used anymore (diff)
downloadgentoo-2-e15e0033de4471c145df4195fd40f845791aa020.tar.gz
gentoo-2-e15e0033de4471c145df4195fd40f845791aa020.tar.bz2
gentoo-2-e15e0033de4471c145df4195fd40f845791aa020.zip
Removing older versions of setools, not used with recent selinux toolset
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/setools/ChangeLog5
-rw-r--r--app-admin/setools/setools-3.3.7.ebuild153
2 files changed, 4 insertions, 154 deletions
diff --git a/app-admin/setools/ChangeLog b/app-admin/setools/ChangeLog
index 7d0ea5c56b67..a09d801b9d46 100644
--- a/app-admin/setools/ChangeLog
+++ b/app-admin/setools/ChangeLog
@@ -1,6 +1,9 @@
# 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.71 2011/10/23 12:40:56 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/ChangeLog,v 1.72 2011/11/12 18:16:29 swift Exp $
+
+ 12 Nov 2011; <swift@gentoo.org> -setools-3.3.7.ebuild:
+ Remove obsoleted ebuilds
23 Oct 2011; <swift@gentoo.org> setools-3.3.7-r1.ebuild:
Stabilization (tracker #384231)
diff --git a/app-admin/setools/setools-3.3.7.ebuild b/app-admin/setools/setools-3.3.7.ebuild
deleted file mode 100644
index 86f0a95eeddf..000000000000
--- a/app-admin/setools/setools-3.3.7.ebuild
+++ /dev/null
@@ -1,153 +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.7.ebuild,v 1.4 2011/05/28 05:32:21 blueness Exp $
-
-EAPI="2"
-PYTHON_DEPEND="python? 2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython"
-
-inherit autotools java-pkg-opt-2 python
-
-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/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 )
- X? (
- >=dev-lang/tk-8.4.9
- >=dev-tcltk/bwidget-1.8
- >=gnome-base/libglade-2.0
- >=x11-libs/gtk+-2.8:2
- )"
-
-RESTRICT="test"
-
-pkg_setup() {
- if use java; then
- java-pkg-opt-2_pkg_setup
- fi
-
- if use python; then
- python_pkg_setup
- PYTHON_DIRS="libapol/swig/python libpoldiff/swig/python libqpol/swig/python libseaudit/swig/python libsefs/swig/python"
- fi
-}
-
-src_prepare() {
- # Disable broken check for SWIG version.
- sed -e "s/AC_PROG_SWIG(1.3.28)/AC_PROG_SWIG/" -i configure.ac || die "sed failed"
-
- local dir
- for dir in ${PYTHON_DIRS}; do
- # Python bindings are built/installed manually.
- sed -e "s/MAYBE_PYSWIG = python/MAYBE_PYSWIG =/" -i ${dir%python}Makefile.am || die "sed failed"
- # Make PYTHON_LDFLAGS replaceable during running `make`.
- sed -e "/^AM_LDFLAGS =/s/@PYTHON_LDFLAGS@/\$(PYTHON_LDFLAGS)/" -i ${dir}/Makefile.am || die "sed failed"
- done
-
- eautoreconf
-
- # Disable byte-compilation of Python modules.
- echo '#!/bin/sh' > py-compile
-}
-
-src_configure() {
- 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"
-}
-
-src_compile() {
- default
-
- if use python; then
- local dir
- for dir in ${PYTHON_DIRS}; do
- python_copy_sources ${dir}
- building() {
- emake \
- SWIG_PYTHON_CPPFLAGS="-I$(python_get_includedir)" \
- PYTHON_LDFLAGS="$(python_get_library -l)" \
- pyexecdir="$(python_get_sitedir)" \
- pythondir="$(python_get_sitedir)"
- }
- python_execute_function \
- --action-message "Building of Python bindings from ${dir} directory with \$(python_get_implementation) \$(python_get_version)" \
- --failure-message "Building of Python bindings from ${dir} directory with \$(python_get_implementation) \$(python_get_version) failed" \
- -s --source-dir ${dir} \
- building
- done
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- if use python; then
- local dir
- for dir in ${PYTHON_DIRS}; do
- installation() {
- emake \
- DESTDIR="${D}" \
- pyexecdir="$(python_get_sitedir)" \
- pythondir="$(python_get_sitedir)" \
- install
- }
- python_execute_function \
- --action-message "Installation of Python bindings from ${dir} directory with \$(python_get_implementation) \$(python_get_version)" \
- --failure-message "Installation of Python bindings from ${dir} directory with \$(python_get_implementation) \$(python_get_version) failed" \
- -s --source-dir ${dir} \
- installation
- done
- fi
-}
-
-pkg_postinst() {
- if use python; then
- python_mod_optimize setools
- fi
-}
-
-pkg_postrm() {
- if use python; then
- python_mod_cleanup setools
- fi
-}