summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2014-12-23 10:17:21 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2014-12-23 10:17:21 +0000
commit7e17dd08c32b998a22804b8793194a2002aeb2fd (patch)
tree92ee0c673ab94d8748e457b63cf5464245a3d97a /app-forensics
parentremove old (diff)
downloadhistorical-7e17dd08c32b998a22804b8793194a2002aeb2fd.tar.gz
historical-7e17dd08c32b998a22804b8793194a2002aeb2fd.tar.bz2
historical-7e17dd08c32b998a22804b8793194a2002aeb2fd.zip
Version bump. Thanks to Corentin LABBE
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0x09BF4F54C2BA7F3C!
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/openscap/ChangeLog7
-rw-r--r--app-forensics/openscap/Manifest32
-rw-r--r--app-forensics/openscap/openscap-1.2.0.ebuild139
3 files changed, 162 insertions, 16 deletions
diff --git a/app-forensics/openscap/ChangeLog b/app-forensics/openscap/ChangeLog
index eb2fa02eeca5..e2e530d65353 100644
--- a/app-forensics/openscap/ChangeLog
+++ b/app-forensics/openscap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-forensics/openscap
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/ChangeLog,v 1.31 2014/11/09 14:43:22 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/ChangeLog,v 1.32 2014/12/23 10:17:17 hwoarang Exp $
+
+*openscap-1.2.0 (23 Dec 2014)
+
+ 23 Dec 2014; Markos Chandras <hwoarang@gentoo.org> +openscap-1.2.0.ebuild:
+ Version bump. Thanks to Corentin LABBE
*openscap-1.1.1 (09 Nov 2014)
diff --git a/app-forensics/openscap/Manifest b/app-forensics/openscap/Manifest
index 881ed543bc3b..41e136c38961 100644
--- a/app-forensics/openscap/Manifest
+++ b/app-forensics/openscap/Manifest
@@ -3,27 +3,29 @@ Hash: SHA256
DIST openscap-1.0.8.tar.gz 13576237 SHA256 5dc420eaf4202d09619abd9f6247ab6db4f7d520a69c27984ba53fcaf1e31b9e SHA512 58fcc90198f82572505fd907351edc9d9609bc036c0cd1c0ab433056eea70a0baf362c811ab7990b8766ef6090a2a0a600803a9c3537d1867c56304d91fe20ff WHIRLPOOL b9d55acf06413db7953ed1d6200856bce6c787d9eda31e76375da43bf886d9b025bc59368f5824e3c6431a4697095a61dc7f6f8a87cd888a774344f86b2a9e9d
DIST openscap-1.1.1.tar.gz 13722034 SHA256 510489099242f655bdff9f8f6641692ed0d035bf05f00f4ed8072b2e028aaf99 SHA512 86cd695098a749fb0ef29233a7bafde6d76379fd891cfc0bcc90e222e228a6968d3a2755a71a0115ed208408ee2f8316fbaf9714de9e3bb0c6a6535407a043b9 WHIRLPOOL e28464332f8e78519519766ef9e1cba509d54cc78cf2e23b1de043d9d68ff641426496b25a02a0da5c363ebd5470af705772b7ad81abad7308eaef8d89e9f568
+DIST openscap-1.2.0.tar.gz 14308605 SHA256 88329ebf23e7c7d063cdb5615fe1f68b18fb436a0df81307c5acc3b5963d7cec SHA512 1c290e0c20382c45da7d1c12ae69d33a71c04b34db39843805401b74f6bc392b10e2b401e0e8f4a62deef19d99254eadcc3b9702c2d5c12967ca9616f02cf2ed WHIRLPOOL 8ae5791dbfd5e4602f8deab12ae28bd93ed1d96f20314a968fb26d925382169e3a9cbf550f14c6c6c24ca86b0cd2268e3ebd713da3b8dad2f5cd55a403d74564
EBUILD openscap-1.0.8-r1.ebuild 4412 SHA256 c8175c78ac1e888146e7fb31da97e16abaa8d92c87a1c7d15ede882c4b7fe89b SHA512 14d417410d06253df37d483bcdd84245ebe3a97e99ba999171f32bfe1c6d5a5c66848e1d318cf97047d8c4fec88b7cc3b78cb2e6cac4b53368139596cc0d5373 WHIRLPOOL d73c0ce2ebcb3bb011c0629ff223d01114428c20a619cb31dd9342ba039ecb9d7a04c9016d31969071913989b46ae1b27ebb956f2e8461347aab42959bd3f48b
EBUILD openscap-1.1.1.ebuild 4411 SHA256 acb5767e6091e632a312bad8ecf75d3c0628778ea5a71c433c755f53bd1b3778 SHA512 8d068404d688cd019db008bfa16cd7f8bb08812f7299cd6c12f9e850ad45332b4b2a0d421ca288ecde24e2eec89b0b56718e6e3b27be1814df9c472d7c0fe521 WHIRLPOOL 4b7b5f6d9d123eff9a5c35db12b032936406fa7782a0807e131bac4a13cc3f906cc535e08115178bcc6c78b35ef1548d626e1199c782761852096f85e79ab006
+EBUILD openscap-1.2.0.ebuild 4411 SHA256 fb123ff962e2c59c8722dfe6e9c79dea57316e52221508766ad69cdf833e366e SHA512 a829889ad59ecc8125655fd2d67cf2e556f8de41c9d8869a40f5c84c8d2eec7432e434443bd547fd5c587a46f47af750dc824994466c121c1fbc79da758e36f6 WHIRLPOOL bd0974666d67599ac8c0aab555b4f5f02fd91b234dded5abb4cf43a515b37ae1f4f562f09ab668e85c3b2d97a5c9f1fd653e388f174e97232484e8c2fe7b8dc5
EBUILD openscap-9999.ebuild 4725 SHA256 6ce07a4e9cd4df644ad0aae702e4a7169b031786a6cad55b691cd6cc54556e62 SHA512 b7163d7354b4be9993d00fde8106819276e5c9d3f86c362f3045baa1d76e5dae57e22397a2e517d3e1526f45ef2347d8928c81a4356449fb1978cb559ed0861f WHIRLPOOL 5ead5bd675ab2591d0876b58a3d214bd003e98e494017fd2c9268e6542d2405ed24898707edb185997d742d9aa6aaa35a476428a46b47840426ac4d914067b11
-MISC ChangeLog 6341 SHA256 c8a2f3f28709367b2d2ab6d52fa111e31f5b8e3233316b4ffea16678937f718b SHA512 8ac2b179428305a2c24e0accb563f4457c7b986bf691985753fbde6f46c28a0353fb98f89dcac4ac2642ad560280166232efaee75b7bdabe2beded74268b2dc0 WHIRLPOOL 5160d4f812edc1c16a16bc9f835feeb55566c6445d8637c90d5bb7fa07a835477a10573f018c54c4977fc2ed5d7fb97a8274c1decd83dda05d363480990357ed
+MISC ChangeLog 6491 SHA256 eec48563ced29f07244946e12ae9db769a07735a5e32eaa238fcefce120f4474 SHA512 ee5de76a9df89d7fcbfbed7a0901f772e6221f2af4fccc23add73c7a54ab8c89ccb791cb75342dd454d1e075a07200d2d55f473e4064848d923911b5f97d1a55 WHIRLPOOL 3a55d318c29c50df89ee795192f629f6b75b7bf006ca9e7b7c07db357ab54d4288b75abea324408b6fa239f70cc1be95a209aafaca0134ee443b09439d3edeba
MISC metadata.xml 679 SHA256 8db139f8e51200a7422a764af7fee8bf530d69262af1e0de9ed30512f9492cb7 SHA512 2c7c81d31042b64673a01dae7e4a24df139f3bc066ecb7af73b91a60d22f8d8ee9f448bf31ec9d1ac26a41bc66e467855a61fe56e35fe7c7e06bd89fbb83b971 WHIRLPOOL c8a2efbe37a7d02161f49b29dc3b4bc823887d31cffe0d54baeb5b10cdc882bb0b3a03d45d286ed8176e96d63cd8f1022671833bb6abbb55dccb9009098a9392
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQJ8BAEBCABmBQJUX32KXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+iQJ8BAEBCABmBQJUmUEuXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNTVDNDczOUYzRjJEMTRGNDRGMzU2RkMw
-OUJGNEY1NEMyQkE3RjNDAAoJEAm/T1TCun887XIP/05Kc94TJaPa+DIEDQE4PdZP
-7wJ5GXzGdsDmTPnO40CGxQpBIdSEaR3HvvP9JSGQWrR+03eyvfMVsWfQQ2fmbu/K
-jcMdrvWnsR2BA+O9rFSnDiSAZrTsDFL+MpLEcFt+lQoqp/14Vt6OjYFFc5rcNih+
-8cPsQrZ5xrlFit0tzRUWQRE1vm1TwaTe1gLExjhbhAxTckta2lMWKy2N2hlY5iCA
-EEyLZZ+d56tJgbTCABYQwH/ktPBqHG0Jb0NGUsKXNoA2HmmCnnXs8VPfzzbRu4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wIzaBuolNEQ6w0Og06
+sETSA1JXH6QRwpKQTpxjQh70rbcjeTMNY6I7jnjKHlRR3nPAya1WR4zwNGiYJe5k
+R3vxgb6EXnZvYWzJy7ln
+=KoaT
-----END PGP SIGNATURE-----
diff --git a/app-forensics/openscap/openscap-1.2.0.ebuild b/app-forensics/openscap/openscap-1.2.0.ebuild
new file mode 100644
index 000000000000..fa82dee2c2c4
--- /dev/null
+++ b/app-forensics/openscap/openscap-1.2.0.ebuild
@@ -0,0 +1,139 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/openscap-1.2.0.ebuild,v 1.1 2014/12/23 10:17:17 hwoarang Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+
+inherit bash-completion-r1 eutils multilib python-single-r1
+
+DESCRIPTION="Framework which enables integration with the Security Content Automation Protocol (SCAP)"
+HOMEPAGE="http://www.open-scap.org/"
+SRC_URI="https://fedorahosted.org/releases/o/p/${PN}/${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 docs/examples/.
+ fi
+ dobashcomp "${D}"/etc/bash_completion.d/oscap
+ rm -rf "${D}"/etc/bash_completion.d || die
+}