Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 123997 Details for
Bug 183540
sys-cluster/moab-5.1.0_p5 (New package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
moab-5.1.0_p5.ebuild
moab-5.1.0_p5.ebuild (text/plain), 2.42 KB, created by
Justin Bronder (RETIRED)
on 2007-07-05 19:43:08 UTC
(
hide
)
Description:
moab-5.1.0_p5.ebuild
Filename:
MIME Type:
Creator:
Justin Bronder (RETIRED)
Created:
2007-07-05 19:43:08 UTC
Size:
2.42 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/maui-3.2.6_p16.ebuild,v 1.2 2007/05/12 00:10:05 dberkholz Exp $ > >inherit autotools eutils multilib > >DESCRIPTION="Moab Cluster Scheduler" >HOMEPAGE="http://www.clusterresources.com/products/moab/" >SRC_URI="http://www.clusterresources.com/downloads/moab/${P/_/}.tar.gz" >IUSE="suid" >DEPEND="virtual/pbs" >RDEPEND="${DEPEND} > virtual/libc" >SLOT="0" >LICENSE="moab" >KEYWORDS="~ppc64 ~ppc" >RESTRICT="fetch nomirror" > >S="${WORKDIR}/${P/_p5/}" >src_unpack() { > unpack "${A}" > cd "${S}" > > # Force tools to /usr/share/moab > sed -i 's:$(INST_DIR)/tools:$(DATA_DIR)/tools:g' src/server/Makefile.in > sed -i 's:tools $(INST_DIR):tools $(DATA_DIR):' src/server/Makefile.in > sed -i '/^INST_DIR.*/ { > s/\(.*\)/\1\nDATA_DIR = ${INST_DIR}\/share\/moab/ }' Makefile.include.in > > # The following wipes out the distributed ./configure that is home-grown > # and replaces it with the autotools version, changing configure arguments. > eautoreconf >} > >src_compile() { > cd "${S}" > # Check for an existing build key. > local myconf="" > if [ -f ${ROOT}/var/spool/moab/.moab.key ]; then > myconf="--with-key=$(< ${ROOT}/var/spool/moab/.moab.key)" > fi > > econf \ > --with-pbs=/usr/$(get_libdir)/pbs \ > --with-homedir=/var/spool/moab \ > --with-machine=localhost ${myconf} \ > || die "configure failed!" > emake || die "emake failed!" >} > >src_install() { > emake install MSCHED_HOME=${D}/var/spool/moab INST_DIR=${D}/usr > > use suid && fperms +s /usr/bin/mauth > > keepdir /var/spool/moab/ > homedirs="spool log stats tools traces" > for i in $homedirs; do > dodir /var/spool/moab/${i} > keepdir /var/spool/moab/${i} > done > > newinitd ${FILESDIR}/moab-init.d moab > newenvd ${FILESDIR}/25moab 25moab > doman docs/*.1 > dodoc *RELEASENOTES.txt CHANGES ReleaseNotes README >} > >pkg_postinst() { > local key=$(awk '/MBUILD_SKEY/{print $3}' ${S}/include/moab-local.h | sed 's/"//g') > echo ${key} > ${D}/var/spool/moab/.moab.key > chmod 400 ${D}/var/spool/moab/.moab.key > elog "Moab builds with a special key which has been installed to" > elog "/var/spool/moab/.moab.key Any machine talking to the" > elog "moab server needs to have the same key. This file must" > elog "be owned by the primary moab admin, and the same owner of" > elog "/usr/bin/mauth, typically root." > elog "On machines just using the moab utilities, the file can be" > elog "readable by everyone" >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 183540
:
123321
|
123323
|
123325
|
123400
|
123995
| 123997 |
124076