From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-forensics/openscap: openscap-0.6.4.ebuild ChangeLog metadata.xml |
Date: | Fri, 05 Nov 2010 23:49:29 |
Message-Id: | 20101105234924.2BEF720051@flycatcher.gentoo.org |
1 | hwoarang 10/11/05 23:49:24 |
2 | |
3 | Added: openscap-0.6.4.ebuild ChangeLog metadata.xml |
4 | Log: |
5 | Moved from sunrise overlay. Bug #334455. Thanks to Montjoie for the ebuild |
6 | |
7 | (Portage version: 2.2.0_alpha3_p8/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-forensics/openscap/openscap-0.6.4.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/openscap/openscap-0.6.4.ebuild?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/openscap/openscap-0.6.4.ebuild?rev=1.1&content-type=text/plain |
14 | |
15 | Index: openscap-0.6.4.ebuild |
16 | =================================================================== |
17 | # Copyright 1999-2010 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/openscap-0.6.4.ebuild,v 1.1 2010/11/05 23:49:24 hwoarang Exp $ |
20 | |
21 | EAPI=3 |
22 | |
23 | PYTHON_DEPEND="2" |
24 | |
25 | inherit multilib python bash-completion |
26 | |
27 | DESCRIPTION="Framework which enables integration with the Security Content Automation Protocol (SCAP)" |
28 | HOMEPAGE="http://www.open-scap.org/" |
29 | SRC_URI="http://www.open-scap.org/download/${P}.tar.gz" |
30 | |
31 | LICENSE="LGPL-2.1" |
32 | SLOT="0" |
33 | KEYWORDS="~amd64 ~x86" |
34 | IUSE="bash-completion doc nss perl python" |
35 | |
36 | RDEPEND="!nss? ( dev-libs/libgcrypt ) |
37 | nss? ( dev-libs/nss ) |
38 | dev-libs/libpcre |
39 | dev-libs/libxml2 |
40 | net-misc/curl" |
41 | DEPEND="${RDEPEND} |
42 | perl? ( dev-lang/swig ) |
43 | python? ( dev-lang/swig )" |
44 | |
45 | pkg_setup() { |
46 | python_set_active_version 2 |
47 | python_pkg_setup |
48 | } |
49 | |
50 | src_configure() { |
51 | local myconf |
52 | if use python || use perl ; then |
53 | myconf+=" --enable-bindings" |
54 | else |
55 | myconf+=" --disable-bindings" |
56 | fi |
57 | if use nss ; then |
58 | myconf+=" --with-crypto=nss3" |
59 | else |
60 | myconf+=" --with-crypto=gcrypt" |
61 | fi |
62 | econf ${myconf} |
63 | } |
64 | |
65 | src_install() { |
66 | emake install DESTDIR="${D}" || die |
67 | #--enable-bindings enable all bindings, clean unwanted bindings |
68 | if use python && ! use perl ; then |
69 | rm -rf "${D}"/usr/$(get_libdir)/perl5 || die |
70 | fi |
71 | if ! use python && use perl ; then |
72 | rm -rf "${D}"/$(python_get_sitedir) || die |
73 | fi |
74 | if use doc ; then |
75 | dohtml -r docs/html/* || die |
76 | dodoc docs/examples/* || die |
77 | fi |
78 | if ! use bash-completion ; then |
79 | rm -rf "${D}"/etc/bash_completion.d || die |
80 | fi |
81 | } |
82 | |
83 | |
84 | |
85 | 1.1 app-forensics/openscap/ChangeLog |
86 | |
87 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/openscap/ChangeLog?rev=1.1&view=markup |
88 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/openscap/ChangeLog?rev=1.1&content-type=text/plain |
89 | |
90 | Index: ChangeLog |
91 | =================================================================== |
92 | # ChangeLog for app-forensics/openscap |
93 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
94 | # $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/ChangeLog,v 1.1 2010/11/05 23:49:24 hwoarang Exp $ |
95 | |
96 | *openscap-0.6.4 (05 Nov 2010) |
97 | |
98 | 05 Nov 2010; Markos Chandras <hwoarang@g.o> +openscap-0.6.4.ebuild, |
99 | +metadata.xml: |
100 | Moved from sunrise overlay. Bug #334455. Thanks to Montjoie for the ebuild |
101 | |
102 | |
103 | |
104 | |
105 | 1.1 app-forensics/openscap/metadata.xml |
106 | |
107 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/openscap/metadata.xml?rev=1.1&view=markup |
108 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/openscap/metadata.xml?rev=1.1&content-type=text/plain |
109 | |
110 | Index: metadata.xml |
111 | =================================================================== |
112 | <?xml version="1.0" encoding="UTF-8"?> |
113 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
114 | <pkgmetadata> |
115 | <herd>no-herd</herd> |
116 | <maintainer> |
117 | <email>hwoarang@g.o</email> |
118 | <name>Markos Chandras</name> |
119 | <description>Proxy maintainer. CC him on bugs</description> |
120 | </maintainer> |
121 | <maintainer> |
122 | <email>corentin.labbe@××××××××.fr</email> |
123 | <name>LABBE Corentin (Montjoie)</name> |
124 | <description>Maintainer. Assign bugs to him</description> |
125 | </maintainer> |
126 | <use> |
127 | <flag name="nss">Prefer NSS over libgcrypt as the crypto engine</flag> |
128 | </use> |
129 | <longdescription lang="en"> |
130 | </longdescription> |
131 | </pkgmetadata> |