summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <swift@gentoo.org>2011-12-26 14:30:28 +0000
committerSven Vermeulen <swift@gentoo.org>2011-12-26 14:30:28 +0000
commit3d4fe82e2fef573f4d59ac4d7dac2cc6f037b849 (patch)
treeae69aa0d1c9e04a1d43120f6867ee0864c463b41 /app-forensics
parentx86 stable, bug #394231 (diff)
downloadhistorical-3d4fe82e2fef573f4d59ac4d7dac2cc6f037b849.tar.gz
historical-3d4fe82e2fef573f4d59ac4d7dac2cc6f037b849.tar.bz2
historical-3d4fe82e2fef573f4d59ac4d7dac2cc6f037b849.zip
Bumping to 0.8.0, thanks to Corentin "Montjoie" Labbe for testing/maintaining
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/openscap/ChangeLog7
-rw-r--r--app-forensics/openscap/Manifest14
-rw-r--r--app-forensics/openscap/openscap-0.8.0.ebuild71
3 files changed, 80 insertions, 12 deletions
diff --git a/app-forensics/openscap/ChangeLog b/app-forensics/openscap/ChangeLog
index 1344dd2773fb..1330b808e1a4 100644
--- a/app-forensics/openscap/ChangeLog
+++ b/app-forensics/openscap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-forensics/openscap
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/ChangeLog,v 1.12 2011/08/24 14:55:17 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/ChangeLog,v 1.13 2011/12/26 14:30:28 swift Exp $
+
+*openscap-0.8.0 (26 Dec 2011)
+
+ 26 Dec 2011; <swift@gentoo.org> +openscap-0.8.0.ebuild:
+ Bumping to 0.8.0
24 Aug 2011; Torsten Veller <tove@gentoo.org> metadata.xml:
Fix typo
diff --git a/app-forensics/openscap/Manifest b/app-forensics/openscap/Manifest
index e5ac94574c3f..a16cf07f035c 100644
--- a/app-forensics/openscap/Manifest
+++ b/app-forensics/openscap/Manifest
@@ -1,17 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX openscap-0.7.1-sql-fix.patch 1122 RMD160 0a98b86f864b3990c97769141a12f78557046883 SHA1 0058400cf127afd688d065c43b5ff22d6cf0f1c6 SHA256 3918480e8c038490101336bbf46d0db91323d5284e168a4f1e270866c263e3a2
DIST openscap-0.7.3.tar.gz 4264040 RMD160 fd2ba5173a23a0df09f641e0630b874d4c5a13dc SHA1 184888158542125c5d9587f375805080a8dc63e4 SHA256 7364f98182891ef6a81674c766cbdc4c53cf86543da2245450f09e43f8987793
DIST openscap-0.7.4.tar.gz 4379825 RMD160 b7fe0273a1a6eec8c1dd6f5ffa776ada36ac896a SHA1 9c9d2aa5adb4fb76b27e1de3f641ab98f94ce87d SHA256 a0fb267f02ea9426f4fe8289b85c1cb2ac0dac6e700eccde0eed3b14bdcf0038
+DIST openscap-0.8.0.tar.gz 4473555 RMD160 835506335d0e422783d5fbf71b3a43a407bfdba5 SHA1 826df8826e38e0eb3d5cbed57662577101897061 SHA256 9755ad0ff58354fc50436ee88d605cc7d5e7f06816ff8c972db1272c44d2bc33
EBUILD openscap-0.7.3.ebuild 1747 RMD160 4bea04b6c700c84594fccfa89e68097b8037865a SHA1 8c4c88a16bcd6912183602dc0a830b9a7b4dda14 SHA256 c477d1381da5be52b9ac41ca44d58fd4c99e242e31de98091f30a47ea288a888
EBUILD openscap-0.7.4.ebuild 1747 RMD160 c464d7db1152e71d261c132daabb9565b7528288 SHA1 322fd66a4cc67b6a7133fd9349850a036e264833 SHA256 93c8bd09f8a8bc0bf884da3f9a6a98d25d0e861a007b45937ad1ae7d5b8b9e03
-MISC ChangeLog 2104 RMD160 4d9bda41e79d7c1aeb23d7801875916cf3654fb9 SHA1 8418b45b85c2632c8818865cb60b704b3d4a6ff0 SHA256 ad9a2e646dceb48a8944c99f01dd150cce50b5edeb842e439678b2cc2fadbed7
+EBUILD openscap-0.8.0.ebuild 1794 RMD160 ef72d2dc51cc816d19c13df042474f4fbf4eb016 SHA1 b3c471fc8191ece0ee626c0e01aa94c4b96ac457 SHA256 590ba23789bb8fe7cb061e0139338c0b24e8f690b7fb91aecba2f4cb40ee77df
+MISC ChangeLog 2214 RMD160 d0af7ebb96fd186d546ad84075b3c0efbcf9d74f SHA1 6d59526d1d6497592fd13929a55f32e8434fed32 SHA256 51aeec7e2777690d1209dac05ef8888beb819494feaf4d05b34380b71cd2a440
MISC metadata.xml 676 RMD160 77c5fd89c95f4d6b06a0f7e7c5bd6f815d4b8319 SHA1 4800c9a02e548bf9b232ce41c6860c64801a3dc7 SHA256 c9ab4ea1d0aea7da519a06862fad1e32d4e218c40a3cd525871cca8b7ff4f5f3
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iEYEAREIAAYFAk5VENoACgkQV3J2n04EauyskgCfQS2Zjmc8/mr1eydRWXZov8MW
-fz0An1jXt+wZY4ZrtxoJog4N4VW/Forl
-=ghEs
------END PGP SIGNATURE-----
diff --git a/app-forensics/openscap/openscap-0.8.0.ebuild b/app-forensics/openscap/openscap-0.8.0.ebuild
new file mode 100644
index 000000000000..8e422ec5f761
--- /dev/null
+++ b/app-forensics/openscap/openscap-0.8.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/openscap-0.8.0.ebuild,v 1.1 2011/12/26 14:30:28 swift Exp $
+
+EAPI=3
+
+PYTHON_DEPEND="2"
+
+inherit eutils multilib python bash-completion-r1
+
+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 sql"
+RESTRICT="test"
+
+RDEPEND="!nss? ( dev-libs/libgcrypt )
+ nss? ( dev-libs/nss )
+ sql? ( dev-db/opendbx )
+ dev-libs/libpcre
+ dev-libs/libxml2
+ dev-libs/libxslt
+ 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
+ find "${D}" -name '*.la' -delete || die
+ sed -i 's/^Description/&:/' "${D}"/usr/$(get_libdir)/pkgconfig/libopenscap.pc || 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
+ dobashcomp "${D}"/etc/bash_completion.d/oscap
+ fi
+ rm -rf "${D}"/etc/bash_completion.d || die
+}