Andreas Wacknitz
2023-02-05 494f01b7bb90788505d9cb5e473b42489770cbba
netcdf: rename to netcdf-c, update to 4.9.0 and provide test results

4 files deleted
6 files added
496 ■■■■■ changed files
components/scientific/netcdf-c/Makefile 54 ●●●●● patch | view | raw | blame | history
components/scientific/netcdf-c/history 1 ●●●● patch | view | raw | blame | history
components/scientific/netcdf-c/manifests/sample-manifest.p5m 113 ●●●●● patch | view | raw | blame | history
components/scientific/netcdf-c/netcdf-c.p5m 81 ●●●●● patch | view | raw | blame | history
components/scientific/netcdf-c/pkg5 19 ●●●●● patch | view | raw | blame | history
components/scientific/netcdf-c/test/results-all.master 63 ●●●●● patch | view | raw | blame | history
components/scientific/netcdf/Makefile 46 ●●●●● patch | view | raw | blame | history
components/scientific/netcdf/manifests/sample-manifest.p5m 54 ●●●●● patch | view | raw | blame | history
components/scientific/netcdf/netcdf.p5m 52 ●●●●● patch | view | raw | blame | history
components/scientific/netcdf/pkg5 13 ●●●●● patch | view | raw | blame | history
components/scientific/netcdf-c/Makefile
New file
@@ -0,0 +1,54 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL)". You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2017 Dariusz Sendkowski
# Copyright 2023 Andreas Wacknitz
#
USE_DEFAULT_TEST_TRANSFORMS= yes
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=           netcdf-c
COMPONENT_VERSION=        4.9.0
COMPONENT_SUMMARY=        A set of software libraries and self-describing, machine-independent data formats.
COMPONENT_DESCRIPTION=    NetCDF (Network Common Data Form) is a set of software libraries and machine-independent data formats \
    that support the creation, access, and sharing of array-oriented scientific data.
COMPONENT_PROJECT_URL=    https://www.unidata.ucar.edu/software/netcdf/
COMPONENT_SRC=            $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=        $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH=   sha256:9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6
COMPONENT_ARCHIVE_URL=    https://github.com/Unidata/netcdf-c/archive/refs/tags/v$(COMPONENT_VERSION).tar.gz
COMPONENT_FMRI=           library/netcdf-c
COMPONENT_CLASSIFICATION= System/Libraries
COMPONENT_LICENSE=        UCAR
COMPONENT_LICENSE_FILE=   COPYRIGHT
include $(WS_MAKE_RULES)/common.mk
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -I/usr/include/hdf5"
CONFIGURE_OPTIONS += --disable-dependency-tracking
CONFIGURE_OPTIONS += --enable-static=no
CONFIGURE_OPTIONS += --enable-hdf5
CONFIGURE_OPTIONS += --with-plugin-dir=/usr/share/netcdf-c/plugins
unexport SHELLOPTS
# Auto-generated dependencies
REQUIRED_PACKAGES += compress/bzip2
REQUIRED_PACKAGES += compress/zstd
REQUIRED_PACKAGES += library/c++/hdf5
REQUIRED_PACKAGES += library/libxml2
REQUIRED_PACKAGES += library/libzip
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += web/curl
components/scientific/netcdf-c/history
New file
@@ -0,0 +1 @@
library/netcdf@4.4.1.1,5.11-2020.0.1.1 netcdf-c
components/scientific/netcdf-c/manifests/sample-manifest.p5m
New file
@@ -0,0 +1,113 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2023 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
link \
    path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nch5misc.so \
    target=lib__nch5misc.so.0.0.0
link \
    path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nch5misc.so.0 \
    target=lib__nch5misc.so.0.0.0
file path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nch5misc.so.0.0.0
link \
    path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nch5noop.so \
    target=lib__nch5noop.so.0.0.0
link \
    path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nch5noop.so.0 \
    target=lib__nch5noop.so.0.0.0
file path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nch5noop.so.0.0.0
link \
    path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nch5noop1.so \
    target=lib__nch5noop1.so.0.0.0
link \
    path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nch5noop1.so.0 \
    target=lib__nch5noop1.so.0.0.0
file path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nch5noop1.so.0.0.0
link \
    path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nch5unknown.so \
    target=lib__nch5unknown.so.0.0.0
link \
    path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nch5unknown.so.0 \
    target=lib__nch5unknown.so.0.0.0
file path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nch5unknown.so.0.0.0
link \
    path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nczmisc.so \
    target=lib__nczmisc.so.0.0.0
