summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2016-09-02 00:27:19 +0800
committerJason Zaman <perfinion@gentoo.org>2016-09-02 00:28:38 +0800
commit285a3e8c9a58d6f98c01fe538d2727d91f921b46 (patch)
tree4b697b25fe89c3fdb6312e38a0a6416361653a8b /app-admin/setools
parentdev-python/sepolgen: Add python3_5 (diff)
downloadgentoo-285a3e8c9a58d6f98c01fe538d2727d91f921b46.tar.gz
gentoo-285a3e8c9a58d6f98c01fe538d2727d91f921b46.tar.bz2
gentoo-285a3e8c9a58d6f98c01fe538d2727d91f921b46.zip
app-admin/setools: Drop old
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-admin/setools')
-rw-r--r--app-admin/setools/Manifest2
-rw-r--r--app-admin/setools/setools-3.3.8-r5.ebuild160
2 files changed, 0 insertions, 162 deletions
diff --git a/app-admin/setools/Manifest b/app-admin/setools/Manifest
index c1d439d3b2ac..eb534830632c 100644
--- a/app-admin/setools/Manifest
+++ b/app-admin/setools/Manifest
@@ -1,5 +1,3 @@
-DIST setools-3.3.8-01-fedora-patches.tar.gz 1128 SHA256 420b852d4209d07b73cec84586e000e7a6a719135ea677711abf97d420840bb6 SHA512 1aa2cc50c307929b522e029a552bfd545aef07656d1983289b0ea9be67aa94c07272a59c17630fc09fd79b06845ada318cdfa48d6cc243a24026e015c23b9634 WHIRLPOOL 25ae2b15fb15060fd0d34c55f4cc098b70a3a616f5334b092657a9c5df037b7fcf00fd185f33ba142e47d46c36b2fb7e9434021d6e987832fe833367a50d7449
-DIST setools-3.3.8-03-gentoo-patches.tar.gz 6584 SHA256 8eac460b7dc2ee5e2f23148cdbf187316edd78ce0ec7ebbb6b0f68d6ad33d86a SHA512 5458dab5775b558e287f946c299753be5cb5eb6c1c2b9df0e32c7cfa758bb5316d142aa6338d3019f5f1eeb72876e4d5ed4939b0dbfe7b7e01c08a19a086bacc WHIRLPOOL e1afa6bb28f3aee2f3acdc66efd8ca02548c4f8e5707052ea455f1db558126f069d63278251630ee68bf4987157279161006975cb14d44055492228fa476cd72
DIST setools-3.3.8-04-gentoo-patches.tar.bz2 94986 SHA256 9a8a43ac97606fde9b2610ceed65f640638929853f871ce530982bedfd919b64 SHA512 39bf00b6aaf31821c6e2e2fb4c460dd1914fba4bf8385acebedf88f1533da990f1fb925dd49d75827aebef3f394a50a1edea46a07204193b58c65a066a064e6a WHIRLPOOL 4a92e4cf6930584de931c5d0805815aacd1c1af4434ca8e73414eda33588a55ef8d7bdfe4195be642889eee480128cbe12d1c5612e07ea304021b230e0b74816
DIST setools-3.3.8.tar.bz2 951428 SHA256 44387ecc9a231ec536a937783440cd8960a72c51f14bffc1604b7525e341e999 SHA512 2c42ee9904174ed6c6fc129e374ec3591925094ab0ef65001b0104e365c5634bf4a79f28369608c80199d8f59fafaa5f274107c04c129c380eeef7adb0c32667 WHIRLPOOL 11c4065809909764f4364b78df1a8030d189315601b882919ccacb5fb147c1b3a061c5bbf9ced3c243d4615ab7727e9db0c89e931a884ae8b317ae3a879e5371
DIST setools-4.0.1.tar.gz 399888 SHA256 4c2049877f2f68e4485b72bc280fe20127b49a019169a2cf1d8295c908bdcdfe SHA512 d0a36cfddc6a6f47ecaa8402141271558e97467b6c449d18b98bf6fe894189f29a32fb672e3ff573efdb44964bd361283c68c2906d02f8a9c1269b6b71903bc2 WHIRLPOOL 017e709c113b28175787249af8aa1dcc99a5034eadcc76e97a394f9f89afcc1e7fe3eeb8ec105c541a6260d8a2eb4b1aa8155ba2297ecdf6d640ba112857a442
diff --git a/app-admin/setools/setools-3.3.8-r5.ebuild b/app-admin/setools/setools-3.3.8-r5.ebuild
deleted file mode 100644
index 595afd3b374a..000000000000
--- a/app-admin/setools/setools-3.3.8-r5.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools java-pkg-opt-2 python-r1 eutils toolchain-funcs
-
-DESCRIPTION="SELinux policy tools"
-HOMEPAGE="https://github.com/TresysTechnology/setools/wiki"
-SRC_URI="http://oss.tresys.com/projects/setools/chrome/site/dists/${P}/${P}.tar.bz2
- https://dev.gentoo.org/~swift/patches/setools/${P}-01-fedora-patches.tar.gz
- https://dev.gentoo.org/~swift/patches/setools/${P}-03-gentoo-patches.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="X debug java python"
-
-DEPEND=">=sys-libs/libsepol-2.1.4
- >=sys-libs/libselinux-2.3
- sys-devel/bison
- sys-devel/flex
- >=dev-db/sqlite-3.2:3
- dev-libs/libxml2:2
- virtual/pkgconfig
- java? (
- dev-lang/swig:1
- >=virtual/jdk-1.4
- )
- python? (
- ${PYTHON_DEPS}
- dev-lang/swig:1
- )
- X? (
- >=dev-lang/tk-8.4.9
- >=gnome-base/libglade-2.0
- >=x11-libs/gtk+-2.8:2
- )"
-
-RDEPEND=">=sys-libs/libsepol-2.1.4
- >=sys-libs/libselinux-2.3
- >=dev-db/sqlite-3.2:3
- dev-libs/libxml2:2
- java? ( >=virtual/jre-1.4 )
- X? (
- >=dev-lang/tk-8.4.9:0=
- >=dev-tcltk/bwidget-1.8
- >=gnome-base/libglade-2.0
- >=x11-libs/gtk+-2.8:2
- )"
-
-RESTRICT="test"
-# setools dirs that contain python code to build
-PYTHON_DIRS="libapol/swig/python libpoldiff/swig/python libqpol/swig/python libseaudit/swig/python libsefs/swig/python python"
-
-pkg_setup() {
- if use java; then
- java-pkg-opt-2_pkg_setup
- fi
-}
-
-src_prepare() {
- EPATCH_MULTI_MSG="Applying various (Fedora-provided) setools fixes... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}" \
- EPATCH_FORCE="yes" \
- epatch
-
- EPATCH_MULTI_MSG="Applying various (Gentoo) setool fixes... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- # Disable broken check for SWIG version.
- sed -e "s/AC_PROG_SWIG(2.0.0)/AC_PROG_SWIG/" -i configure.ac || die "sed failed"
- # Use swig1.3
- sed -e 's/AC_PATH_PROG(\[SWIG\],\[swig\])/AC_PATH_PROG([SWIG],[swig1.3])/' -i m4/ac_pkg_swig.m4 || die "failed to set swig1.3"
- # Fix build failure due to double __init__.py installation
- sed -e "s/^wrappedpy_DATA = qpol.py \$(pkgpython_PYTHON)/wrappedpy_DATA = qpol.py/" -i libqpol/swig/python/Makefile.am || die
-
- 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
-
- # temporary work around bug #424581 until automake-1.12 is stable (then
- # depend on it). Need to use MKDIR_P in the mean time for 1.12+.
- has_version ">=sys-devel/automake-1.12.1" && { find . -name 'Makefile.*' -exec sed -i -e 's:mkdir_p:MKDIR_P:g' {} + || die; }
-
- eautoreconf
-
- # Disable byte-compilation of Python modules.
- echo '#!/bin/sh' > py-compile
-
- epatch_user
-}
-
-src_configure() {
- tc-ld-disable-gold #467136
- 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() {
- emake
-
- if use python; then
- building() {
- python_export PYTHON_INCLUDEDIR
- python_export PYTHON_SITEDIR
- python_export PYTHON_LIBS
- emake \
- SWIG_PYTHON_CPPFLAGS="-I${PYTHON_INCLUDEDIR}" \
- PYTHON_LDFLAGS="${PYTHON_LIBS}" \
- pyexecdir="${PYTHON_SITEDIR}" \
- pythondir="${PYTHON_SITEDIR}" \
- -C "$1"
- }
- local dir
- for dir in ${PYTHON_DIRS}; do
- python_foreach_impl building ${dir}
- done
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- if use python; then
- installation() {
- python_export PYTHON_SITEDIR
- emake DESTDIR="${D}" \
- pyexecdir="${PYTHON_SITEDIR}" \
- pythondir="${PYTHON_SITEDIR}" \
- -C "$1" install
- }
-
- local dir
- for dir in ${PYTHON_DIRS}; do
- python_foreach_impl installation "${dir}"
- done
- fi
-}