commit:     e654e951eea88f99d1dd72b89e7a7fb5c406aa80
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 07:30:28 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 07:30:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e654e951

app-forensics/openscap: Remove last-rited pkg

Closes: https://bugs.gentoo.org/735216
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-forensics/openscap/Manifest               |   1 -
 app-forensics/openscap/metadata.xml           |  16 ---
 app-forensics/openscap/openscap-1.2.14.ebuild | 138 -----------------------
 app-forensics/openscap/openscap-9999.ebuild   | 152 --------------------------
 profiles/package.mask                         |   1 -
 5 files changed, 308 deletions(-)

diff --git a/app-forensics/openscap/Manifest b/app-forensics/openscap/Manifest
deleted file mode 100644
index 6d3afb4befa..00000000000
--- a/app-forensics/openscap/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST openscap-1.2.14.tar.gz 15980085 BLAKE2B 
1d5d418b215f4a66a9f1874c4b9ed32c7c80e09d74a0ef04a256a7e1a24f1b675871116b0e22576dce476ee01c3d3b26ea5a48870a58aca99fdaea52c6877a7a
 SHA512 
0e408b2dd58b8b424a27f5c852c6dc8c596fdb201e45cc5f762a1998e00511040762df4e55cdfd93dac4c820c28935acdf3942e96227dfa4f4363d682a2da7da

diff --git a/app-forensics/openscap/metadata.xml 
b/app-forensics/openscap/metadata.xml
deleted file mode 100644
index dc502c8179d..00000000000
--- a/app-forensics/openscap/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <!-- maintainer-needed -->
-       <use>
-               <flag name="gconf">Build the gconf independant probes</flag>
-               <flag name="nss">Prefer NSS over libgcrypt as the crypto 
engine</flag>
-               <flag name="rpm">Compiles the RPM probes</flag>
-               <flag name="sce">Enables Script Check Engine (SCE) 
support</flag>
-               <flag name="sql">Build the sql independant probes</flag>
-       </use>
-       <upstream>
-               <remote-id type="github">OpenSCAP/openscap</remote-id>
-       </upstream>
-</pkgmetadata>
-

