Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-forensics/openscap: ChangeLog openscap-0.7.3.ebuild openscap-0.7.1-r1.ebuild openscap-0.7.2.ebuild
Date: Tue, 05 Jul 2011 08:01:12
Message-Id: 20110705080052.4F4E82004B@flycatcher.gentoo.org
1 hwoarang 11/07/05 08:00:52
2
3 Modified: ChangeLog
4 Added: openscap-0.7.3.ebuild
5 Removed: openscap-0.7.1-r1.ebuild openscap-0.7.2.ebuild
6 Log:
7 Version bump. Add missing dev-libs/libxslt dependency. Bug #373037. Thanks to LABBE Corentin (Montjoie)
8
9 (Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.6 app-forensics/openscap/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/openscap/ChangeLog?rev=1.6&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/openscap/ChangeLog?rev=1.6&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/openscap/ChangeLog?r1=1.5&r2=1.6
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-forensics/openscap/ChangeLog,v
21 retrieving revision 1.5
22 retrieving revision 1.6
23 diff -u -r1.5 -r1.6
24 --- ChangeLog 27 Apr 2011 20:04:42 -0000 1.5
25 +++ ChangeLog 5 Jul 2011 08:00:51 -0000 1.6
26 @@ -1,6 +1,13 @@
27 # ChangeLog for app-forensics/openscap
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/ChangeLog,v 1.5 2011/04/27 20:04:42 hwoarang Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/ChangeLog,v 1.6 2011/07/05 08:00:51 hwoarang Exp $
31 +
32 +*openscap-0.7.3 (05 Jul 2011)
33 +
34 + 05 Jul 2011; Markos Chandras <hwoarang@g.o> -openscap-0.7.1-r1.ebuild,
35 + -openscap-0.7.2.ebuild, +openscap-0.7.3.ebuild:
36 + Version bump. Add missing dev-libs/libxslt dependency. Bug #373037. Thanks to
37 + LABBE Corentin (Montjoie)
38
39 *openscap-0.7.2 (27 Apr 2011)
40
41
42
43
44 1.1 app-forensics/openscap/openscap-0.7.3.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/openscap/openscap-0.7.3.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/openscap/openscap-0.7.3.ebuild?rev=1.1&content-type=text/plain
48
49 Index: openscap-0.7.3.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/openscap-0.7.3.ebuild,v 1.1 2011/07/05 08:00:51 hwoarang Exp $
54
55 EAPI=3
56
57 PYTHON_DEPEND="2"
58
59 inherit eutils multilib python bash-completion
60
61 DESCRIPTION="Framework which enables integration with the Security Content Automation Protocol (SCAP)"
62 HOMEPAGE="http://www.open-scap.org/"
63 SRC_URI="http://www.open-scap.org/download/${P}.tar.gz"
64
65 LICENSE="LGPL-2.1"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="bash-completion doc nss perl python sql"
69
70 RDEPEND="!nss? ( dev-libs/libgcrypt )
71 nss? ( dev-libs/nss )
72 sql? ( dev-db/opendbx )
73 dev-libs/libpcre
74 dev-libs/libxml2
75 dev-libs/libxslt
76 net-misc/curl"
77 DEPEND="${RDEPEND}
78 perl? ( dev-lang/swig )
79 python? ( dev-lang/swig )"
80
81 pkg_setup() {
82 python_set_active_version 2
83 python_pkg_setup
84 }
85
86 src_configure() {
87 local myconf
88 if use python || use perl ; then
89 myconf+=" --enable-bindings"
90 else
91 myconf+=" --disable-bindings"
92 fi
93 if use nss ; then
94 myconf+=" --with-crypto=nss3"
95 else
96 myconf+=" --with-crypto=gcrypt"
97 fi
98 econf ${myconf}
99 }
100
101 src_install() {
102 emake install DESTDIR="${D}" || die
103 sed -i 's/^Description/&:/' "${D}"/usr/$(get_libdir)/pkgconfig/libopenscap.pc || die
104 #--enable-bindings enable all bindings, clean unwanted bindings
105 if use python && ! use perl ; then
106 rm -rf "${D}"/usr/$(get_libdir)/perl5 || die
107 fi
108 if ! use python && use perl ; then
109 rm -rf "${D}"/$(python_get_sitedir) || die
110 fi
111 if use doc ; then
112 dohtml -r docs/html/* || die
113 dodoc docs/examples/* || die
114 fi
115 if ! use bash-completion ; then
116 rm -rf "${D}"/etc/bash_completion.d || die
117 fi
118 }