You are not logged in.

#1 2004-11-24 17:10:34

drynish
Member
Registered: 2003-10-01
Posts: 36

boinc

Here the PKGBUILD for the boinc program. Boinc is explained at http://boinc.berkeley.edu/. This program helps science progressing by giving of your CPU idle time. It would be cool if we create a team archlinux wink

PKGBUILD

pkgname=boinc
pkgver=4.11
pkgrel=1
pkgdesc="A software platform for distributed computing using volunteered computer resources"
url="http://boinc.berkeley.edu/"
license=""
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://boinc.berkeley.edu/source/archive/$pkgname-$pkgver.tar.gz)
md5sums=(7a35b04792a823f0657bb0e3061a4897)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/opt/boinc --disable-server
  make || return 1
  make prefix=$startdir/pkg/opt/boinc install
  install -D -m755 ../../boinc $startdir/pkg/etc/rc.d/boinc
}

post_remove() {
  rm -rf /opt/boinc/
}

/etc/rc.d/boinc

#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

cd /opt/boinc

BOINK_PID=`pidof -o %PPID /opt/boinc/bin/boinc_client`
case "$1" in
  start)
    rc=0
    stat_busy "Starting Boink Server"
    [ -z "$BOINK_PID" ] && /opt/boinc/bin/boinc_client &>/dev/null &
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
      stat_fail
    else
      add_daemon boinc
      stat_done
    fi
    ;;
  stop)
    rc=0
    stat_busy "Stopping Boinc Server"
    kill $BOINK_PID &>/dev/null
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
      stat_fail
    else
      rm /var/run/boinc.pid &>/dev/null
      rm_daemon boinc
      stat_done
    fi
    ;;
  restart)
    $0 stop
    sleep 1
    $0 start
    ;;
  *)
    echo "usage: $0 {start|stop|restart}"  
esac
exit 0

I have those file on my server (not always open thought) @ http://drynish.homelinux.org/PKGBUILD/boinc

Offline

#2 2004-11-24 19:30:47

mike182
Member
Registered: 2004-05-16
Posts: 15

Re: boinc

Well, a seti group already exists.  Check the newsletter and you'll see the current stats of the group.  I don't know much about the project and I also don't participate  tongue  Just a thought..


[..save the penguins..]

Offline

#3 2005-11-29 09:04:47

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: boinc

Where does boinc store the downloaded files? In newer versions you can configure that.

We should update to a more recent version to get the boincmgr and maybe a new pkgbuild for kboincspy. These packages should go to AUR.

And after all I will try to port them to arch64.

And maybe this is the one pkgbuild to prepare it to build in more optimization option so that users can uncomment special flags for their cpu.

AndyRTR
waiting for a new newsletter to see who´s No.1  big_smile

Offline

#4 2005-11-29 12:24:58

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: boinc

For all those who can't wait for the newsletter. Here is the link to the seti group:

http://setiathome.berkeley.edu/team_dis … mid=116975

big_smile

Daniel

Offline

#5 2005-11-29 12:42:41

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: boinc

I know smile

And why don´t you join our team?

Offline

#6 2005-11-29 17:15:41

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: boinc

AndyRTR wrote:

waiting for a new newsletter to see who´s No.1  big_smile

FYI: There is no more newsletter.  All the newsletter editors/writers quit for lack of time/interest.

Offline

#7 2005-11-29 18:26:34

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: boinc

This should really be in the AUR - posting PKGBUILDs in the forums is old-school.

Offline

#8 2006-01-24 17:07:03

Mikos
Member
From: Prague, Czech Republic
Registered: 2005-05-03
Posts: 228
Website

Re: boinc

I have made (improved) PKGBUILD for latest versions of boinc and kboincspy. You can find them in AUR.

But OpenGL eye-candy in boinc_gui (BOINC Manager) doesn't work. If somebody know how to make OpenGL in BOINC work, please tell me...

Offline

Board footer

Powered by FluxBB