summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-11-07 20:15:21 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-11-07 20:15:21 +0000
commit43bc8f6d43824dce6b40c4a1a19466a7beba0113 (patch)
tree959e40b203fcb78d3f4da0db2354c6f6db6509ea /app-sci
parentBump to 1.2.17 final (Manifest recommit) (diff)
downloadgentoo-2-43bc8f6d43824dce6b40c4a1a19466a7beba0113.tar.gz
gentoo-2-43bc8f6d43824dce6b40c4a1a19466a7beba0113.tar.bz2
gentoo-2-43bc8f6d43824dce6b40c4a1a19466a7beba0113.zip
Fixed insecure installation for version 3.08 (see bug #69868)
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/setiathome/ChangeLog9
-rw-r--r--app-sci/setiathome/Manifest22
-rw-r--r--app-sci/setiathome/files/digest-setiathome-3.08-r42
-rw-r--r--app-sci/setiathome/setiathome-3.08-r4.ebuild65
4 files changed, 82 insertions, 16 deletions
diff --git a/app-sci/setiathome/ChangeLog b/app-sci/setiathome/ChangeLog
index 63902e051932..481c161ec37a 100644
--- a/app-sci/setiathome/ChangeLog
+++ b/app-sci/setiathome/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-sci/setiathome
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/setiathome/ChangeLog,v 1.23 2004/10/01 14:22:30 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/setiathome/ChangeLog,v 1.24 2004/11/07 20:15:21 ribosome Exp $
+
+*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,
diff --git a/app-sci/setiathome/Manifest b/app-sci/setiathome/Manifest
index ed4d15c646f3..e593c83ecdee 100644
--- a/app-sci/setiathome/Manifest
+++ b/app-sci/setiathome/Manifest
@@ -1,20 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 cbe7ec1dd36e438b7c3c5a052b018718 ChangeLog 3596
-MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
-MD5 70a601a96c3e9cc558cb422f344437c9 setiathome-3.03-r1.ebuild 2191
MD5 478dcb4a32299ed492f2201162d2326d setiathome-3.08-r3.ebuild 2420
+MD5 70a601a96c3e9cc558cb422f344437c9 setiathome-3.03-r1.ebuild 2191
+MD5 9ff3178c0be31c0f943959cd6614ed8e ChangeLog 3801
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 a8665ff3b43acae06e0b7674d52d7140 setiathome-3.08-r4.ebuild 2319
+MD5 40c346e90ce3b19f80ee7e10340e9da4 files/seti-init.d-r1 1396
MD5 9a7e850d8e364823f360c347d3a37ff8 files/digest-setiathome-3.03-r1 342
MD5 4383e568b5b768f6fa2f27b3d9a713b9 files/digest-setiathome-3.08-r3 166
+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 40c346e90ce3b19f80ee7e10340e9da4 files/seti-init.d-r1 1396
MD5 55dbc721d10de13427eab449d82ed5e9 files/setiathome-wrapper 94
-MD5 274302d6ee3462c6362e7223ad35cc9f files/setiathome-wrapper-r1 77
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBYyBsHTu7gpaalycRAnczAJ9IRuXehFHjmR36rtA7W6oeoLXp2QCg4qtT
-ll7dX4W0xXnOsnk63G7ONeY=
-=852D
------END PGP SIGNATURE-----
diff --git a/app-sci/setiathome/files/digest-setiathome-3.08-r4 b/app-sci/setiathome/files/digest-setiathome-3.08-r4
new file mode 100644
index 000000000000..759f4e99e3c6
--- /dev/null
+++ b/app-sci/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/app-sci/setiathome/setiathome-3.08-r4.ebuild b/app-sci/setiathome/setiathome-3.08-r4.ebuild
new file mode 100644
index 000000000000..80b05bbe3e11
--- /dev/null
+++ b/app-sci/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/app-sci/setiathome/setiathome-3.08-r4.ebuild,v 1.1 2004/11/07 20:15:21 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"
+}