link \
    path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nczmisc.so.0 \
    target=lib__nczmisc.so.0.0.0
file path=export2/home/andreas/oi-userland/components/scientific/netcdf-c/build/$(MACH64)/plugins/plugindir/lib__nczmisc.so.0.0.0
file path=usr/bin/nc-config
file path=usr/bin/nc4print
file path=usr/bin/nccopy
file path=usr/bin/ncdump
file path=usr/bin/ncgen
file path=usr/bin/ncgen3
file path=usr/bin/ocprint
file path=usr/include/netcdf.h
file path=usr/include/netcdf_aux.h
file path=usr/include/netcdf_dispatch.h
file path=usr/include/netcdf_filter.h
file path=usr/include/netcdf_filter_build.h
file path=usr/include/netcdf_filter_hdf5_build.h
file path=usr/include/netcdf_json.h
file path=usr/include/netcdf_mem.h
file path=usr/include/netcdf_meta.h
file path=usr/lib/$(MACH64)/libnetcdf.settings
link path=usr/lib/$(MACH64)/libnetcdf.so target=libnetcdf.so.19.1.0
link path=usr/lib/$(MACH64)/libnetcdf.so.19 target=libnetcdf.so.19.1.0
file path=usr/lib/$(MACH64)/libnetcdf.so.19.1.0
file path=usr/lib/$(MACH64)/pkgconfig/netcdf.pc
file path=usr/share/man/man1/nccopy.1
file path=usr/share/man/man1/ncdump.1
file path=usr/share/man/man1/ncgen.1
file path=usr/share/man/man1/ncgen3.1
file path=usr/share/man/man3/netcdf.3
link path=usr/share/netcdf-c/plugins/lib__nch5bzip2.so \
    target=lib__nch5bzip2.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5bzip2.so.0 \
    target=lib__nch5bzip2.so.0.0.0
file path=usr/share/netcdf-c/plugins/lib__nch5bzip2.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5deflate.so \
    target=lib__nch5deflate.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5deflate.so.0 \
    target=lib__nch5deflate.so.0.0.0
file path=usr/share/netcdf-c/plugins/lib__nch5deflate.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5fletcher32.so \
    target=lib__nch5fletcher32.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5fletcher32.so.0 \
    target=lib__nch5fletcher32.so.0.0.0
file path=usr/share/netcdf-c/plugins/lib__nch5fletcher32.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5shuffle.so \
    target=lib__nch5shuffle.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5shuffle.so.0 \
    target=lib__nch5shuffle.so.0.0.0
file path=usr/share/netcdf-c/plugins/lib__nch5shuffle.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5zstd.so \
    target=lib__nch5zstd.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5zstd.so.0 \
    target=lib__nch5zstd.so.0.0.0
file path=usr/share/netcdf-c/plugins/lib__nch5zstd.so.0.0.0
file path=usr/share/netcdf-c/plugins/lib__nczhdf5filters.so
file path=usr/share/netcdf-c/plugins/lib__nczstdfilters.so
components/scientific/netcdf-c/netcdf-c.p5m
New file
@@ -0,0 +1,81 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2023 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
<transform file path=usr/share/netcdf-c/plugins/lib.* -> default pkg.linted.userland.action001.2 true >
<transform link path=usr/share/netcdr-c/plugins/lib.* -> default pkg.linted.userland.action001.2 true >
file path=usr/bin/nc-config
file path=usr/bin/nc4print
file path=usr/bin/nccopy
file path=usr/bin/ncdump
file path=usr/bin/ncgen
file path=usr/bin/ncgen3
file path=usr/bin/ocprint
file path=usr/include/netcdf.h
file path=usr/include/netcdf_aux.h
file path=usr/include/netcdf_dispatch.h
file path=usr/include/netcdf_filter.h
file path=usr/include/netcdf_filter_build.h
file path=usr/include/netcdf_filter_hdf5_build.h
file path=usr/include/netcdf_json.h
file path=usr/include/netcdf_mem.h
file path=usr/include/netcdf_meta.h
file path=usr/lib/$(MACH64)/libnetcdf.settings
link path=usr/lib/$(MACH64)/libnetcdf.so target=libnetcdf.so.19.1.0
link path=usr/lib/$(MACH64)/libnetcdf.so.19 target=libnetcdf.so.19.1.0
file path=usr/lib/$(MACH64)/libnetcdf.so.19.1.0
file path=usr/lib/$(MACH64)/pkgconfig/netcdf.pc
file path=usr/share/man/man1/nccopy.1
file path=usr/share/man/man1/ncdump.1
file path=usr/share/man/man1/ncgen.1
file path=usr/share/man/man1/ncgen3.1
file path=usr/share/man/man3/netcdf.3
link path=usr/share/netcdf-c/plugins/lib__nch5bzip2.so \
    target=lib__nch5bzip2.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5bzip2.so.0 \
    target=lib__nch5bzip2.so.0.0.0
