summaryrefslogtreecommitdiff
path: root/app-forensics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
commit8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch)
tree230f3135ceaace633cf93e9838b185c4a6664c2e /app-forensics
parent9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff)
gentoo resync : 23.09.2020
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/Manifest.gzbin4864 -> 4703 bytes
-rw-r--r--app-forensics/aide/Manifest4
-rw-r--r--app-forensics/aide/aide-0.16-r1.ebuild23
-rw-r--r--app-forensics/aide/aide-0.16.2_p20200614.ebuild24
-rw-r--r--app-forensics/openscap/Manifest4
-rw-r--r--app-forensics/openscap/metadata.xml16
-rw-r--r--app-forensics/openscap/openscap-1.2.14.ebuild138
-rw-r--r--app-forensics/openscap/openscap-9999.ebuild152
8 files changed, 11 insertions, 350 deletions
diff --git a/app-forensics/Manifest.gz b/app-forensics/Manifest.gz
index deb26a764c05..b9cbf3abdcd7 100644
--- a/app-forensics/Manifest.gz
+++ b/app-forensics/Manifest.gz
Binary files differ
diff --git a/app-forensics/aide/Manifest b/app-forensics/aide/Manifest
index 49e6fb9c1918..9f5487274e8d 100644
--- a/app-forensics/aide/Manifest
+++ b/app-forensics/aide/Manifest
@@ -9,6 +9,6 @@ AUX aide.cron 5997 BLAKE2B 2273eb902b9ba8fc5e999375d0dfa59e2c5c56a919bf3bd06e7b6
AUX aideinit 2949 BLAKE2B 244aaec9a38f19c6a7af706572a896e922215d6321aee4537ef5ce47326f41fd84880331a86ec71dcf7ee4e2ac2a11bf979ce66eff73dd2e8a2072e9eb7e8aab SHA512 a6bce52432251458b977fb363d5801206c273fb9404c55f7bcb82b9d5a65aa19d1660d61d457c9af87f1a8fada95e2f8203489b1876b2b2a259e6374e15cdc57
DIST aide-0.16.2_p20200614.tar.gz 144202 BLAKE2B a2533eaf0dd6caa82718eaa89878ddc101f64767788eeac3a250ceb584a2c5958ef8a5481b89eeb720e21af07da8f3576fb46d8ee9966fd2361354a35a7eaa6e SHA512 f5f83b8401465471043c60aeb6314f7bcab24c9f962f6ce550445bec8d866a5c8c00eba9e9f157f1223cde58631de139533c7de64fb3c861a5d8e7b5e367e106
DIST aide-0.16.tar.gz 391009 BLAKE2B 8769d8c6bdf72f307b75f3c1feaa2effdeaead00a0c65ab25bbb50dc6f7c7b53fda4d0a3a54dd5030de1444a34a81c294437d45193aeb8aec7ef0af83a173d47 SHA512 29ad97756e3e2fb21dc332ed03b494a1c73e621266f8622ec80bdba23092a38ee975b97f3cff2330e4c16e64e2f672259eea9291ca706a4009e7399b4e14e6a7
-EBUILD aide-0.16-r1.ebuild 3710 BLAKE2B 0be0b1ecc9c7bec42d475c2ccdf79b942572777af15addd5a524affd8dfd329f21ecb2b7fa18238270a9c67cf520127496056f6a7c3dba2682ca064024e3d8af SHA512 5acfa1daa419af465a3c1f2f305f4edddf38e095d18849565d7a41ba55a98c40d3f86bdf6888d48c9f05fd2d71a27086a3577bd78e9ef80947cfb0ebccc11b04
-EBUILD aide-0.16.2_p20200614.ebuild 4326 BLAKE2B bcd8d1f30b15da37fbf5eddacf177d81ad0468ade3a2772d8654df707a86b489193cea15a176be6559226f256d8722743de61d994b9232de90da021a402db7d9 SHA512 0bf37916431339fd506fb1a6cdc03de4bd45e1554e02752c8348898ed71e9bbbd9df6b6835e81d28d81c49b7dedeae098412c1de36a9ea7cbaceba1bf79282a8
+EBUILD aide-0.16-r1.ebuild 3217 BLAKE2B 584426773393f8bcf477bf01e8bc5a5e3bc4c2570dd7e2c7a6c1f1360a0e88c7db45c9bd5d79a6fe2bd95df172b99c7dab9adfc2f1f8ba94f28d94da83efd19b SHA512 2fcb2cedc8fd85654d00fb96ad66e009417e65cefa1d23f316993305389fd3f7bc49c7a5ba768cc97bfe9b39fde3ad47dfa8c159376954f23f5ce2d99dc35e14
+EBUILD aide-0.16.2_p20200614.ebuild 3831 BLAKE2B 237a0779d9b3274bb7a77b4b38cafc785e719c3f43ba5b5402ed9f65f85dd7f056e57a9b0be395f28960efe1206aa1e58a65fc995cb986539df52f60b41e1700 SHA512 495edc76f33905d2ec5feee96e562c6fa23abf92584e01e5b097e1ad3aeaaec3ab6f197c5fc1f7b2954aea8b7636f854cc8f650940ce64eec8d6622a005db540
MISC metadata.xml 819 BLAKE2B ea807e78f806beaf63b28b99d5dd95054e247333612d35ea6004bf4720699d4c5a503ca893e0df172086935dd927c6e165410df74c51949108ee6d2fa5766af9 SHA512 22792dd087461ca8b147db6a03a5198127f19ea8473ce5691d9630e36655365a9dde4377f6d62e0457b65a634e23c0b2852db9dadc7d00c3fcec4a84e21b3054
diff --git a/app-forensics/aide/aide-0.16-r1.ebuild b/app-forensics/aide/aide-0.16-r1.ebuild
index 6f56d6e6be9c..56e81d587271 100644
--- a/app-forensics/aide/aide-0.16-r1.ebuild
+++ b/app-forensics/aide/aide-0.16-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/aide/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="acl audit curl e2fs mhash postgres prelink selinux static xattr zlib"
+IUSE="acl audit curl e2fs mhash postgres prelink selinux xattr zlib"
COMMON_DEPEND="
!mhash? (
@@ -32,7 +32,7 @@ COMMON_DEPEND="
zlib? ( sys-libs/zlib )
"
RDEPEND="
- !static? ( ${COMMON_DEPEND} )
+ ${COMMON_DEPEND}
prelink? ( sys-devel/prelink )
selinux? ( sec-policy/selinux-aide )
"
@@ -40,25 +40,10 @@ DEPEND="${COMMON_DEPEND}
sys-devel/bison
sys-devel/flex
virtual/pkgconfig
- static? (
- !mhash? (
- dev-libs/libgcrypt:0[static-libs]
- dev-libs/libgpg-error[static-libs]
- )
- mhash? ( app-crypt/mhash[static-libs] )
- dev-libs/libpcre[static-libs]
- acl? ( virtual/acl[static-libs] )
- e2fs? ( sys-fs/e2fsprogs[static-libs] )
- prelink? ( dev-libs/elfutils[static-libs] )
- selinux? ( sys-libs/libselinux[static-libs] )
- xattr? ( sys-apps/attr[static-libs] )
- zlib? ( sys-libs/zlib[static-libs] )
- )
"
REQUIRED_USE="
postgres? ( !mhash )
- static? ( !audit !curl !postgres )
"
HTML_DOCS=( doc/manual.html )
@@ -94,7 +79,7 @@ src_configure() {
# Disable broken l10n support: https://sourceforge.net/p/aide/bugs/98/
# This doesn't affect anything because there are no localizations yet.
--without-locale
- $(use_enable static)
+ --disable-static
$(use_with zlib)
$(use_with curl)
$(use_with acl posix-acl)
diff --git a/app-forensics/aide/aide-0.16.2_p20200614.ebuild b/app-forensics/aide/aide-0.16.2_p20200614.ebuild
index 794fd0db7d74..92bf4b34c623 100644
--- a/app-forensics/aide/aide-0.16.2_p20200614.ebuild
+++ b/app-forensics/aide/aide-0.16.2_p20200614.ebuild
@@ -14,11 +14,11 @@ SRC_URI="https://github.com/aide/aide/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="acl audit curl e2fs mhash postgres prelink selinux static xattr zlib"
+IUSE="acl audit curl e2fs mhash postgres prelink selinux xattr zlib"
REQUIRED_USE="
postgres? ( !mhash )
- static? ( !audit !curl !postgres )"
+ "
COMMON_DEPEND="
dev-libs/libpcre
@@ -38,24 +38,10 @@ COMMON_DEPEND="
zlib? ( sys-libs/zlib )"
RDEPEND="
- !static? ( ${COMMON_DEPEND} )
+ ${COMMON_DEPEND}
selinux? ( sec-policy/selinux-aide )"
-DEPEND="${COMMON_DEPEND}
- static? (
- dev-libs/libpcre[static-libs]
- acl? ( >=virtual/acl-0-r1[static-libs] )
- e2fs? ( sys-fs/e2fsprogs[static-libs] )
- !mhash? (
- dev-libs/libgcrypt:0[static-libs]
- dev-libs/libgpg-error[static-libs]
- )
- mhash? ( app-crypt/mhash[static-libs] )
- prelink? ( dev-libs/elfutils[static-libs] )
- selinux? ( sys-libs/libselinux[static-libs] )
- xattr? ( sys-apps/attr[static-libs] )
- zlib? ( sys-libs/zlib[static-libs] )
- )"
+DEPEND="${COMMON_DEPEND}"
BDEPEND="
sys-devel/bison
@@ -110,7 +96,7 @@ src_configure() {
# Disable broken l10n support: https://sourceforge.net/p/aide/bugs/98/
# This doesn't affect anything because there are no localizations yet.
--without-locale
- $(use_enable static)
+ --disable-static
$(use_with zlib)
$(use_with curl)
$(use_with acl posix-acl)
diff --git a/app-forensics/openscap/Manifest b/app-forensics/openscap/Manifest
deleted file mode 100644
index c9c378154fb8..000000000000
--- a/app-forensics/openscap/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST openscap-1.2.14.tar.gz 15980085 BLAKE2B 1d5d418b215f4a66a9f1874c4b9ed32c7c80e09d74a0ef04a256a7e1a24f1b675871116b0e22576dce476ee01c3d3b26ea5a48870a58aca99fdaea52c6877a7a SHA512 0e408b2dd58b8b424a27f5c852c6dc8c596fdb201e45cc5f762a1998e00511040762df4e55cdfd93dac4c820c28935acdf3942e96227dfa4f4363d682a2da7da
-EBUILD openscap-1.2.14.ebuild 4291 BLAKE2B ad9a998c7a227d4d93c33c28a7baa45228d86d4510a070ca697c0168ce90ed7c1704b764b292bd52182d881c8cdbc2a6be8bef7b759deb41a9ad35207866c1cb SHA512 6a3fe9254d8447e5fbabbb992d3987f7b01ef36c05deca26eb7e9d072b73c82345a7e53a63f1df86ce4aff3ccf74477d7af958fa354cee83c765746b04c570df
-EBUILD openscap-9999.ebuild 4557 BLAKE2B d64c35a03f6b0867140a1dd4536513dfd6f1e64cd8abe72d08449079b7a28668a65e8cd5efb11bd8ff5b379d71bd3dd0dd8eb5676e2a7275299cf7bcbd435e0f SHA512 b93993e7c1b0f1d8aca1c14d1c3a063a48ff0705baa1b01e79012bcd2e43ff9dad3329597265febd2f683fbce0631909bc6b6e5730d711779b682d7b12c868aa
-MISC metadata.xml 578 BLAKE2B 11b1f278dca69f4a60d0787d132db680da262d1dc2ebd91cca07b7dc7d87016a3fa9d536ae008e432a1d82494ba6f4f02bda7488667104a2a994d430fb45886d SHA512 404947116ad0cfa7f260bd577e3ae99ae4a2813be4c36687e2664c5cc2d1ce2b130a83b03bafd81e1750b19a50ba49864959e97a67a8e2099c43186099e7f5f9
diff --git a/app-forensics/openscap/metadata.xml b/app-forensics/openscap/metadata.xml
deleted file mode 100644
index dc502c8179d4..000000000000
--- 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 b7fa95620268..000000000000
--- 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 b48a442e3a5d..000000000000
--- 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
-}