public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/slurm/
Date: Sun,  3 Jul 2011 16:41:51 +0000 (UTC)	[thread overview]
Message-ID: <70cccd04ce59de9737af9d6d25629b28c952b0b4.alexxy@gentoo> (raw)

commit:     70cccd04ce59de9737af9d6d25629b28c952b0b4
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  3 16:40:03 2011 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Jul  3 16:40:55 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=70cccd04

[sys-cluster/slurm] Initial import

(Portage version: 2.2.0_alpha43/git/Linux x86_64, signed Manifest commit with key F82F92E6)

---
 sys-cluster/slurm/metadata.xml       |   11 ++++++++
 sys-cluster/slurm/slurm-2.2.7.ebuild |   45 ++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+), 0 deletions(-)

diff --git a/sys-cluster/slurm/metadata.xml b/sys-cluster/slurm/metadata.xml
new file mode 100644
index 0000000..c28e41a
--- /dev/null
+++ b/sys-cluster/slurm/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>cluster</herd>
+	<maintainer>
+		<email>alexxy@gentoo.org</email>
+	</maintainer>
+	<use>
+		<flag name='munge'>Enable authentication via munge.</flag>
+	</use>
+</pkgmetadata>

diff --git a/sys-cluster/slurm/slurm-2.2.7.ebuild b/sys-cluster/slurm/slurm-2.2.7.ebuild
new file mode 100644
index 0000000..f5f29ee
--- /dev/null
+++ b/sys-cluster/slurm/slurm-2.2.7.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils pam
+
+DESCRIPTION="SLURM: A Highly Scalable Resource Manager"
+HOMEPAGE="https://computing.llnl.gov/linux/slurm/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="munge mysql pam postgres ssl static"
+
+DEPEND="
+	mysql? ( dev-db/mysql )
+	munge? ( sys-auth/munge )
+	pam? ( virtual/pam )
+	postgres? ( dev-db/postgresql-base )
+	ssl? ( dev-libs/openssl )
+	>=sys-apps/hwloc-1.1.1-r1"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+	enewgroup slurm
+	enewuser slurm -1 -1 /var/spool/slurm slurm
+}
+
+pkg_config() {
+	local myconf=(
+			--sysconfdir="${EPREFIX}/etc/${PN}"
+			--with-hwloc="${ED}/usr"
+			)
+	use pam && myconf+=( --with_pam_dir=$(getpam_mod_dir) )
+	use mysql && myconf+=( --with-mysql_config="${EPREFIX}/usr/bin/mysql_config" )
+	use postgres && myconf+=( --with-pg_config="${EPREFIX}/usr/bin/pg_config" )
+	econf "${myconf[@]}" \
+		$(use_enable pam) \
+		$(use_with ssl) \
+		$(use_with munge) \
+		$(use_enable static)
+}



             reply	other threads:[~2011-07-03 19:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-03 16:41 Alexey Shvetsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-07-03 16:56 [gentoo-commits] proj/sci:master commit in: sys-cluster/slurm/ Alexey Shvetsov
2011-07-03 16:58 Alexey Shvetsov
2011-07-03 16:59 Alexey Shvetsov
2011-07-03 19:07 Alexey Shvetsov
2011-07-03 19:15 Alexey Shvetsov
2011-07-03 19:22 Alexey Shvetsov
2011-07-03 19:31 Alexey Shvetsov
2011-07-03 19:37 Alexey Shvetsov
2011-07-03 19:58 Alexey Shvetsov
2011-07-03 20:27 Alexey Shvetsov
2011-07-03 21:57 Alexey Shvetsov
2011-07-03 22:15 Alexey Shvetsov
2011-07-03 22:40 Alexey Shvetsov
2011-07-03 23:14 Alexey Shvetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=70cccd04ce59de9737af9d6d25629b28c952b0b4.alexxy@gentoo \
    --to=alexxy@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox