summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2003-06-03 12:56:17 +0000
committerMichael Imhof <tantive@gentoo.org>2003-06-03 12:56:17 +0000
commiteabc653499e07936d901eaf050ef38fe19d7a30c (patch)
treec4cd61616be77d9b934819dec9edbd5f0fe31e68 /sys-cluster
parentOlivier Crete <tester@tester.ca> added support for crypt flag (diff)
downloadgentoo-2-eabc653499e07936d901eaf050ef38fe19d7a30c.tar.gz
gentoo-2-eabc653499e07936d901eaf050ef38fe19d7a30c.tar.bz2
gentoo-2-eabc653499e07936d901eaf050ef38fe19d7a30c.zip
Olivier Crete <tester@tester.ca> added support for crypt flag
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/openpbs/ChangeLog6
-rw-r--r--sys-cluster/openpbs/Manifest2
-rw-r--r--sys-cluster/openpbs/files/digest-openpbs-2.3.16-r10
-rw-r--r--sys-cluster/openpbs/openpbs-2.3.16-r1.ebuild80
4 files changed, 87 insertions, 1 deletions
diff --git a/sys-cluster/openpbs/ChangeLog b/sys-cluster/openpbs/ChangeLog
index 3d167094c7df..35e84137d3b4 100644
--- a/sys-cluster/openpbs/ChangeLog
+++ b/sys-cluster/openpbs/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
# $Header: /home/cvsroot/gentoo-x86/sys-cluster/openpbs/ChangeLog
+*openpbs-2.3.16-r1 (03 Jun 2003)
+
+ 03 Jun 2003; Michael Imhof <tantive@gentoo.org>
+ Olivier Crete <tester@tester.ca> added support for crypt flag
+ (to use rcp and not scp)and doc flag.
+ Ebuild was submitted by Marc St-Pierre <marc@cyberlogic.ca>.
*openpbs-2.3.16 (04 Nov 2002)
diff --git a/sys-cluster/openpbs/Manifest b/sys-cluster/openpbs/Manifest
index 50acdf5e6dc4..ca19cfce1ffa 100644
--- a/sys-cluster/openpbs/Manifest
+++ b/sys-cluster/openpbs/Manifest
@@ -1,4 +1,4 @@
-MD5 006a6e08fdf1ab0cd0dff78ae75157a6 openpbs-2.3.16-r1.ebuild 2375
+MD5 1fbe24c549c3ed35b0a7f5ad55e7bc92 openpbs-2.3.16-r1.ebuild 2379
MD5 d3e29a2322689c4fed15425d6fb7067f openpbs-2.3.16.ebuild 2286
MD5 8cbbfa8e697606284486a26abe40f17f ChangeLog 1055
MD5 49fb3f2f647a254c00afde279a3bd724 files/digest-openpbs-2.3.16 67
diff --git a/sys-cluster/openpbs/files/digest-openpbs-2.3.16-r1 b/sys-cluster/openpbs/files/digest-openpbs-2.3.16-r1
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/sys-cluster/openpbs/files/digest-openpbs-2.3.16-r1
diff --git a/sys-cluster/openpbs/openpbs-2.3.16-r1.ebuild b/sys-cluster/openpbs/openpbs-2.3.16-r1.ebuild
new file mode 100644
index 000000000000..360e7f4a5742
--- /dev/null
+++ b/sys-cluster/openpbs/openpbs-2.3.16-r1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openpbs/openpbs-2.3.16-r1.ebuild,v 1.1 2003/06/03 12:56:02 tantive Exp $
+
+NAME=`echo ${P} | sed -e "s|openpbs-|OpenPBS_|; y|.|_|"`
+A=${NAME}.tar.gz
+S="${WORKDIR}/${NAME}"
+
+DESCRIPTION="The Portable Batch System (PBS) is a flexible batch queueing and workload management system"
+HOMEPAGE="http://www.openpbs.org/"
+LICENSE="openpbs"
+
+SLOT="0"
+KEYWORDS="x86"
+IUSE="X tcltk crypt doc"
+
+DEPEND="virtual/glibc
+ X? ( x11-base/xfree )
+ tcltk? ( dev-lang/tcl )"
+RDEPEND="${DEPEND} crypt? ( net-misc/openssh )"
+
+
+src_unpack() {
+ if [ ! -e ${DISTDIR}/${A} ] ; then
+ einfo "Due to license issues you have to download"
+ einfo "the appropriate openpbs archive:"
+ einfo "http://www.openpbs.org/UserArea/Download/"${A}
+ einfo ""
+ einfo "The archive should be placed into ${DISTDIR}."
+
+ die "package archive not found"
+ fi
+
+ cd ${WORKDIR}
+ unpack ${A}
+ cd ${S}
+ # apply a patch I made for gcc3.
+ # maybe this should be done with sed but I'm too lazy
+ patch -p0 < ${FILESDIR}/makedepend-sh-gcc3.patch
+
+ # this thing doesn't use make install, but rather it's own install script
+ # fix it here so the install dirs are set to the ${D} directory
+ cd buildutils
+ mv pbs_mkdirs.in pbs_mkdirs.in-orig
+ sed -e "s|prefix=@prefix@|prefix=\${D}@prefix@| ; \
+ s|PBS_SERVER_HOME=@PBS_SERVER_HOME@|PBS_SERVER_HOME=\${D}@PBS_SERVER_HOME@| ; \
+ s|PBS_DEFAULT_FILE=@PBS_DEFAULT_FILE@|PBS_DEFAULT_FILE=\${D}@PBS_DEFAULT_FILE@| ; \
+ s|PBS_ENVIRON=@PBS_ENVIRON@|PBS_ENVIRON=\${D}@PBS_ENVIRON@|" \
+ pbs_mkdirs.in-orig > pbs_mkdirs.in
+}
+
+src_compile() {
+ local myconf
+ use X || myconf="--disable-gui"
+ use tcltk && myconf="${myconf} --with-tcl"
+
+ use crypt && myconf="${myconf} --with-scp"
+ use doc && myconf="${myconf} --enable-docs"
+
+ ./configure ${myconf} \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-server \
+ --enable-clients \
+ --set-server-home=/var/spool/PBS \
+ --set-environ=/etc/pbs_environment \
+ --enable-mom || die "./configure failed"
+
+ make || die
+}
+
+src_install() {
+
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ PBS_SERVER_HOME=${D}/var/spool/PBS \
+ install || die
+
+ dodoc INSTALL PBS_License.text Read.Me Release_Notes
+}