summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-24 04:05:54 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-24 04:05:54 +0000
commit7362cd57b9b9a1bd3cb2efb1ecc56335bb5b63ee (patch)
tree1af4d1d69e0df68647be2cdaa4aa16a63f2f2076
parentMoving to sci-astronomy/setiathome (diff)
downloadgentoo-2-7362cd57b9b9a1bd3cb2efb1ecc56335bb5b63ee.tar.gz
gentoo-2-7362cd57b9b9a1bd3cb2efb1ecc56335bb5b63ee.tar.bz2
gentoo-2-7362cd57b9b9a1bd3cb2efb1ecc56335bb5b63ee.zip
Moved from app-sci/setiathome to sci-astronomy/setiathome.
-rw-r--r--sci-astronomy/setiathome/ChangeLog130
-rw-r--r--sci-astronomy/setiathome/Manifest12
-rw-r--r--sci-astronomy/setiathome/files/digest-setiathome-3.03-r14
-rw-r--r--sci-astronomy/setiathome/files/digest-setiathome-3.03-r24
-rw-r--r--sci-astronomy/setiathome/files/digest-setiathome-3.08-r42
-rw-r--r--sci-astronomy/setiathome/files/seti-conf.d-r112
-rwxr-xr-xsci-astronomy/setiathome/files/seti-init.d-r163
-rwxr-xr-xsci-astronomy/setiathome/files/setiathome-wrapper8
-rwxr-xr-xsci-astronomy/setiathome/files/setiathome-wrapper-r17
-rw-r--r--sci-astronomy/setiathome/metadata.xml5
-rw-r--r--sci-astronomy/setiathome/setiathome-3.03-r1.ebuild63
-rw-r--r--sci-astronomy/setiathome/setiathome-3.03-r2.ebuild61
-rw-r--r--sci-astronomy/setiathome/setiathome-3.08-r4.ebuild65
13 files changed, 436 insertions, 0 deletions
diff --git a/sci-astronomy/setiathome/ChangeLog b/sci-astronomy/setiathome/ChangeLog
new file mode 100644
index 000000000000..bcdb7bf9dbb6
--- /dev/null
+++ b/sci-astronomy/setiathome/ChangeLog
@@ -0,0 +1,130 @@
+# ChangeLog for app-sci/setiathome
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/setiathome/ChangeLog,v 1.1 2004/12/24 04:05:54 ribosome Exp $
+
+*setiathome-3.03-r2 (23 Dec 2004)
+
+ 23 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/seti-conf.d-r1, +files/seti-init.d-r1, +files/setiathome-wrapper,
+ +files/setiathome-wrapper-r1, +setiathome-3.03-r1.ebuild,
+ +setiathome-3.03-r2.ebuild, +setiathome-3.08-r4.ebuild:
+ Moved from app-sci/setiathome to sci-astronomy/setiathome.
+
+*setiathome-3.08-r3 (18 Nov 2004)
+
+ 18 Nov 2004; Olivier Fisette <ribosome@gentoo.org>
+ -setiathome-3.08-r3.ebuild:
+ Removed insecure version. (See GLSA 200411-26.)
+
+ 09 Nov 2004; <SeJo@gentoo.org> setiathome-3.03-r2.ebuild:
+ stable on ppc gsla: 69868
+
+ 08 Nov 2004; Ferris McCormick <fmccor@gentoo.org> setiathome-3.03-r2.ebuild:
+ Stable for sparc (Security Bug 69868 -- no change to actual program).
+
+ 08 Nov 2004; Olivier Fisette <ribosome@gentoo.org> setiathome-3.03-r2.ebuild:
+ Removed X support and fixed file permissions for the sparc binaries.
+
+*setiathome-3.03-r2 (07 Nov 2004)
+
+ 07 Nov 2004; Olivier Fisette <ribosome@gentoo.org>
+ +setiathome-3.03-r2.ebuild:
+ Fixed insecure installation for version 3.03 (see bug #69868). All four arches
+ are maked unstable.
+
+*setiathome-3.08-r4 (07 Nov 2004)
+
+ 07 Nov 2004; Olivier Fisette <ribosome@gentoo.org>
+ +setiathome-3.08-r4.ebuild:
+ Fixed insecure installation for version 3.08 (but not for 3.03)
+ (see bug #69868).
+
+ 01 Oct 2004; Patrick Kursawe <phosphan@gentoo.org>
+ +files/setiathome-wrapper-r1, -setiathome-3.08-r1.ebuild,
+ -setiathome-3.08-r2.ebuild:
+ Fixing bug #65638 (additional threads rapidly fill logfiles)
+
+ 30 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>;
+ setiathome-3.03-r1.ebuild, setiathome-3.08-r1.ebuild,
+ setiathome-3.08-r2.ebuild:
+ Change x11-base/xfree dependency to virtual/x11.
+
+ 30 Mar 2004; Patrick Kursawe <phosphan@gentoo.org>
+ setiathome-3.08-r2.ebuild, files/seti-init.d-r1:
+ Fixing #46141, declaring stable
+
+*setiathome-3.08-r2 (01 Mar 2004)
+
+ 01 Mar 2004; Patrick Kursawe <phosphan@gentoo.org>
+ setiathome-3.08-r2.ebuild, files/seti-init.d-r1:
+ Adding wrapper to 3.08 aswell. Will not try to login any more if run for the
+ first time, but give an error message.
+
+ 26 Feb 2004; Aron Griffis <agriffis@gentoo.org> setiathome-3.03-r1.ebuild:
+ Remove alpha from the SRC_URI to keep from cluttering digest and causing
+ confusion
+
+ 26 Feb 2004; Aron Griffis <agriffis@gentoo.org> setiathome-3.03-r1.ebuild,
+ setiathome-3.08-r1.ebuild:
+ Remove -* since that's meaningless in these ebuilds. Mark 3.03 -alpha since it
+ segfaults for us. We'll need a build of 3.08 to appear on the website before
+ this becomes usable again on alpha.
+
+ 27 Jan 2004; Mike Frysinger <vapier@gentoo.org> :
+ Add wrapper script #24930 and a whole bunch more arch support #33812.
+
+ 06 Dec 2003; Donnie Berkholz <spyderous@gentoo.org>;
+ setiathome-3.03-r1.ebuild, setiathome-3.08-r1.ebuild,
+ setiathome-3.08.ebuild:
+ Changing obsolete chown syntax for bug #35127.
+
+ 13 Oct 2003; Daniel Ahlberg <aliz@gentoo.org> setiathome-3.08-r1.ebuild :
+ Added amd64.
+
+ 06 Aug 2003; <iggy@gentoo.org> files/seti-init.d-r1:
+ added SETIATHOME_OPTS to the login command, fixes 24231, thanks to Markus
+ Nigbur <pYrania@1337-Designz.de>
+
+ 09 Jul 2003; Martin Holzer <mholzer@gentoo.org> files/seti-init.d-r1:
+ Fixing typo in seti-init.d-r1. Closes #24182.
+
+*setiathome-3.08-r1 (04 May 2003)
+
+ 04 May 2003; Daniel Ahlberg <aliz@gentoo.org> setiathome-3.08-r1.ebuild :
+ Closes #9467.
+
+*setiathome-3.08 (09 Apr 2003)
+
+ 09 Par 2003; Daniel Ahlberg <aliz@gentoo.org> setiathome-3.08.ebuild :
+ Security update. Rewrote package fetching.
+
+*setiathome-3.03-r1 (13 Feb 2003)
+
+ 02 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Added missing changelog entry.
+
+*setiathome-3.03 (19 Jul 2002)
+
+ 04 Feb 2003; Jason Wever <weeve@gentoo.org> setiathome-3.03-r1.ebuild :
+ Added sparc to keywords.
+
+ 04 Nov 2002; Daniel Ahlberg <aliz@gentoo.orv> files/seti-init.d :
+ Updated init.d script to take advantage of SMP. Script contributed by
+ delta407 <delta407@lerfjhax.com> in #7483.
+
+ 19 Sep 2002; Owen Stampflee <owen@gentoo.org> :
+ Added PPC to KEYWORDS.
+
+ 28 Aug 2002; Ryan Phillips <rphillips@gentoo.org> files/seti-init.d-r1 :
+
+ Fixed checkconfig() start bug. Thx to burzmali. Fixes #6645
+
+ 19 Jul 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+
+ Author: Maik Schreiber <bZ@iq-computing.de>
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/sci-astronomy/setiathome/Manifest b/sci-astronomy/setiathome/Manifest
new file mode 100644
index 000000000000..c614b74192a2
--- /dev/null
+++ b/sci-astronomy/setiathome/Manifest
@@ -0,0 +1,12 @@
+MD5 b88d49d7034213ffd58dccd8e72bf931 setiathome-3.03-r2.ebuild 2145
+MD5 70a601a96c3e9cc558cb422f344437c9 setiathome-3.03-r1.ebuild 2191
+MD5 1ef23ddb5c54e88ecb6f24223a355973 ChangeLog 4585
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 a15f527eae2c2117aa8a56bcfe2f3c0c setiathome-3.08-r4.ebuild 2319
+MD5 40c346e90ce3b19f80ee7e10340e9da4 files/seti-init.d-r1 1396
+MD5 9a7e850d8e364823f360c347d3a37ff8 files/digest-setiathome-3.03-r1 342
+MD5 9a7e850d8e364823f360c347d3a37ff8 files/digest-setiathome-3.03-r2 342
+MD5 4383e568b5b768f6fa2f27b3d9a713b9 files/digest-setiathome-3.08-r4 166
+MD5 274302d6ee3462c6362e7223ad35cc9f files/setiathome-wrapper-r1 77
+MD5 2d83ded4bcd8e9b28eb91fc883aec602 files/seti-conf.d-r1 349
+MD5 55dbc721d10de13427eab449d82ed5e9 files/setiathome-wrapper 94
diff --git a/sci-astronomy/setiathome/files/digest-setiathome-3.03-r1 b/sci-astronomy/setiathome/files/digest-setiathome-3.03-r1
new file mode 100644
index 000000000000..8b4a205dcd92
--- /dev/null
+++ b/sci-astronomy/setiathome/files/digest-setiathome-3.03-r1
@@ -0,0 +1,4 @@
+MD5 cb47ccfd01e6f9764edb74ce37aa216b setiathome-3.03.powerpc-unknown-linux-gnu.tar 251904
+MD5 1091488f55cbbfa4451c3f03cc9f8177 setiathome-3.03.sparc-unknown-linux-gnu.tar 165376
+MD5 b52d2b0c29b07a30c5abdb6415927506 setiathome-3.03.ia64-Linux-gnu.tar 1697280
+MD5 8aaeb4f16b4703d6f9cbf91a75ebb0b4 setiathome-3.03.hppa-parisc-palinux.tar 799744
diff --git a/sci-astronomy/setiathome/files/digest-setiathome-3.03-r2 b/sci-astronomy/setiathome/files/digest-setiathome-3.03-r2
new file mode 100644
index 000000000000..8b4a205dcd92
--- /dev/null
+++ b/sci-astronomy/setiathome/files/digest-setiathome-3.03-r2
@@ -0,0 +1,4 @@
+MD5 cb47ccfd01e6f9764edb74ce37aa216b setiathome-3.03.powerpc-unknown-linux-gnu.tar 251904
+MD5 1091488f55cbbfa4451c3f03cc9f8177 setiathome-3.03.sparc-unknown-linux-gnu.tar 165376
+MD5 b52d2b0c29b07a30c5abdb6415927506 setiathome-3.03.ia64-Linux-gnu.tar 1697280
+MD5 8aaeb4f16b4703d6f9cbf91a75ebb0b4 setiathome-3.03.hppa-parisc-palinux.tar 799744
diff --git a/sci-astronomy/setiathome/files/digest-setiathome-3.08-r4 b/sci-astronomy/setiathome/files/digest-setiathome-3.08-r4
new file mode 100644
index 000000000000..759f4e99e3c6
--- /dev/null
+++ b/sci-astronomy/setiathome/files/digest-setiathome-3.08-r4
@@ -0,0 +1,2 @@
+MD5 01d05178bd22c36b2e411dd12f23661a setiathome-3.08.i686-pc-linux-gnu.tar 247808
+MD5 2e2f81600a0a427a759bf3459b068995 setiathome-3.08.x86_64-pc-linux-gnu.tar 224768
diff --git a/sci-astronomy/setiathome/files/seti-conf.d-r1 b/sci-astronomy/setiathome/files/seti-conf.d-r1
new file mode 100644
index 000000000000..99da78b73b1f
--- /dev/null
+++ b/sci-astronomy/setiathome/files/seti-conf.d-r1
@@ -0,0 +1,12 @@
+# Config file for /etc/init.d/setiathome
+
+# specify the number of setiathome processes to start
+SETIATHOME_THREADS="1"
+
+# set up any options you want for setiathome here
+# for more info, `setiathome -h`
+SETIATHOME_OPTIONS="-nice 19"
+
+# this is the directory where setiathome's run-time
+# data files will be stored
+SETIATHOME_DIR=/var/lib/setiathome
diff --git a/sci-astronomy/setiathome/files/seti-init.d-r1 b/sci-astronomy/setiathome/files/seti-init.d-r1
new file mode 100755
index 000000000000..42bd9ff8e368
--- /dev/null
+++ b/sci-astronomy/setiathome/files/seti-init.d-r1
@@ -0,0 +1,63 @@
+#!/sbin/runscript
+
+if [ -z "${SETIATHOME_THREADS}" ]; then
+ SETIATHOME_THREADS=$( egrep -c "^bogomips" /proc/cpuinfo )
+fi
+
+depend() {
+ use net
+}
+
+checkconfig() {
+ SETIBINDIR="/opt/setiathome"
+ if [ ! -e "${SETIATHOME_DIR}" ] ; then
+ einfo "Creating ${SETIATHOME_DIR}"
+ mkdir "${SETIATHOME_DIR}"
+ fi
+
+ if [ ! -e "${SETIATHOME_DIR}/user_info.sah" ] ; then
+ eerror "Please setup SETI@home first by running the following commands:"
+ eerror cd "${SETIATHOME_DIR}"
+ eerror ${SETIBINDIR}/setiathome -login ${SETIATHOME_OPTIONS}
+ return 1
+ fi
+
+ if [ "${SETIATHOME_THREADS}" != '1' ] ; then
+ cd ${SETIATHOME_DIR}
+ for thread in `seq 2 "${SETIATHOME_THREADS}"`; do
+ if [ ! -e "${SETIATHOME_DIR}/thread${thread}" ]; then
+ mkdir "${SETIATHOME_DIR}/thread${thread}"
+ cp "${SETIATHOME_DIR}/user_info.sah" "${SETIATHOME_DIR}/thread${thread}"
+ fi
+ done
+ fi
+ return 0
+}
+
+start() {
+ checkconfig || return 1;
+
+ if [ "${SETIATHOME_THREADS}" = '1' ] ; then
+ ebegin "Starting SETI@home"
+ else
+ ebegin "Starting SETI@home (${SETIATHOME_THREADS} threads)"
+ fi
+
+ for thread in `seq 1 "${SETIATHOME_THREADS}"`; do
+ cd "${SETIATHOME_DIR}"
+ if [ "${thread}" != '1' ]; then
+ cd "thread${thread}"
+ fi
+
+ ${SETIATHOME_DIR}/setiwrapper ${SETIBINDIR} ${SETIATHOME_OPTIONS} >& setiathome.log &
+ done
+
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping SETI@home"
+ killall setiwrapper
+ killall setiathome
+ eend $?
+}
diff --git a/sci-astronomy/setiathome/files/setiathome-wrapper b/sci-astronomy/setiathome/files/setiathome-wrapper
new file mode 100755
index 000000000000..08382b611113
--- /dev/null
+++ b/sci-astronomy/setiathome/files/setiathome-wrapper
@@ -0,0 +1,8 @@
+#!/bin/bash
+cd $(dirname $0)
+dir=${1}
+shift
+while :; do
+ ${dir}/setiathome "$@"
+ wait $?
+done
diff --git a/sci-astronomy/setiathome/files/setiathome-wrapper-r1 b/sci-astronomy/setiathome/files/setiathome-wrapper-r1
new file mode 100755
index 000000000000..26a544a07a64
--- /dev/null
+++ b/sci-astronomy/setiathome/files/setiathome-wrapper-r1
@@ -0,0 +1,7 @@
+#!/bin/bash
+dir=${1}
+shift
+while :; do
+ ${dir}/setiathome "$@"
+ wait $?
+done
diff --git a/sci-astronomy/setiathome/metadata.xml b/sci-astronomy/setiathome/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/sci-astronomy/setiathome/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>
diff --git a/sci-astronomy/setiathome/setiathome-3.03-r1.ebuild b/sci-astronomy/setiathome/setiathome-3.03-r1.ebuild
new file mode 100644
index 000000000000..f0a5883a6151
--- /dev/null
+++ b/sci-astronomy/setiathome/setiathome-3.03-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/setiathome/setiathome-3.03-r1.ebuild,v 1.1 2004/12/24 04:05:54 ribosome Exp $
+
+# no version number on this install dir since upgrades will be using same dir
+# (data will be stored here too)
+I=/opt/setiathome
+
+DESCRIPTION="Search for Extraterrestrial Intelligence (SETI) @ home"
+HOMEPAGE="http://setiathome.ssl.berkeley.edu"
+SRC_URI="ppc? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.powerpc-unknown-linux-gnu.tar )
+ sparc? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.sparc-unknown-linux-gnu.tar )
+ ia64? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.ia64-Linux-gnu.tar )
+ hppa? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.hppa-parisc-palinux.tar )"
+# alpha? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.alpha-unknown-linux-gnu.tar )
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="ppc sparc -alpha hppa ia64"
+IUSE="X"
+RESTRICT="nomirror"
+
+DEPEND=">=sys-apps/baselayout-1.8.0"
+RDEPEND="X? ( virtual/x11 )"
+
+src_unpack () {
+ unpack ${A}
+
+ # find real directory ...
+ dir="`find . -type d -name "${P}*" -mindepth 1 -maxdepth 1 | cut -b "3-"`"
+ # ... and rename it to our desired directory name
+ mv "${dir}" "${P}"
+}
+
+src_install () {
+ insinto ${I}
+ doins setiathome README
+ use X && doins xsetiathome README.xsetiathome
+ fowners nobody:nogroup ${I}
+ fowners nobody:nogroup ${I}/setiathome
+ fperms +sx ${I}/setiathome
+
+ exeinto ${I}
+ newexe ${FILESDIR}/setiathome-wrapper setiwrapper
+ exeinto /etc/init.d ; newexe ${FILESDIR}/seti-init.d-r1 setiathome
+ insinto /etc/conf.d ; newins ${FILESDIR}/seti-conf.d-r1 setiathome
+ echo "SETIATHOME_DIR=${I}">> ${D}/etc/conf.d/setiathome
+}
+
+pkg_postinst() {
+ einfo "To run SETI@home in the background at boot:"
+ einfo " Edit /etc/conf.d/setiathome to setup"
+ einfo " Then just run \`/etc/init.d/setiathome start\`"
+ einfo ""
+ einfo "Otherwise remember to cd into the directory"
+ einfo "where it should keep its data files first, like so:"
+ einfo " cd ${I} && ./setiathome"
+}
+
+pkg_postrm() {
+ einfo "SETI@home data files were not removed."
+ einfo " Remove them manually from ${I}"
+}
diff --git a/sci-astronomy/setiathome/setiathome-3.03-r2.ebuild b/sci-astronomy/setiathome/setiathome-3.03-r2.ebuild
new file mode 100644
index 000000000000..62c9a4d0a9a2
--- /dev/null
+++ b/sci-astronomy/setiathome/setiathome-3.03-r2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/setiathome/setiathome-3.03-r2.ebuild,v 1.1 2004/12/24 04:05:54 ribosome Exp $
+
+# no version number on this install dir since upgrades will be using same dir
+# (data will be stored here too)
+I=/opt/setiathome
+
+DESCRIPTION="Search for Extraterrestrial Intelligence (SETI) @ home"
+HOMEPAGE="http://setiathome.ssl.berkeley.edu"
+SRC_URI="ppc? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.powerpc-unknown-linux-gnu.tar )
+ sparc? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.sparc-unknown-linux-gnu.tar )
+ ia64? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.ia64-Linux-gnu.tar )
+ hppa? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.hppa-parisc-palinux.tar )"
+# alpha? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.alpha-unknown-linux-gnu.tar )
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="ppc sparc -alpha ~hppa ~ia64"
+IUSE="X"
+RESTRICT="nomirror"
+
+DEPEND=">=sys-apps/baselayout-1.8.0"
+RDEPEND="!sparc? ( X? ( virtual/x11 ) )"
+
+src_unpack () {
+ unpack ${A}
+
+ # find real directory ...
+ dir="`find . -type d -name "${P}*" -mindepth 1 -maxdepth 1 | cut -b "3-"`"
+ # ... and rename it to our desired directory name
+ mv "${dir}" "${P}"
+}
+
+src_install () {
+ insinto ${I}
+ doins setiathome README
+ use X && ! use sparc && doins xsetiathome README.xsetiathome
+ fperms +x ${I}/setiathome
+
+ exeinto ${I}
+ newexe ${FILESDIR}/setiathome-wrapper setiwrapper
+ exeinto /etc/init.d ; newexe ${FILESDIR}/seti-init.d-r1 setiathome
+ insinto /etc/conf.d ; newins ${FILESDIR}/seti-conf.d-r1 setiathome
+ echo "SETIATHOME_DIR=${I}">> ${D}/etc/conf.d/setiathome
+}
+
+pkg_postinst() {
+ einfo "To run SETI@home in the background at boot:"
+ einfo " Edit /etc/conf.d/setiathome to setup"
+ einfo " Then just run \`/etc/init.d/setiathome start\`"
+ einfo ""
+ einfo "Otherwise remember to cd into the directory"
+ einfo "where it should keep its data files first, like so:"
+ einfo " cd ${I} && ./setiathome"
+}
+
+pkg_postrm() {
+ einfo "SETI@home data files were not removed."
+ einfo " Remove them manually from ${I}"
+}
diff --git a/sci-astronomy/setiathome/setiathome-3.08-r4.ebuild b/sci-astronomy/setiathome/setiathome-3.08-r4.ebuild
new file mode 100644
index 000000000000..1a600704931a
--- /dev/null
+++ b/sci-astronomy/setiathome/setiathome-3.08-r4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/setiathome/setiathome-3.08-r4.ebuild,v 1.1 2004/12/24 04:05:54 ribosome Exp $
+
+# no version number on this install dir since upgrades will be using same dir
+# (data will be stored here too)
+I=/opt/setiathome
+
+# 3.08 has not yet been released for ppc, sparc or alpha.
+DESCRIPTION="Search for Extraterrestrial Intelligence (SETI) @ home"
+HOMEPAGE="http://setiathome.ssl.berkeley.edu"
+SRC_URI="x86? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.i686-pc-linux-gnu.tar )
+ amd64? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.x86_64-pc-linux-gnu.tar )"
+# ppc? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.powerpc-unknown-linux-gnu.tar )
+# sparc? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.sparc-unknown-linux-gnu.tar )
+# alpha? ( ftp://alien.ssl.berkeley.edu/pub/setiathome-3.03.alpha-unknown-linux-gnu.tar )"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="x86 amd64"
+IUSE="X"
+# Don't know if this is necessary, will have to check the license
+RESTRICT="nomirror"
+
+DEPEND=">=sys-apps/baselayout-1.8.0"
+RDEPEND="X? ( virtual/x11 )"
+
+src_unpack () {
+ unpack ${A}
+
+ # find real directory ...
+ dir="`find . -type d -name "${P}*" -mindepth 1 -maxdepth 1 | \
+ cut -b "3-"`"
+ # ... and rename it to our desired directory name
+ mv "${dir}" "${P}"
+}
+
+src_install () {
+ dodir ${I} /var/lib/setiathome
+ cp {setiathome,README} ${D}/${I}
+ use X && cp {xsetiathome,README.xsetiathome} ${D}/${I}
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/seti-init.d-r1 setiathome
+ insinto /etc/conf.d ; newins ${FILESDIR}/seti-conf.d-r1 setiathome
+
+ exeinto /var/lib/setiathome
+ newexe ${FILESDIR}/setiathome-wrapper-r1 setiwrapper
+}
+
+pkg_postinst () {
+ einfo "To run SETI@home in the background at boot:"
+ einfo " Edit /etc/conf.d/setiathome to setup"
+ einfo " Then just run \`/etc/init.d/setiathome start\`"
+ einfo ""
+ einfo "Otherwise remember to cd into the directory"
+ einfo "where it should keep its data files first, like so:"
+ einfo " cd /var/lib/setiathome && ${I}/setiathome"
+ einfo ""
+ einfo "As of 3.08-r1 data files has moved to /var/lib/setiathome"
+}
+
+pkg_postrm () {
+ einfo "SETI@home data files were not removed."
+ einfo " Remove them manually from /var/lib/setiathome"
+}