summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-11-07 21:30:05 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-11-07 21:30:05 +0000
commit04604935cb782e6dd60c0038e5a1bd1397341fda (patch)
treeeec12c4f18de14d61dbad1f8a377664071bd1862
parent(no commit message) (diff)
downloadhistorical-04604935cb782e6dd60c0038e5a1bd1397341fda.tar.gz
historical-04604935cb782e6dd60c0038e5a1bd1397341fda.tar.bz2
historical-04604935cb782e6dd60c0038e5a1bd1397341fda.zip
Fixed insecure installation (see bug #69868). Security will take care of keywording.
-rw-r--r--app-sci/setiathome/ChangeLog9
-rw-r--r--app-sci/setiathome/Manifest4
-rw-r--r--app-sci/setiathome/files/digest-setiathome-3.03-r24
-rw-r--r--app-sci/setiathome/setiathome-3.03-r2.ebuild60
4 files changed, 75 insertions, 2 deletions
diff --git a/app-sci/setiathome/ChangeLog b/app-sci/setiathome/ChangeLog
index 481c161ec37a..9868e1980b46 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.24 2004/11/07 20:15:21 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/setiathome/ChangeLog,v 1.25 2004/11/07 21:30:05 ribosome Exp $
+
+*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)
diff --git a/app-sci/setiathome/Manifest b/app-sci/setiathome/Manifest
index ff3bfc19a8ba..0b01dba98a79 100644
--- a/app-sci/setiathome/Manifest
+++ b/app-sci/setiathome/Manifest
@@ -1,10 +1,12 @@
+MD5 724bed7d2e88925c0eeda5172f8ed47b setiathome-3.03-r2.ebuild 2097
MD5 478dcb4a32299ed492f2201162d2326d setiathome-3.08-r3.ebuild 2420
MD5 70a601a96c3e9cc558cb422f344437c9 setiathome-3.03-r1.ebuild 2191
-MD5 b7cb81867b23f3248ae93fbbaa162f66 ChangeLog 3801
+MD5 647fd7e54bf58e62410fb1eb9e18761b ChangeLog 4023
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-r3 166
MD5 4383e568b5b768f6fa2f27b3d9a713b9 files/digest-setiathome-3.08-r4 166
MD5 274302d6ee3462c6362e7223ad35cc9f files/setiathome-wrapper-r1 77
diff --git a/app-sci/setiathome/files/digest-setiathome-3.03-r2 b/app-sci/setiathome/files/digest-setiathome-3.03-r2
new file mode 100644
index 000000000000..8b4a205dcd92
--- /dev/null
+++ b/app-sci/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/app-sci/setiathome/setiathome-3.03-r2.ebuild b/app-sci/setiathome/setiathome-3.03-r2.ebuild
new file mode 100644
index 000000000000..5bb926807909
--- /dev/null
+++ b/app-sci/setiathome/setiathome-3.03-r2.ebuild
@@ -0,0 +1,60 @@
+# 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.03-r2.ebuild,v 1.1 2004/11/07 21:30:05 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
+
+ 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}"
+}