1 |
hwoarang 13/01/30 18:53:05 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: ovaldi-5.10.1.4.ebuild |
5 |
Log: |
6 |
Version bump. Bug #451694 thanks to clabbe.montjoie@×××××.com |
7 |
|
8 |
(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 app-forensics/ovaldi/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/ovaldi/metadata.xml?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/ovaldi/metadata.xml?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/ovaldi/metadata.xml?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-forensics/ovaldi/metadata.xml,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- metadata.xml 24 Aug 2011 13:43:02 -0000 1.2 |
24 |
+++ metadata.xml 30 Jan 2013 18:53:05 -0000 1.3 |
25 |
@@ -3,12 +3,7 @@ |
26 |
<pkgmetadata> |
27 |
<herd>proxy-maintainers</herd> |
28 |
<maintainer> |
29 |
- <email>hwoarang@g.o</email> |
30 |
- <name>Markos Chandras</name> |
31 |
- <description>Proxy maintainer. CC him on bugs</description> |
32 |
- </maintainer> |
33 |
- <maintainer> |
34 |
- <email>corentin.labbe@××××××××.fr</email> |
35 |
+ <email>clabbe.montjoie@×××××.com</email> |
36 |
<name>LABBE Corentin</name> |
37 |
<description>Upstream and Maintainer. Assign bugs to him</description> |
38 |
</maintainer> |
39 |
|
40 |
|
41 |
|
42 |
1.4 app-forensics/ovaldi/ChangeLog |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/ovaldi/ChangeLog?rev=1.4&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/ovaldi/ChangeLog?rev=1.4&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/ovaldi/ChangeLog?r1=1.3&r2=1.4 |
47 |
|
48 |
Index: ChangeLog |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/app-forensics/ovaldi/ChangeLog,v |
51 |
retrieving revision 1.3 |
52 |
retrieving revision 1.4 |
53 |
diff -u -r1.3 -r1.4 |
54 |
--- ChangeLog 22 May 2012 20:54:50 -0000 1.3 |
55 |
+++ ChangeLog 30 Jan 2013 18:53:05 -0000 1.4 |
56 |
@@ -1,6 +1,14 @@ |
57 |
# ChangeLog for app-forensics/ovaldi |
58 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/ovaldi/ChangeLog,v 1.3 2012/05/22 20:54:50 hwoarang Exp $ |
60 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
61 |
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/ovaldi/ChangeLog,v 1.4 2013/01/30 18:53:05 hwoarang Exp $ |
62 |
+ |
63 |
+*ovaldi-5.10.1.4 (30 Jan 2013) |
64 |
+ |
65 |
+ 30 Jan 2013; Markos Chandras <hwoarang@g.o> |
66 |
+ +files/ovaldi-5.10.1.4-disable-selinux-probes.patch, |
67 |
+ +files/ovaldi-5.10.1.4-strnicmp.patch, +files/ovaldi-5.10.1.4-xerces3.patch, |
68 |
+ +ovaldi-5.10.1.4.ebuild, metadata.xml: |
69 |
+ Version bump. Bug #451694 thanks to clabbe.montjoie@×××××.com |
70 |
|
71 |
*ovaldi-5.10.1.2 (22 May 2012) |
72 |
|
73 |
@@ -24,4 +32,3 @@ |
74 |
+files/rpmdb.patch, +files/use_local_rpmdb.patch, +metadata.xml: |
75 |
Initial commit. Moved from sunrise. Thanks to Anton Bolshakov for the |
76 |
original ebuild and LABBE Corentin for proxy-maintaining it. Bug #225065 |
77 |
- |
78 |
|
79 |
|
80 |
|
81 |
1.1 app-forensics/ovaldi/ovaldi-5.10.1.4.ebuild |
82 |
|
83 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/ovaldi/ovaldi-5.10.1.4.ebuild?rev=1.1&view=markup |
84 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/ovaldi/ovaldi-5.10.1.4.ebuild?rev=1.1&content-type=text/plain |
85 |
|
86 |
Index: ovaldi-5.10.1.4.ebuild |
87 |
=================================================================== |
88 |
# Copyright 1999-2013 Gentoo Foundation |
89 |
# Distributed under the terms of the GNU General Public License v2 |
90 |
# $Header: /var/cvsroot/gentoo-x86/app-forensics/ovaldi/ovaldi-5.10.1.4.ebuild,v 1.1 2013/01/30 18:53:05 hwoarang Exp $ |
91 |
|
92 |
EAPI=5 |
93 |
|
94 |
inherit eutils toolchain-funcs |
95 |
|
96 |
DESCRIPTION="Free implementation of OVAL" |
97 |
HOMEPAGE="http://oval.mitre.org/language/interpreter.html" |
98 |
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2" |
99 |
|
100 |
LICENSE="BSD" |
101 |
SLOT="0" |
102 |
KEYWORDS="~amd64 ~x86" |
103 |
IUSE="acl ldap rpm selinux" |
104 |
|
105 |
RDEPEND="dev-libs/libgcrypt |
106 |
dev-libs/libpcre |
107 |
dev-libs/xalan-c |
108 |
dev-libs/xerces-c |
109 |
sys-apps/util-linux |
110 |
sys-libs/libcap |
111 |
acl? ( sys-apps/acl ) |
112 |
ldap? ( net-nds/openldap ) |
113 |
rpm? ( app-arch/rpm ) |
114 |
selinux? ( sys-libs/libselinux )" |
115 |
DEPEND="${RDEPEND} |
116 |
sys-apps/sed" |
117 |
|
118 |
S="${WORKDIR}/${P}-src" |
119 |
|
120 |
src_prepare() { |
121 |
#Ovaldi do not support xerces 3, but portage have only that |
122 |
epatch "${FILESDIR}"/${P}-xerces3.patch |
123 |
sed -i 's,xercesc::DOMBuilder,xercesc::DOMLSParser,' src/XmlProcessor.h || die |
124 |
sed -i 's,DOMBuilder,DOMLSParser,' src/XmlProcessor.cpp || die |
125 |
|
126 |
epatch "${FILESDIR}"/${P}-strnicmp.patch |
127 |
|
128 |
if ! use ldap ; then |
129 |
einfo "Disabling LDAP probes" |
130 |
sed -i 's,.*ldap,//&,' src/linux/ProbeFactory.cpp || die |
131 |
sed -i 's,.*LDAP,//&,' src/linux/ProbeFactory.cpp || die |
132 |
sed -i 's/-lldap//' project/linux/Makefile || die |
133 |
sed -i 's/-llber//' project/linux/Makefile || die |
134 |
sed -i 's/.*LDAPProbe.h.*//' src/linux/ProbeFactory.h || die |
135 |
rm src/probes/independent/LDAPProbe.{cpp,h} || die |
136 |
fi |
137 |
|
138 |
if ! use acl ; then |
139 |
sed -i 's,.*libacl,//&,' src/probes/unix/FileProbe.h || die |
140 |
epatch "${FILESDIR}"/disable-acl.patch |
141 |
sed -i 's, -lacl , ,' project/linux/Makefile || die |
142 |
fi |
143 |
|
144 |
# rpm probes support is build dependant only on the presence of the rpm binary |
145 |
if use rpm ; then |
146 |
#Same problems as bug 274679, so i do a local copy of the header and patch it |
147 |
cp /usr/include/rpm/rpmdb.h src/probes/linux/ || die |
148 |
epatch "${FILESDIR}"/use_local_rpmdb.patch |
149 |
epatch "${FILESDIR}"/rpmdb.patch |
150 |
else |
151 |
einfo "Disabling rpm probes" |
152 |
sed -i 's/^PACKAGE_RPM/#PACKAGE_RPM/' project/linux/Makefile || die |
153 |
fi |
154 |
# same thing for dpkg, but package dpkg is not sufficient, needs app-arch/apt-pkg that is not on tree |
155 |
einfo "Disabling dpkg probes" |
156 |
sed -i 's/^PACKAGE_DPKG/#PACKAGE_DPKG/' project/linux/Makefile || die |
157 |
|
158 |
#Disabling SELinux support |
159 |
if ! use selinux ; then |
160 |
rm src/probes/linux/SelinuxSecurityContextProbe.cpp || die |
161 |
rm src/probes/linux/SelinuxBooleanProbe.cpp || die |
162 |
rm src/probes/linux/SelinuxBooleanProbe.h || die |
163 |
epatch "${FILESDIR}"/${P}-disable-selinux-probes.patch |
164 |
sed -i 's,.*selinux.*,//&,' src/linux/ProbeFactory.cpp || die |
165 |
sed -i 's,.*Selinux.*,//&,' src/linux/ProbeFactory.cpp || die |
166 |
sed -i 's,.*selinux.*,//&,' src/linux/ProbeFactory.h || die |
167 |
sed -i 's,.*Selinux.*,//&,' src/linux/ProbeFactory.h || die |
168 |
sed -i 's,.*SecurityContextGuard.h.*,//&,' src/probes/unix/Process58Probe.cpp || die |
169 |
rm src/linux/SecurityContextGuard.h || die |
170 |
sed -i 's, -lselinux,,' project/linux/Makefile || die |
171 |
fi |
172 |
# respect CXXFLAGS and CXX |
173 |
sed -i -e '/^CPPFLAGS/s/$(INCDIRS)/$(CXXFLAGS) \0/' project/linux/Makefile || die |
174 |
tc-export CXX |
175 |
} |
176 |
|
177 |
src_compile () { |
178 |
emake -C project/linux |
179 |
} |
180 |
|
181 |
src_install () { |
182 |
# no make install in Makefile |
183 |
dosbin project/linux/Release/ovaldi project/linux/ovaldi.sh |
184 |
dodir /var/log/${PN} |
185 |
insinto /usr/share/${PN} |
186 |
doins xml/* |
187 |
dodoc docs/{README.txt,version.txt} |
188 |
doman docs/ovaldi.1 |
189 |
} |