file path=usr/share/netcdf-c/plugins/lib__nch5bzip2.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5deflate.so \
    target=lib__nch5deflate.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5deflate.so.0 \
    target=lib__nch5deflate.so.0.0.0
file path=usr/share/netcdf-c/plugins/lib__nch5deflate.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5fletcher32.so \
    target=lib__nch5fletcher32.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5fletcher32.so.0 \
    target=lib__nch5fletcher32.so.0.0.0
file path=usr/share/netcdf-c/plugins/lib__nch5fletcher32.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5shuffle.so \
    target=lib__nch5shuffle.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5shuffle.so.0 \
    target=lib__nch5shuffle.so.0.0.0
file path=usr/share/netcdf-c/plugins/lib__nch5shuffle.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5zstd.so \
    target=lib__nch5zstd.so.0.0.0
link path=usr/share/netcdf-c/plugins/lib__nch5zstd.so.0 \
    target=lib__nch5zstd.so.0.0.0
file path=usr/share/netcdf-c/plugins/lib__nch5zstd.so.0.0.0
file path=usr/share/netcdf-c/plugins/lib__nczhdf5filters.so
file path=usr/share/netcdf-c/plugins/lib__nczstdfilters.so
components/scientific/netcdf-c/pkg5
New file
@@ -0,0 +1,19 @@
{
    "dependencies": [
        "SUNWcs",
        "compress/bzip2",
        "compress/zstd",
        "library/c++/hdf5",
        "library/libxml2",
        "library/libzip",
        "library/zlib",
        "shell/ksh93",
        "system/library",
        "system/library/math",
        "web/curl"
    ],
    "fmris": [
        "library/netcdf-c"
    ],
    "name": "netcdf-c"
}
components/scientific/netcdf-c/test/results-all.master
New file
@@ -0,0 +1,63 @@
PASS: run_tests.sh
PASS: run_nc4_tests.sh
# TOTAL: 2
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
PASS: tst_inttags.sh
PASS: run_tests.sh
PASS: tst_64bit.sh
PASS: ref_ctest
PASS: ref_ctest64
PASS: tst_lengths.sh
PASS: tst_calendars.sh
PASS: run_utf8_tests.sh
PASS: tst_nccopy3_subset.sh
PASS: tst_charfill.sh
PASS: tst_iter.sh
PASS: tst_formatx3.sh
PASS: tst_bom.sh
PASS: tst_dimsizes.sh
PASS: run_ncgen_tests.sh
PASS: tst_ncgen4_classic.sh
PASS: test_radix.sh
PASS: test_rcmerge.sh
PASS: tst_null_byte_padding.sh
PASS: testpathcvt.sh
PASS: tst_fileinfo.sh
PASS: tst_hdf5_offset.sh
PASS: tst_inttags4.sh
PASS: tst_netcdf4.sh
PASS: tst_fillbug.sh
PASS: tst_grp_spec.sh
PASS: tst_mud.sh
PASS: tst_h_scalar.sh
PASS: tst_formatx4.sh
PASS: run_utf8_nc4_tests.sh
PASS: run_ncgen_nc4_tests.sh
PASS: tst_ncgen4.sh
FAIL: test_scope.sh
PASS: tst_inmemory_nc3.sh
PASS: tst_nccopy_w3.sh
PASS: tst_inmemory_nc4.sh
PASS: tst_nccopy_w4.sh
PASS: tst_ctests.sh
PASS: test_keywords.sh
PASS: tst_output.sh
PASS: tst_nccopy3.sh
PASS: run_back_comp_tests.sh
PASS: tst_netcdf4_4.sh
PASS: tst_nccopy4.sh
PASS: tst_nccopy5.sh
PASS: test_unicode_directory.sh
PASS: test_unicode_path.sh
# TOTAL: 47
# PASS:  46
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
components/scientific/netcdf/Makefile
File was deleted
components/scientific/netcdf/manifests/sample-manifest.p5m
File was deleted
components/scientific/netcdf/netcdf.p5m
File was deleted
components/scientific/netcdf/pkg5
File was deleted