summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-04-09 08:39:49 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-04-09 08:39:49 +0000
commitf1a9b329120c9ffb56d51f335c34be31973fac7a (patch)
tree46b5f38fa7b523505a2a6e7ab4b861577e8c264e /app-sci/setiathome
parentunmask (diff)
downloadgentoo-2-f1a9b329120c9ffb56d51f335c34be31973fac7a.tar.gz
gentoo-2-f1a9b329120c9ffb56d51f335c34be31973fac7a.tar.bz2
gentoo-2-f1a9b329120c9ffb56d51f335c34be31973fac7a.zip
Security update
Diffstat (limited to 'app-sci/setiathome')
-rw-r--r--app-sci/setiathome/ChangeLog7
-rw-r--r--app-sci/setiathome/files/digest-setiathome-3.081
-rw-r--r--app-sci/setiathome/setiathome-3.08.ebuild73
3 files changed, 80 insertions, 1 deletions
diff --git a/app-sci/setiathome/ChangeLog b/app-sci/setiathome/ChangeLog
index 78209eb772ef..9e1e3598a1ff 100644
--- a/app-sci/setiathome/ChangeLog
+++ b/app-sci/setiathome/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-sci/setiathome
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/setiathome/ChangeLog,v 1.6 2003/02/12 05:19:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/setiathome/ChangeLog,v 1.7 2003/04/09 08:39:49 aliz Exp $
+
+*setiatome-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 (19 Jul 2002)
diff --git a/app-sci/setiathome/files/digest-setiathome-3.08 b/app-sci/setiathome/files/digest-setiathome-3.08
new file mode 100644
index 000000000000..891eb15ef822
--- /dev/null
+++ b/app-sci/setiathome/files/digest-setiathome-3.08
@@ -0,0 +1 @@
+MD5 01d05178bd22c36b2e411dd12f23661a setiathome-3.08.i686-pc-linux-gnu.tar 247808
diff --git a/app-sci/setiathome/setiathome-3.08.ebuild b/app-sci/setiathome/setiathome-3.08.ebuild
new file mode 100644
index 000000000000..f072a394f2e4
--- /dev/null
+++ b/app-sci/setiathome/setiathome-3.08.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/setiathome/setiathome-3.08.ebuild,v 1.1 2003/04/09 08:39:49 aliz Exp $
+
+IUSE="X"
+
+S="${WORKDIR}/${P}"
+
+# Don't know if this is necessary, will have to check the license
+RESTRICT="nomirror"
+
+# 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.
+
+SRC_URI="x86? ( http://wcarchive.cdrom.com/pub/setiathome/setiathome-${PV}.i686-pc-linux-gnu.tar
+ ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.i686-pc-linux-gnu.tar )"
+# ppc? ( http://wcarchive.cdrom.com/pub/setiathome/setiathome-${PV}.powerpc-unknown-linux-gnu.tar
+# ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.powerpc-unknown-linux-gnu.tar )
+# sparc? ( http://wcarchive.cdrom.com/pub/setiathome/setiathome-${PV}.sparc-unknown-linux-gnu.tar
+# ftp://alien.ssl.berkeley.edu/pub/setiathome-${PV}.sparc-unknown-linux-gnu.tar )
+# alpha? ( http://wcarchive.cdrom.com/pub/setiathome/setiathome-${PV}.alpha-unknown-linux-gnu.tar
+# ftp://alien.ssl.berkeley.edu/pub/setiathome-3.03.alpha-unknown-linux-gnu.tar )"
+
+DESCRIPTION="Search for Extraterrestrial Intelligence (SETI) @ home"
+HOMEPAGE="http://setiathome.ssl.berkeley.edu"
+DEPEND=">=sys-apps/baselayout-1.8.0"
+RDEPEND="X? ( x11-base/xfree )"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="x86 -ppc -sparc -alpha"
+
+src_unpack () {
+ cd ${WORKDIR}
+ 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}
+ cp {setiathome,README} ${D}/${I}
+ use X && cp {xsetiathome,README.xsetiathome} ${D}/${I}
+ chown nobody.nogroup ${D}/${I}
+ chown nobody.nogroup ${D}/${I}/setiathome
+ chmod +s ${S}/setiathome
+
+ 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}"
+}