summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-11-07 19:16:41 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-11-07 19:16:41 +0000
commit0c3e608863f9cb979ee865ceaa32a144a11da22b (patch)
treee531c651cb6af7904f20f9aedc65bcf0e87fd2e0 /app-sci
parentdarwin libstreams initial commit. closes bug 58608 (Manifest recommit) (diff)
downloadgentoo-2-0c3e608863f9cb979ee865ceaa32a144a11da22b.tar.gz
gentoo-2-0c3e608863f9cb979ee865ceaa32a144a11da22b.tar.bz2
gentoo-2-0c3e608863f9cb979ee865ceaa32a144a11da22b.zip
Fixed insecure installation (see bug #69868)
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/chessbrain/ChangeLog8
-rw-r--r--app-sci/chessbrain/Manifest4
-rw-r--r--app-sci/chessbrain/chessbrain-20407-r1.ebuild48
-rw-r--r--app-sci/chessbrain/files/digest-chessbrain-20407-r11
4 files changed, 59 insertions, 2 deletions
diff --git a/app-sci/chessbrain/ChangeLog b/app-sci/chessbrain/ChangeLog
index 5eee3d0aa195..8226bc19b048 100644
--- a/app-sci/chessbrain/ChangeLog
+++ b/app-sci/chessbrain/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-sci/chessbrain
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/chessbrain/ChangeLog,v 1.9 2004/08/07 21:16:40 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/chessbrain/ChangeLog,v 1.10 2004/11/07 19:16:41 ribosome Exp $
+
+*chessbrain-20407-r1 (07 Nov 2004)
+
+ 07 Nov 2004; Olivier Fisette <ribosome@gentoo.org>
+ +chessbrain-20407-r1.ebuild:
+ Fixed insecure installation (see bug #69868).
07 Aug 2004; Tom Martin <slarti@gentoo.org> chessbrain-20314.ebuild:
Typo in DESCRIPTION: distibuted -> distributed. Bug 59717.
diff --git a/app-sci/chessbrain/Manifest b/app-sci/chessbrain/Manifest
index bb2c707f4cff..72ff7098863b 100644
--- a/app-sci/chessbrain/Manifest
+++ b/app-sci/chessbrain/Manifest
@@ -1,8 +1,10 @@
MD5 25a8530236276fd1ecbaba8fadd3cc66 chessbrain-20314.ebuild 1334
MD5 7d4195879c8596e37202c8ec98239e29 chessbrain-20407.ebuild 1416
-MD5 f6d04a9197fbf140836e8ae888825103 ChangeLog 1740
+MD5 efdd4dd8f1d0f9be0b1a1928f717d949 ChangeLog 1909
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 68621c40cbfca995071e398e130dfade chessbrain-20407-r1.ebuild 1337
MD5 628a940ece7bcac03be879283f329f06 files/cb-init.d 1212
MD5 21546836ab82e2c40703f8d5a6c57491 files/digest-chessbrain-20314 67
MD5 c22395b25da500b1599da7372446505f files/digest-chessbrain-20407 67
+MD5 c22395b25da500b1599da7372446505f files/digest-chessbrain-20407-r1 67
MD5 7271441b59160948a7504c35eac50efa files/cb-conf.d 112
diff --git a/app-sci/chessbrain/chessbrain-20407-r1.ebuild b/app-sci/chessbrain/chessbrain-20407-r1.ebuild
new file mode 100644
index 000000000000..99583cf24da1
--- /dev/null
+++ b/app-sci/chessbrain/chessbrain-20407-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/chessbrain/chessbrain-20407-r1.ebuild,v 1.1 2004/11/07 19:16:41 ribosome Exp $
+
+MY_PV=${PV}-01
+DESCRIPTION="client for the ChessBrain distributed computing project"
+HOMEPAGE="http://www.chessbrain.net/"
+SRC_URI="http://www.chessbrain.net/client${MY_PV}-lin.tgz"
+
+LICENSE="freedist"
+IUSE=""
+SLOT="0"
+KEYWORDS="x86"
+
+S=${WORKDIR}
+
+DEPEND=""
+RDEPEND="
+ sys-fs/e2fsprogs
+ sys-libs/lib-compat"
+
+# no version number on this install dir since upgrades will be using same dir
+# (data will be stored here too)
+I=/opt/chessbrain
+
+src_install() {
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/cb-init.d chessbrain
+ insinto /etc/conf.d
+ newins ${FILESDIR}/cb-conf.d chessbrain
+ echo "CHESSBRAIN_DIR=${I}">> ${D}/etc/conf.d/chessbrain
+
+ insinto ${I}
+ doins cbspn.conf
+ exeinto ${I}
+ doexe cbspn
+}
+
+pkg_postinst() {
+ einfo "To run ChessBrain in the background at boot:"
+ einfo " Edit ${I}/cbspn.conf for information relevant to ChessBrain"
+ einfo " See http://www.chessbrain.net/peernodenotes.html"
+ einfo " Then just run \`/etc/init.d/chessbrain start\`"
+ einfo
+ einfo "Otherwise remember to cd into the directory"
+ einfo "where it should keep its data files first, like so:"
+ einfo " cd ${I} && ./cbspn"
+}
diff --git a/app-sci/chessbrain/files/digest-chessbrain-20407-r1 b/app-sci/chessbrain/files/digest-chessbrain-20407-r1
new file mode 100644
index 000000000000..4b0eb737628a
--- /dev/null
+++ b/app-sci/chessbrain/files/digest-chessbrain-20407-r1
@@ -0,0 +1 @@
+MD5 fca2b97189c6e5a9e3b2ade4ca4857e0 client20407-01-lin.tgz 133444