mirror of
https://abf.rosa.ru/djam/boinc-client.git
synced 2025-02-24 07:32:49 +00:00
Automatic import for version 6.10.56
This commit is contained in:
commit
713d8b71d7
14 changed files with 1818 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
"boinc-6.10.56.tar.bz2": 504ada6c71826260df69376cc73bc474ef367bb6
|
99
boinc-client
Normal file
99
boinc-client
Normal file
|
@ -0,0 +1,99 @@
|
|||
# Source this file in bash to get command completion (using tab)
|
||||
# for boinc_client and boinc_cmd
|
||||
# Written by Frank S. Thomas
|
||||
|
||||
_boinc_client()
|
||||
{
|
||||
local cur prev opts
|
||||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
|
||||
opts="$(boinc_client --help | \
|
||||
sed -n -r 's/^[[:space:]]*(--[a-z_]*).*/\1/p')"
|
||||
|
||||
# Handle options that require one or more arguments.
|
||||
case "$prev" in
|
||||
--attach_project|--detach_project|--reset_project|--update_prefs|\
|
||||
--gui_rpc_port)
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
||||
# Handle options that require two arguments.
|
||||
if [[ COMP_CWORD -gt 1 ]]; then
|
||||
pprev="${COMP_WORDS[COMP_CWORD-2]}"
|
||||
|
||||
case "$pprev" in
|
||||
--attach_project)
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $(compgen -W "$opts" -- "$cur") )
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
complete -F _boinc_client -o default boinc_client
|
||||
|
||||
_boinc_cmd()
|
||||
{
|
||||
local cur prev opts cmds
|
||||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
|
||||
opts="--host --passwd -h --help -V --version"
|
||||
cmds="$(boinc_cmd --help 2>&1 | \
|
||||
sed -n -r 's/^[[:space:]]*(--[a-z_]*).*/\1/p')"
|
||||
|
||||
# The following construct assures that:
|
||||
# - no command follows if one of $opts or $cmds was given
|
||||
# - after --host follows only one command or --passwd and one command
|
||||
# - after --passwd follows only one command
|
||||
if [[ $COMP_CWORD -eq 1 ]]; then
|
||||
COMPREPLY=( $(compgen -W "$opts $cmds" -- "$cur") )
|
||||
return 0
|
||||
else
|
||||
if [[ "${COMP_WORDS[@]}" =~ ".* --host .* --passwd .*" ]]; then
|
||||
if [[ $COMP_CWORD -eq 5 ]]; then
|
||||
COMPREPLY=( $(compgen -W "$cmds" -- "$cur") )
|
||||
fi
|
||||
elif [[ "${COMP_WORDS[@]}" =~ ".* --passwd .*" ]]; then
|
||||
if [[ $COMP_CWORD -eq 3 ]]; then
|
||||
COMPREPLY=( $(compgen -W "$cmds" -- "$cur") )
|
||||
fi
|
||||
elif [[ "${COMP_WORDS[@]}" =~ ".* --host .*" ]]; then
|
||||
if [[ $COMP_CWORD -eq 3 ]]; then
|
||||
COMPREPLY=( $(compgen -W "--passwd $cmds" -- "$cur") )
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Handle options/commands that require one or more arguments.
|
||||
case "$prev" in
|
||||
--get_messages|--passwd)
|
||||
return 0
|
||||
;;
|
||||
|
||||
--host)
|
||||
_known_hosts
|
||||
return 0
|
||||
;;
|
||||
|
||||
--set_run_mode|--set_network_mode)
|
||||
COMPREPLY=( $(compgen -W "always auto never" -- "$cur") )
|
||||
return 0
|
||||
;;
|
||||
|
||||
--set_screensaver_mode)
|
||||
COMPREPLY=( $(compgen -W "on off" -- "$cur") )
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
}
|
||||
complete -F _boinc_cmd boinc_cmd
|
||||
# vim: syntax=sh
|
||||
|
254
boinc-client-init-d
Normal file
254
boinc-client-init-d
Normal file
|
@ -0,0 +1,254 @@
|
|||
#!/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@vassar.edu> - 27 July 2004
|
||||
# Department of Physics and Astronomy, Vassar College, Poughkeepsie NY
|
||||
# Eric Myers <myers@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
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
# 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 --dir $BOINCDIR"
|
||||
|
||||
|
||||
# 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 [ ! -d projects ] ; then
|
||||
echo -n "The BOINC client requires initialization (no projects attached)."
|
||||
echo_warning
|
||||
echo
|
||||
fi
|
||||
|
||||
echo -n "Starting BOINC client as a daemon: "
|
||||
|
||||
# Check that we're a privileged user
|
||||
if [ `id -u` != 0 ] ; then
|
||||
echo -n "Insufficient rights."
|
||||
echo_failure
|
||||
echo
|
||||
exit 4
|
||||
fi
|
||||
|
||||
daemon --check $BOINCEXE --user $BOINCUSER +19 "$BOINCEXE $BOINCOPTS" >>$LOGFILE 2>>$ERRORLOG &
|
||||
try=0
|
||||
while [ $try -lt 10 ] ; do
|
||||
PID=`pidof -s -x -o $$ -o $PPID -o %PPID $BOINCEXE`
|
||||
if [ $PID ]; then
|
||||
touch $LOCKFILE && echo_success || echo_failure
|
||||
break
|
||||
else
|
||||
sleep 1
|
||||
fi
|
||||
let try+=1
|
||||
done;
|
||||
if [ -z $PID ]; then
|
||||
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
|
||||
echo -n "Reading configuration: "
|
||||
$BOINCCMD --read_cc_config >>$LOGFILE 2>>$ERRORLOG && echo_success || echo_failure
|
||||
fi
|
||||
echo
|
||||
;;
|
||||
force-reload)
|
||||
$0 reload
|
||||
$0 restart
|
||||
;;
|
||||
condrestart|try-restart)
|
||||
$0 status || exit 0
|
||||
$0 restart
|
||||
;;
|
||||
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|condrestart|try-restart|reload|force-reload|status}"
|
||||
exit 2
|
||||
esac
|
||||
|
||||
exit
|
||||
|
||||
#EOF#
|
77
boinc-client-logrotate-d
Normal file
77
boinc-client-logrotate-d
Normal file
|
@ -0,0 +1,77 @@
|
|||
# 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@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 ##
|
||||
|
444
boinc-client.spec
Normal file
444
boinc-client.spec
Normal file
|
@ -0,0 +1,444 @@
|
|||
%define _disable_ld_no_undefined 1
|
||||
%define version_ 6_10_56
|
||||
%define Werror_cflags %nil
|
||||
|
||||
Summary: The BOINC client core
|
||||
Name: boinc-client
|
||||
Version: 6.10.56
|
||||
Release: %mkrel 1
|
||||
License: LGPLv2+
|
||||
Group: Sciences/Other
|
||||
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
|
||||
# ./trim . Trim all binaries and other unnecessary things.
|
||||
# popd
|
||||
# tar -czvf boinc-%{version}.tar.gz boinc_core_release_%{version_}/
|
||||
Source0: boinc-%{version}.tar.bz2
|
||||
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
|
||||
Source11: boinc-client
|
||||
#Create password file rw for group, this enables passwordless connection
|
||||
#of manager from users of the boinc group.
|
||||
#This won't be probably upstreamed as it might be unsafe for common usage
|
||||
#without setting proper group ownership of the password file.
|
||||
Patch6: boinc-guirpcauth.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: python-mysql
|
||||
BuildRequires: curl-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: mesaglut-devel
|
||||
BuildRequires: mesaglu-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: wxgtku2.8-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: mysql-devel
|
||||
BuildRequires: libxmu-devel
|
||||
BuildRequires: libjpeg-devel libxslt-devel
|
||||
BuildRequires: docbook2x
|
||||
BuildRequires: sqlite3-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@home, Einstein@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: Sciences/Other
|
||||
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. You
|
||||
have to "connect" to your running local BOINC client for manager to
|
||||
work. Password for connecting to localhost is stored in
|
||||
/var/lib/boinc/gui_rpc_auth.cfg and is different for every installation.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Other
|
||||
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: openssl-devel
|
||||
Requires: mysql-devel
|
||||
Provides: %{name}-static-devel = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains development files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n boinc_core_release_%{version_}
|
||||
%patch6 -p0
|
||||
|
||||
# fix permissions and newlines on source files
|
||||
chmod 644 clientgui/{DlgItemProperties.h,AsyncRPC.cpp,DlgItemProperties.cpp}
|
||||
sed -i 's/\r//' clientgui/DlgItemProperties.cpp
|
||||
|
||||
%build
|
||||
%ifarch x86_64
|
||||
%global boinc_platform x86_64-pc-linux-gnu
|
||||
%else
|
||||
%global boinc_platform i686-pc-linux-gnu
|
||||
%endif
|
||||
|
||||
# We want to install .mo, not .po files, see http://boinc.berkeley.edu/trac/ticket/940
|
||||
sed -i 's/BOINC-Manager\.po/BOINC-Manager\.mo/g' locale/Makefile.in
|
||||
|
||||
#./_autosetup
|
||||
%configure2_5x --disable-server \
|
||||
--enable-client \
|
||||
--enable-unicode \
|
||||
--enable-dynamic-client-linkage \
|
||||
--with-ssl \
|
||||
--with-x \
|
||||
STRIP=: DOCBOOK2X_MAN=/usr/bin/db2x_docbook2man \
|
||||
--with-boinc-platform=%{boinc_platform}
|
||||
|
||||
# Disable rpaths
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
|
||||
# Parallel make does not work.
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/16x16/apps
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
|
||||
mkdir -p %{buildroot}%{_initrddir}
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/boinc
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d/
|
||||
|
||||
make install INSTALL="%{__install} -p" DESTDIR=%{buildroot}
|
||||
|
||||
rm -rf %{buildroot}%{_bindir}/1sec
|
||||
rm -rf %{buildroot}%{_bindir}/concat
|
||||
rm -rf %{buildroot}%{_bindir}/create_work
|
||||
rm -rf %{buildroot}%{_bindir}/dir_hier_move
|
||||
rm -rf %{buildroot}%{_bindir}/dir_hier_path
|
||||
rm -rf %{buildroot}%{_bindir}/sign_executable
|
||||
rm -rf %{buildroot}%{_bindir}/start
|
||||
rm -rf %{buildroot}%{_bindir}/status
|
||||
rm -rf %{buildroot}%{_bindir}/stop
|
||||
rm -rf %{buildroot}%{_bindir}/updater
|
||||
rm -rf %{buildroot}%{_bindir}/upper_case
|
||||
|
||||
pushd %{buildroot}%{_bindir}
|
||||
|
||||
# use symlink instead of hardlink
|
||||
rm boinc
|
||||
ln -s boinc_client boinc
|
||||
|
||||
# remove libtool archives
|
||||
rm %{buildroot}%{_libdir}/*.la
|
||||
|
||||
# rename boincmgr and wrap it
|
||||
mv %{buildroot}%{_bindir}/boincmgr %{buildroot}%{_bindir}/boinc_gui
|
||||
|
||||
cat > boincmgr <<EOF
|
||||
#!/bin/bash
|
||||
# wrapper script to allow passwordless manager connections from users of the boinc group
|
||||
|
||||
# Look for any local configuration settings of \$BOINCDIR
|
||||
if [ -f %{_sysconfdir}/sysconfig/%{name} ]; then
|
||||
. %{_sysconfdir}/sysconfig/%{name}
|
||||
elif [ -f %{_sysconfdir}/default/%{name} ]; then
|
||||
. %{_sysconfdir}/default/%{name}
|
||||
fi
|
||||
|
||||
# Otherwise pull \$BOINCDIR from the init script
|
||||
if [ -z \$BOINCDIR ]; then
|
||||
BOINCDIR=\`grep 'BOINCDIR=' %{_sysconfdir}/init.d/%{name} | tr '"' ' ' | sed 's|BOINCDIR=||'\`;
|
||||
fi
|
||||
|
||||
cd \$BOINCDIR
|
||||
boinc_gui >& /dev/null
|
||||
EOF
|
||||
|
||||
cat > %{buildroot}/%{_localstatedir}/lib/boinc/remote_hosts.cfg << EOF
|
||||
localhost
|
||||
127.0.0.1
|
||||
EOF
|
||||
|
||||
touch %{buildroot}/%{_localstatedir}/lib/boinc/gui_rpc_auth.cfg
|
||||
|
||||
chmod a+x boincmgr
|
||||
popd
|
||||
|
||||
# own init script and logrotate configuration file
|
||||
rm -f %{buildroot}%{_sysconfdir}/init.d/%{name}
|
||||
install -p -m755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
|
||||
install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
||||
|
||||
# icon
|
||||
mv %{buildroot}%{_datadir}/boinc/boincmgr.16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/boincmgr.png
|
||||
mv %{buildroot}%{_datadir}/boinc/boincmgr.32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/boincmgr.png
|
||||
mv %{buildroot}%{_datadir}/boinc/boincmgr.48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/boincmgr.png
|
||||
|
||||
|
||||
%find_lang BOINC-Manager
|
||||
|
||||
# bash-completion
|
||||
|
||||
install -Dp -m644 %{SOURCE11} %{buildroot}%{_sysconfdir}/bash_completion.d/boinc-client
|
||||
install -Dp -m644 %{SOURCE3} %{buildroot}%{_datadir}/applications/boinc-manager.desktop
|
||||
|
||||
# allow remote config - we've protected it by random password +
|
||||
# localhost access only
|
||||
sed 's/--daemon --dir $BOINCDIR/--daemon --dir $BOINCDIR --allow_remote_gui_rpc/' \
|
||||
%{buildroot}/%{_initrddir}/%{name} > %{buildroot}/%{_initrddir}/%{name}.new
|
||||
mv %{buildroot}/%{_initrddir}/%{name}.new %{buildroot}/%{_initrddir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%pre
|
||||
%_pre_useradd boinc %{_localstatedir}/lib/boinc /sbin/nologin
|
||||
|
||||
%postun
|
||||
%_postun_userdel boinc
|
||||
|
||||
%post
|
||||
%_post_service %name
|
||||
|
||||
#correct wrong owner and group on files under /var/lib/boinc and log files
|
||||
#caused by bug fixed in 5.10.45-8
|
||||
chown --silent -R boinc:boinc %{_localstatedir}/log/boinc* \
|
||||
%{_localstatedir}/lib/boinc/* 2>/dev/null || :
|
||||
|
||||
cat /dev/urandom|od -N6 -An -x | tr -d ' ' > %{_localstatedir}/lib/boinc/gui_rpc_auth.cfg
|
||||
|
||||
%preun
|
||||
%_preun_service %name
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
||||
%config(noreplace) %{_sysconfdir}/bash_completion.d/
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
||||
%config(noreplace) %{_localstatedir}/lib/boinc/gui_rpc_auth.cfg
|
||||
%config(noreplace) %{_localstatedir}/lib/boinc/remote_hosts.cfg
|
||||
%doc COPYING COPYRIGHT
|
||||
%doc checkin_notes checkin_notes_2007 checkin_notes_2006 checkin_notes_2005 checkin_notes_2004 checkin_notes_2003 checkin_notes_2002
|
||||
%{_bindir}/boinc
|
||||
%{_bindir}/boinc_client
|
||||
%{_bindir}/boinccmd
|
||||
%{_bindir}/switcher
|
||||
%{_initrddir}/%{name}
|
||||
%{_mandir}/man1/boinccmd.1.*
|
||||
%{_mandir}/man1/boinc.1.*
|
||||
%defattr(-,boinc,boinc,-)
|
||||
%{_localstatedir}/lib/boinc/
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files -n boinc-manager -f BOINC-Manager.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/boinc_gui
|
||||
%{_bindir}/boincmgr
|
||||
%{_datadir}/applications/boinc-manager.desktop
|
||||
%{_datadir}/icons/hicolor/16x16/apps/boincmgr.png
|
||||
%{_datadir}/icons/hicolor/32x32/apps/boincmgr.png
|
||||
%{_datadir}/icons/hicolor/48x48/apps/boincmgr.png
|
||||
%{_mandir}/man1/boincmgr.1.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/boinc
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Aug 14 2010 Tomas Kindl <supp@mandriva.org> 6.10.56-1mdv2011.0
|
||||
+ Revision: 569795
|
||||
- update to latest version - 6.10.56
|
||||
- enable 'remote' GUI acces from localhost with random password
|
||||
- preserve conf files
|
||||
|
||||
* Fri Mar 19 2010 Tomas Kindl <supp@mandriva.org> 6.10.17-1mdv2010.1
|
||||
+ Revision: 525287
|
||||
- fix underlinking issue
|
||||
- fix missing BuildRequires
|
||||
- fix manpages generation
|
||||
- Now really drop that patch...
|
||||
- bump to 6.10.17 release
|
||||
- frop gcc4.4 patch as it's no longer needed
|
||||
|
||||
+ Thomas Backlund <tmb@mandriva.org>
|
||||
- fix typo in initscript
|
||||
|
||||
+ Thierry Vignaud <tv@mandriva.org>
|
||||
- rebuild
|
||||
|
||||
+ Emmanuel Andry <eandry@mandriva.org>
|
||||
- New version 6.6.37
|
||||
- use fedora spec and patches
|
||||
|
||||
* Sat Feb 28 2009 Guillaume Rousse <guillomovitch@mandriva.org> 6.6.1-1.svn20081217.2mdv2009.1
|
||||
+ Revision: 345952
|
||||
- rebuild
|
||||
|
||||
* Tue Feb 10 2009 Zombie Ryushu <ryushu@mandriva.org> 6.6.1-1.svn20081217.1mdv2009.1
|
||||
+ Revision: 339118
|
||||
- Upgrade to 6.6.1
|
||||
- Upgrade to 6.6.1
|
||||
- New Version 6.4.5
|
||||
- New Version 6.4.5
|
||||
|
||||
* Sun Jun 15 2008 Funda Wang <fwang@mandriva.org> 5.10.45-1.svn20080315.1mdv2009.0
|
||||
+ Revision: 219256
|
||||
- BR unicode version of wxgtk2.8
|
||||
- fix version
|
||||
- disable server
|
||||
- add missing files
|
||||
- covert to mandriva style
|
||||
- import boinc-client
|
||||
|
||||
|
||||
* Sat May 17 2008 Milos Jakubicek <xjakub@fi.muni.cz> - 5.10.45-14.20080315svn
|
||||
- Fixed opening locales by adding boinc-locales.patch
|
||||
|
||||
* Sat May 17 2008 Milos Jakubicek <xjakub@fi.muni.cz> - 5.10.45-13.20080315svn
|
||||
- Fixed boincmgr segfaulting on F9/x86_64 (#445902) by adding
|
||||
boinc-parsecolor.patch (Patch2).
|
||||
|
||||
* Mon May 12 2008 Milos Jakubicek <xjakub@fi.muni.cz> - 5.10.45-12.20080315svn
|
||||
- Do not ship ca-bundle.crt as it is already included in curl.
|
||||
- Fixed the almost empty debuginfo package (do not strip anything).
|
||||
- Patches documented according to the guidelines (PatchUpstreamStatus)
|
||||
|
||||
* Sun May 04 2008 Milos Jakubicek <xjakub@fi.muni.cz> - 5.10.45-11.20080315svn
|
||||
- Fixed find command because starting with findutils-4.4.0-1.fc10, find
|
||||
returns a non-zero value when "-delete" fails.
|
||||
(for more details on this see bug #20802 on savannah.gnu.org)
|
||||
|
||||
* Sat May 03 2008 Milos Jakubicek <xjakub@fi.muni.cz> - 5.10.45-10.20080315svn
|
||||
- Fixed handling stale lockfiles (#444936).
|
||||
- Initscript fixed to be compliant with current SysVInit guidelines
|
||||
(added condrestart, try-restart, force-reload actions).
|
||||
|
||||
* Wed Apr 23 2008 Lubomir Kundrak <lkundrak@redhat.com> - 5.10.45-9.20080315svn
|
||||
- Do not expect chown of nonexistent files to succeed (#443568)
|
||||
|
||||
* Mon Apr 14 2008 Milos Jakubicek <xjakub@fi.muni.cz> - 5.10.45-8.20080315svn
|
||||
- Fixed projects permissions (calling chown recursively).
|
||||
|
||||
* Mon Apr 14 2008 Milos Jakubicek <xjakub@fi.muni.cz> - 5.10.45-7.20080315svn
|
||||
- Fixed running the boinc daemon as boinc user instead of root, file
|
||||
permissions changed accordingly.
|
||||
|
||||
* Mon Apr 07 2008 Milos Jakubicek <xjakub@fi.muni.cz> - 5.10.45-6.20080315svn
|
||||
- Using --with-boinc-platform=i686-pc-linux-gnu on i386 instead of --build,
|
||||
--host, --target
|
||||
- Added bash completion script.
|
||||
|
||||
* Fri Apr 04 2008 Milos Jakubicek <xjakub@fi.muni.cz> - 5.10.45-5.20080315svn
|
||||
- Fixed build on i386 since it needs to be configured as i686-pc-linux-gnu
|
||||
and not i386-pc-linux-gnu.
|
||||
|
||||
* Mon Mar 24 2008 Milos Jakubicek <xjakub@fi.muni.cz> - 5.10.45-4.20080315svn
|
||||
- Removed unnecessary slash before the {_localstatedir} macro.
|
||||
|
||||
* Sun Mar 23 2008 Milos Jakubicek <xjakub@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@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@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@fi.muni.cz> - 5.10.40-8.20080206svn
|
||||
- Added missing Requires: mysql-devel for the -devel subpackage
|
||||
|
||||
* Fri Mar 07 2008 Milos Jakubicek <xjakub@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@fi.muni.cz> - 5.10.40-6.20080206svn
|
||||
- Added patch making the sources compatible with GCC4.3
|
||||
|
||||
* Mon Feb 25 2008 Milos Jakubicek <xjakub@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@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@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@fi.muni.cz> - 5.10.40-2.20080206svn
|
||||
- Fixed missing boinc user and group
|
||||
|
||||
* Tue Feb 06 2008 Milos Jakubicek <xjakub@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@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.
|
16
boinc-guirpcauth.patch
Normal file
16
boinc-guirpcauth.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
--- client/gui_rpc_server.cpp.orig 2009-03-07 02:00:20.000000000 +0100
|
||||
+++ client/gui_rpc_server.cpp 2009-03-07 02:01:00.000000000 +0100
|
||||
@@ -129,12 +129,7 @@
|
||||
// they can cause code to execute as this user.
|
||||
// So better protect it.
|
||||
//
|
||||
- if (g_use_sandbox) {
|
||||
- // Allow group access so authorized administrator can modify it
|
||||
- chmod(GUI_RPC_PASSWD_FILE, S_IRUSR|S_IWUSR | S_IRGRP | S_IWGRP);
|
||||
- } else {
|
||||
- chmod(GUI_RPC_PASSWD_FILE, S_IRUSR|S_IWUSR);
|
||||
- }
|
||||
+ chmod(GUI_RPC_PASSWD_FILE, S_IRUSR|S_IWUSR | S_IRGRP | S_IWGRP);
|
||||
#endif
|
||||
}
|
||||
}
|
16
boinc-manager.desktop
Normal file
16
boinc-manager.desktop
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
[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;
|
213
boinc.1
Normal file
213
boinc.1
Normal file
|
@ -0,0 +1,213 @@
|
|||
.\" 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@home,
|
||||
Einstein@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@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
|
288
boinc_client.1
Normal file
288
boinc_client.1
Normal file
|
@ -0,0 +1,288 @@
|
|||
.\" 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
|
247
boinc_cmd.1
Normal file
247
boinc_cmd.1
Normal file
|
@ -0,0 +1,247 @@
|
|||
.\" 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
|
114
boincmgr.1
Normal file
114
boincmgr.1
Normal file
|
@ -0,0 +1,114 @@
|
|||
.\" 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
|
8
noexec
Executable file
8
noexec
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/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*
|
25
trim
Executable file
25
trim
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/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 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 coprocs"
|
||||
|
||||
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."
|
||||
|
15
unicode
Executable file
15
unicode
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/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
|
Loading…
Add table
Reference in a new issue