rpms/boinc-client/devel boinc-client-init-d, NONE, 1.1 boinc-client-logrotate-d, NONE, 1.1 boinc-client.spec, NONE, 1.1 boinc-gcc43.patch, NONE, 1.1 boinc-gccflags.patch, NONE, 1.1 boinc-manager.desktop, NONE, 1.1 boinc.1, NONE, 1.1 boinc_client.1, NONE, 1.1 boinc_cmd.1, NONE, 1.1 boincmgr.1, NONE, 1.1 noexec, NONE, 1.1 trim, NONE, 1.1 unicode, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Miloš Jakubíček (mjakubicek) fedora-extras-commits at redhat.com
Tue Mar 25 20:14:07 UTC 2008


Author: mjakubicek

Update of /cvs/pkgs/rpms/boinc-client/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21637/devel

Modified Files:
	.cvsignore sources 
Added Files:
	boinc-client-init-d boinc-client-logrotate-d boinc-client.spec 
	boinc-gcc43.patch boinc-gccflags.patch boinc-manager.desktop 
	boinc.1 boinc_client.1 boinc_cmd.1 boincmgr.1 noexec trim 
	unicode 
Log Message:
Initial commit.



--- NEW FILE boinc-client-init-d ---
#!/bin/sh 
#
# BOINC - start and stop the BOINC client daemon on Unix
#
#  Unix start/stop script to run the BOINC client as a daemon at
#  system startup, as the 'boinc' user (not root!).
#
#  This version works on Red Hat Linux, Fedora, Mandrake, Debian,
#  and Slackware Linux, and should work on generic Linux systems
#  provided that they have 'pidof' (most do).   
#  Metadata for chkconfig and the SUSE equivalent INIT info are included below.
#
#  Usage:  boinc { start | stop | status | reload | restart }
#  
###
# chkconfig: - 98 02
# description: This script starts the local BOINC client as a daemon
#         For more information about BOINC (the Berkeley Open Infrastructure
#         for Network Computing) see http://boinc.berkeley.edu
# processname: boinc
# config: /etc/sysconfig/boinc
#
### BEGIN INIT INFO
# Provides: boinc
# Required-Start: $network
# Required-Stop:  $network
# Default-Start: 
# Default-Stop: 0 1 2 6
# Short-Description: This script monitors the BOINC client.
# Description: This script starts the local BOINC client as a daemon
#         For more information about BOINC (the Berkeley Open Infrastructure
#         for Network Computing) see http://boinc.berkeley.edu
### END INIT INFO
#
# Eric Myers <myers at vassar.edu>  - 27 July 2004
# Department of Physics and Astronomy, Vassar College, Poughkeepsie NY
# Eric Myers <myers at spy-hill.net> 
# Spy Hill Research, Poughkeepsie, New York
# @(#) $Id: boinc,v 1.10 2007/12/27 20:09:09 myers Exp $
########################################################################

# Defaults, which can be overridden by putting new NAME=value lines 
#  in /etc/sysconfig/boinc (for Red Hat/Fedora Linux and variants)
#  or /etc/default/boinc   (for Debian/Ubuntu and variants)

# Name of user to run as:
#
BOINCUSER=boinc

# Working directory.  Could be /home/boinc, /var/lib/boinc, etc..
# The reason I prefer /var/lib/boinc is that this works best for a 
# cluster of computers where /home/anything might be shared between machines
#
BOINCDIR=/var/lib/boinc

# Name of the client executable.  This is the file "boinc" if you 
# unpacked the download file  boinc_M.mm.rr_i686-pc-linux-gnu.sh,
# but I like to rename it and put it in a public place.
# (Hint: move boincmgr to /usr/local/bin too so anyone can easily use it).
#

BOINCEXE=/usr/bin/boinc_client
BOINCCMD=/usr/bin/boinc_cmd

# Log and error files (you should rotate these occasionally)
#
LOGFILE=/var/log/boinc.log
ERRORLOG=/var/log/boincerr.log

# BOINC options: for the command line when running the client.  
# Be aware that --allow_remote_gui_rpc opens up your machine to the world!
#
#BOINCOPTS="--allow_remote_gui_rpc"   
BOINCOPTS="--daemon"


# Subsys lock file ...

# If there is the subsys directory, then use it ...
if [ -d /var/lock/subsys/ ]; then
	LOCKFILE=/var/lock/subsys/boinc-client
elif [ -d /var/lock ]; then
	LOCKFILE=/var/lock/boinc-client
fi

# su on Linux seems to need this to be set to work properly in a script
export TERM dumb


##
# Init script function library.   This stuff is Red Hat specific,
# but if the functions are not found we create our own simple replacements.
# (The idea for replacing the functions comes from OpenAFS.  Thanks guys!)

if [ -f /etc/rc.d/init.d/functions ] ; then
        . /etc/rc.d/init.d/functions
else
        export PATH=/sbin:/bin:/usr/sbin:/usr/bin
        function echo_success () { echo -n "	[  OK  ]  " ; }
        function echo_failure () { echo -n "	[FAILED]  " ; }
        function echo_warning () { echo -n "	[WARNING] " ; }
	function killproc() {
	     PID=`pidof -s -x -o $$ -o $PPID -o %PPID $1` 
	     [ $PID ] && kill $PID ; }
fi


## Look for any local configuration settings which override all above

if [ -f /etc/sysconfig/boinc ]; then
  . /etc/sysconfig/boinc
elif [ -f /etc/default/boinc ]; then
  . /etc/default/boinc
fi


## Verify the working directory exists:

if [ ! -d $BOINCDIR ]; then
  echo -n "Cannot find BOINC directory $BOINCDIR "
  echo_failure
  echo 
  exit 7
fi


# Some additional places to look for the client executable
# (Should do this after init.d/functions and sysconfig/boinc, which sets PATH)

export PATH=$BOINCDIR:/usr/local/bin:$PATH


## Locate the executable, either boinc_client, boinc, 
## or boinc_M.mm_.... with highest version number
## We only do this if BOINCEXE set above isn't found or is not executable.

if [ ! -x $BOINCEXE ]; then
  BOINCEXE=`/usr/bin/which boinc_client 2>/dev/null`
  if [ ! -x "$BOINCEXE" ]; then
    BOINCEXE=`/usr/bin/which boinc 2>/dev/null`
  fi
fi

if [ ! -x "$BOINCEXE" ]; then
  echo -n "Cannot find an executable for the BOINC client."
  echo_failure
  echo 
  exit 2
fi



## Functions: $1 is one of  start|stop|status|reload|restart

case "$1" in
  start)
        cd $BOINCDIR

        if [ -f lockfile ] ; then
          echo -n "Another instance of BOINC is running (lockfile exists)."
          echo_success
          echo 
          exit
        fi

        if [ ! -d projects ] ; then
          echo -n "The BOINC client requires initialization."
          echo_warning
          echo 
        fi

        echo -n "Starting BOINC client as a daemon:  "
        daemon "$BOINCEXE $BOINCOPTS" >>$LOGFILE 2>>$ERRORLOG &
        sleep 1  
        PID=`pidof -s -x -o $$ -o $PPID -o %PPID $BOINCEXE`
        if [ $PID ]; then
	  touch $LOCKFILE && echo_success || echo_failure
        fi
        echo 
        ;;
  stop)
        cd $BOINCDIR
        if [ ! -f lockfile -a ! -f $LOCKFILE ] ; then
          echo -n "BOINC is not running (no lockfiles found)."
          echo_success
        else
          echo -n "Stopping BOINC client daemon:  "    
	  killproc $BOINCEXE  && echo_success  || echo_failure 
	  # clean up in any case
	  rm -f $BOINCDIR/lockfile
	  rm -f $LOCKFILE
	fi
        echo 
        ;;
  reload)
  	if [ ! -f lockfile -a ! -f $LOCKFILE ] ; then
          echo -n "BOINC is not running (no lockfiles found) -- starting service."
	  $0 start
  	else
  	  $BOINCCMD --read_cc_config >>$LOGFILE 2>>$ERRORLOG && echo_success || $0 restart
	fi
	echo
	;;
  restart)
        $0 stop
        $0 start
        ;;

  status)
        PID=`pidof -x -o $$ -o $PPID -o %PPID boinc_client`
        if [ "$PID" == "" ]; then
          PID=`pidof -x -o $$ -o $PPID -o %PPID $BOINCEXE`
        fi
        if [ "$PID" != "" ]; then
          echo "BOINC client is running (pid $PID)."
        else
          if [ -f $BOINCDIR/lockfile -o -f $LOCKFILE ]; then 
             echo "BOINC is stopped but lockfile(s) exist."
	     exit 2
          else 
             echo "BOINC client is stopped."
	     exit 3
          fi
        fi
        ;;

  *)
        echo "Usage: boinc {start|stop|restart|reload|status}"
        exit 1
esac

exit

#EOF#


--- NEW FILE boinc-client-logrotate-d ---
# Log Rotation for BOINC Daemon Logs
#
# See http://boinc.berkeley.edu/ for more information about BOINC
#
# Daemon is stopped and then restarted after the logs are rotated.
#
# On restart, all results that checkpoint will fall back to the last one, if it exists.
# On restart, all results that did not checkpoint will start from the beginning.

# Author: Kathryn Marks <kathryn.boinc at gmail.com>
# Created: October 6, 2007
# Last Modified: October 15, 2007
######################################################################

# Global Parameters

missingok
compress
delaycompress
notifempty
nomail

# Log Specific Parameters

# boinc.log

# Normal usage:
# Rotate weekly and keep about 2 months worth

/var/log/boinc.log
{
	weekly
	rotate 8
	create 664 boinc boinc
	sharedscripts
	prerotate
	  if [ -f /var/lock/subsys/boinc ]; then
	    touch /var/run/boinc_was_running
	    /etc/init.d/boinc stop
	  fi
	endscript
	postrotate
	  if [ -f /var/run/boinc_was_running ]; then
	    rm /var/run/boinc_was_running
	    /etc/init.d/boinc start
	  fi
	endscript 	
}


# boincerr.log

# Normal usage:
# Rotate monthly and keep about 2 months worth

