[-]
[+]
|
Deleted |
bonnie++.changes
|
@@ -1,33 +0,0 @@
--------------------------------------------------------------------
-Mon Dec 3 01:48:17 CET 2007 - ro@suse.de
-
-- fix build with gcc-4.3
-
--------------------------------------------------------------------
-Fri May 26 23:12:23 CEST 2006 - schwab@suse.de
-
-- Use RPM_OPT_FLAGS.
-- Don't strip binaries.
-
--------------------------------------------------------------------
-Wed Jan 25 21:34:43 CET 2006 - mls@suse.de
-
-- converted neededforbuild to BuildRequires
-
--------------------------------------------------------------------
-Wed Oct 5 12:43:58 CEST 2005 - dmueller@suse.de
-
- - add norootforbuild
-
--------------------------------------------------------------------
-Tue Dec 18 14:22:18 CET 2001 - ro@suse.de
-
-- added <gpp,libgpp> to neededforbuild
-- cleaned up install locations
-
--------------------------------------------------------------------
-Tue Dec 18 12:33:40 CET 2001 - ories@suse.de
-
-- initial package
-- replaced getc/putc with getc_unlocked/putc_unlocked
-
|
[-]
[+]
|
Deleted |
bonnie++-1.02.spec
^
|
@@ -1,87 +0,0 @@
-#
-# spec file for package bonnie++ (Version 1.02)
-#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
-#
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-# norootforbuild
-
-Name: bonnie++
-BuildRequires: gcc-c++
-License: X11/MIT
-Group: System/Benchmark
-Provides: bonnie++-1.02
-AutoReqProv: on
-Summary: A Bonnie-Like File System Benchmark
-Version: 1.02
-Release: 413
-Source: http://www.coker.com.au/bonnie++/bonnie++-1.02.tgz
-Patch: bonnie++-1.02_unlocked.patch
-Patch1: bonnie++-gcc43.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-
-%description
-Bonnie++ is a benchmark suite aimed at performing a number of simple
-hard drive and file system performance tests.
-
-
-
-Authors:
---------
- Tim Bray <tbray@textuality.com>
- Russell Coker <russell@coker.com.au>
- Christian Kagerhuber <c.kagerhuber@t-online.net>
- Olli Ries <ories@suse.de>
-
-%prep
-%setup
-%patch -p1
-%patch1
-
-%build
- make clean
- make MORECFLAGS="$RPM_OPT_FLAGS"
-
-%install
- mkdir -p $RPM_BUILD_ROOT/usr/bin
- /usr/bin/install -c bonnie++ zcav $RPM_BUILD_ROOT/usr/bin
- /usr/bin/install -c bon_csv2html bon_csv2txt $RPM_BUILD_ROOT/usr/bin
- mkdir -p $RPM_BUILD_ROOT%{_mandir}/man{1,8}
- /usr/bin/install -c -m 644 bon_csv2html.1 bon_csv2txt.1 $RPM_BUILD_ROOT%{_mandir}/man1
- /usr/bin/install -c -m 644 bonnie++.8 zcav.8 $RPM_BUILD_ROOT%{_mandir}/man8
-
-%files
-%defattr(-,root,root)
-%doc readme.html
-/usr/bin/bonnie++
-/usr/bin/zcav
-/usr/bin/bon_csv2html
-/usr/bin/bon_csv2txt
-%{_mandir}/man8/bonnie++.8.gz
-%{_mandir}/man8/zcav.8.gz
-%{_mandir}/man1/bon_csv2html.1.gz
-%{_mandir}/man1/bon_csv2txt.1.gz
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%changelog
-* Mon Dec 03 2007 - ro@suse.de
-- fix build with gcc-4.3
-* Fri May 26 2006 - schwab@suse.de
-- Use RPM_OPT_FLAGS.
-- Don't strip binaries.
-* Wed Jan 25 2006 - mls@suse.de
-- converted neededforbuild to BuildRequires
-* Wed Oct 05 2005 - dmueller@suse.de
-- add norootforbuild
-* Tue Dec 18 2001 - ro@suse.de
-- added <gpp,libgpp> to neededforbuild
-- cleaned up install locations
-* Tue Dec 18 2001 - ories@suse.de
-- initial package
-- replaced getc/putc with getc_unlocked/putc_unlocked
|
[-]
[+]
|
Added |
bonnie++.spec
^
|
|
[-]
[+]
|
Deleted |
bonnie++-1.02_unlocked.patch
^
|
@@ -1,29 +0,0 @@
-Binary files bonnie++-1.02/bon_file.o and bonnie++-1.02_patched/bon_file.o differ
-diff -ruN bonnie++-1.02/bon_io.cpp bonnie++-1.02_patched/bon_io.cpp
---- bonnie++-1.02/bon_io.cpp Mon Apr 16 17:16:05 2001
-+++ bonnie++-1.02_patched/bon_io.cpp Sun Dec 16 23:24:07 2001
-@@ -233,7 +233,7 @@
- int next;
- for(int i = 0; i < m_chunk_size; i++)
- {
-- if ((next = getc(m_stream[m_file_ind])) == EOF)
-+ if ((next = getc_unlocked(m_stream[m_file_ind])) == EOF)
- {
- fprintf(stderr, "Can't getc(3)\n");
- return -1;
-@@ -283,7 +283,7 @@
- {
- for(int i = 0; i < m_chunk_size; i++)
- {
-- if (putc(i & 0x7f, m_stream[m_file_ind]) == EOF)
-+ if (putc_unlocked(i & 0x7f, m_stream[m_file_ind]) == EOF)
- {
- fprintf(stderr, "Can't putc() - disk full?\n");
- return -1;
-Binary files bonnie++-1.02/bon_io.o and bonnie++-1.02_patched/bon_io.o differ
-Binary files bonnie++-1.02/bon_suid.o and bonnie++-1.02_patched/bon_suid.o differ
-Binary files bonnie++-1.02/bon_time.o and bonnie++-1.02_patched/bon_time.o differ
-Binary files bonnie++-1.02/bonnie++ and bonnie++-1.02_patched/bonnie++ differ
-Binary files bonnie++-1.02/forkit.o and bonnie++-1.02_patched/forkit.o differ
-Binary files bonnie++-1.02/semaphore.o and bonnie++-1.02_patched/semaphore.o differ
-Binary files bonnie++-1.02/zcav and bonnie++-1.02_patched/zcav differ
|
[-]
[+]
|
Added |
bonnie++-1.03c_unlocked.patch
^
|
@@ -0,0 +1,29 @@
+Binary files bonnie++-1.02/bon_file.o and bonnie++-1.02_patched/bon_file.o differ
+diff -ruN bonnie++-1.02/bon_io.cpp bonnie++-1.02_patched/bon_io.cpp
+--- bonnie++-1.02/bon_io.cpp Mon Apr 16 17:16:05 2001
++++ bonnie++-1.02_patched/bon_io.cpp Sun Dec 16 23:24:07 2001
+@@ -233,7 +233,7 @@
+ int next;
+ for(int i = 0; i < m_chunk_size; i++)
+ {
+- if ((next = getc(m_stream[m_file_ind])) == EOF)
++ if ((next = getc_unlocked(m_stream[m_file_ind])) == EOF)
+ {
+ fprintf(stderr, "Can't getc(3)\n");
+ return -1;
+@@ -283,7 +283,7 @@
+ {
+ for(int i = 0; i < m_chunk_size; i++)
+ {
+- if (putc(i & 0x7f, m_stream[m_file_ind]) == EOF)
++ if (putc_unlocked(i & 0x7f, m_stream[m_file_ind]) == EOF)
+ {
+ fprintf(stderr, "Can't putc() - disk full?\n");
+ return -1;
+Binary files bonnie++-1.02/bon_io.o and bonnie++-1.02_patched/bon_io.o differ
+Binary files bonnie++-1.02/bon_suid.o and bonnie++-1.02_patched/bon_suid.o differ
+Binary files bonnie++-1.02/bon_time.o and bonnie++-1.02_patched/bon_time.o differ
+Binary files bonnie++-1.02/bonnie++ and bonnie++-1.02_patched/bonnie++ differ
+Binary files bonnie++-1.02/forkit.o and bonnie++-1.02_patched/forkit.o differ
+Binary files bonnie++-1.02/semaphore.o and bonnie++-1.02_patched/semaphore.o differ
+Binary files bonnie++-1.02/zcav and bonnie++-1.02_patched/zcav differ
|
[-]
[+]
|
Changed |
bonnie++-gcc43.patch
^
|
@@ -1,16 +1,14 @@
---- zcav.cpp
-+++ zcav.cpp
-@@ -7,7 +7,8 @@
+--- zcav.cpp.orig 2007-12-03 00:07:38.000000000 +0100
++++ zcav.cpp 2008-07-05 18:01:00.000000000 +0200
+@@ -9,6 +9,7 @@
+ #include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
++#include <string.h>
#include "bonnie.h"
--#include <vector.h>
-+#include <cstring>
-+#include <vector>
-
- // Read the specified number of megabytes of data from the fd and return the
- // amount of time elapsed in seconds.
-@@ -35,8 +36,8 @@
+ #ifdef HAVE_VECTOR
+ #include <vector>
+@@ -43,8 +44,8 @@
int main(int argc, char *argv[])
{
@@ -20,4 +18,4 @@
+ std::vector<int> count;
int block_size = 100;
- int max_loops = 1;
+ int max_loops = 1, pass_size = 0, chunk_size = DEFAULT_CHUNK_SIZE;
|
|
Deleted |
bonnie++-1.02.tgz
^
|
|
Deleted |
bonnie++-1.03b.tgz
^
|