diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-cluster/maui/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-cluster/maui/files')
7 files changed, 140 insertions, 0 deletions
diff --git a/sys-cluster/maui/files/3.2.6_p16-autoconf-2.60-compat.patch b/sys-cluster/maui/files/3.2.6_p16-autoconf-2.60-compat.patch new file mode 100644 index 000000000000..e22453dc0b1b --- /dev/null +++ b/sys-cluster/maui/files/3.2.6_p16-autoconf-2.60-compat.patch @@ -0,0 +1,17 @@ +--- maui-3.2.6p16.orig/Makefile.in 2006-05-23 15:20:49.000000000 -0700 ++++ maui-3.2.6p16/Makefile.in 2006-09-25 20:42:24.000000000 -0700 +@@ -18,7 +18,13 @@ + # ============================ + # Resource Manager section + # ============================ +-@ll_definitions@@sdr_definitions@@pbs_definitions@@sge_definitions@@lsf_definitions@@mx_definitions@@pcre_definitions@ ++@ll_definitions@ ++@sdr_definitions@ ++@pbs_definitions@ ++@sge_definitions@ ++@lsf_definitions@ ++@mx_definitions@ ++@pcre_definitions@ + + # ============================ + # Master Makefile for @PACKAGE_NAME@-@PACKAGE_VERSION@ diff --git a/sys-cluster/maui/files/3.2.6_p16-link-pbs-after-moab.patch b/sys-cluster/maui/files/3.2.6_p16-link-pbs-after-moab.patch new file mode 100644 index 000000000000..a4675abe304a --- /dev/null +++ b/sys-cluster/maui/files/3.2.6_p16-link-pbs-after-moab.patch @@ -0,0 +1,25 @@ +--- maui-3.2.6p16.orig/src/server/Makefile 2006-09-25 16:08:33.000000000 -0700 ++++ maui-3.2.6p16/src/server/Makefile 2006-09-25 21:12:47.000000000 -0700 +@@ -88,11 +88,11 @@ + $(CC) $(IP) $(DEFS) $(CFLAGS) $(SOURCE) -c $< + + $(SERVER): $(SOBJECTS) +- $(LD) $(SOBJECTS) -o $(BIN)/$@ $(LP) $(LIBS) $(OSLDFLAGS) ++ $(LD) $(SOBJECTS) -o $(BIN)/$@ $(LIBS) $(LP) $(OSLDFLAGS) + chmod 711 $(BIN)/$@ || true + + mclient: mclient.o +- $(LD) mclient.o -o $(BIN)/$@ $(OSLDFLAGS) $(LP) $(LIBS) ++ $(LD) mclient.o -o $(BIN)/$@ $(OSLDFLAGS) $(LIBS) $(LP) + chmod 751 $(BIN)/$@ + for i in $(MCLIENTS); do \ + ln -f $(BIN)/$@ $(BIN)/$$i; \ +@@ -100,7 +100,7 @@ + done + + mprof: $(POBJECTS) +- $(LD) $(POBJECTS) -o $(BIN)/$@ $(OSLDFLAGS) $(LP) $(LIBS) ++ $(LD) $(POBJECTS) -o $(BIN)/$@ $(OSLDFLAGS) $(LIBS) $(LP) + chmod 751 $(BIN)/$@ + + clean: diff --git a/sys-cluster/maui/files/3.2.6_p16-set-pbs-cflags-ldflags.patch b/sys-cluster/maui/files/3.2.6_p16-set-pbs-cflags-ldflags.patch new file mode 100644 index 000000000000..7455350a0dc0 --- /dev/null +++ b/sys-cluster/maui/files/3.2.6_p16-set-pbs-cflags-ldflags.patch @@ -0,0 +1,26 @@ +--- maui-3.2.6p16.orig/configure.ac 2006-09-25 16:08:33.000000000 -0700 ++++ maui-3.2.6p16/configure.ac 2006-09-25 21:29:17.000000000 -0700 +@@ -149,13 +149,19 @@ + else + AC_MSG_ERROR([Only one Resource Manager can be specified (PBS, $RMTYPE)]) + fi +- if test "$OS" = "OSF"; then +- PBSLIBS="$PBSTARGETDIR/ilib/libnet.a -lpbs" ++ if pbs-config --cflags 1>/dev/null 2>&1;then ++ PBSCFLAGS=`pbs-config --cflags` + else +- PBSLIBS="-lnet -lpbs" ++ PBSCFLAGS=-I$PBSTARGETDIR/include + fi ++ if pbs-config --libs 1>/dev/null 2>&1;then ++ PBSLDFLAGS=`pbs-config --libs` ++ else ++ PBSLDFLAGS="-L$PBSTARGETDIR/lib -lnet -lpbs" ++ fi ++ AC_SUBST(PBSCFLAGS) ++ AC_SUBST(PBSLDFLAGS) + AC_SUBST(PBSTARGETDIR) +- AC_SUBST(PBSLIBS) + AC_SUBST_FILE(pbs_definitions) + pbs_definitions=include/Makefile.inc.pbs + fi diff --git a/sys-cluster/maui/files/3.2.6_p21-autoconf-2.60-compat.patch b/sys-cluster/maui/files/3.2.6_p21-autoconf-2.60-compat.patch new file mode 100644 index 000000000000..9b77a27f88df --- /dev/null +++ b/sys-cluster/maui/files/3.2.6_p21-autoconf-2.60-compat.patch @@ -0,0 +1,11 @@ +--- maui-3.2.6p21.orig/Makefile.in 2006-05-23 15:20:49.000000000 -0700 ++++ maui-3.2.6p21/Makefile.in 2006-09-25 20:42:24.000000000 -0700 +@@ -18,7 +18,7 @@ + # ============================ + # Resource Manager section + # ============================ +-@ll_definitions@@sdr_definitions@@pbs_definitions@@sge_definitions@@lsf_definitions@@mx_definitions@@pcre_definitions@ ++@pbs_definitions@ + + # ============================ + # Master Makefile for @PACKAGE_NAME@-@PACKAGE_VERSION@ diff --git a/sys-cluster/maui/files/maui-3.2.6_p21-pbs-nodefile.patch b/sys-cluster/maui/files/maui-3.2.6_p21-pbs-nodefile.patch new file mode 100644 index 000000000000..90bf80ca661a --- /dev/null +++ b/sys-cluster/maui/files/maui-3.2.6_p21-pbs-nodefile.patch @@ -0,0 +1,23 @@ +--- maui-3.2.6p21/src/moab/MPBSI.c.orig 2010-03-16 12:54:09.000000000 +0100 ++++ maui-3.2.6p21/src/moab/MPBSI.c 2010-03-16 12:57:07.000000000 +0100 +@@ -6406,6 +6406,7 @@ + int tindex; + + char tmpHostName[MAX_MLINE]; ++ char tmpTaskList[MAX_MLINE+10]; + + mnode_t *N; + +@@ -6458,10 +6459,10 @@ + } + else + { +- sprintf(TSBuf,"%s%s:ppn=%d", +- TSBuf, ++ snprintf (tmpTaskList,MAX_MLINE+10,"%s:ppn=%d", + tmpHostName, + NL[tindex].TC); ++ MUStrCat(TSBuf,tmpTaskList,BufSize); + } + } /* END for (tindex) */ + diff --git a/sys-cluster/maui/files/maui-3.3.1-torque_4.patch b/sys-cluster/maui/files/maui-3.3.1-torque_4.patch new file mode 100644 index 000000000000..1e0631555736 --- /dev/null +++ b/sys-cluster/maui/files/maui-3.3.1-torque_4.patch @@ -0,0 +1,14 @@ +diff -ur maui-3.3.1.orig/src/moab/MPBSI.c maui-3.3.1/src/moab/MPBSI.c +--- maui-3.3.1.orig/src/moab/MPBSI.c 2013-07-31 09:36:31.831849229 -0700 ++++ maui-3.3.1/src/moab/MPBSI.c 2013-07-31 09:37:12.951107957 -0700 +@@ -174,8 +174,8 @@ + + extern int pbs_errno; + +-extern int get_svrport(const char *,char *,int); +-extern int openrm(char *,int); ++extern unsigned int get_svrport(char *,char *,unsigned int); ++extern int openrm(char *,unsigned int); + extern int addreq(int,char *); + extern int closerm(int); + extern int pbs_stagein(int,char *,char *,char *); diff --git a/sys-cluster/maui/files/maui.initd b/sys-cluster/maui/files/maui.initd new file mode 100644 index 000000000000..fd7b7e0cc3db --- /dev/null +++ b/sys-cluster/maui/files/maui.initd @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need net + after pbs_server slurmctld + before pbs_mom slurmd + after logger +} + +start() { + ebegin "Starting Maui scheduler" + start-stop-daemon --start --exec /usr/sbin/maui + eend ${?} +} + +stop() { + ebegin "Stopping Maui scheduler" + start-stop-daemon --stop -p /var/spool/maui/maui.pid + eend ${?} +} +# vim:ts=4 |