summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2003-02-28 11:37:15 +0000
committerMichael Imhof <tantive@gentoo.org>2003-02-28 11:37:15 +0000
commitf55252162f79d99684b57ad18392bdfafeb431bb (patch)
tree4e277410cc1c7e3ef428a39cd453773f199c667a /app-sci
parentfilter -foptimize-sibling-calls, fix bug #13453 (diff)
downloadgentoo-2-f55252162f79d99684b57ad18392bdfafeb431bb.tar.gz
gentoo-2-f55252162f79d99684b57ad18392bdfafeb431bb.tar.bz2
gentoo-2-f55252162f79d99684b57ad18392bdfafeb431bb.zip
Changed /bin/grep to /usr/bin/grep, added headers. This closes #16500
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/zetagrid/ChangeLog9
-rw-r--r--app-sci/zetagrid/files/digest-zetagrid-1.0-r62
-rw-r--r--app-sci/zetagrid/files/zeta.sh4
-rw-r--r--app-sci/zetagrid/files/zeta_progress.sh4
-rw-r--r--app-sci/zetagrid/files/zetagrid.init10
-rw-r--r--app-sci/zetagrid/zetagrid-1.0-r6.ebuild49
6 files changed, 75 insertions, 3 deletions
diff --git a/app-sci/zetagrid/ChangeLog b/app-sci/zetagrid/ChangeLog
index eb526190e26f..2cf6ff54af7b 100644
--- a/app-sci/zetagrid/ChangeLog
+++ b/app-sci/zetagrid/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-sci/zetagrid
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/zetagrid/ChangeLog,v 1.8 2003/02/25 00:15:24 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/zetagrid/ChangeLog,v 1.9 2003/02/28 11:37:15 tantive Exp $
+
+*zetagrid-1.0-r6 (28 Feb 2003)
+
+ 28 Feb 2003; Michael Imhof <tantive@gentoo.org> :
+ Changed /bin/grep to /usr/bin/grep in zeta.init.
+ Added headers for zeta.init, zeta_progress.sh and zeta.sh
+ This closes #16500
*zetagrid-1.0-r5 (25 Feb 2003)
diff --git a/app-sci/zetagrid/files/digest-zetagrid-1.0-r6 b/app-sci/zetagrid/files/digest-zetagrid-1.0-r6
new file mode 100644
index 000000000000..13ffefbbaa20
--- /dev/null
+++ b/app-sci/zetagrid/files/digest-zetagrid-1.0-r6
@@ -0,0 +1,2 @@
+MD5 6140753720c3276f348aa5c855ad6079 zeta_cmd.zip 46403
+MD5 fce1921170a936c7b234ec071953eea5 zeta_progress.zip 5874
diff --git a/app-sci/zetagrid/files/zeta.sh b/app-sci/zetagrid/files/zeta.sh
index bfd6750a2d65..9c3fc99ef242 100644
--- a/app-sci/zetagrid/files/zeta.sh
+++ b/app-sci/zetagrid/files/zeta.sh
@@ -1,3 +1,7 @@
+# $Header:
+/home/cvsroot/gentoo-x86/app-sci/zetagrid/zetagrid-1.0-r5.ebuild,v 1.1
+2003/02/25 22:51:26 tantive Exp $
+
# ======================================================================
# zeta.sh Start script for the ZetaGrid client
# ----------------------------------------------------------------------
diff --git a/app-sci/zetagrid/files/zeta_progress.sh b/app-sci/zetagrid/files/zeta_progress.sh
index b7106f31a425..eeb813d39f3c 100644
--- a/app-sci/zetagrid/files/zeta_progress.sh
+++ b/app-sci/zetagrid/files/zeta_progress.sh
@@ -1,3 +1,7 @@
+# $Header:
+/home/cvsroot/gentoo-x86/app-sci/zetagrid/zetagrid-1.0-r5.ebuild,v 1.1
+2003/02/25 22:51:26 tantive Exp $
+
# ======================================================================
# zeta_progress.sh Start script for the ZetaGrid progress utility
# ----------------------------------------------------------------------
diff --git a/app-sci/zetagrid/files/zetagrid.init b/app-sci/zetagrid/files/zetagrid.init
index b08469a51c66..5b5d706a34a6 100644
--- a/app-sci/zetagrid/files/zetagrid.init
+++ b/app-sci/zetagrid/files/zetagrid.init
@@ -1,3 +1,9 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+/home/cvsroot/gentoo-x86/app-sci/zetagrid/zetagrid-1.0-r5.ebuild,v 1.1
+2003/02/25 22:51:26 tantive Exp $
+
#!/sbin/runscript
opts="${opts} progress"
@@ -6,7 +12,7 @@ ZETADIR=/opt/zetagrid/
start() {
ebegin "Starting zetagrid"
cd ${ZETADIR}
- JAVA_HOME="`/bin/grep -e "JAVA_HOME" /etc/profile.env | sed -e "s/^.*'\(.*\)'$/\1/"`"
+ JAVA_HOME="`/usr/bin/grep -e "JAVA_HOME" /etc/profile.env | sed -e "s/^.*'\(.*\)'$/\1/"`"
export PATH=$PATH:$JAVA_HOME/bin
./zeta.sh >/dev/null
eend $? "Failed to start zetagrid"
@@ -30,4 +36,4 @@ progress() {
else
eend $? "zetagrid is not started"
fi
-} \ No newline at end of file
+}
diff --git a/app-sci/zetagrid/zetagrid-1.0-r6.ebuild b/app-sci/zetagrid/zetagrid-1.0-r6.ebuild
new file mode 100644
index 000000000000..91b8b0741a21
--- /dev/null
+++ b/app-sci/zetagrid/zetagrid-1.0-r6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/zetagrid/zetagrid-1.0-r6.ebuild,v 1.1 2003/02/28 11:37:15 tantive Exp $
+
+S=${WORKDIR}/zetagrid-${PV}
+DESCRIPTION="An open source and platform independent grid system"
+SRC_URI="http://www.zetagrid.net/zeta/zeta_cmd.zip http://www.zetagrid.net/zeta/add-ons/zeta_progress.zip"
+HOMEPAGE="http://www.zetagrid.net http://cvs.gentoo.org/~tantive"
+IUSE=""
+
+DEPEND="virtual/glibc
+ app-arch/unzip"
+RDEPEND="virtual/jre
+ >=sys-libs/lib-compat-1.1"
+SLOT="0"
+LICENSE="unknown"
+KEYWORDS="x86 ppc -sparc alpha"
+
+src_unpack() {
+ unpack zeta_cmd.zip zeta_progress.zip
+ if test -e /opt/zetagrid/zeta.cfg; then
+ cp /opt/zetagrid/zeta.cfg ${WORKDIR}/zeta.cfg
+ fi
+}
+
+src_install() {
+ dodir /opt/zetagrid
+ cp ${FILESDIR}/zeta.sh ${D}/opt/zetagrid
+ cp ${FILESDIR}/zeta_progress.sh ${D}/opt/zetagrid
+ cp ${WORKDIR}/* ${D}/opt/zetagrid
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/zetagrid.init zetagrid
+}
+
+pkg_postinst() {
+ einfo "Zetagrid is now installed in /opt/zetagrid"
+ einfo "Please change zeta.cfg for configuration issues!"
+ einfo "More information about setup can be found at"
+ einfo "http://cvs.gentoo.org/~tantive"
+ einfo
+ einfo "Zetagrid can be started using zeta.sh"
+ einfo "Progress information is displayed by zeta_progress.sh or"
+ einfo "by "java -cp zeta_progress.jar zeta.JShowProgress"."
+ einfo
+ ewarn "If you're getting an error at first execution"
+ ewarn "please run it a second time, this issue is known"
+ ewarn "and only happens at the very first start."
+}
+