diff --git a/app-forensics/openscap/openscap-1.2.14.ebuild 
b/app-forensics/openscap/openscap-1.2.14.ebuild
deleted file mode 100644
index b7fa9562026..00000000000
--- a/app-forensics/openscap/openscap-1.2.14.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit bash-completion-r1 eutils ltprune multilib python-single-r1
-
-DESCRIPTION="Framework which enables integration with Security Content 
Automation Protocol"
-HOMEPAGE="http://www.open-scap.org/";
-SRC_URI="https://github.com/OpenSCAP/${PN}/releases/download/${PV}/${P}.tar.gz";
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="acl caps debug doc gconf ldap nss pcre perl python rpm selinux sce sql 
test xattr"
-RESTRICT="test"
-
-RDEPEND="!nss? ( dev-libs/libgcrypt:0 )
-       nss? ( dev-libs/nss )
-       acl? ( virtual/acl )
-       caps? ( sys-libs/libcap )
-       gconf? ( gnome-base/gconf )
-       ldap? ( net-nds/openldap )
-       pcre? ( dev-libs/libpcre )
-       rpm? ( >=app-arch/rpm-4.9 )
-       sql? ( dev-db/opendbx )
-       xattr? ( sys-apps/attr )
-       dev-libs/libpcre
-       dev-libs/libxml2
-       dev-libs/libxslt
-       net-misc/curl
-       ${PYTHON_DEPS}"
-DEPEND="${RDEPEND}
-       doc? ( app-doc/doxygen )
-       perl? ( dev-lang/swig )
-       python? ( dev-lang/swig )
-       test? (
-               app-arch/unzip
-               dev-perl/XML-XPath
-               net-misc/ipcalc
-               sys-apps/grep )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-#      uncoment for debugging test
-#      sed -i 's,set -e,&;set -x,'     
tests/API/XCCDF/unittests/test_remediate_simple.sh || die
-#      sed -i 's,^    bash,    LC_ALL=C bash,' 
tests/probes/process/test_probes_process.sh || die
-
-       sed -i 's/uname -p/uname -m/' 
tests/probes/uname/test_probes_uname.xml.sh || die
-
-       #probe runlevel for non-centos/redhat/fedora is not implemented
-       sed -i 's,.*runlevel_test.*,echo "runlevel test bypassed",' 
tests/mitre/test_mitre.sh || die
-       sed -i 's,probecheck "runlevel,probecheck "runlevellllll,' 
tests/probes/runlevel/test_probes_runlevel.sh || die
-
-       #According to comment of theses tests, we must modify it. For the 
moment disable it
-       sed -i 's,.*linux-def_inetlisteningservers_test,#&,' 
tests/mitre/test_mitre.sh || die
-       sed -i 's,.*ind-def_environmentvariable_test,#&,' 
tests/mitre/test_mitre.sh || die
-
-       # theses tests are hardcoded for checking hald process...,
-       # but no good solution for the moment, disabling them with a fake echo
-       # because encased in a if then
-#      sed -i 's,ha.d,/sbin/udevd --daemon,g' 
tests/mitre/unix-def_process_test.xml || die
-#      sed -i 's,ha.d,/sbin/udevd --daemon,g' 
tests/mitre/unix-def_process58_test.xml || die
-       sed -i 's,.*process_test.*,echo "process test bypassed",' 
tests/mitre/test_mitre.sh || die
-       sed -i 's,.*process58_test.*,echo "process58 test bypassed",' 
tests/mitre/test_mitre.sh || die
-
-       #This test fail
-       sed -i 's,.*generate report: xccdf,#&,' 
tests/API/XCCDF/unittests/all.sh ||     die
-
-       if ! use rpm ; then
-               sed -i 
's,probe_rpminfo_req_deps_ok=yes,probe_rpminfo_req_deps_ok=no,' configure || die
-               sed -i 
's,probe_rpminfo_opt_deps_ok=yes,probe_rpminfo_opt_deps_ok=no,' configure || die
-               sed -i 
's,probe_rpmverify_req_deps_ok=yes,probe_rpmverify_req_deps_ok=no,' configure 
|| die
-               sed -i 
's,probe_rpmverify_opt_deps_ok=yes,probe_rpmverify_opt_deps_ok=no,' configure 
|| die
-               sed -i 's,^probe_rpm.*_deps_missing=,&disabled_by_USE_flag,' 
configure || die
-               sed -i 's,.*rpm.*,#&,' tests/mitre/test_mitre.sh || die
-       fi
-       if ! use selinux ; then
-               einfo "Disabling SELinux probes"
-               sed -i 's,.*selinux.*,  echo "SELinux test bypassed",' 
tests/mitre/test_mitre.sh || die
-               #process58 need selinux
-               sed -i 's,.*process58,#&,' tests/mitre/test_mitre.sh || die
-       fi
-       if ! use ldap; then
-               einfo "Disabling LDAP probes"
-               sed -i 's,ldap.h,ldapp.h,g' configure || die
-       fi
-
-       epatch_user
-}
-
-src_configure() {
-       python_setup
-       local myconf
-       if use debug ; then
-               myconf+=" --enable-debug"
-       fi
-       if use python ; then
-               myconf+=" --enable-python"
-       else
-               myconf+=" --enable-python=no"
-       fi
-       if use perl ; then
-               myconf+=" --enable-perl"
-       fi
-       if use nss ; then
-               myconf+=" --with-crypto=nss3"
-       else
-               myconf+=" --with-crypto=gcrypt"
-       fi
-       if use sce ; then
-               myconf+=" --enable-sce"
-       else
-               myconf+=" --enable-sce=no"
-       fi
-       econf ${myconf}
-}
-
-src_compile() {
-       emake
-       if use doc ; then
-               cd docs && doxygen Doxyfile || die
-       fi
-}
-
-src_install() {
-       emake install DESTDIR="${D}"
-       prune_libtool_files --all
-       if use doc ; then
-               dohtml -r docs/html/.
-               dodoc -r docs/examples/.
-       fi
-       dobashcomp "${D}"/etc/bash_completion.d/oscap
-       rm -rf "${D}"/etc/bash_completion.d || die
-}

