summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-11-05 23:49:24 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-11-05 23:49:24 +0000
commit1605f5a108ff750d95b8400230c56eea23c778b1 (patch)
treec9f82e9aab9361fe33300678b66d92bb0b0e7dcd /app-forensics
parentMoving dev-util/luadoc to dev-lua/luadoc (diff)
downloadhistorical-1605f5a108ff750d95b8400230c56eea23c778b1.tar.gz
historical-1605f5a108ff750d95b8400230c56eea23c778b1.tar.bz2
historical-1605f5a108ff750d95b8400230c56eea23c778b1.zip
Moved from sunrise overlay. Bug #334455. Thanks to Montjoie for the ebuild
Package-Manager: portage-2.2.0_alpha3_p8/cvs/Linux x86_64
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/openscap/ChangeLog10
-rw-r--r--app-forensics/openscap/Manifest14
-rw-r--r--app-forensics/openscap/metadata.xml21
-rw-r--r--app-forensics/openscap/openscap-0.6.4.ebuild65
4 files changed, 110 insertions, 0 deletions
diff --git a/app-forensics/openscap/ChangeLog b/app-forensics/openscap/ChangeLog
new file mode 100644
index 000000000000..c0f3035f6641
--- /dev/null
+++ b/app-forensics/openscap/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-forensics/openscap
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/ChangeLog,v 1.1 2010/11/05 23:49:24 hwoarang Exp $
+
+*openscap-0.6.4 (05 Nov 2010)
+
+ 05 Nov 2010; Markos Chandras <hwoarang@gentoo.org> +openscap-0.6.4.ebuild,
+ +metadata.xml:
+ Moved from sunrise overlay. Bug #334455. Thanks to Montjoie for the ebuild
+
diff --git a/app-forensics/openscap/Manifest b/app-forensics/openscap/Manifest
new file mode 100644
index 000000000000..dfaae6f653b6
--- /dev/null
+++ b/app-forensics/openscap/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST openscap-0.6.4.tar.gz 3730398 RMD160 6270706fa1b778d1654903887dc84e845b0f8390 SHA1 1b9c7778a66d1dcbbae1e14c6e39512a652bab50 SHA256 017e4bc4b19cd3e0ca1fe409fbd112062a5c83df08da20725b25002b83dedc46
+EBUILD openscap-0.6.4.ebuild 1552 RMD160 8ba44b5b0a46472b154669583ff8f162a341fdc9 SHA1 788765b8bba9ed19d5f249053529087df33fb568 SHA256 bf0af860b43d63ae48beda326f745900b9aca1a9203c89b971713d63e50d3e37
+MISC ChangeLog 422 RMD160 3250021fe6685257482fdffc7946ac469c1940b9 SHA1 b7efa689c980d5e4af54df6985c5742bbd2d66bf SHA256 b81cf814dbe08c02d055d2cc6214ec2504a11259f318a97d43923c50aa7ab92d
+MISC metadata.xml 609 RMD160 33dcd5a38bdde1f94182ec179ece3f598e192b99 SHA1 9fd1cf5ff5a5617a3c01631ad3cc0aa9f2affddb SHA256 f5248f582310b666fb770a34a1b5ffc260b13c5102ee96d13e440f910faa6665
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkzUmAgACgkQ9/cejkQaxBCN6QCfdGgiMVZ4i1CVW7umhDMmd7tp
+7j0An1OJJOhtdP5ntQOiexsFP1HkOB6Q
+=Ld4J
+-----END PGP SIGNATURE-----
diff --git a/app-forensics/openscap/metadata.xml b/app-forensics/openscap/metadata.xml
new file mode 100644
index 000000000000..9258b9228181
--- /dev/null
+++ b/app-forensics/openscap/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+<description>Proxy maintainer. CC him on bugs</description>
+</maintainer>
+<maintainer>
+<email>corentin.labbe@geomatys.fr</email>
+<name>LABBE Corentin (Montjoie)</name>
+<description>Maintainer. Assign bugs to him</description>
+</maintainer>
+<use>
+<flag name="nss">Prefer NSS over libgcrypt as the crypto engine</flag>
+</use>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/app-forensics/openscap/openscap-0.6.4.ebuild b/app-forensics/openscap/openscap-0.6.4.ebuild
new file mode 100644
index 000000000000..b32f7cd8c5ee
--- /dev/null
+++ b/app-forensics/openscap/openscap-0.6.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/openscap-0.6.4.ebuild,v 1.1 2010/11/05 23:49:24 hwoarang Exp $
+
+EAPI=3
+
+PYTHON_DEPEND="2"
+
+inherit multilib python bash-completion
+
+DESCRIPTION="Framework which enables integration with the Security Content Automation Protocol (SCAP)"
+HOMEPAGE="http://www.open-scap.org/"
+SRC_URI="http://www.open-scap.org/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bash-completion doc nss perl python"
+
+RDEPEND="!nss? ( dev-libs/libgcrypt )
+ nss? ( dev-libs/nss )
+ dev-libs/libpcre
+ dev-libs/libxml2
+ net-misc/curl"
+DEPEND="${RDEPEND}
+ perl? ( dev-lang/swig )
+ python? ( dev-lang/swig )"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_configure() {
+ local myconf
+ if use python || use perl ; then
+ myconf+=" --enable-bindings"
+ else
+ myconf+=" --disable-bindings"
+ fi
+ if use nss ; then
+ myconf+=" --with-crypto=nss3"
+ else
+ myconf+=" --with-crypto=gcrypt"
+ fi
+ econf ${myconf}
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ #--enable-bindings enable all bindings, clean unwanted bindings
+ if use python && ! use perl ; then
+ rm -rf "${D}"/usr/$(get_libdir)/perl5 || die
+ fi
+ if ! use python && use perl ; then
+ rm -rf "${D}"/$(python_get_sitedir) || die
+ fi
+ if use doc ; then
+ dohtml -r docs/html/* || die
+ dodoc docs/examples/* || die
+ fi
+ if ! use bash-completion ; then
+ rm -rf "${D}"/etc/bash_completion.d || die
+ fi
+}