/var/log/boincerr.log
{
	monthly
	rotate 2
	create 664 boinc boinc
	sharedscripts
	prerotate
	  if [ -f /var/lock/subsys/boinc ]; then
	    touch /var/run/boinc_was_running
	    /etc/init.d/boinc stop
	  fi
	endscript
	postrotate
	  if [ -f /var/run/boinc_was_running ]; then
	    rm /var/run/boinc_was_running
	    /etc/init.d/boinc start
	  fi
	endscript 	
}

## EOF ##



--- NEW FILE boinc-client.spec ---
%define snap 20080315
%define version_ 5_10_45

Summary:	The BOINC client core
Name:		boinc-client
Version:	5.10.45
Release:	4.%{snap}svn%{?dist}
License:	LGPLv2+
Group:		Applications/Engineering
URL:		http://boinc.berkeley.edu/
# The source for this package was pulled from upstream's vcs. Use the
# following commands to generate the tarball:
# svn export http://boinc.berkeley.edu/svn/tags/boinc_core_release_%{version_}
# pushd boinc_core_release_%{version_}
# ./_autosetup
# ./noexec Fix unnecessary execute rights on documentation files
# ./unicode Convert to UTF8
# popd
# ./trim boinc_core_release_%{version_}
# tar -czvf boinc-%{version}.tar.gz boinc_core_release_%{version_}/
# The trim script trims all binaries and other unnecessary things.
Source0:	boinc-%{version}.tar.gz
Source1:	boinc-client-init-d
Source2:	boinc-client-logrotate-d
Source3:	boinc-manager.desktop
Source4:	boinc.1
Source5:	boinc_client.1
Source6:	boinc_cmd.1
Source7:	boincmgr.1
Source8:	trim
Source9:	noexec
Source10:	unicode
Patch0:		boinc-gcc43.patch
Patch1:		boinc-gccflags.patch

BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

Requires:	logrotate
Requires:	chkconfig
Requires(pre):  shadow-utils

BuildRequires:	MySQL-python
BuildRequires:	curl-devel
BuildRequires:	desktop-file-utils
BuildRequires:	freeglut-devel
BuildRequires:	mesa-libGLU-devel
BuildRequires:	openssl-devel
BuildRequires:	wxGTK-devel
BuildRequires:  gettext
BuildRequires:  mysql-devel
BuildRequires:  libXmu-devel
BuildRequires:  libjpeg-devel

%description
The Berkeley Open Infrastructure for Network Computing (BOINC) is an open-
source software platform which supports distributed computing, primarily in
the form of "volunteer" computing and "desktop Grid" computing.  It is well
suited for problems which are often described as "trivially parallel".  BOINC
is the underlying software used by projects such as SETI at home, Einstein at Home,
ClimatePrediciton.net, the World Community Grid, and many other distributed
computing projects.

This package installs the BOINC client software, which will allow your
computer to participate in one or more BOINC projects, using your spare
computer time to search for cures for diseases, model protein folding, study
global warming, discover sources of gravitational waves, and many other types
of scientific and mathematical research.

%package -n boinc-manager
Summary:	GUI to control and monitor %{name}
Group:		Applications/Engineering

Requires:	hicolor-icon-theme
Requires:	%{name} = %{version}-%{release}

%description -n boinc-manager
The BOINC Manager is a graphical monitor and control utility for the BOINC
core client. It gives a detailed overview of the state of the client it is
monitoring. The BOINC Manager has two modes of operation, the "Simple View" in
which it only displays the most important information and the "Advanced View"
in which all information and all control elements are available.

%package devel
Summary:	Development files for %{name}
Group:		Development/Libraries

Requires:	%{name} = %{version}-%{release}
Requires:	openssl-devel
Requires:	mysql-devel
Provides:	%{name}-static = %{version}-%{release}

%description devel
This package contains development files for %{name}.

%prep
%setup -q -n boinc_core_release_%{version_}
%patch0 -p1
%patch1 -p1

%build
%configure --disable-static --enable-unicode

# Parallel make does not work.
make -k

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
mkdir -p $RPM_BUILD_ROOT%{_initrddir}
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/boinc
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/

make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT

rm -rf $RPM_BUILD_ROOT%{_bindir}/1sec
rm -rf $RPM_BUILD_ROOT%{_bindir}/concat
rm -rf $RPM_BUILD_ROOT%{_bindir}/create_work
rm -rf $RPM_BUILD_ROOT%{_bindir}/dir_hier_move
rm -rf $RPM_BUILD_ROOT%{_bindir}/dir_hier_path
rm -rf $RPM_BUILD_ROOT%{_bindir}/sign_executable
rm -rf $RPM_BUILD_ROOT%{_bindir}/start
rm -rf $RPM_BUILD_ROOT%{_bindir}/status
rm -rf $RPM_BUILD_ROOT%{_bindir}/stop
rm -rf $RPM_BUILD_ROOT%{_bindir}/updater
rm -rf $RPM_BUILD_ROOT%{_bindir}/upper_case

pushd $RPM_BUILD_ROOT%{_bindir}
  ln -s boinc_client boinc
  mv boinc_gui boincmgr
popd

mv $RPM_BUILD_ROOT%{_bindir}/ca-bundle.crt \
  $RPM_BUILD_ROOT%{_localstatedir}/lib/boinc

install -p -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/%{name}
install -p -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name}

# icon
install -p -m644 sea/boincmgr.16x16.png \
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/boincmgr.png
install -p -m644 sea/boincmgr.32x32.png \
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/boincmgr.png
install -p -m644 sea/boincmgr.48x48.png \
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/boincmgr.png

# man page
install -p -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/man1
install -p -m644 %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1
install -p -m644 %{SOURCE6} $RPM_BUILD_ROOT%{_mandir}/man1
install -p -m644 %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man1

desktop-file-install %{?_remove_encoding} --vendor fedora \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  %{SOURCE3}

# locales