diff --git a/app-forensics/openscap/openscap-9999.ebuild 
b/app-forensics/openscap/openscap-9999.ebuild
deleted file mode 100644
index b48a442e3a5..00000000000
--- a/app-forensics/openscap/openscap-9999.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit bash-completion-r1 eutils ltprune multilib python-single-r1
-
-DESCRIPTION="Framework which enables integration with Security Content 
Automation Protocol"
-HOMEPAGE="http://www.open-scap.org/";
-if [[ "${PV}" != "9999" ]];
-then
-       SRC_URI="https://fedorahosted.org/releases/o/p/${PN}/${P}.tar.gz";
-       KEYWORDS="~amd64 ~x86"
-else
-       inherit git-r3 autotools
-       EGIT_REPO_URI="https://github.com/OpenSCAP/openscap.git";
-fi
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-IUSE="acl caps debug doc gconf ldap nss pcre perl python rpm selinux sce sql 
test xattr"
-RESTRICT="!test? ( test )"
-#RESTRICT="test"
-
-RDEPEND="!nss? ( dev-libs/libgcrypt:0 )
-       nss? ( dev-libs/nss )
-       acl? ( virtual/acl )
-       caps? ( sys-libs/libcap )
-       gconf? ( gnome-base/gconf )
-       ldap? ( net-nds/openldap )
-       pcre? ( dev-libs/libpcre )
-       rpm? ( >=app-arch/rpm-4.9 )
-       sql? ( dev-db/opendbx )
-       xattr? ( sys-apps/attr )
-       dev-libs/libpcre
-       dev-libs/libxml2
-       dev-libs/libxslt
-       net-misc/curl
-       ${PYTHON_DEPS}"
-DEPEND="${RDEPEND}
-       doc? ( app-doc/doxygen )
-       perl? ( dev-lang/swig )
-       python? ( dev-lang/swig )
-       test? (
-               app-arch/unzip
-               dev-perl/XML-XPath
-               net-misc/ipcalc
-               sys-apps/grep )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-#      uncoment for debugging test
-#      sed -i 's,set -e,&;set -x,'     
tests/API/XCCDF/unittests/test_remediate_simple.sh || die
-
-       sed -i 's/uname -p/uname -m/' 
tests/probes/uname/test_probes_uname.xml.sh || die
-
-       #probe runlevel for non-centos/redhat/fedora is not implemented
-       sed -i 's,.*runlevel_test.*,echo "runlevel test bypassed",' 
tests/mitre/test_mitre.sh || die
-       sed -i 's,probecheck "runlevel,probecheck "runlevellllll,' 
tests/probes/runlevel/test_probes_runlevel.sh || die
-
-       #According to comment of theses tests, we must modify it. For the 
moment disable it
-       sed -i 's,.*linux-def_inetlisteningservers_test,#&,' 
tests/mitre/test_mitre.sh || die
-       sed -i 's,.*ind-def_environmentvariable_test,#&,' 
tests/mitre/test_mitre.sh || die
-
-       # theses tests are hardcoded for checking hald process...,
-       # but no good solution for the moment, disabling them with a fake echo
-       # because encased in a if then
-#      sed -i 's,ha.d,/sbin/udevd --daemon,g' 
tests/mitre/unix-def_process_test.xml || die
-#      sed -i 's,ha.d,/sbin/udevd --daemon,g' 
tests/mitre/unix-def_process58_test.xml || die
-       sed -i 's,.*process_test.*,echo "process test bypassed",' 
tests/mitre/test_mitre.sh || die
-       sed -i 's,.*process58_test.*,echo "process58 test bypassed",' 
tests/mitre/test_mitre.sh || die
-
-       #This test fail
-       sed -i 's,.*generate report: xccdf,#&,' 
tests/API/XCCDF/unittests/all.sh ||     die
-
-       if [[ "${PV}" == "9999" ]];
-       then
-               # fix automake failure about missing 'config/config.rpath'
-               touch config/config.rpath
-               eautoreconf
-       fi
-
-       if ! use rpm ; then
-               sed -i 
's,probe_rpminfo_req_deps_ok=yes,probe_rpminfo_req_deps_ok=no,' configure || die
-               sed -i 
's,probe_rpminfo_opt_deps_ok=yes,probe_rpminfo_opt_deps_ok=no,' configure || die
-               sed -i 
's,probe_rpmverify_req_deps_ok=yes,probe_rpmverify_req_deps_ok=no,' configure 
|| die
-               sed -i 
's,probe_rpmverify_opt_deps_ok=yes,probe_rpmverify_opt_deps_ok=no,' configure 
|| die
-               sed -i 's,^probe_rpm.*_deps_missing=,&disabled_by_USE_flag,' 
configure || die
-               sed -i 's,.*rpm.*,#&,' tests/mitre/test_mitre.sh || die
-       fi
-       if ! use selinux ; then
-               einfo "Disabling SELinux probes"
-               sed -i 's,.*selinux.*,  echo "SELinux test bypassed",' 
tests/mitre/test_mitre.sh || die
-               #process58 need selinux
-               sed -i 's,.*process58,#&,' tests/mitre/test_mitre.sh || die
-       fi
-       if ! use ldap; then
-               einfo "Disabling LDAP probes"
-               sed -i 's,ldap.h,ldapp.h,g' configure || die
-       fi
-
-       epatch_user
-}
-
-src_configure() {
-       python_setup
-       local myconf
-       if use debug ; then
-               myconf+=" --enable-debug"
-       fi
-       if use python ; then
-               myconf+=" --enable-python"
-       else
-               myconf+=" --enable-python=no"
-       fi
-       if use perl ; then
-               myconf+=" --enable-perl"
-       fi
-       if use nss ; then
-               myconf+=" --with-crypto=nss3"
-       else
-               myconf+=" --with-crypto=gcrypt"
-       fi
-       if use sce ; then
-               myconf+=" --enable-sce"
-       else
-               myconf+=" --enable-sce=no"
-       fi
-       econf ${myconf}
-}
-
-src_compile() {
-       emake
-       if use doc ; then
-               einfo "Building HTML documentation using Doxygen (which will 
take a while)"
-               cd docs && doxygen Doxyfile || die
-       fi
-}
-
-src_install() {
-       emake install DESTDIR="${D}"
-       prune_libtool_files --all
-       if use doc ; then
-               dohtml -r docs/html/.
-               dodoc docs/examples/.
-       fi
-       dobashcomp "${D}"/etc/bash_completion.d/oscap
-       rm -rf "${D}"/etc/bash_completion.d || die
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 1af1b56c64f..3d614fa57f1 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -661,7 +661,6 @@ app-emulation/ganeti
 app-emulation/ganeti-instance-debootstrap
 app-emulation/ganeti-instance-image
 app-emulation/virtualbox-bin
-app-forensics/openscap
 
 # Alfredo Tupone <[email protected]> (2020-08-16)
 # Ported to py3.8 but not yet released

Reply via email to