diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/Makefile.am | 1 | ||||
-rwxr-xr-x | bin/bbrelease | 1 | ||||
-rwxr-xr-x | bin/buildhdf5 | 1 | ||||
-rwxr-xr-x | bin/checkapi | 1 | ||||
-rwxr-xr-x | bin/checkposix | 1 | ||||
-rwxr-xr-x | bin/chkcopyright | 94 | ||||
-rwxr-xr-x | bin/debug-ohdr | 1 | ||||
-rwxr-xr-x | bin/genparser | 2 | ||||
-rw-r--r-- | bin/h5cc.in | 1 | ||||
-rw-r--r-- | bin/h5redeploy.in | 1 | ||||
-rwxr-xr-x | bin/h5vers | 1 | ||||
-rwxr-xr-x | bin/iostats | 1 | ||||
-rwxr-xr-x | bin/make_err | 2 | ||||
-rwxr-xr-x | bin/make_overflow | 2 | ||||
-rwxr-xr-x | bin/make_vers | 2 | ||||
-rwxr-xr-x | bin/pkgscrpts/h5rmflags | 1 | ||||
-rwxr-xr-x | bin/pkgscrpts/makeHDF5BinaryTarfiles.pl | 1 | ||||
-rwxr-xr-x | bin/pkgscrpts/makeInternalREADME.pl | 215 | ||||
-rwxr-xr-x | bin/pkgscrpts/makeOuterREADME.pl | 182 | ||||
-rwxr-xr-x | bin/release | 1 | ||||
-rwxr-xr-x | bin/restore.sh | 10 | ||||
-rwxr-xr-x | bin/runbkgprog | 1 | ||||
-rwxr-xr-x | bin/switch_maint_mode | 1 | ||||
-rwxr-xr-x | bin/trace | 1 | ||||
-rwxr-xr-x | bin/warnhist | 10 |
25 files changed, 48 insertions, 487 deletions
diff --git a/bin/Makefile.am b/bin/Makefile.am index 25df36f..96a4969 100644 --- a/bin/Makefile.am +++ b/bin/Makefile.am @@ -1,6 +1,5 @@ # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/bbrelease b/bin/bbrelease index 9699cf0..c59e2e5 100755 --- a/bin/bbrelease +++ b/bin/bbrelease @@ -1,7 +1,6 @@ #!/bin/sh # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/buildhdf5 b/bin/buildhdf5 index 786c35d..4c84884 100755 --- a/bin/buildhdf5 +++ b/bin/buildhdf5 @@ -1,7 +1,6 @@ #!/bin/sh # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/checkapi b/bin/checkapi index b1d17b6..619f933 100755 --- a/bin/checkapi +++ b/bin/checkapi @@ -1,7 +1,6 @@ #!/usr/bin/env perl # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/checkposix b/bin/checkposix index 6bc8f7d..52aee8b 100755 --- a/bin/checkposix +++ b/bin/checkposix @@ -4,7 +4,6 @@ use warnings; # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/chkcopyright b/bin/chkcopyright index eec371d..756afe8 100755 --- a/bin/chkcopyright +++ b/bin/chkcopyright @@ -1,7 +1,6 @@ #! /bin/sh # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including @@ -10,7 +9,6 @@ # distribution tree, or in https://www.hdfgroup.org/licenses. # If you do not have access to either file, you may request a copy from # help@hdfgroup.org. -# # Check Copyright notice. # Check that all the files have the proper copyright notice. @@ -39,8 +37,8 @@ NFIXEDFILES=0 # Number of files fixed. NFIXFAILEDFILES=0 # Number of files fix failed. NUMBEGINLINES=60 # Copyright notice should be located within the # this number of lines at the beginning of the file. -UICOPYRIGHTSTR="Copyright by the Board of Trustees of the University of Illinois" THGCOPYRIGHTSTR="Copyright by The HDF Group." +UICOPYRIGHTSTR="Copyright by the Board of Trustees of the University of Illinois" PASSEDLOG=/tmp/h5chkright_passed.$$ SKIPPEDLOG=/tmp/h5chkright_skipped.$$ @@ -111,113 +109,92 @@ BUILDCOPYRIGHT() # C and C++ source Copyright notice cat > ${C_COPYRIGHT} << \EOF * Copyright by The HDF Group. * - * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * * * This file is part of HDF5. The full HDF5 copyright notice, including * * terms governing use, modification, and redistribution, is contained in * - * the files COPYING and Copyright.html. COPYING can be found at the root * - * of the source code distribution tree; Copyright.html can be found at the * - * root level of an installed copy of the electronic HDF5 document set and * - * is linked from the top-level documents page. It can also be found at * - * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have * - * access to either file, you may request a copy from help@hdfgroup.org. * + * the COPYING file, which can be found at the root of the source code * + * distribution tree, or in https://www.hdfgroup.org/licenses. * + * If you do not have access to either file, you may request a copy from * + * help@hdfgroup.org. * EOF # Fortran9X source Copyright notice cat > ${FTN_COPYRIGHT} << \EOF ! Copyright by The HDF Group. * -! Copyright by the Board of Trustees of the University of Illinois. * ! All rights reserved. * ! * ! This file is part of HDF5. The full HDF5 copyright notice, including * ! terms governing use, modification, and redistribution, is contained in * -! the files COPYING and Copyright.html. COPYING can be found at the root * -! of the source code distribution tree; Copyright.html can be found at the * -! root level of an installed copy of the electronic HDF5 document set and * -! is linked from the top-level documents page. It can also be found at * -! http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have * -! access to either file, you may request a copy from help@hdfgroup.org. * +! the COPYING file, which can be found at the root of the source code * +! distribution tree, or in https://www.hdfgroup.org/licenses. * +! If you do not have access to either file, you may request a copy from * +! help@hdfgroup.org. * EOF # HTML file Copyright notice cat > ${HTM_COPYRIGHT} << \EOF * Copyright by The HDF Group. * - * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * * * This file is part of HDF5. The full HDF5 copyright notice, including * * terms governing use, modification, and redistribution, is contained in * - * the files COPYING and Copyright.html. COPYING can be found at the root * - * of the source code distribution tree; Copyright.html can be found at the * - * root level of an installed copy of the electronic HDF5 document set and * - * is linked from the top-level documents page. It can also be found at * - * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have * - * access to either file, you may request a copy from help@hdfgroup.org. * + * the COPYING file, which can be found at the root of the source code * + * distribution tree, or in https://www.hdfgroup.org/licenses. * + * If you do not have access to either file, you may request a copy from * + * help@hdfgroup.org. * EOF # Shell style Copyright notice cat > ${SH_COPYRIGHT} << \EOF # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including # terms governing use, modification, and redistribution, is contained in -# the files COPYING and Copyright.html. COPYING can be found at the root -# of the source code distribution tree; Copyright.html can be found at the -# root level of an installed copy of the electronic HDF5 document set and -# is linked from the top-level documents page. It can also be found at -# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have -# access to either file, you may request a copy from help@hdfgroup.org. +# the COPYING file, which can be found at the root of the source code +# distribution tree, or in https://www.hdfgroup.org/licenses. +# If you do not have access to either file, you may request a copy from +# help@hdfgroup.org. EOF # Shell style Copyright notice (2nd type) cat > ${SH_COPYRIGHT2} << \EOF ## Copyright by The HDF Group. -## Copyright by the Board of Trustees of the University of Illinois. ## All rights reserved. ## ## This file is part of HDF5. The full HDF5 copyright notice, including ## terms governing use, modification, and redistribution, is contained in -## the files COPYING and Copyright.html. COPYING can be found at the root -## of the source code distribution tree; Copyright.html can be found at the -## root level of an installed copy of the electronic HDF5 document set and -## is linked from the top-level documents page. It can also be found at -## http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have -## access to either file, you may request a copy from help@hdfgroup.org. +## the COPYING file, which can be found at the root of the source code +## distribution tree, or in https://www.hdfgroup.org/licenses. +## If you do not have access to either file, you may request a copy from +## help@hdfgroup.org. EOF # Windows Batch file Copyright notice cat > ${WINBAT_COPYRIGHT} << \EOF @REM Copyright by The HDF Group. -@REM Copyright by the Board of Trustees of the University of Illinois. @REM All rights reserved. @REM @REM This file is part of HDF5. The full HDF5 copyright notice, including @REM terms governing use, modification, and redistribution, is contained in -@REM the files COPYING and Copyright.html. COPYING can be found at the root -@REM of the source code distribution tree; Copyright.html can be found at the -@REM root level of an installed copy of the electronic HDF5 document set and -@REM is linked from the top-level documents page. It can also be found at -@REM http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have -@REM access to either file, you may request a copy from help@hdfgroup.org. +@REM the COPYING file, which can be found at the root of the source code +@REM distribution tree, or in https://www.hdfgroup.org/licenses. +@REM If you do not have access to either file, you may request a copy from +@REM help@hdfgroup.org. EOF # configure.ac file Copyright notice cat > ${CONFIGURE_AC_COPYRIGHT} << \EOF dnl Copyright by The HDF Group. -dnl Copyright by the Board of Trustees of the University of Illinois. dnl All rights reserved. dnl dnl This file is part of HDF5. The full HDF5 copyright notice, including dnl terms governing use, modification, and redistribution, is contained in -dnl the files COPYING and Copyright.html. COPYING can be found at the root -dnl of the source code distribution tree; Copyright.html can be found at the -dnl root level of an installed copy of the electronic HDF5 document set and -dnl is linked from the top-level documents page. It can also be found at -dnl http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have -dnl access to either file, you may request a copy from help@hdfgroup.org. +dnl the COPYING file, which can be found at the root of the source code +dnl distribution tree, or in https://www.hdfgroup.org/licenses. +dnl If you do not have access to either file, you may request a copy from +dnl help@hdfgroup.org. EOF } @@ -364,7 +341,7 @@ FindLineInFile() # $1 file which contains the expected copyright notice. # $2 file in which to look for the copyright notice. # Copyright notice must be found within the beginning $NUMBEGINLINES of lines. -# Hunt for the particular string $UICOPYRIGHTSTR which signifies the beginning +# Hunt for the particular string $THGCOPYRIGHTSTR which signifies the beginning # of the copyright notice. # MATCH_COPYRIGHT() @@ -379,7 +356,7 @@ MATCH_COPYRIGHT() nlines=`wc -l ${COPYRIGHTFILE} | cut -f1 -d' '` # Find a line that contains the copyright string and its line number in # the file. - begin=`FindLineInFile "${UICOPYRIGHTSTR}" $f` + begin=`FindLineInFile "${THGCOPYRIGHTSTR}" $f` if [ "$begin" -le 0 ] ; then # Not found, generate an empty dummy file cp /dev/null ${EXTRACTEDFILE} @@ -404,7 +381,7 @@ MATCH_COPYRIGHT() # $1 file which contains the expected copyright notice. # $2 file in which to look for the copyright notice. # Copyright notice must be found within the beginning $NUMBEGINLINES of lines. -# Hunt for the particular string $UICOPYRIGHTSTR which signifies the beginning +# Hunt for the particular string $THGCOPYRIGHTSTR which signifies the beginning # of the copyright notice. # FIX_COPYRIGHT() @@ -427,7 +404,12 @@ FIX_COPYRIGHT() # the file. insertbegin=`FindLineInFile "${THGCOPYRIGHTSTR}" $f` if [ $insertbegin -gt 0 ]; then - insertend=`expr $insertbegin + $nlines` # no need to -1. See below. + insertUIbegin=`FindLineInFile "${UICOPYRIGHTSTR}" $f` + if [ $insertUIbegin -gt 0 ]; then + insertend=`expr $insertbegin + $nlines + 1` + else + insertend=`expr $insertbegin + $nlines` + fi else insertbegin=`FindLineInFile "${UICOPYRIGHTSTR}" $f` if [ $insertbegin -gt 0 ]; then diff --git a/bin/debug-ohdr b/bin/debug-ohdr index 7becb42..1106af3 100755 --- a/bin/debug-ohdr +++ b/bin/debug-ohdr @@ -1,7 +1,6 @@ #!/usr/bin/env perl # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/genparser b/bin/genparser index 29bdb80..619dbfa 100755 --- a/bin/genparser +++ b/bin/genparser @@ -3,7 +3,7 @@ # Copyright by The HDF Group. # All rights reserved. # -# This file is part of HDF5. The full HDF5 copyright notice, including +# This file is part of HDF5. The full HDF5 copyright notice, including # terms governing use, modification, and redistribution, is contained in # the COPYING file, which can be found at the root of the source code # distribution tree, or in https://www.hdfgroup.org/licenses. diff --git a/bin/h5cc.in b/bin/h5cc.in index 966bb40..4eef3c9 100644 --- a/bin/h5cc.in +++ b/bin/h5cc.in @@ -1,7 +1,6 @@ #! /bin/sh ## # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/h5redeploy.in b/bin/h5redeploy.in index 86183e8..d73cca7 100644 --- a/bin/h5redeploy.in +++ b/bin/h5redeploy.in @@ -1,7 +1,6 @@ #! /bin/sh # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including @@ -7,7 +7,6 @@ require 5.003; use strict; # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/iostats b/bin/iostats index c42a1f9..d8a8933 100755 --- a/bin/iostats +++ b/bin/iostats @@ -1,7 +1,6 @@ #!/usr/bin/env perl # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/make_err b/bin/make_err index f2b044a..31cb964 100755 --- a/bin/make_err +++ b/bin/make_err @@ -5,7 +5,6 @@ use warnings; # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including @@ -32,7 +31,6 @@ sub print_copyright ($) { print $fh "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n"; print $fh " * Copyright by The HDF Group. *\n"; - print $fh " * Copyright by the Board of Trustees of the University of Illinois. *\n"; print $fh " * All rights reserved. *\n"; print $fh " * *\n"; print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n"; diff --git a/bin/make_overflow b/bin/make_overflow index 37d6ded..33cbdfe 100755 --- a/bin/make_overflow +++ b/bin/make_overflow @@ -10,7 +10,6 @@ my @ctypes = ( () ); # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including @@ -61,7 +60,6 @@ sub print_copyright ($) { print $fh "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n"; print $fh " * Copyright by The HDF Group. *\n"; - print $fh " * Copyright by the Board of Trustees of the University of Illinois. *\n"; print $fh " * All rights reserved. *\n"; print $fh " * *\n"; print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n"; diff --git a/bin/make_vers b/bin/make_vers index f1399a4..956fbfd 100755 --- a/bin/make_vers +++ b/bin/make_vers @@ -19,7 +19,6 @@ $indent = 2; # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including @@ -46,7 +45,6 @@ sub print_copyright ($) { print $fh "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n"; print $fh " * Copyright by The HDF Group. *\n"; - print $fh " * Copyright by the Board of Trustees of the University of Illinois. *\n"; print $fh " * All rights reserved. *\n"; print $fh " * *\n"; print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n"; diff --git a/bin/pkgscrpts/h5rmflags b/bin/pkgscrpts/h5rmflags index d0f87c0..39c4281 100755 --- a/bin/pkgscrpts/h5rmflags +++ b/bin/pkgscrpts/h5rmflags @@ -1,7 +1,6 @@ #! /bin/sh # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/pkgscrpts/makeHDF5BinaryTarfiles.pl b/bin/pkgscrpts/makeHDF5BinaryTarfiles.pl index d1042dc..820403f 100755 --- a/bin/pkgscrpts/makeHDF5BinaryTarfiles.pl +++ b/bin/pkgscrpts/makeHDF5BinaryTarfiles.pl @@ -2,7 +2,6 @@ # makeTarFiles.pl # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/pkgscrpts/makeInternalREADME.pl b/bin/pkgscrpts/makeInternalREADME.pl deleted file mode 100755 index 355036f..0000000 --- a/bin/pkgscrpts/makeInternalREADME.pl +++ /dev/null @@ -1,215 +0,0 @@ -#!/usr/bin/perl -# makeInternalREADME.pl -# -# Copyright by The HDF Group. -# All rights reserved. -# -# This file is part of HDF4. The full HDF4 copyright notice, including -# terms governing use, modification, and redistribution, is contained in -# the files COPYING and Copyright.html. COPYING can be found at the root -# of the source code distribution tree; Copyright.html can be found at the -# root level of an installed copy of the electronic HDF4 document set and -# is linked from the top-level documents page. It can also be found at -# http://hdfgroup.org/HDF4/doc/Copyright.html. If you do not have -# access to either file, you may request a copy from help@hdfgroup.org. -# - -use warnings; -use strict; - -my $section2="For information on compilers and settings used to build these HDF5 -libraries, please refer to: - - ./lib/libhdf5.settings - -The contents of this directory are: - - COPYING - Copyright notice - README - This file - RELEASE.txt - Detailed information regarding this release - bin/ - Directory containing HDF5 pre-compiled utilities - include/ - Directory containing HDF5 include files - lib/ - Directory containing HDF5 libraries and settings - share/ - Directory containing example code in C, C++, and - Fortran using HDF5 and HDF5 HL library APIs. The - shell scripts provided with these examples will - compile and run them, and will also test the - h5cc, h5c++, and h5fc compile scripts found - in the installed bin directory. - -These binaries were built with the ZLIB and SZIP (version 2.1, Encoder -ENABLED) external libraries which are included in the lib directory for -convenience. - -We also provide the ZLIB and SZIP source code on our ftp server at: - - ftp://ftp.hdfgroup.org/lib-external/ - -The official ZLIB and SZIP pages are at: - - ZLIB: http://www.zlib.net/ - SZIP: http://hdfgroup.org/doc_resource/SZIP/ - -"; - -my $section3 = "If using the shared libraries, you must add the HDF5 library path -to the LD_LIBRARY_PATH variable. -"; - -my $section4 = "We provide scripts for compiling applications with the HDF5 libraries: - - bin/h5cc - for C - bin/h5fc - for F90 (if Fortran 90 library is included with the binaries) - bin/h5c++ - for C++ (if C++ library is included with the binaries) - -After you have installed the binaries to their final destination, you can use -these scripts (h5cc, h5fc, h5c++) to compile. However, you must first run -./h5redeploy in the bin directory to change site specific paths in the scripts. - -You may also need to change other variables in the scripts, depending -on how things are set up on your system. Here are some of the variables -to check: - - prefix - Path to the HDF5 top level installation directory - CCBASE - Name of the C compiler - CLINKERBASE - Name of the linker - LIBS - Libraries your application will link with - -For further details refer to the INSTALL files in - ftp://ftp.hdfgroup.org/HDF5/current/src/unpacked/release_docs/ -or in the ./release_docs/ directory of the HDF5 source code, which can be found -on the HDF Group ftp server at ftp://ftp.hdfgroup.org/HDF5/current/src/. - -Please send questions, comments, and suggestions to the appropriate -contact address from http://www.hdfgroup.org/about/contact.html - - -"; - -my $indirectory = "."; -$indirectory = shift; -my $linktype = "shared"; -if ($indirectory =~ /static/) { - $linktype = "static"; -} -my $modestring=""; -if ($indirectory =~ /32/) { - $modestring = "in 32 bit mode "; -} - -my $version; - -my $outfile = "$indirectory/README"; -open OUTFILE, ">$outfile" or die "$!Couldn't open $outfile - check permissions for $indirectory\n"; -my $hostname; -my $cmd = "grep \"HDF5 Version\" $indirectory/lib/libhdf5.settings"; -$_ = `$cmd`; -#print OUTFILE $_, "\n"; -s/HDF5 Version://; -s/^\s+//; -chomp; -$version = $_; -#print OUTFILE $_, "\n"; - -my $versionstring= "This directory contains the $linktype binary distribution of HDF5-".$version; - -$cmd = "grep \"Uname information:\" $indirectory/lib/libhdf5.settings"; -$_ = `$cmd`; -s/Uname information://; -s/^\s+//; -#print OUTFILE $_; -chomp; -#s/(^\w+)(\s)(\S+)/$1/; -#s/(^.*)(-)(.*)(200[7-8])(.*)(\s)(\S+)/$1 $5/; -#my $platformstring = "\nthat was compiled on:" . $_ . " "; -my $platformstring = ""; -my $hostnamestring = $_; -my @hostnamestring = split / /, $hostnamestring; -#print OUTFILE "Size of hostnamestring is ", scalar @hostnamestring, "\n"; -#print OUTFILE $hostnamestring[0] . "\t" . $hostnamestring[2]."\t".$hostnamestring[19]."\n"; -$hostname = $hostnamestring[1]; -#my $size = scalar @hostnamestring; -if ($hostname =~ /loyalty/) { - $platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0]." " . $hostnamestring[2]." " . $hostnamestring[-1] . " "; -} -elsif ($hostname =~ /freedom/) { - $platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0]." " . $hostnamestring[2]." " . $hostnamestring[-1] . " "; -} elsif ($hostname =~ /emu/) { - $platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0]." " . $hostnamestring[2] . " " . $hostnamestring[-2] . " "; -} elsif ($hostname =~ /fred/) { - $platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0]." " . $hostnamestring[2] . " " . $hostnamestring[-1] . " "; -} else { - $_ = $hostnamestring[2]; - my $pos = index $_, '-'; - my $os = substr $_, 0, $pos; - $platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0] . " " . $os . " " . $hostnamestring[-2] . " "; -} - - -my $mappingstring = ""; -#no mappingstring for 1.6. Put it back for 1.8. -#$cmd = "grep \"Default API Mapping:\" $indirectory/lib/libhdf5.settings"; -#$_ = `$cmd`; -#s/Default API Mapping://; -#s/^\s+//; -#chomp; -#if (/v\d+/) { -# s/v//; -# s/(\d)(\d)/$1\.$2/g; -# $mappingstring = "using the default\nAPI mapping for VERSION ".$_."."; -# -#} -print OUTFILE $versionstring; -print OUTFILE $platformstring."\n\n"; -#print OUTFILE $mappingstring; - -#if ($hostname eq "loyalty.hdfgroup.uiuc.edu" || $hostname eq "freedom.hdfgroup.uiuc.edu") { -# print OUTFILE " It includes the C APIs,\nbuilt using the following "; -# print OUTFILE "compilers:\n\n"; -#} -#else { -if ($linktype eq "shared" && !($hostname =~ /32/)) { - print OUTFILE "\n\nIt includes the C, C++, F90 and Java APIs, built using the following\n"; -} else { - print OUTFILE "\n\nIt includes the C, C++, and F90 APIs, built using the following\n"; -} -print OUTFILE "compilers:\n\n"; -#} - -# Only the gcc compiler version is in libhdf5.settings, so for now I looked -# up the versions and hardcoded them here. We will put them in libhdf5.settings -# for the next release. -if ($indirectory =~ /gnu484/) { - print OUTFILE "\tgcc, g++, and gfortran 4.8.4\n\n"; -} elsif ($hostname =~ /jam/ || $hostname =~ /koala/) { - print OUTFILE "\tgcc, g++, and gfortran 4.1.2\n\n"; -} elsif ($hostname =~ /platypus/) { - print OUTFILE "\tgcc, g++, and gfortran 4.4.7\n\n"; - if ($linktype eq "shared" && !($hostname =~ /32/)) { - print OUTFILE "\tjava 1.8.0_51\n\n"; - } -} elsif ($hostname =~ /moohan/) { - print OUTFILE "\tgcc, g++, and gfortran 4.8.5\n\n"; - if ($linktype eq "shared" && !($hostname =~ /32/)) { - print OUTFILE "\tjava 1.8.0_51\n\n"; - } -} elsif ($hostname =~ /emu/) { - print OUTFILE "\tSun C and C++ 5.12, Sun Fortran 95 8.6\n\n"; -} elsif ($hostname =~ /loyalty/ || $hostname =~ /freedom/) { - print OUTFILE "\tgcc, g++, and gfortran 4.6.1\n\n"; -} elsif ($hostname =~ /duck/) { - print OUTFILE "\tApple clang/clang++ 3.0 from Xcode 4.6.1 and gfortran 4.8.2\n\n"; -} elsif ($hostname =~ /kite/) { - print OUTFILE "\tApple clang/clang++ 5.1 from Xcode 5.0.2 and gfortran 4.8.2\n\n"; -} elsif ($hostname =~ /quail/) { - print OUTFILE "\tgcc, g++ 5.1 from Xcode 5.1 and gfortran 4.8.2\n\n"; -} elsif ($hostname =~ /osx1010test/) { - print OUTFILE "\tgcc, g++ 5.1 from Xcode 5.1 and gfortran 4.8.2\n\n"; -} - -print OUTFILE $section2; - -print OUTFILE $section3; - -print OUTFILE $section4; - diff --git a/bin/pkgscrpts/makeOuterREADME.pl b/bin/pkgscrpts/makeOuterREADME.pl deleted file mode 100755 index 602ad28..0000000 --- a/bin/pkgscrpts/makeOuterREADME.pl +++ /dev/null @@ -1,182 +0,0 @@ -#!/usr/bin/perl -# makeOuterREADME.pl - -# Copyright by The HDF Group. -# All rights reserved. -# -# This file is part of HDF4. The full HDF4 copyright notice, including -# terms governing use, modification, and redistribution, is contained in -# the files COPYING and Copyright.html. COPYING can be found at the root -# of the source code distribution tree; Copyright.html can be found at the -# root level of an installed copy of the electronic HDF4 document set and -# is linked from the top-level documents page. It can also be found at -# http://hdfgroup.org/HDF4/doc/Copyright.html. If you do not have -# access to either file, you may request a copy from help@hdfgroup.org. -# - -use warnings; -use strict; - -my $indirectory = "."; -$indirectory = shift; - -my $outdirectory = "."; -$outdirectory = shift; - -my $outsubdir = shift; - -my $version; - -my $outfile = "$outdirectory/$outsubdir/README"; -open OUTFILE, ">$outfile"; -my $hostname=""; -my $cmd = "grep \"HDF5 Version\" $indirectory-static/lib/libhdf5.settings"; -$_ = `$cmd`; -print OUTFILE $_, "\n"; -s/HDF5 Version://; -s/^\s+//; -chomp; -$version = $_; -#print OUTFILE $_, "\n"; -my $versionstring= "This directory contains the precompiled HDF5 $version binary distribution\n(include files, libraries, utilities) for"; - -$cmd = "grep \"Uname information:\" $indirectory-static/lib/libhdf5.settings"; -$_ = `$cmd`; -s/Uname information://; -s/^\s+//; -chomp; -print "String to work with is $_\n"; -my $platformstring = ""; -my $hostnamestring = $_; -my @hostnamestring = split / /, $hostnamestring; -$platformstring = "$hostnamestring[0] "; -if ($indirectory =~ /jam/ || $indirectory =~ /koala/) { - $hostnamestring = $hostnamestring[2]; - my $pos = index $hostnamestring, "-"; - if ($pos > 0) { - $platformstring .= substr $hostnamestring, 0, $pos; - } else { - $platformstring .= $hostnamestring[2]; - } - $platformstring .= " ".$hostnamestring[-3]; -} elsif ($indirectory =~ /linew/) { - $platformstring .= "$hostnamestring[2] $hostnamestring[-2]"; -} else { - $platformstring .= "$hostnamestring[2] $hostnamestring[-1]"; -} - -print OUTFILE $versionstring." ".$platformstring.":\n\n"; -my $line1; -my $line3; -my $line5; -my $compilerstring=""; -my $compilerstring1=""; -my $compilerstring2=""; - - -print $indirectory, "\n"; - -if ($indirectory =~ /ostrich/) { -# $line1 = " hdf5-$version-$outsubdir-16API.tar.gz - Includes C, C++, F90 APIs (using\n"; - $line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using"; - $line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using"; - $compilerstring = " gcc, g++, and gfortran 4.4.7)"; -} -elsif ($indirectory =~ /platypus/) { -# $line1 = " hdf5-$version-$outsubdir-16API.tar.gz - Includes C, C++, F90 APIs (using\n"; - $line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using"; - $compilerstring1 = " gcc, g++, and gfortran 4.4.7)\n"; - if ($indirectory =~ /32/) { - $line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using"; - $compilerstring2 = " gcc, g++, and gfortran 4.4.7)\n"; - } else { - $line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using"; - $compilerstring2 = " gcc, g++, and gfortran 4.4.7 and java 1.8.0_51)\n"; - } -} -elsif ($indirectory =~ /moohan/) { -# $line1 = " hdf5-$version-$outsubdir-16API.tar.gz - Includes C, C++, F90 APIs (using\n"; - $line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using"; - $compilerstring1 = " gcc, g++, and gfortran 4.8.5)\n"; - if ($indirectory =~ /32/) { - $line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using"; - $compilerstring2 = " gcc, g++, and gfortran 4.4.7)\n"; - } else { - $line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using"; - $compilerstring2 = " gcc, g++, and gfortran 4.8.5 and java 1.8.0_51)\n"; - } -} -elsif ($indirectory =~ /emu/) { -# $line1 = " hdf5-$version-$outsubdir-16API.tar.gz - Includes C, C++, F90 APIs (using\n"; - $line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using"; - $line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using"; - $compilerstring = " Sun C and C++ 5.12, Sun Fortran 95 8.6)\n"; -} -elsif ($indirectory =~ /kite/) { - $line3 = " hfd5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using"; - $line5 = " hfd5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using"; - $compilerstring = " Apple clang/clang++ 5.1 from Xcode 5.0.2, - gfortran 4.8.2)\n"; -} -elsif ($indirectory =~ /quail/) { - $line3 = " hfd5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using"; - $line5 = " hfd5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using"; - $compilerstring = " Apple clang/clang++ 6.0 from Xcode 5.1, - gfortran 4.9.2)\n"; -} -elsif ($indirectory =~ /osx1010test/) { - $line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using"; - $line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using"; - $compilerstring = " Apple clang/clang++ 6.1 from Xcode 6.1, - gfortran 4.9.2)\n"; -} -elsif ($indirectory =~ /osx1011test/) { - $line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using"; - $line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using"; - $compilerstring = " Apple clang/clang++ 7.0.2 from Xcode 7.0, - gfortran 5.2.0)\n"; -} - - print OUTFILE $line3; - print OUTFILE $compilerstring1."\n"; -if ($line5 ne "") { - print OUTFILE $line5; - print OUTFILE $compilerstring2."\n"; -} -#elsif ($indirectory =~ /-16API/) { -# print OUTFILE $line1; -# print OUTFILE $compilerstring; -# print OUTFILE " USES THE VERSION 1.6 DEFAULT API\n"; -# print OUTFILE " MAPPING.\n\n"; -#} - -print OUTFILE " utilities/ - Directory containing the compiled HDF5 utilities.\n"; -print OUTFILE " These utilities are STATICALLY linked and will run as is.\n\n"; -#print OUTFILE " The tools can be downloaded separately, or ALL in one\n"; -#print OUTFILE " compressed file (5-$version-$outsubdir-static-util.tar.gz).\n\n"; -print OUTFILE "\n"; -print OUTFILE "To obtain the HDF5 distribution, 'unzip' and 'untar' the distribution\n"; -print OUTFILE "file:\n\n"; -print OUTFILE " gzip -cd <gz file from above> | tar xvf -\n"; - - -#$cmd = "grep \"Configured by:\" $indirectory/$key-static/lib/libhdf5.settings"; -#$_ = `$cmd`; -#s/Configured by://; -#s/^\s+//; -#print OUTFILE $_; -#chomp; -#my $hostnamestring = $_; -#s/(^\w+)(\s)(\S+)/$1/; -#s/(^.*)(-)(.*)(200[7-8])(.*)(\s)(\S+)/$1 $5/; -#my $platformstring = $_ . ":\n\n"; -#my @hostnamestring = split /@/, $hostnamestring; -#print "Size of hostnamestring is ", scalar @hostnamestring, "\n"; -#print $hostnamestring[0] . "\t" . $hostnamestring[2]."\t".$hostnamestring[19]."\n"; -#my $platformstring = $hostnamestring[1].":\n\n"; -#$hostnamestring = $hostnamestring[1]; -#my $pos = index $hostnamestring, "."; -#if ($pos > 0) { -# @hostnamestring = split /\./, $hostnamestring; -# $platformstring = $hostnamestring[0].":\n\n"; -#} diff --git a/bin/release b/bin/release index 257bc62..4c471b0 100755 --- a/bin/release +++ b/bin/release @@ -1,7 +1,6 @@ #!/bin/sh # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/restore.sh b/bin/restore.sh index 0597572..85ebd1c 100755 --- a/bin/restore.sh +++ b/bin/restore.sh @@ -1,10 +1,10 @@ #!/bin/sh # -# Copyright by The HDF Group. -# All rights reserved. -# -# This file is part of HDF5. The full HDF5 copyright notice, including -# terms governing use, modification, and redistribution, is contained in +# Copyright by The HDF Group. +# All rights reserved. +# +# This file is part of HDF5. The full HDF5 copyright notice, including +# terms governing use, modification, and redistribution, is contained in # the COPYING file, which can be found at the root of the source code # distribution tree, or in https://www.hdfgroup.org/licenses. # If you do not have access to either file, you may request a copy from diff --git a/bin/runbkgprog b/bin/runbkgprog index b0d4b73..945f5f3 100755 --- a/bin/runbkgprog +++ b/bin/runbkgprog @@ -5,7 +5,6 @@ $indent=4; # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/switch_maint_mode b/bin/switch_maint_mode index af63d6a..9813eeb 100755 --- a/bin/switch_maint_mode +++ b/bin/switch_maint_mode @@ -1,7 +1,6 @@ #!/bin/sh # # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including @@ -1,7 +1,6 @@ #!/usr/bin/env perl ## # Copyright by The HDF Group. -# Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. # # This file is part of HDF5. The full HDF5 copyright notice, including diff --git a/bin/warnhist b/bin/warnhist index ff202a2..fc42209 100755 --- a/bin/warnhist +++ b/bin/warnhist @@ -8,12 +8,10 @@ use warnings; # # This file is part of HDF5. The full HDF5 copyright notice, including # terms governing use, modification, and redistribution, is contained in -# the files COPYING and Copyright.html. COPYING can be found at the root -# of the source code distribution tree; Copyright.html can be found at the -# root level of an installed copy of the electronic HDF5 document set and -# is linked from the top-level documents page. It can also be found at -# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have -# access to either file, you may request a copy from help@hdfgroup.org. +# the COPYING file, which can be found at the root of the source code +# distribution tree, or in https://www.hdfgroup.org/licenses. +# If you do not have access to either file, you may request a copy from +# help@hdfgroup.org. # # Quincey Koziol # 9 Aug 2013 |