summaryrefslogtreecommitdiff
path: root/app-admin/setools
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/setools')
-rw-r--r--app-admin/setools/Manifest5
-rw-r--r--app-admin/setools/files/setools-4.1.1-remove-gui.patch18
-rw-r--r--app-admin/setools/metadata.xml12
-rw-r--r--app-admin/setools/setools-4.1.1.ebuild56
-rw-r--r--app-admin/setools/setools-9999.ebuild56
5 files changed, 0 insertions, 147 deletions
diff --git a/app-admin/setools/Manifest b/app-admin/setools/Manifest
deleted file mode 100644
index 5020d88fa5b1..000000000000
--- a/app-admin/setools/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX setools-4.1.1-remove-gui.patch 890 BLAKE2B 70c7a7fb4b6bb31d8735d4b938ff848000c3181e590e557413011ebd5db650f79dfad270f6506128ef9971975ec2b26323b18f793bb914759449679bc34f388c SHA512 c30d7fa3624164d3ec5574b1ae36cc896fb5132ed875f232e9e84cf080e7081dadce61f6d88b55aefa45e417a081622acf7aa2d9f10406d23be7646905dfb3e6
-DIST setools-4.1.1.tar.gz 461649 BLAKE2B a753718aa6a5de889ba7a2eea921340061edf1bcb0b572a365e858949a92d2f8a92a876be2e4bc539d85fa6029511ab6afabfbe8138cdb5a73b587a9b58551bb SHA512 2e55a3b07e2f94d7c84054f31d266567b9acc708fe2b0e16ac3ea24e8301c712bcf564ff915a6135a1a6ba6822682bb3a6530dae20161a832fb7048364acbd04
-EBUILD setools-4.1.1.ebuild 1488 BLAKE2B 462d30b33838dc2c548baff9bb32ca2f978df8a62d5a6e936dfc3bab4dd2522513a90635d64244c6750587cb061380a92a4158bc8e38bddcd2065987463ce9ca SHA512 074263f51282f81cd723ad261c286d46a93a8e13be2fec152adf61a8618685ad43460751d152077d22f395ed854d3362d49c47476ff1fc8b92fe1b62d7351fe5
-EBUILD setools-9999.ebuild 1490 BLAKE2B 1ee40697229d0164b92c75242a8659dd6abef5e0462b9d8154c98f75271a42062bf04cc525a14a4a2a243623f5b5c962c31527928e134f3ba5d2ce7f9bee593c SHA512 d3dd0829d41ed81f927409c0fb1c86077004f58b5853c419b887febe562c36d6dbdc7f9c10d17c286aa6bad71c9a49043050ebb981115242cdad6be3a6200d36
-MISC metadata.xml 403 BLAKE2B 954bfb344e48933f43c746ed626da3851b9e887b9d1c68541fa97356992c2e80f0626198d2170b431d32489347bb6e5ee46d2577a5d672940892ec5d5fd87e4e SHA512 be645abfaf1149e2f2a9b7f0613b61f015df81a16bc6dde593513aa2ba7b4a9a8fba65520b53a2511ba65c022258f48bcd2aed3f85c273a35c94359e358a8fa6
diff --git a/app-admin/setools/files/setools-4.1.1-remove-gui.patch b/app-admin/setools/files/setools-4.1.1-remove-gui.patch
deleted file mode 100644
index 1bb78f5fd964..000000000000
--- a/app-admin/setools/files/setools-4.1.1-remove-gui.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 2ca44c9..0c8a0d9 100644
---- a/setup.py
-+++ b/setup.py
-@@ -180,10 +180,10 @@ setup(name='setools',
- 'build_lex': LexCommand,
- 'build_ext': BuildExtCommand,
- 'build_qhc': QtHelpCommand},
-- packages=['setools', 'setools.diff', 'setools.policyrep', 'setoolsgui', 'setoolsgui.apol'],
-- scripts=['apol', 'sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta'],
-+ packages=['setools', 'setools.diff', 'setools.policyrep'],
-+ scripts=['sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta'],
- data_files=[(join(sys.prefix, 'share/man/man1'), glob.glob("man/*.1"))],
-- package_data={'': ['*.ui', '*.qhc', '*.qch'], 'setools': ['perm_map']},
-+ package_data={'setools': ['perm_map']},
- ext_modules=ext_py_mods,
- test_suite='tests',
- license='GPLv2+, LGPLv2.1+',
diff --git a/app-admin/setools/metadata.xml b/app-admin/setools/metadata.xml
deleted file mode 100644
index 8e9f11ed8b4c..000000000000
--- a/app-admin/setools/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>selinux@gentoo.org</email>
- <name>SELinux Team</name>
- </maintainer>
- <longdescription>SELinux policy analysis tools.</longdescription>
- <upstream>
- <remote-id type="github">TresysTechnology/setools</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/app-admin/setools/setools-4.1.1.ebuild b/app-admin/setools/setools-4.1.1.ebuild
deleted file mode 100644
index 560eee70d249..000000000000
--- a/app-admin/setools/setools-4.1.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
-
-inherit distutils-r1
-
-DESCRIPTION="Policy Analysis Tools for SELinux"
-HOMEPAGE="https://github.com/TresysTechnology/setools/wiki"
-
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/TresysTechnology/setools.git"
-else
- SRC_URI="https://github.com/TresysTechnology/setools/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm64 x86"
-fi
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-IUSE="X debug test"
-
-RDEPEND="${PYTHON_DEPS}
- >=sys-libs/libsepol-2.7:=
- >=sys-libs/libselinux-2.7:=[${PYTHON_USEDEP}]
- >=dev-python/networkx-1.8[${PYTHON_USEDEP}]
- virtual/python-enum34[${PYTHON_USEDEP}]
- dev-libs/libpcre:=
- X? (
- dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
- )"
-
-DEPEND="${RDEPEND}
- >=dev-lang/swig-2.0.12:0
- sys-devel/bison
- sys-devel/flex
- >=sys-libs/libsepol-2.5
- test? (
- python_targets_python2_7? ( dev-python/mock[${PYTHON_USEDEP}] )
- dev-python/tox[${PYTHON_USEDEP}]
- sys-apps/checkpolicy
- )"
-
-python_prepare_all() {
- sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror"
- sed -i "s@^base_lib_dirs = .*@base_lib_dirs = ['${ROOT:-/}usr/$(get_libdir)']@g" "${S}"/setup.py || \
- die "failed to set base_lib_dirs"
-
- use X || local PATCHES=( "${FILESDIR}"/setools-4.1.1-remove-gui.patch )
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- esetup.py test
-}
diff --git a/app-admin/setools/setools-9999.ebuild b/app-admin/setools/setools-9999.ebuild
deleted file mode 100644
index d0836619d13f..000000000000
--- a/app-admin/setools/setools-9999.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
-
-inherit distutils-r1
-
-DESCRIPTION="Policy Analysis Tools for SELinux"
-HOMEPAGE="https://github.com/TresysTechnology/setools/wiki"
-
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/TresysTechnology/setools.git"
-else
- SRC_URI="https://github.com/TresysTechnology/setools/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm64 ~x86"
-fi
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-IUSE="X debug test"
-
-RDEPEND="${PYTHON_DEPS}
- >=sys-libs/libsepol-2.7:=
- >=sys-libs/libselinux-2.7:=[${PYTHON_USEDEP}]
- >=dev-python/networkx-1.8[${PYTHON_USEDEP}]
- virtual/python-enum34[${PYTHON_USEDEP}]
- dev-libs/libpcre:=
- X? (
- dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
- )"
-
-DEPEND="${RDEPEND}
- >=dev-lang/swig-2.0.12:0
- sys-devel/bison
- sys-devel/flex
- >=sys-libs/libsepol-2.5
- test? (
- python_targets_python2_7? ( dev-python/mock[${PYTHON_USEDEP}] )
- dev-python/tox[${PYTHON_USEDEP}]
- sys-apps/checkpolicy
- )"
-
-python_prepare_all() {
- sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror"
- sed -i "s@^base_lib_dirs = .*@base_lib_dirs = ['${ROOT:-/}usr/$(get_libdir)']@g" "${S}"/setup.py || \
- die "failed to set base_lib_dirs"
-
- use X || local PATCHES=( "${FILESDIR}"/setools-4.1.1-remove-gui.patch )
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- esetup.py test
-}