mv locale/client/* locale
find locale -not -name "BOINC Manager.mo" -delete
cp -rp locale $RPM_BUILD_ROOT%{_datadir}
find $RPM_BUILD_ROOT%{_datadir}/locale -name "BOINC Manager.mo" -execdir mv {} BOINC-Manager.mo \;

%find_lang BOINC-Manager

%clean
rm -rf $RPM_BUILD_ROOT

%pre

# Create BOINC user and group
getent group boinc >/dev/null || groupadd -r boinc
getent passwd boinc >/dev/null || \
useradd -r -g boinc -d %{_localstatedir}/lib/boinc -s /sbin/nologin \
	-c "BOINC client account." boinc
exit 0

%post
/sbin/chkconfig --add boinc-client

%preun
if [ $1 -eq 0 ]; then #if uninstalling, not only updating
	/sbin/service boinc-client stop
	/sbin/chkconfig --del boinc-client
fi

%post -n boinc-manager
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%postun -n boinc-manager
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%files
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%doc COPYING
%doc COPYRIGHT
%doc checkin_notes
%doc checkin_notes_2007
%doc checkin_notes_2006
%doc checkin_notes_2005
%doc checkin_notes_2004
%doc checkin_notes_2003
%doc checkin_notes_2002
%{_localstatedir}/lib/boinc
%{_bindir}/boinc
%{_bindir}/boinc_client
%{_bindir}/boinc_cmd
%{_bindir}/crypt_prog
%{_bindir}/switcher
%{_initrddir}/%{name}
%{_mandir}/man1/boinc.1.gz
%{_mandir}/man1/boinc_client.1.gz
%{_mandir}/man1/boinc_cmd.1.gz
%{_mandir}/man1/boincmgr.1.gz

%files -n boinc-manager -f BOINC-Manager.lang
%defattr(-,root,root,-)
%{_bindir}/boincmgr
%{_datadir}/applications/fedora-boinc-manager.desktop
%{_datadir}/icons/hicolor/16x16/apps/boincmgr.png
%{_datadir}/icons/hicolor/32x32/apps/boincmgr.png
%{_datadir}/icons/hicolor/48x48/apps/boincmgr.png

%files devel
%defattr(-,root,root,-)
%{_libdir}/libboinc.a
%{_libdir}/libboinc_api.a
%{_libdir}/libboinc_zip.a
%{_libdir}/libsched.a
%{_libdir}/libboinc_graphics2.a
%{_libdir}/libboinc_graphics_api.a
%{_libdir}/libboinc_graphics_impl.a
%{_libdir}/libboinc_graphics_lib.a

%dir %{_includedir}/BOINC
%{_includedir}/BOINC/*

%changelog

* Mon Mar 24 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 5.10.45-4.20080315svn
- Removed unnecessary slash before the {_localstatedir} macro.

* Sun Mar 23 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 5.10.45-3.20080315svn
- Logs moved to /var/log so that all SELinux related things could be removed.
- The error.log file has been renamed to boincerr.log.

* Sun Mar 16 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 5.10.45-2.20080315svn
- Fixed typo in the semanage command (missing boinc subdirectory and quotes).
- Fixed installing empty log files.
- Fixed Patch1 (has been created before propagating the flags using the
  _autosetup script).

* Sat Mar 15 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 5.10.45-1.20080315svn
- Updated to 5.10.45
- Added Patch1 removing -fomit-frame-pointer and -ffast-math compiler flags.
- Updated Patch0 (/lib/boinc_cmd.C changes have been merged in upstream).
- Log files (/var/lib/{boinc,error}.log) are touched during the installation
  so that correct(?) SELinux context can be set on them.
- Added Requires(post, postun): policycoreutils because of previous point.

* Sat Mar 08 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 5.10.40-8.20080206svn
- Added missing Requires: mysql-devel for the -devel subpackage

* Fri Mar 07 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 5.10.40-7.20080206svn
- Removed unnecessary client stopping when upgrading.
- Removed unnecessary ldconfig calls.
- A few changes unifying macros usage.
- Fixed missing directory ownership of {_localstatedir}/lib/boinc
- Added missing Requires: openssl-devel for the -devel subpackage

* Wed Feb 27 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 5.10.40-6.20080206svn
- Added patch making the sources compatible with GCC4.3

* Mon Feb 25 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 5.10.40-5.20080206svn
- Added the "stripchart" source directory to be trimmed.
- Removed all translations (will be added later through l10n specspo module).
- Fixed logrotate in case that boinc won't be running at the logrotate time.
- Changed summary and description according to upstream's choice.
- Fixed wrong SELinux context on error.log and boinc.log.
- Removed .svn directories from the source.
- Fixed missing Short-Description field in the init script.
- Service disabled by default.
- Fixed missing reload action in the init script.
- Changed the way of using the subsys directory for locking so that 
  rpmlint doesn't complain.
- Added script converting non-unicode files into UTF8.
- Added script removing execution rights on documentation files.
- Added documentation: checkin_notes_2007
- Init script behaves polite now when starting/stopping the service which
  has been already started/stopped (i.e. exits with 0).

* Fri Feb 16 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 5.10.40-4.20080206svn
- Fixed locales installation path
- Fixed missing Provides: boinc-client-static in the -devel subpackage

* Thu Feb 14 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 5.10.40-3.20080206svn
- Fixed the init script (now using the daemon function properly)
- Fixed missing chkconfig setup
- Added Requires: chkconfig

* Tue Feb 12 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 5.10.40-2.20080206svn
- Fixed missing boinc user and group

* Tue Feb 06 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 5.10.40-1.20080206svn
- Updated to 5.10.40.
- Fixed unpackaged files: libboinc_graphics*.
- Fixed missing BuildRequires: mysql-devel, libXmu-devel, libjpeg-devel.
- Added locales.
- Added script trimming binaries and other unnecessary code from the source.
- Added ldconfig call for the -devel subpackage.
- Added Czech and German translation.

* Wed Jan 09 2008 Debarshi Ray <rishi at fedoraproject.org> - 5.10.32-1.20080109svn
- Initial build. Imported SPEC written by Eric Myers and Milos Jakubicek.
- Disabled parallel make to prevent failure with -j3.

boinc-gcc43.patch:

--- NEW FILE boinc-gcc43.patch ---
diff -Naur boinc_core_release_5_10_40/api/boinc_api.C boinc_core_release_5_10_40_gcc_43/api/boinc_api.C
--- boinc_core_release_5_10_40/api/boinc_api.C	2008-02-26 23:37:51.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/api/boinc_api.C	2008-02-26 23:39:05.000000000 +0100
@@ -29,6 +29,7 @@
 #else
 #include "config.h"
 #include <cstdlib>
+#include <cstring>
 #include <cstdio>
 #include <cstdarg>
 #include <sys/types.h>
diff -Naur boinc_core_release_5_10_40/api/graphics_api.C boinc_core_release_5_10_40_gcc_43/api/graphics_api.C
--- boinc_core_release_5_10_40/api/graphics_api.C	2008-02-26 23:37:51.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/api/graphics_api.C	2008-02-26 23:40:37.000000000 +0100
@@ -23,6 +23,7 @@
 #include "config.h"
 #endif
 
+#include <cstring>
 #include "diagnostics.h"
 #include "boinc_api.h"
 #include "graphics_impl.h"
diff -Naur boinc_core_release_5_10_40/api/graphics_impl_lib.C boinc_core_release_5_10_40_gcc_43/api/graphics_impl_lib.C
--- boinc_core_release_5_10_40/api/graphics_impl_lib.C	2008-02-26 23:37:51.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/api/graphics_impl_lib.C	2008-02-26 23:41:48.000000000 +0100
@@ -24,6 +24,7 @@
 #include "boinc_win.h"
 #endif
 
+#include <cstring>
 #include "config.h"
 #include "app_ipc.h"
 #include "graphics_impl.h"
diff -Naur boinc_core_release_5_10_40/api/graphics_lib.C boinc_core_release_5_10_40_gcc_43/api/graphics_lib.C
--- boinc_core_release_5_10_40/api/graphics_lib.C	2008-02-26 23:37:51.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/api/graphics_lib.C	2008-02-26 23:41:27.000000000 +0100
@@ -29,6 +29,7 @@
 #endif
 
 #include "config.h"
+#include <cstring>
 #include <dlfcn.h>
 
 #include "boinc_api.h"  
diff -Naur boinc_core_release_5_10_40/api/graphics2_unix.C boinc_core_release_5_10_40_gcc_43/api/graphics2_unix.C
--- boinc_core_release_5_10_40/api/graphics2_unix.C	2008-02-26 23:37:51.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/api/graphics2_unix.C	2008-02-27 07:24:14.000000000 +0100
@@ -5,6 +5,7 @@
 #include <unistd.h> 
 #include <pthread.h> 
 #include <signal.h>
+#include <cstring>
 #include "x_opengl.h"
 
 #include "app_ipc.h"
diff -Naur boinc_core_release_5_10_40/api/graphics2_util.C boinc_core_release_5_10_40_gcc_43/api/graphics2_util.C
--- boinc_core_release_5_10_40/api/graphics2_util.C	2008-02-26 23:37:51.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/api/graphics2_util.C	2008-02-26 23:40:10.000000000 +0100
@@ -2,6 +2,7 @@
 #include "boinc_win.h"
 #endif
 
+#include <cstring>
 #include "shmem.h"
 #include "filesys.h"
 #include "app_ipc.h"
diff -Naur boinc_core_release_5_10_40/api/txf_util.C boinc_core_release_5_10_40_gcc_43/api/txf_util.C
--- boinc_core_release_5_10_40/api/txf_util.C	2008-02-26 23:37:51.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/api/txf_util.C	2008-02-26 23:41:10.000000000 +0100
@@ -24,6 +24,7 @@
 #include "boinc_win.h"
 #endif
 
+#include <cstring>
 #include "filesys.h"
 #include "boinc_api.h"
 
diff -Naur boinc_core_release_5_10_40/api/x_opengl.C boinc_core_release_5_10_40_gcc_43/api/x_opengl.C
--- boinc_core_release_5_10_40/api/x_opengl.C	2008-02-26 23:37:51.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/api/x_opengl.C	2008-02-27 01:10:03.000000000 +0100
@@ -22,7 +22,8 @@
 #include <stdio.h>    
 #include <setjmp.h>    
 #include <unistd.h> 
-#include <pthread.h> 
+#include <pthread.h>
+#include <cstring>
 #include <signal.h>
 #include "x_opengl.h"
 
diff -Naur boinc_core_release_5_10_40/client/acct_mgr.C boinc_core_release_5_10_40_gcc_43/client/acct_mgr.C
--- boinc_core_release_5_10_40/client/acct_mgr.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/acct_mgr.C	2008-02-26 23:59:35.000000000 +0100
@@ -25,6 +25,7 @@
 #include "config.h"
 #endif
 
+#include <cstring>
 #include "parse.h"
 #include "error_numbers.h"
 #include "client_msgs.h"
diff -Naur boinc_core_release_5_10_40/client/acct_setup.C boinc_core_release_5_10_40_gcc_43/client/acct_setup.C
--- boinc_core_release_5_10_40/client/acct_setup.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/acct_setup.C	2008-02-27 00:00:02.000000000 +0100
@@ -25,6 +25,7 @@
 #include "config.h"
 #endif
 
+#include <cstring>
 #include "client_state.h"
 #include "file_names.h"
 #include "parse.h"
diff -Naur boinc_core_release_5_10_40/client/app.C boinc_core_release_5_10_40_gcc_43/client/app.C
--- boinc_core_release_5_10_40/client/app.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/app.C	2008-02-27 00:00:26.000000000 +0100
@@ -22,6 +22,7 @@
 // Shouldn't depend on CLIENT_STATE.
 
 #include "cpp.h"
+#include <cstring>
 
 #ifdef _WIN32
 #include "boinc_win.h"
diff -Naur boinc_core_release_5_10_40/client/app_graphics.C boinc_core_release_5_10_40_gcc_43/client/app_graphics.C
--- boinc_core_release_5_10_40/client/app_graphics.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/app_graphics.C	2008-02-27 00:00:54.000000000 +0100
@@ -20,6 +20,7 @@
 // graphics-related interaction with running apps
 
 #include "cpp.h"
+#include <cstring>
 
 #ifdef _WIN32
 #include "boinc_win.h"
diff -Naur boinc_core_release_5_10_40/client/auto_update.C boinc_core_release_5_10_40_gcc_43/client/auto_update.C
--- boinc_core_release_5_10_40/client/auto_update.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/auto_update.C	2008-02-27 00:01:14.000000000 +0100
@@ -17,6 +17,7 @@
 // or write to the Free Software Foundation, Inc.,
 // 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
+#include <cstring>
 #include "parse.h"
 #include "error_numbers.h"
 #include "filesys.h"
diff -Naur boinc_core_release_5_10_40/client/client_msgs.C boinc_core_release_5_10_40_gcc_43/client/client_msgs.C
--- boinc_core_release_5_10_40/client/client_msgs.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/client_msgs.C	2008-02-27 00:02:26.000000000 +0100
@@ -22,6 +22,7 @@
 #else
 #include "config.h"
 #include <cstdarg>
+#include <cstring>
 #include <deque>
 #endif
 
diff -Naur boinc_core_release_5_10_40/client/client_state.C boinc_core_release_5_10_40_gcc_43/client/client_state.C
--- boinc_core_release_5_10_40/client/client_state.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/client_state.C	2008-02-27 00:01:44.000000000 +0100
@@ -29,6 +29,7 @@
 #include <cstdlib>
 #include <ctime>
 #include <cstdarg>
+#include <cstring>
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif
diff -Naur boinc_core_release_5_10_40/client/client_types.C boinc_core_release_5_10_40_gcc_43/client/client_types.C
--- boinc_core_release_5_10_40/client/client_types.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/client_types.C	2008-02-27 00:02:52.000000000 +0100
@@ -27,6 +27,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <zlib.h>
+#include <cstring>
 #endif
 
 #include "error_numbers.h"
diff -Naur boinc_core_release_5_10_40/client/cpu_sched.C boinc_core_release_5_10_40_gcc_43/client/cpu_sched.C
--- boinc_core_release_5_10_40/client/cpu_sched.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/cpu_sched.C	2008-02-27 12:22:58.000000000 +0100
@@ -37,6 +37,14 @@
 // If an app is running (not suspended), the interval
 // during which it's been running.
 
+#include <string>
+#include <cstring>
+#include "client_msgs.h"
+#include "str_util.h"
+#include "util.h"
+#include "error_numbers.h"
+#include "log_flags.h"
+
 #ifdef _WIN32
 #include "boinc_win.h"
 #endif
@@ -46,11 +54,6 @@
 #else
 #include "client_state.h"
 #endif
-#include "client_msgs.h"
-#include "str_util.h"
-#include "util.h"
-#include "error_numbers.h"
-#include "log_flags.h"
 
 using std::vector;
 
diff -Naur boinc_core_release_5_10_40/client/cs_account.C boinc_core_release_5_10_40_gcc_43/client/cs_account.C
--- boinc_core_release_5_10_40/client/cs_account.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/cs_account.C	2008-02-27 09:14:05.000000000 +0100
@@ -30,6 +30,8 @@
 #endif
 #endif
 
+#include <algorithm>
+#include <cstring>
 #include "filesys.h"
 #include "parse.h"
 #include "str_util.h"
diff -Naur boinc_core_release_5_10_40/client/cs_benchmark.C boinc_core_release_5_10_40_gcc_43/client/cs_benchmark.C
--- boinc_core_release_5_10_40/client/cs_benchmark.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/cs_benchmark.C	2008-02-27 00:04:26.000000000 +0100
@@ -31,6 +31,7 @@
 //  starting or stopping each benchmark
 
 #include "cpp.h"
+#include <cstring>
 
 #ifdef _WIN32
 #include "boinc_win.h"
diff -Naur boinc_core_release_5_10_40/client/cs_platforms.C boinc_core_release_5_10_40_gcc_43/client/cs_platforms.C
--- boinc_core_release_5_10_40/client/cs_platforms.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/cs_platforms.C	2008-02-27 00:04:46.000000000 +0100
@@ -21,6 +21,7 @@
 //   of exposing that information to the rest of the client.
 
 #include "cpp.h"
+#include <cstring>
 
 #ifdef _WIN32
 #include "boinc_win.h"
diff -Naur boinc_core_release_5_10_40/client/cs_scheduler.C boinc_core_release_5_10_40_gcc_43/client/cs_scheduler.C
--- boinc_core_release_5_10_40/client/cs_scheduler.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/cs_scheduler.C	2008-02-27 00:05:05.000000000 +0100
@@ -23,6 +23,7 @@
 // The scheduler RPC mechanism is in scheduler_op.C
 
 #include "cpp.h"
+#include <cstring>
 
 #ifdef _WIN32
 #include "boinc_win.h"
diff -Naur boinc_core_release_5_10_40/client/cs_statefile.C boinc_core_release_5_10_40_gcc_43/client/cs_statefile.C
--- boinc_core_release_5_10_40/client/cs_statefile.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/cs_statefile.C	2008-02-27 00:05:27.000000000 +0100
@@ -23,6 +23,7 @@
 #include "config.h"
 #endif
 
+#include <cstring>
 #include "parse.h"
 #include "str_util.h"
 #include "util.h"
diff -Naur boinc_core_release_5_10_40/client/cs_trickle.C boinc_core_release_5_10_40_gcc_43/client/cs_trickle.C
--- boinc_core_release_5_10_40/client/cs_trickle.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/cs_trickle.C	2008-02-27 00:05:46.000000000 +0100
@@ -24,6 +24,7 @@
 #include "config.h"
 #endif
 
+#include <cstring>
 #include "error_numbers.h"
 #include "file_names.h"
 #include "filesys.h"
diff -Naur boinc_core_release_5_10_40/client/gui_http.C boinc_core_release_5_10_40_gcc_43/client/gui_http.C
--- boinc_core_release_5_10_40/client/gui_http.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/gui_http.C	2008-02-27 00:06:05.000000000 +0100
@@ -23,6 +23,7 @@
 #include "config.h"
 #endif
 
+#include <cstring>
 #include "client_state.h"
 #include "filesys.h"
 #include "error_numbers.h"
diff -Naur boinc_core_release_5_10_40/client/check_state.C boinc_core_release_5_10_40_gcc_43/client/check_state.C
--- boinc_core_release_5_10_40/client/check_state.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/check_state.C	2008-02-27 10:48:52.000000000 +0100
@@ -21,6 +21,7 @@
 // Not currently used, but might be handy if *0 type crashes occur
 
 #include "cpp.h"
+#include <cstring>
 
 #ifdef _WIN32
 #include "boinc_win.h"
diff -Naur boinc_core_release_5_10_40/client/main.C boinc_core_release_5_10_40_gcc_43/client/main.C
--- boinc_core_release_5_10_40/client/main.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/main.C	2008-02-26 23:49:25.000000000 +0100
@@ -47,6 +47,7 @@
 #endif
 #include <sys/stat.h>
 #include <syslog.h>
+#include <cstdlib>
 #include <unistd.h>
 #include <csignal>
 #endif
diff -Naur boinc_core_release_5_10_40/client/pers_file_xfer.C boinc_core_release_5_10_40_gcc_43/client/pers_file_xfer.C
--- boinc_core_release_5_10_40/client/pers_file_xfer.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/pers_file_xfer.C	2008-02-27 00:06:32.000000000 +0100
@@ -18,6 +18,7 @@
 // 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 #include "cpp.h"
+#include <cstring>
 
 #ifdef _WIN32
 #include "boinc_win.h"
diff -Naur boinc_core_release_5_10_40/client/ss_logic.C boinc_core_release_5_10_40_gcc_43/client/ss_logic.C
--- boinc_core_release_5_10_40/client/ss_logic.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/ss_logic.C	2008-02-27 00:06:56.000000000 +0100
@@ -23,6 +23,7 @@
 #include "config.h"
 #endif
 
+#include <cstring>
 #include "client_state.h"
 #include "client_msgs.h"
 #include "ss_logic.h"
diff -Naur boinc_core_release_5_10_40/client/time_stats.C boinc_core_release_5_10_40_gcc_43/client/time_stats.C
--- boinc_core_release_5_10_40/client/time_stats.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/time_stats.C	2008-02-27 00:07:59.000000000 +0100
@@ -32,6 +32,7 @@
 #include <sys/socket.h>
 #endif
 
+#include <cstring>
 #include "parse.h"
 #include "util.h"
 #include "filesys.h"
diff -Naur boinc_core_release_5_10_40/client/work_fetch.C boinc_core_release_5_10_40_gcc_43/client/work_fetch.C
--- boinc_core_release_5_10_40/client/work_fetch.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/client/work_fetch.C	2008-02-27 00:08:20.000000000 +0100
@@ -23,6 +23,7 @@
 // The scheduler RPC mechanism is in scheduler_op.C
 
 #include "cpp.h"
+#include <cstring>
 
 #ifdef _WIN32
 #include "boinc_win.h"
diff -Naur boinc_core_release_5_10_40/lib/crypt.C boinc_core_release_5_10_40_gcc_43/lib/crypt.C
--- boinc_core_release_5_10_40/lib/crypt.C	2008-02-26 23:37:50.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/lib/crypt.C	2008-02-27 09:03:57.000000000 +0100
@@ -31,6 +31,7 @@
 #include "md5_file.h"
 #include "error_numbers.h"
 
+#include <cstring>
 #include "crypt.h"
 
 #ifdef _USING_FCGI_
diff -Naur boinc_core_release_5_10_40/lib/diagnostics.C boinc_core_release_5_10_40_gcc_43/lib/diagnostics.C
--- boinc_core_release_5_10_40/lib/diagnostics.C	2008-02-26 23:37:50.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/lib/diagnostics.C	2008-02-26 23:42:35.000000000 +0100
@@ -30,6 +30,7 @@
 
 #ifndef _WIN32
 #include "config.h"
+#include <cstring>
 #include <cstdio>
 #include <cstdarg>
 #include <cstdlib>
diff -Naur boinc_core_release_5_10_40/lib/procinfo_unix.C boinc_core_release_5_10_40_gcc_43/lib/procinfo_unix.C
--- boinc_core_release_5_10_40/lib/procinfo_unix.C	2008-02-26 23:37:50.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/lib/procinfo_unix.C	2008-02-27 09:04:53.000000000 +0100
@@ -29,6 +29,7 @@
 
 #include <stdio.h>
 
+#include <cstring>
 #include <ctype.h>
 #include <sys/types.h>
 #include <dirent.h>
diff -Naur boinc_core_release_5_10_40/lib/proxy_info.C boinc_core_release_5_10_40_gcc_43/lib/proxy_info.C
--- boinc_core_release_5_10_40/lib/proxy_info.C	2008-02-26 23:37:50.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/lib/proxy_info.C	2008-02-27 09:05:18.000000000 +0100
@@ -28,6 +28,7 @@
 
 using std::string;
 
+#include <cstring>
 #include "parse.h"
 #include "error_numbers.h"
 #include "proxy_info.h"
diff -Naur boinc_core_release_5_10_40/sched/assimilator.C boinc_core_release_5_10_40_gcc_43/sched/assimilator.C
--- boinc_core_release_5_10_40/sched/assimilator.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/assimilator.C	2008-02-27 10:42:15.000000000 +0100
@@ -26,6 +26,7 @@
 #include "config.h"
 #include <cstring>
 #include <cstdlib>
+#include <string>
 #include <unistd.h>
 #include <ctime>
 #include <vector>
diff -Naur boinc_core_release_5_10_40/sched/delete_file.C boinc_core_release_5_10_40_gcc_43/sched/delete_file.C
--- boinc_core_release_5_10_40/sched/delete_file.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/delete_file.C	2008-02-27 10:04:35.000000000 +0100
@@ -33,7 +33,7 @@
 #include <unistd.h>
 #endif
 #include <stdlib.h>
-#include <string.h>
+#include <string>
 
 #include "boinc_db.h"
 #include "str_util.h"
diff -Naur boinc_core_release_5_10_40/sched/edf_sim.C boinc_core_release_5_10_40_gcc_43/sched/edf_sim.C
--- boinc_core_release_5_10_40/sched/edf_sim.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/edf_sim.C	2008-02-27 09:48:49.000000000 +0100
@@ -19,7 +19,8 @@
 
 #include <vector>
 #include <algorithm>
-
+#include <cstring>
+#include <cstdio>
 #include "edf_sim.h"
 
 using std::vector;
diff -Naur boinc_core_release_5_10_40/sched/feeder.C boinc_core_release_5_10_40_gcc_43/sched/feeder.C
--- boinc_core_release_5_10_40/sched/feeder.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/feeder.C	2008-02-27 10:39:08.000000000 +0100
@@ -71,6 +71,7 @@
 #include <cstdio>
 #include <cstdlib>
 #include <cstring>
+#include <string>
 #include <ctime>
 #include <unistd.h>
 #include <sys/types.h>
diff -Naur boinc_core_release_5_10_40/sched/file_deleter.C boinc_core_release_5_10_40_gcc_43/sched/file_deleter.C
--- boinc_core_release_5_10_40/sched/file_deleter.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/file_deleter.C	2008-02-27 10:39:36.000000000 +0100
@@ -73,6 +73,7 @@
 #include "config.h"
 #include <list>
 #include <cstring>
+#include <string>
 #include <cstdlib>
 #include <ctime>
 #include <unistd.h>
diff -Naur boinc_core_release_5_10_40/sched/get_file.C boinc_core_release_5_10_40_gcc_43/sched/get_file.C
--- boinc_core_release_5_10_40/sched/get_file.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/get_file.C	2008-02-27 10:40:10.000000000 +0100
@@ -32,7 +32,7 @@
 #include <unistd.h>
 #endif
 #include <stdlib.h>
-#include <string.h>
+#include <string>
 #include <time.h>
 
 #include "boinc_db.h"
diff -Naur boinc_core_release_5_10_40/sched/handle_request.C boinc_core_release_5_10_40_gcc_43/sched/handle_request.C
--- boinc_core_release_5_10_40/sched/handle_request.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/handle_request.C	2008-02-27 09:50:06.000000000 +0100
@@ -22,8 +22,10 @@
 #include "config.h"
 #include <cassert>
 #include <cstdio>
+#include <cstdlib>
 #include <vector>
 #include <string>
+#include <cstring>
 #include <ctime>
 #include <cmath>
 using namespace std;
diff -Naur boinc_core_release_5_10_40/sched/main.C boinc_core_release_5_10_40_gcc_43/sched/main.C
--- boinc_core_release_5_10_40/sched/main.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/main.C	2008-02-27 09:50:43.000000000 +0100
@@ -29,8 +29,10 @@
 #include "config.h"
 #include <cassert>
 #include <cstdio>
+#include <cstdlib>
 #include <vector>
 #include <string>
+#include <cstring>
 using namespace std;
 
 #include <unistd.h>
diff -Naur boinc_core_release_5_10_40/sched/message_handler.C boinc_core_release_5_10_40_gcc_43/sched/message_handler.C
--- boinc_core_release_5_10_40/sched/message_handler.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/message_handler.C	2008-02-27 10:41:25.000000000 +0100
@@ -31,6 +31,8 @@
 
 #include "config.h"
 #include <unistd.h>
+#include <cstdlib>
+#include <string>
 
 #include "boinc_db.h"
 #include "util.h"
diff -Naur boinc_core_release_5_10_40/sched/request_file_list.C boinc_core_release_5_10_40_gcc_43/sched/request_file_list.C
--- boinc_core_release_5_10_40/sched/request_file_list.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/request_file_list.C	2008-02-27 10:41:48.000000000 +0100
@@ -29,7 +29,7 @@
 #include "config.h"
 #include <unistd.h>
 #include <stdlib.h>
-#include <string.h>
+#include <string>
 #include <time.h>
 
 #include "boinc_db.h"
diff -Naur boinc_core_release_5_10_40/sched/sample_assimilator.C boinc_core_release_5_10_40_gcc_43/sched/sample_assimilator.C
--- boinc_core_release_5_10_40/sched/sample_assimilator.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/sample_assimilator.C	2008-02-27 10:42:57.000000000 +0100
@@ -23,6 +23,7 @@
 
 #include <vector>
 #include <string>
+#include <cstdlib>
 
 #include "boinc_db.h"
 #include "error_numbers.h"
diff -Naur boinc_core_release_5_10_40/sched/sample_dummy_assimilator.C boinc_core_release_5_10_40_gcc_43/sched/sample_dummy_assimilator.C
--- boinc_core_release_5_10_40/sched/sample_dummy_assimilator.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/sample_dummy_assimilator.C	2008-02-27 10:43:19.000000000 +0100
@@ -21,6 +21,8 @@
 
 #include "config.h"
 #include <cstdio>
+#include <cstdlib>
+#include <string>
 
 #include "boinc_db.h"
 #include "sched_msgs.h"
diff -Naur boinc_core_release_5_10_40/sched/sample_trivial_validator.C boinc_core_release_5_10_40_gcc_43/sched/sample_trivial_validator.C
--- boinc_core_release_5_10_40/sched/sample_trivial_validator.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/sample_trivial_validator.C	2008-02-26 23:57:05.000000000 +0100
@@ -20,6 +20,7 @@
 // A sample validator that grants credit to any result whose CPU time is above
 // a certain minimum
 
+#include <cstdlib>
 #include "config.h"
 #include "validate_util.h"
 
diff -Naur boinc_core_release_5_10_40/sched/sample_work_generator.C boinc_core_release_5_10_40_gcc_43/sched/sample_work_generator.C
--- boinc_core_release_5_10_40/sched/sample_work_generator.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/sample_work_generator.C	2008-02-27 10:45:01.000000000 +0100
@@ -29,6 +29,9 @@
 //   the file (and the workunit names) contain a timestamp
 //   and sequence number, so that they're unique.
 
+#include <cstdlib>
+#include <string>
+#include <cstring>
 #include "boinc_db.h"
 #include "error_numbers.h"
 #include "backend_lib.h"
diff -Naur boinc_core_release_5_10_40/sched/send_file.C boinc_core_release_5_10_40_gcc_43/sched/send_file.C
--- boinc_core_release_5_10_40/sched/send_file.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/send_file.C	2008-02-27 10:45:21.000000000 +0100
@@ -31,7 +31,7 @@
 #include <unistd.h>
 #endif
 #include <stdlib.h>
-#include <string.h>
+#include <string>
 #include <time.h>
 
 #include "boinc_db.h"
diff -Naur boinc_core_release_5_10_40/sched/server_types.C boinc_core_release_5_10_40_gcc_43/sched/server_types.C
--- boinc_core_release_5_10_40/sched/server_types.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/server_types.C	2008-02-26 23:52:40.000000000 +0100
@@ -20,6 +20,7 @@
 #include <cassert>
 #include <vector>
 #include <string>
+#include <cstring>
 using namespace std;
 
 #include "parse.h"
diff -Naur boinc_core_release_5_10_40/sched/show_shmem.C boinc_core_release_5_10_40_gcc_43/sched/show_shmem.C
--- boinc_core_release_5_10_40/sched/show_shmem.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/show_shmem.C	2008-02-27 10:45:45.000000000 +0100
@@ -21,6 +21,7 @@
 #include "config.h"
 #include <cstdio>
 #include <cstdlib>
+#include <string>
 #include <unistd.h>
 
 #include "shmem.h"
diff -Naur boinc_core_release_5_10_40/sched/sched_array.C boinc_core_release_5_10_40_gcc_43/sched/sched_array.C
--- boinc_core_release_5_10_40/sched/sched_array.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/sched_array.C	2008-02-27 09:52:28.000000000 +0100
@@ -19,7 +19,9 @@
 
 // scheduler code related to sending work
 
-
+#include <cstdlib>
+#include <string>
+#include <cstring>
 #include "config.h"
 #include "main.h"
 #include "server_types.h"
diff -Naur boinc_core_release_5_10_40/sched/sched_hr.C boinc_core_release_5_10_40_gcc_43/sched/sched_hr.C
--- boinc_core_release_5_10_40/sched/sched_hr.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/sched_hr.C	2008-02-27 10:00:41.000000000 +0100
@@ -23,6 +23,8 @@
 #include <ctime>
 #include <cstdio>
 #include <stdlib.h>
+#include <cstring>
+#include <string>
 
 #include "error_numbers.h"
 
diff -Naur boinc_core_release_5_10_40/sched/sched_locality.C boinc_core_release_5_10_40_gcc_43/sched/sched_locality.C
--- boinc_core_release_5_10_40/sched/sched_locality.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/sched_locality.C	2008-02-27 10:02:37.000000000 +0100
@@ -22,9 +22,13 @@
 #include "config.h"
 #include <stdio.h>
 #include <unistd.h>
+#include <cstdlib>
 #include <strings.h>
+#include <climits>
 #include <glob.h>
 #include <sys/stat.h>
+#include <algorithm>
+#include <string>
 
 #include "boinc_db.h"
 #include "error_numbers.h"
diff -Naur boinc_core_release_5_10_40/sched/sched_resend.C boinc_core_release_5_10_40_gcc_43/sched/sched_resend.C
--- boinc_core_release_5_10_40/sched/sched_resend.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/sched_resend.C	2008-02-27 10:01:04.000000000 +0100
@@ -26,6 +26,9 @@
 //   this result may have been the cause of reset
 //   (need to pass last reset time from client)
 
+#include <cstdlib>
+#include <cstring>
+#include <string>
 #include "config.h"
 #include "error_numbers.h"
 
diff -Naur boinc_core_release_5_10_40/sched/sched_send.C boinc_core_release_5_10_40_gcc_43/sched/sched_send.C
--- boinc_core_release_5_10_40/sched/sched_send.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/sched_send.C	2008-02-27 10:01:24.000000000 +0100
@@ -25,6 +25,7 @@
 #include <string>
 #include <ctime>
 #include <cstdio>
+#include <cstring>
 #include <stdlib.h>
 
 using namespace std;
diff -Naur boinc_core_release_5_10_40/sched/sched_shmem.C boinc_core_release_5_10_40_gcc_43/sched/sched_shmem.C
--- boinc_core_release_5_10_40/sched/sched_shmem.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/sched_shmem.C	2008-02-27 09:45:57.000000000 +0100
@@ -23,7 +23,9 @@
 
 #include "config.h"
 #include <cstdio>
+#include <cstdlib>
 #include <cstring>
+#include <string>
 
 #include "boinc_db.h"
 #include "error_numbers.h"
diff -Naur boinc_core_release_5_10_40/sched/sched_timezone.C boinc_core_release_5_10_40_gcc_43/sched/sched_timezone.C
--- boinc_core_release_5_10_40/sched/sched_timezone.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/sched_timezone.C	2008-02-26 23:52:09.000000000 +0100
@@ -23,7 +23,7 @@
 #include "config.h"
 #include <string>
 #include <stdio.h>
-
+#include <cstring>
 #include "parse.h"
 
 #include "server_types.h"
diff -Naur boinc_core_release_5_10_40/sched/transitioner.C boinc_core_release_5_10_40_gcc_43/sched/transitioner.C
--- boinc_core_release_5_10_40/sched/transitioner.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/transitioner.C	2008-02-27 10:46:40.000000000 +0100
@@ -31,7 +31,10 @@
 #include "config.h"
 #include <vector>
 #include <unistd.h>
+#include <cstring>
 #include <climits>
+#include <cstdlib>
+#include <string>
 #include <sys/time.h>
 
 #include "boinc_db.h"
diff -Naur boinc_core_release_5_10_40/sched/update_stats.C boinc_core_release_5_10_40_gcc_43/sched/update_stats.C
--- boinc_core_release_5_10_40/sched/update_stats.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/update_stats.C	2008-02-27 10:46:57.000000000 +0100
@@ -30,6 +30,7 @@
 #include "config.h"
 #include <cstdio>
 #include <cstring>
+#include <string>
 #include <cstdlib>
 #include <unistd.h>
 
diff -Naur boinc_core_release_5_10_40/sched/validate_util.C boinc_core_release_5_10_40_gcc_43/sched/validate_util.C
--- boinc_core_release_5_10_40/sched/validate_util.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/validate_util.C	2008-02-26 23:54:50.000000000 +0100
@@ -23,6 +23,7 @@
 // or that requires strict equality (see sample_bitwise_validator.C)
 // or that uses fuzzy comparison.
 
+#include <cstring>
 #include "config.h"
 
 #include "error_numbers.h"
diff -Naur boinc_core_release_5_10_40/sched/validate_util2.C boinc_core_release_5_10_40_gcc_43/sched/validate_util2.C
--- boinc_core_release_5_10_40/sched/validate_util2.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/validate_util2.C	2008-02-27 10:44:17.000000000 +0100
@@ -24,6 +24,8 @@
 
 #include "config.h"
 #include <vector>
+#include <cstdlib>
+#include <string>
 
 #include "boinc_db.h"
 #include "error_numbers.h"
diff -Naur boinc_core_release_5_10_40/sched/validator.C boinc_core_release_5_10_40_gcc_43/sched/validator.C
--- boinc_core_release_5_10_40/sched/validator.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/validator.C	2008-02-27 10:43:54.000000000 +0100
@@ -39,6 +39,9 @@
 #include <unistd.h>
 #include <cmath>
 #include <vector>
+#include <cstdlib>
+#include <string>
+#include <climits>
 
 #include "boinc_db.h"
 #include "util.h"
diff -Naur boinc_core_release_5_10_40/sched/wu_check.C boinc_core_release_5_10_40_gcc_43/sched/wu_check.C
--- boinc_core_release_5_10_40/sched/wu_check.C	2008-02-26 23:37:52.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/sched/wu_check.C	2008-02-27 10:47:13.000000000 +0100
@@ -23,6 +23,9 @@
 
 #include "config.h"
 #include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <string>
 
 #include "boinc_db.h"
 
diff -Naur boinc_core_release_5_10_40/tools/backend_lib.C boinc_core_release_5_10_40_gcc_43/tools/backend_lib.C
--- boinc_core_release_5_10_40/tools/backend_lib.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/tools/backend_lib.C	2008-02-27 09:47:40.000000000 +0100
@@ -20,6 +20,7 @@
 #include "config.h"
 #include <cstdlib>
 #include <cstring>
+#include <string>
 #include <ctime>
 #include <cassert>
 #include <unistd.h>
diff -Naur boinc_core_release_5_10_40/tools/create_work.C boinc_core_release_5_10_40_gcc_43/tools/create_work.C
--- boinc_core_release_5_10_40/tools/create_work.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/tools/create_work.C	2008-02-27 10:47:56.000000000 +0100
@@ -50,6 +50,7 @@
 #include <cstdlib>
 #include <cstring>
 #include <ctime>
+#include <string>
 
 #include "boinc_db.h"
 #include "crypt.h"
diff -Naur boinc_core_release_5_10_40/tools/process_result_template.C boinc_core_release_5_10_40_gcc_43/tools/process_result_template.C
--- boinc_core_release_5_10_40/tools/process_result_template.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/tools/process_result_template.C	2008-02-27 09:46:25.000000000 +0100
@@ -19,6 +19,7 @@
 
 #include "config.h"
 #include <cstring>
+#include <string>
 #include <cstdlib>
 #include <cassert>
 
diff -Naur boinc_core_release_5_10_40/tools/sign_executable.C boinc_core_release_5_10_40_gcc_43/tools/sign_executable.C
--- boinc_core_release_5_10_40/tools/sign_executable.C	2008-02-26 23:37:53.000000000 +0100
+++ boinc_core_release_5_10_40_gcc_43/tools/sign_executable.C	2008-02-27 12:21:54.000000000 +0100
@@ -19,10 +19,12 @@
 
 // syntax: sign_executable <exectuable_path> <code_sign_file>
 
+#include <cstdlib>
+#include <string>
+#include <cstring>
 #include "config.h"
 #include "crypt.h"
 #include "backend_lib.h"
-#include <cstdlib>
 
 int sign_executable(char* path, char* code_sign_keyfile, char* signature_text) {
     DATA_BLOCK signature;

boinc-gccflags.patch:

--- NEW FILE boinc-gccflags.patch ---
diff -Naur boinc_core_release_5_10_45_original/client/Makefile.am boinc_core_release_5_10_45_gccflags/client/Makefile.am
--- boinc_core_release_5_10_45_original/client/Makefile.am	2008-03-15 21:41:39.000000000 +0100
+++ boinc_core_release_5_10_45_gccflags/client/Makefile.am	2008-03-16 16:58:13.000000000 +0100
@@ -61,7 +61,7 @@
     work_fetch.C
 
 boinc_client_DEPENDENCIES = $(LIBRSA)
-boinc_client_CPPFLAGS = -O3 -fomit-frame-pointer -fforce-addr -ffast-math $(AM_CPPFLAGS)
+boinc_client_CPPFLAGS = -O3 -fforce-addr $(AM_CPPFLAGS)
 boinc_client_LDFLAGS = -static-libgcc
 boinc_client_LDADD = -L../lib -lboinc $(PTHREAD_LIBS)
 
@@ -69,7 +69,7 @@
 boinc_client_DATA = ../curl/ca-bundle.crt
 
 switcher_SOURCES = switcher.C
-switcher_CPPFLAGS = -O3 -fomit-frame-pointer -fforce-addr -ffast-math $(AM_CPPFLAGS)
+switcher_CPPFLAGS = -O3 -fforce-addr $(AM_CPPFLAGS)
 switcher_LDFLAGS = -static-libgcc
 switcher_LDADD = -L../lib -lboinc $(PTHREAD_LIBS)
 
diff -Naur boinc_core_release_5_10_45_original/client/Makefile.in boinc_core_release_5_10_45_gccflags/client/Makefile.in
--- boinc_core_release_5_10_45_original/client/Makefile.in	2008-03-16 16:31:52.000000000 +0100
+++ boinc_core_release_5_10_45_gccflags/client/Makefile.in	2008-03-16 16:59:07.000000000 +0100
@@ -376,13 +376,13 @@
     work_fetch.C
 
 boinc_client_DEPENDENCIES = $(LIBRSA)
-boinc_client_CPPFLAGS = -O3 -fomit-frame-pointer -fforce-addr -ffast-math $(AM_CPPFLAGS)
+boinc_client_CPPFLAGS = -O3 -fforce-addr $(AM_CPPFLAGS)
 boinc_client_LDFLAGS = -static-libgcc
 boinc_client_LDADD = -L../lib -lboinc $(PTHREAD_LIBS)
 boinc_clientdir = $(bindir)
 boinc_client_DATA = ../curl/ca-bundle.crt
 switcher_SOURCES = switcher.C
-switcher_CPPFLAGS = -O3 -fomit-frame-pointer -fforce-addr -ffast-math $(AM_CPPFLAGS)
+switcher_CPPFLAGS = -O3 -fforce-addr $(AM_CPPFLAGS)
 switcher_LDFLAGS = -static-libgcc
 switcher_LDADD = -L../lib -lboinc $(PTHREAD_LIBS)
 EXTRA_DIST = *.h \


--- NEW FILE boinc-manager.desktop ---

[Desktop Entry]
Name=BOINC Manager
GenericName=BOINC monitor and control utility
GenericName[de]=BOINC Ãœberwachungs- und Kontrollprogramm
GenericName[pt]=Monitorização BOINC e utilitário de controlo
GenericName[cs]=Monitorovací a ovládací nástroj pro BOINC
Comment=Configure or monitor a BOINC core client
Comment[de]=BOINC Basis Client konfigurieren oder überwachen
Comment[pt]=Configurar ou monitorizar o cliente básico do BOINC
Comment[cs]=Monitoruje a nastavuje klienta BOINC
Exec=boincmgr
Terminal=false
Type=Application
Icon=boincmgr
Categories=System;Monitor;GTK;


--- NEW FILE boinc.1 ---
.\"  Unix Manual page for BOINC
.\"======================================================================
.\" This file is a part of BOINC.  Distribution and/or modifications
.\" are allowed under the terms of the Lesser GNU Public License.
.\" See the file COPYING for details.
.\"======================================================================
.\"  To view this file without the man command type: 
.\"         'nroff -man boinc.1 | more -s'
.\"  Some versions of `less` will automatically format the page for you.1 
.\"
.\" @(#) $Id: boinc.1,v 1.3 2007/12/18 15:39:26 myers Exp $

.TH BOINC 1  "18 December 2007"  "BOINC 5.10"  "User Manuals"

.SH NAME
BOINC \- Berkeley Open Infrastructure for Network Computing 


.SH DESCRIPTION
The 
.B Berkeley Open Infrastructure for Network Computing 
(BOINC) 
is an open-source software platform which supports distributed computing, 
primarily in the form of "volunteer" computing and "desktop grid" computing.
It is well suited for problems which are often described as "trivially
parallel" or "embarrassingly parallel". 
BOINC is the underlying software used by projects such as SETI at home,
Einstein at Home, ClimatePrediciton.net, the World Community Grid, and
many others.
The BOINC client software runs on Windows, MacOS X, and Unix,
including Linux.

.PP
By downloading and installing the BOINC client software your computer
can participate in any number of BOINC-based projects.
For each project you simply need to "attach" to the project, by
providing the URL of the project, your e-mail address, and a password
which you select.
The BOINC
.I  core 
.IR client ,
running on your computer, will then connect to the servers for
all of your attached projects and will automatically download and run
applications obtained from the project servers.

.PP
For more details on how BOINC works see
.I http://boinc.berkeley.edu/trac/wiki/IntroUser
and the links therein.


.SH APPLICATIONS
BOINC applications are the programs which actually do scientific computing. 
Most BOINC applications are capable of displaying graphics when your
computer would usually show a screensaver, though not all BOINC
applications include such graphics capability.
(There are no screensaver graphics available yet for Unix.)
Several applications may run at the same time on a computer with more
than one CPU, and in any case the core client will alternate between
applications from different projects to try to maintain a ratio of
effort which you can control.

.PP
BOINC applications are generally written by the scientists who have
set up a particular BOINC project.
To learn more about what a particular BOINC application is doing on
your computer you should visit the web site for the BOINC project
which uses that application.
  

.SH DOWNLOAD 
The latest version of the 
.B BOINC
client software can be downloaded from
.I http://boinc.berkeley.edu/download.php

.PP
An rpm package suitable for installation on Red Hat Linux, Fedora
Linux, and any other Linux distribution which uses RPM packages,
may be downloaded from
.I http://pirates.spy-hill.net/download/RPMS


.SH LICENSE
BOINC is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at
your option) any later version.


.SH RUN BOINC ONLY ON AUTHORIZED COMPUTERS

You should run BOINC only on computers which you own, or for which
you have obtained the owner's permission.
Some companies and schools have policies that prohibit using their
computers for BOINC projects or similar uses.



.SH FILES
.TP 1.0i
.I /usr/bin/boinc_client
The BOINC "core client",  which is the
heart of BOINC.  
This program is run in the background as a daemon, and it then
controls which applications are run on your computer, along with
downloading "Workunits" and uploading the "Result" files from
completed tasks.

.TP
.I /usr/bin/boincmgr
The BOINC "Manager", which provides a graphical user interface (GUI)
which allows the user to communicate with and control the BOINC core
client.  
See
.BR boincmgr (1), 
for details.

.TP
.I /usr/bin/boinc_cmd
A command line tool which can be used to give specific commands to the
running core client.  Although not as easy to use as the graphical
interface provided by the BOINC Manager, 
.I boinc_cmd
provides more options.
See
.BR boinc_cmd (1), 
for details.

.TP 
.I /etc/init.d/boinc
A Unix init script to start 
.I boinc_client
when the system is booted and to stop 
.I boinc_client
when the system is shut down.  
Configuration settings may be put in the file
.IR /usr/sysconfig/boinc .

.TP
.I /var/lib/boinc
The working directory, under which the client core does all of its work.
This is the home directory of a special 'boinc' user.  
The BOINC core
client does not have to run as 'root', and indeed it should not be run
as 'root' for better security.
Different values for both the account name and working directory can
be set in 
.IR /usr/sysconfig/boinc .




.TP
.I /var/lib/boinc/gui_rpc_auth.cfg
A file containing the password needed to connect to the running core
client from the BOINC Manager.

.TP
.I /var/lib/boinc/client_state.xml
A file containing the current state of the running core client and the
files which it has downloaded or intends to upload.


.SH BUGS
Keep in mind that BOINC is continuously being developed and refined,
so there may well be bugs in any version of the software.

.PP
Any problems with the BOINC software can be reported and discussed 
in the BOINC forums at 
.IR http://boinc.berkeley.edu/dev , 
or in the forums available on almost any BOINC-based project.
Individual bugs or feature requests may be submitted as a ticket in the 
"Trac" system at 
.IR http://boinc.berkeley.edu/trac .
Specific technical comments may be set to the developers mailing list at 
.IR boinc_dev at ssl.berkeley.edu ,
but they do not provide technical support, and they are more interested in
receiving patches which fix bugs than they are in receiving complaints.

.PP
Any problems with the packaging of the BOINC software should be
submitted to the person who packaged the software for distribution,
not to the BOINC developers.


.SH SEE ALSO
.BR boinc_client (1),
.BR boincmgr (1),
.BR boinc_cmd (1), 
and 
.I  http://boinc.berkeley.edu/trac/wiki/UnixClient

.PP
For a list of some of the many BOINC based projects see
.I http://boinc.berkeley.edu/projects.php
or
.IR http://boincprojectstatus.ath.cx/ .
These lists are provided for your information only, and are not
endorsed by BOINC or U.C. Berkeley.   You can find other projects
which use BOINC via Google.


.SH VERSION
.de VL
\\$2
..
Revision Number: 5.10.21-18 
.br
Release Date: 29 Dec 2007 

.end


--- NEW FILE boinc_client.1 ---
.\"  Unix Manual page for boinc_client
.\"======================================================================
.\" This file is a part of BOINC.  Distribution and/or modifications
.\" are allowed under the terms of the Lesser GNU Public License.
.\" See the file COPYING for details.
.\"======================================================================
.\"  To view this file without the man command type: 
.\"         'nroff -man boinc.1 | more'
.\"  or, on some versions of man, just man -l boinc.1
.\"
.\" @(#) $Id: boinc_client.1,v 1.1 2007/12/29 16:50:09 myers Exp $
.TH boinc_cmd 1  "29 December 2007"  "BOINC 5.10"  "User Manuals"

.SH SYNOPSIS
.br
.sp
.in +2
.B boinc_client  
[options]
.in -2
.br
.sp

.SH DESCRIPTION

The BOINC "core client", 
.BR boinc_client ,
is the heart of BOINC.
It controls which project applications are run on your computer, 
downloading "Workunits" and uploading the "Result" files from
completed tasks.
.B boinc_client
is usually run in the background, ideally as a daemon.
It can then be controlled either by a graphical tool
called the BOINC Manager,
.BR boincmgr (1),
or a command line tool called
.BR boinc_cmd (1),
by means of Remote Proceedure Calls (RPCs) over port 31416.

.PP

The BOINC core client can be controlled by command-line options,
configuration files, and environment variables.
Standard usage is simply to start the client running in the
background.


.SH CONFIGURATION FILES

BOINC uses the following configuration files.
You can edit these files before launching
.B boinc_client
to control BOINC in various ways.

.TP 
.I account_<PROJECT-URL>.xml 
Accounting information for a given project.
There will be one for each attached project. 

.TP
.I global_prefs_override.xml
Override global preferences 

.TP
.I cc_config.xml
Turn log messages on/off by category, and other core client
configuration options. 
These settings can be very useful for troubleshooting problems or debugging.

.TP
.I remote_hosts.cfg
Hosts from which remote GUI RPCs are allowed.   
If this file does not exist then...?

.TP
.I gui_rpc_auth.cfg
GUI RPC password. 

.TP
.I project_init.xml
Startup project ...?

.TP
.I acct_mgr_url.xml
Account manager URL 

.TP
.I acct_mgr_login.xml
Account manager login



.SH COMMAND OPTIONS

These command-line options for 
.B boinc_client
can be used to control how BOINC is started.
Once the client has started, 
you should use a separate program, 
.RB ( boincmgr (1)
or
.BR boinc_cmd (1))
which communicates with it by means of Remote Proceedure Calls (RPCs).


.TP
.B    --help
Show these command line options.

.TP
.B    --version  
Show client software version.   

.TP
.B    --show_projects  
Show all attached projects.

.TP
.B    --detach_project <URL>    
Detach from the project associated with the given URL.

.TP
.B    --reset_project <URL>    
Reset (clear) the project associated with the given URL

.TP
.B    --attach_project <URL> <key>    
Attach to the project associated with the given URL.
The 
.B key 
is the authenthentication token (account key)
of an existing account on the project.

.TP
.B    --update_prefs <URL>   
Contact the project associated with the given URL
to update preferences.

.TP
.B    --run_cpu_benchmarks
Run the CPU benchmarks.

.TP
.B    --check_all_logins      
For idle detection, check remote logins too.
When BOINC is set to run when the computer is idle, it usually only
checks for user activity from locally logged-in user.
This causes it to also check for activity from remote logins.f

.TP
.B    --allow_remote_gui_rpc          
Allow remote GUI RPC connections.

.TP
.B    --gui_rpc_port <port>    
Set the port for GUI RPCs.
The default, if not otherwise set, is port 31416.

.TP
.B    --redirectio                
Redirect stdout and stderr to log files.

.TP
.B    --detach          
Detach from console (Windows only)

.TP
.B    --dir <path>         
Use the given directory as the BOINC home (working directory).

.TP
.B    --no_gui_rpc   
Do not allow GUI RPCs, don't make socket.

.TP
.B    --daemon                        
Run as daemon, in the background (Unix only).

.TP
.B    --insecure                      
Disable application sandboxing (Unix only).

.TP
.B    --launched_by_manager           
Indicates that the Core Client was launched by the BOINC Manager.

.TP
.B    --run_by_updater          
Indicates that the Core Client was launched by the updater.

.TP
.B --start_delay N
Specify a number of seconds to delay running apps after client startup 
[New in version 6.1.]



.SH ENVIRONMENT
The 
.B boinc_client
uses the following Unix environment variables to control
how it deals with web proxies.

.TP
.B HTTP_PROXY
URL of HTTP proxy 

.TP
.B HTTP_USER_NAME
User name for proxy authentication 

.TP
.B HTTP_USER_PASSWD
Password for proxy authentication 
.TP
.B SOCKS4_SERVER
URL of SOCKS 4 server 

.TP
.B SOCKS5_SERVER
URL of SOCKS 5 server 

.TP
.B SOCKS5_USER
User name for SOCKS authentication 

.TP
.B SOCKS5_PASSWD
Password for SOCKS authentication


.SH DEBUGGING OPTIONS
These command line options are usually only of use for
troubleshooting or debugging.

.TP
.B    --exit_when_idle    
Exit when there are no more results to process.

.TP
.B    --exit_before_start             
Exit right before starting a job (useful for debugging).

.TP
.B    --exit_after_finish       
Exit right after finishing a task (useful for debugging).

.TP
.B --no_time_test
Don't run performance benchmarks; use fixed numbers instead. 

.TP
.B --exit_after_app_start N
Exit about N seconds after first application starts 

.TP
.B --min
Put client in the background after starting up 

.TP
.B --skip_cpu_benchmarks
Don't run CPU benchmarks 

.TP
.B --file_xfer_giveup_period N
Specify giveup period for file transfers 

.TP
.B --started_by_screensaver
Passed by screensaver when it launches client



.SH SEE ALSO
.BR boinc (1),
.BR boincmgr (1),
.BR boinc_cmd (1).

.SH VERSION
.de VL
\\$2
..
Revision Number: 5.10.21-18 
.br
Release Date: 29 Dec 2007 

.end


--- NEW FILE boinc_cmd.1 ---
.\"  Unix Manual Pages for boinc_cmd
.\"======================================================================
.\" This file is a part of BOINC.  Distribution and/or modifications
.\" are allowed under the terms of the Lesser GNU Public License
.\" See the file COPYING for details.
.\"======================================================================
.\"  To view this file without the man command type: 
.\"         'nroff -man boinc.1 | more'
.\"  or, on some versions of man, just man -l boinc.1
.\"
.\" @(#) $Id: boinc_cmd.1,v 1.1 2007/12/29 16:50:10 myers Exp $
.TH boinc_cmd 1  "29 December 2007"  "BOINC 5.10"  "User Manuals"

.SH SYNOPSIS
.br
.sp
.in +2
.B boinc_cmd  
boinc_cmd [--host hostname] [--passwd passwd] --command
.in -2
.br
.sp

.SH DESCRIPTION
.B boinc_cmd
issues a command to the running BOINC client core, which should already be running as
a background daemon.   See
.BR boinc_client (1)
for more information about the core client.


.SH COMMAND OPTIONS

These command-line commands for 
.B boinc_cmd
can be used to control the running core client.

.SS  Core Client Connection 
Controlling the connection to the core client:

.TP
.B  --host hostname[:port]
The host to connect to (default: localhost) .

.TP
.B  --passwd
The password for RPC authentication (default: 
.B boinc_cmd 
will look
for a file named
.I gui_rpc_auth.cfg 
in the current directory and use the password it contains).


.SS  Account Query and Attach 
Query or control account information for the core client:

.TP
.B --lookup_account URL email password
Look up account and print account key. 
[New in 5.8.16]

.TP
.B --create_account URL email password name
Create account with the given email address, password, and user name.

.TP
.B --project_attach URL auth
Attach the core client to the project associated with the URL,
using the authentication token (account key)

.TP
.B  --join_acct_mgr URL name password
Attach to an account manager (or do RPC if already attached). 
[ New in 5.10]

.TP
.B --quit_acct_mgr
Detach from the current account manager. 
[New in 5.10] 


.SS State Queries
Querying the core client for information about its current running state:

.TP
.B --get_state
Show complete client state 

.TP
.B --get_results
Show results 

.TP
.B --get_simple_gui_info
Show projects and active results 

.TP 
.B --get_file_transfers
Show file transfers 

.TP
.B --get_project_status
Show status of all projects 

.TP
.B --get_disk_usage
Show disk usage by project 

.TP 
.B --get_proxy_settings
Get proxy settings 

.TP
.B --get_messages seqno
Show messages with sequence numbers beyond the given seqno 

.TP
.B --get_host_info
Show host info 

.TP
.B --get_screensaver_mode
Return the current screensaver mode (is it active or not?)

.TP
.B --version, -V
Show core client software version.



.SS Control Operations
Controlling the core client:

.TP 8
.TP 
.B --result URL result_name operation 
Perform an operation on a Result, identified by the project master URL and
the Result name.  
Operations:
.IP
.I suspend 
- temporarily stop work on the Result
.IP
.I resume
- allow work on result
.IP
.I abort: permanently stop work on result
.IP
.I graphics_window
- open graphics in a window. The optional
desktop/window_station (Windows) or display (X11) arguments specify
the display.
.IP 
.I graphics_fullscreen
- open graphics fullscreen 

.TP
.B --project URL operation
 Do operation on a project, identified by its master
URL. Operations:

.IP 
.I  reset
- delete current work and get more;
.IP
.I  detach
- delete current work and don't get more;
.IP
.I  update
- contact scheduling server;
.IP
.I  suspend
- stop work for project;
.IP
.I  result
- resume work for project;
.IP
.I  nomorework
- finish current work but don't get more;
.IP
.I  allowmorework
- undo nomorework
.IP
.I  detach_when_done
- detach project 


.TP
.B  --set_proxy_settings http_server_name http_server_port \
http_user_name http_user_passwd socks_server_name socks_server_port \
socks_version socks5_user_name socks5_user_passwd
Set proxy settings (all fields are mandatory) 

.TP
.B --run_benchmarks
Run CPU benchmarks 

.TP
.B --set_screensaver_mode on|off blank_time [ --display display ]
Tell the core client to start or stop doing fullscreen graphics,
and going to black after blank_time seconds. The optional arguments
specify which desktop/windows_station (Windows) or display (X11) to
use. 

.TP
.B --read_global_prefs_override
Tell the core client to read the global_prefs_override.xml file,
and incorporate any global preferences indicated there. 

.TP
.B --quit
Tell the core client to quit 

.TP
.B --read_cc_config
Reread the configuration file (cc_config.xml) 

.TP
.B   --set_debts URL1 STD1 LTD1 [ URL2 STD2 LTD2 ... ]
Set the short- and long-term debts of one or more projects. Note:
if you adjust the debts of a single project, the debts of other
projects are changed. So if you want to set the debts of multiple
projects, do it in a single command. 
[New in 5.10.11]

.SS Miscellaneous 
.TP
.B --help, -h
Show options and commands


.SH SEE ALSO
.BR boinc (1),
.BR boinc_client (1),
.BR boincmgr (1).

.SH VERSION
.de VL

B\\$2
..
Revision Number: 5.10.21-18 
.br
Release Date: 29 Dec 2007 

.end


--- NEW FILE boincmgr.1 ---
.\"  Unix Manual Pages for boincmgr
.\"======================================================================
.\" This file is a part of BOINC.  Distribution and/or modifications
.\" are allowed under the terms of the Lesser GNU Public License
.\" See the file COPYING for details.
.\"======================================================================
.\"  To view this file without the man command type: 
.\"         'nroff -man boinc.1 | more'
.\"  or, on some versions of man, just man -l boinc.1
.\"
.\" @(#) $Id: boincmgr.1,v 1.1 2007/12/29 17:08:23 myers Exp $
.TH boincmgr 1  "29 December 2007"  "BOINC 5.10"  "User Manuals"

.SH SYNOPSIS
.br
.sp
.in +2
.B boincmgr  
.in -2
.br
.sp



.SH DESCRIPTION
.B boincmgr
is a graphical tool which allows one to manage and control the
running BOINC core client.
See
.BR boinc_client (1)
for more information about the core client.

.SH MENUS
Pull-down menus at the top of the BOINC Manager window allow you to
control the running core client, the projects it is attached to,
and tasks being run or waiting to run.

.TP
.I File

.TP 
.I View

.TP
.I Tools

.TP
.I Activity


.PP
    
Selecting an option that requires contacting a project will
temporarily enable network activity regardless of the network
setting. This includes updating a project, retrying file transfers,
retrying communications and attaching to projects. Network activity
will remain enabled for five minutes.

.PP

Selecting Snooze from the icon menu overrides the 'run....' setting
and suspends activity for one hour.
Unselecting Snooze, or selecting the Activity menu items Run always or
Run based on preferences cancels Snooze.


.SH TABS
A selection of tabs near the top of the window allow you to easily
select between different views.

.TP 
.I Projects
Shows the projects your computer is attached to.

.TP 
.I Tasks
Shows tasks running on your computer, waiting to be run, or 
waiting to be return after being run.

.TP 
.I Transfers
Shows files being transfered to or from project servers.

.TP
.I Messages
Show messages from the core client

.TP 
.I Statistics
Show run statistics for various projects.

.TP
.I Disk
Shows disk usage




.SH SEE ALSO
.BR boinc (1),
.BR boinc_client (1),
.BR boinc_cmd (1).


.SH VERSION
.de VL

B\\$2
..
Revision Number: 5.10.21-18 
.br
Release Date: 29 Dec 2007 

.end


--- NEW FILE noexec ---
#!/bin/bash

if [ -z $1 ]; then
	echo "No path specified: use \"noexec [PATH_TO_SOURCE_TOP_DIR]\"";
	exit 1;
fi

chmod -x $1/checkin_notes*


--- NEW FILE trim ---
#!/bin/bash

if [ -z $1 ]; then 
	echo "No path specified: use \"trim [PATH_TO_SOURCE_TOP_DIR]\"";
	exit 1;
fi

# remove all binaries and other unnecessary things 

echo "Trimming directories..."

DIRS="win_build doc html openssl client/os2 client/win clientgui/mac clientlib clienttray curl/include curl/mswin curl/patches lib/mac mac_build mac_installer zip/zip/macos zip/zip/win32 zip/unzip/macos zip/unzip/win32 zlib RSAEuro stripchart"

for DIR in $DIRS; do
	/bin/rm -rf $1/$DIR;
	echo $1/$DIR;
done

echo "Trimming wxWidgets translations..."

# remove wxWidgets translations
find $1/locale -name wxstd.mo -delete

echo "Done."


--- NEW FILE unicode ---
#!/bin/bash

if [ -z $1 ]; then
	echo "No path specified: use \"unicode [PATH_TO_SOURCE_TOP_DIR]\"";
	exit 1;
fi

iconv -f ISO88591 -t UTF8 < $1/checkin_notes_2005 > $1/checkin_notes_2005_unicode_tmp
mv $1/checkin_notes_2005_unicode_tmp $1/checkin_notes_2005

iconv -f ISO88591 -t UTF8 < $1/checkin_notes_2004 > $1/checkin_notes_2004_unicode_tmp
mv $1/checkin_notes_2004_unicode_tmp $1/checkin_notes_2004

iconv -f ISO88591 -t UTF8 < $1/checkin_notes_2006 > $1/checkin_notes_2006_unicode_tmp
mv $1/checkin_notes_2006_unicode_tmp $1/checkin_notes_2006


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/boinc-client/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	25 Mar 2008 16:42:37 -0000	1.1
+++ .cvsignore	25 Mar 2008 20:13:30 -0000	1.2
@@ -0,0 +1 @@
+boinc-5.10.45.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/boinc-client/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	25 Mar 2008 16:42:37 -0000	1.1
+++ sources	25 Mar 2008 20:13:30 -0000	1.2
@@ -0,0 +1 @@
+0963d915f28f17a82272948162b1ef95  boinc-5.10.45.tar.gz




More information about the fedora-extras-commits mailing list