rpms/ovaldi/EL-5 ovaldi-5.3-int.patch, NONE, 1.1 ovaldi.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lubomir Kundrak (lkundrak) fedora-extras-commits at redhat.com
Wed Nov 28 20:26:24 UTC 2007


Author: lkundrak

Update of /cvs/pkgs/rpms/ovaldi/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28673/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	ovaldi-5.3-int.patch ovaldi.spec 
Log Message:
Initial import of ovaldi-5.3-1

ovaldi-5.3-int.patch:

--- NEW FILE ovaldi-5.3-int.patch ---
--- src/EntityComparator.cpp.int	2007-11-19 16:04:09.000000000 +0100
+++ src/EntityComparator.cpp	2007-11-19 16:04:40.000000000 +0100
@@ -635,7 +635,7 @@
 				string tokenStr = token;
 				
 				// check that the token is an integer
-				unsigned int nonInt = tokenStr.find_first_not_of("0123456789");
+				int nonInt = tokenStr.find_first_not_of("0123456789");
 				if(nonInt != string::npos) {
 					if(theString != NULL) {
 						free(theString);


--- NEW FILE ovaldi.spec ---
Name:           ovaldi
Version:        5.3
Release:        1%{?dist}
Summary:        Reference implementation of the OVAL interpreter

Group:          Applications/System
License:        BSD
URL:            http://oval.mitre.org/language/download/interpreter/index.html
Source0:        http://oval.mitre.org/language/download/interpreter/version%{version}/interpreters.src-%{version}.tbz2
Patch0:         ovaldi-5.3-int.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  pcre-devel xerces-c-devel xalan-c-devel rpm-devel
# rpm-devel should pull in popt-devel. This is fixed in Fedora 9
BuildRequires:  popt-devel

%description
The OVAL Interpreter is a freely available reference implementation created
to show how information can be collected from a computer for testing, to
evaluate and carry out the OVAL definitions for that platform, and to
report the results of the tests.


%prep
%setup -qn Interpreters
%patch0 -p0 -b .int


%build
mkdir -p project/linux/Release/obj
# %{?_smp_mflags} can not be used
make -C project/linux CPPFLAGS='%{optflags}'


%install
rm -rf $RPM_BUILD_ROOT

# Directory structure
install -d $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_datadir}/ovaldi
install -d $RPM_BUILD_ROOT%{_mandir}/man1

# Files
install -m 755 project/linux/Release/ovaldi $RPM_BUILD_ROOT%{_bindir}
install -m 644 docs/ovaldi.1 $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 xml/* $RPM_BUILD_ROOT%{_datadir}/ovaldi


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{_bindir}/ovaldi
%{_datadir}/ovaldi
%{_mandir}/man1/ovaldi.1*
%doc docs/README.txt docs/terms.txt docs/version.txt


%changelog

* Mon Nov 19 2007 Lubomir Kundrak <lkundrak at redhat.com> 5.3-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ovaldi/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Nov 2007 18:17:53 -0000	1.1
+++ .cvsignore	28 Nov 2007 20:25:51 -0000	1.2
@@ -0,0 +1 @@
+interpreters.src-5.3.tbz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ovaldi/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Nov 2007 18:17:53 -0000	1.1
+++ sources	28 Nov 2007 20:25:51 -0000	1.2
@@ -0,0 +1 @@
+5af68d5e0b8f51891b23a52f019741e8  interpreters.src-5.3.tbz2




More information about the fedora-extras-commits mailing list