|
From: Jeff S. <jsq...@us...> - 2005-02-28 23:15:30
|
Update of /cvsroot/env-switcher/default-manpath In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18637 Added Files: .cvsignore AUTHORS.OSCAR LICENSE.OSCAR Makefile.am README.OSCAR autogen.sh configure.ac Log Message: First cut --- NEW FILE: .cvsignore --- configure config.status config.log Makefile Makefile.in aclocal.m4 autom4te.cache --- NEW FILE: AUTHORS.OSCAR --- Modules OSCAR RPM Authors ========================= The ids in parenthesis are those used in CVS commit notices Current Authors --------------- Indiana University: - Jeff Squyres (jsquyres) --- NEW FILE: LICENSE.OSCAR --- Software License for modules-oscar Copyright (c) 2005 The Trustees of Indiana University. All rights reserved. Indiana University has the exclusive rights to license this product under the following license. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1) All redistributions of source code must retain the above copyright notice, the list of authors in the original source code, this list of conditions and the disclaimer listed in this license; 2) All redistributions in binary form must reproduce the above copyright notice, this list of conditions and the disclaimer listed in this license in the documentation and/or other materials provided with the distribution; 3) Any documentation included with all redistributions must include the following acknowledgement: "This product includes software developed at the the Pervasive Technology Labs at Indiana University. For technical information contact Andrew Lumsdaine at the Pervasive Technology Labs at Indiana University. For administrative and license questions contact the Advanced Research and Technology Institute at 1100 Waterway Blvd. Indianapolis, Indiana 46202, phone 317-274-5905, fax 317-274-5902." Alternatively, this acknowledgement may appear in the software itself, and wherever such third-party acknowledgments normally appear. 4) The name "modules-oscar" shall not be used to endorse or promote products derived from this software without prior written permission from Indiana University. For written permission, please contact Indiana University Advanced Research & Technology Institute. 5) Products derived from this software may not be called or "modules-oscar", nor may "modules-oscar" appear in their name, without prior written permission of Indiana University Advanced Research & Technology Institute. Indiana University provides no reassurances that the source code provided does not infringe the patent or any other intellectual property rights of any other entity. Indiana University disclaims any liability to any recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. LICENSEE UNDERSTANDS THAT SOFTWARE IS PROVIDED "AS IS" FOR WHICH NO WARRANTIES AS TO CAPABILITIES OR ACCURACY ARE MADE. INDIANA UNIVERSITY GIVES NO WARRANTIES AND MAKES NO REPRESENTATION THAT SOFTWARE IS FREE OF INFRINGEMENT OF THIRD PARTY PATENT, COPYRIGHT, OR OTHER PROPRIETARY RIGHTS. INDIANA UNIVERSITY MAKES NO WARRANTIES THAT SOFTWARE IS FREE FROM "BUGS", "VIRUSES", "TROJAN HORSES", "TRAP DOORS", "WORMS", OR OTHER HARMFUL CODE. LICENSEE ASSUMES THE ENTIRE RISK AS TO THE PERFORMANCE OF SOFTWARE AND/OR ASSOCIATED MATERIALS, AND TO THE PERFORMANCE AND VALIDITY OF INFORMATION GENERATED USING SOFTWARE. Indiana University has the exclusive rights to license this product under this license. --- NEW FILE: Makefile.am --- # -*- makefile -*- # # Copyright (c) 2005 The Trustees of Indiana University. # All rights reserved. # # This file is part of the modules-default-manpath-oscar software # package. For license information, see the LICENSE file in the # top-level directory of the modules-default-manpath-oscar source # distribution. # # $Id: Makefile.am,v 1.1 2005/02/28 23:15:21 jsquyres Exp $ # include $(top_srcdir)/dist/Makefile.options SUBDIRS = dist src EXTRA_DIST = AUTHORS.OSCAR README.OSCAR LICENSE.OSCAR rpm: if test ! -f modules-oscar-$(MORPM_VERSION).tar.gz; then \ make dist; \ fi (cd dist; ./buildrpm.sh ../modules-default-manpath-oscar-$(MORPM_VERSION).tar.gz) --- NEW FILE: README.OSCAR --- -*- text -*- Copyright (c) 2005 The Trustees of Indiana University. All rights reserved. This file is part of the modules-default-manpath-oscar software package. For license information, see the LICENSE file in the top-level directory of the modules-default-manpath-oscar source distribution. $Id: README.OSCAR,v 1.1 2005/02/28 23:15:21 jsquyres Exp $ Introduction ============ This package solely exists because of shortcomings in the "man" command. Specifically, if you add anything to the MANPATH environment variable, the man no longer looks at /etc/man.config to find default paths for man pages. This package simply has one modulefile that will be loaded by default on OSCAR clusters that reads all the MANPATH entries from /etc/man.config and adds them to the MANPATH environment variable. Contact Information =================== Don't look for a web page or public CVS archive for this project anyway -- there [currently] isn't one. Maybe someday. In the meantime, send mail to the OSCAR mailing lists with comments, suggestions, and bug reports (see http://oscar.sourceforge.net/). --- NEW FILE: autogen.sh --- #! /bin/sh # # Copyright (c) 2005 The Trustees of Indiana University. # All rights reserved. # # This file is part of the modules-default-manpath-oscar software # package. For license information, see the LICENSE file in the # top-level directory of the modules-default-manpath-oscar source # distribution. # # $Id: autogen.sh,v 1.1 2005/02/28 23:15:21 jsquyres Exp $ # # # Some helper functions # test_for_existence() { prog="$1" foo="`$prog --version`" if test "$?" != 0; then cat <<EOF You must have GNU autoconf, automake, and libtool installed to build the developer's version of modules OSCAR RPM. You can obtain these packages from ftp://ftp.gnu.org/gnu/. EOF # Stupid emacs: ' exit 1 fi } run_and_check() { progs="$*" echo "$progs" eval $progs if test "$?" != 0; then cat <<EOF It seems that the execution of "$progs" has failed. I am gonna abort. :-( This may be caused by an older version of one of the required packages. Please make sure you are using at least the following versions: GNU Autoconf 2.52 GNU Automake 1.5 GNU Libtool 1.4 EOF exit 1 fi } # # Are we in the right dir? # if test -f configure.ac ; then bad=0 else cat <<EOF You must run this script from the top-level directory. EOF exit 1 fi test_for_existence autoconf test_for_existence automake #test_for_existence libtool # # Run them all # rm -f dist/config.guess rm -f dist/config.sub rm -f dist/depcomp rm -f dist/install-sh rm -f dist/ltconfig rm -f dist/ltmain.sh rm -f dist/missing rm -f dist/mkinstalldirs run_and_check aclocal #run_and_check autoheader run_and_check autoconf run_and_check automake -a --copy exit 0 --- NEW FILE: configure.ac --- # -*- shell-script -*- # # Copyright (c) 2005 The Trustees of Indiana University. # All rights reserved. # # This file is part of the modules-default-manpath-oscar software # package. For license information, see the LICENSE file in the # top-level directory of the modules-default-manpath-oscar source # distribution. # # $Id: configure.ac,v 1.1 2005/02/28 23:15:21 jsquyres Exp $ # # Init autoconf AC_INIT(./src/default-manpath.tcl) AC_CONFIG_AUX_DIR(./dist) show_title() { cat <<EOF *** $1 EOF } show_title "Initialization, setup" # Init automake get_version="sh $srcdir/dist/get_morpm_version $srcdir" MORPM_VERSION="`eval $get_version --full`" MAJOR_VERSION="`eval $get_version --major`" MINOR_VERSION="`eval $get_version --minor`" RELEASE_VERSION="`eval $get_version --release`" ALPHA_VERSION="`eval $get_version --alpha`" BETA_VERSION="`eval $get_version --beta`" AC_DEFINE_UNQUOTED(MAJOR_VERSION, $MAJOR_VERSION) AC_DEFINE_UNQUOTED(MINOR_VERSION, $MINOR_VERSION) AC_DEFINE_UNQUOTED(RELEASE_VERSION, $RELEASE_VERSION) AC_DEFINE_UNQUOTED(ALPHA_VERSION, $ALPHA_VERSION) AC_DEFINE_UNQUOTED(BETA_VERSION, $BETA_VERSION) AC_DEFINE_UNQUOTED(VERSION, "$MORPM_VERSION") # Need to also AC_SUBST these for share/include/patchlevel.h and # share/include/mpif.h AC_SUBST(MAJOR_VERSION) AC_SUBST(MINOR_VERSION) AC_SUBST(RELEASE_VERSION) AC_SUBST(ALPHA_VERSION) AC_SUBST(BETA_VERSION) AC_SUBST(MORPM_VERSION) echo "Configuring modules/modules-default-manpath-oscar version $MORPM_VERSION" # # The third argument to AM_INIT_AUTOMAKE surpresses the PACKAGE and # VERSION macors # AM_INIT_AUTOMAKE(modules-default-manpath-oscar, $MORPM_VERSION, 'no') # # Make automake clean emacs ~ files for "make clean" # CLEANFILES="*~ .*~" AC_SUBST(CLEANFILES) # # All done # AC_OUTPUT([ Makefile dist/Makefile src/Makefile ]) |