head 1.4; access; symbols pkgsrc-2023Q4:1.3.0.20 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.18 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.16 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.14 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.12 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.10 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.8 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.6 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.4 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.2 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.2.0.8 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.6 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.4 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.2 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.1.0.16 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.12 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.14 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.10 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.8 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.6 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.4 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.2 pkgsrc-2018Q3-base:1.1; locks; strict; comment @# @; 1.4 date 2024.01.23.23.50.03; author mef; state dead; branches; next 1.3; commitid WjZreIu5UMfHeDVE; 1.3 date 2021.09.19.02.55.21; author mef; state Exp; branches; next 1.2; commitid qoRfCRSfsJc3Ov9D; 1.2 date 2020.09.20.23.12.15; author mef; state Exp; branches; next 1.1; commitid RiO5dxSzLHvHeQoC; 1.1 date 2018.09.17.13.24.18; author maya; state Exp; branches; next ; commitid kbqftoGqsBVpzsSA; desc @@ 1.4 log @(math/R-RNetCDF) Updated 2.6.2 5o 2.9.1, make test does not pass Version 2.9-1, 2023-12-30 * Fix support for parallel I/O with MPICH (and related MPI variants) * Fix error handlers to remove potentially insecure format strings Version 2.8-1, 2023-10-21 * Fix builds on platforms where share directory is not under $R_HOME * Fix UBSAN warning when converting empty NC_CHAR to R string * Fix type conversions with oneAPI compiler Version 2.7-1, 2023-10-02 * Fix crash when calling nc_free_vlen on vlen with zero-length * Support packing and unpacking of vlen * Support fill value conversions in non-numeric data types: NC_CHAR, NC_STRING, enum, compound, and vlen * Improve support for NetCDF parallel I/O in configure script: - Specify MPI compiler via argument --with-mpicc - Enable MPI tests in R CMD check via argument --with-mpiexec - Give warnings if MPI and/or NetCDF parallel I/O not detected * Add configure option --with-nc-config-static to allow selection of static libraries from nc-config * Build Windows package with NetCDF library from RTools4x - Adapt to newer RTools by using configure script on Windows * Add examples using hierarchical groups to help for grp.inq.nc @ text @$NetBSD: patch-configure,v 1.3 2021/09/19 02:55:21 mef Exp $ Fix the use of == in shell scripts. --- configure.orig 2021-08-20 17:07:16.000000000 +0900 +++ configure 2021-09-19 11:44:01.660453490 +0900 @@@@ -3718,7 +3718,7 @@@@ fi fi -if test "x$have_nc_config" == xyes +if test "x$have_nc_config" = xyes then : # Prepend linker flags to LDFLAGS: @@@@ -4064,7 +4064,7 @@@@ fi # Define HAVE_LIBUDUNITS2 if all udunits2 checks were successful: -if test "x$enable_calendar" == xyes +if test "x$enable_calendar" = xyes then : printf "%s\n" "#define HAVE_LIBUDUNITS2 1" >>confdefs.h @ 1.3 log @(math/R-RNetCDF) Updated 2.4.2 to 2.5.2 Version 2.5-2, 2021-08-20 * Support hdf5 filters via multi-filter interface (netcdf>=4.8.0) * Windows: update binary packages to netcdf 4.7.4 with OpenDAP * Generate type conversions with m4 macros * Reduce CPU time for utcal.nc example to pass CRAN checks @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.2 2020/09/20 23:12:15 mef Exp $ @ 1.2 log @(math/R-RNetCDF) Updated 1.9.1 to 2.4.2 Version 2.4-2, 2020-09-12 * Support reading/writing special values (e.g. NA, Inf) without substitution, mainly in cases where type conversion between R and NetCDF is not required. * Fix selection of na.mode values 0,1,2 * Fix range checks for numeric conversions with packing * Significantly increase test coverage of type conversion routines * Support parallel NetCDF when running with MPI * Allow creation of datasets in "data64" (CDF5) format * Support diskless files and in-memory manipulation of persistent files Version 2.3-1, 2020-04-27 * Fix problem when defining scalar variables with netcdf-4.7.4 Version 2.1-1, 2019-10-18 * Remove automatic handling of fill values in user-defined types * Link rwinlib libraries by pathname to fix r-hub Windows builds * Correct quoting of external software names in DESCRIPTION Version 2.0-4, 2019-10-13 * Fix OSX packages by linking expat library Version 2.0-3, 2019-10-05 * Support NetCDF-4 features for reading and writing of datasets. * Suggest bit64 package for NC_INT64 and NC_UINT64 types. * Drop support for netcdf-3.x library, require netcdf-4.x. * Drop support for udunits-1 library. * Disable calendar functions if udunits-2.x is not found during build. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2018/09/17 13:24:18 maya Exp $ d5 3 a7 3 --- configure.orig 2020-09-12 01:56:31.000000000 +0000 +++ configure @@@@ -3628,7 +3628,7 @@@@ fi d11 3 a13 2 -if test "x$have_nc_config" == xyes; then : +if test "x$have_nc_config" = xyes; then : d16 1 a16 2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking netcdf linker flags" >&5 @@@@ -3910,7 +3910,7 @@@@ fi d20 4 a23 3 -if test "x$enable_calendar" == xyes; then : +if test "x$enable_calendar" = xyes; then : $as_echo "#define HAVE_LIBUDUNITS2 1" >>confdefs.h a24 1 else @ 1.1 log @Add package R-RNetCDF version 1.9-1 An R interface to the NetCDF file format designed by Unidata for efficient storage of array-oriented scientific data and descriptions. The R interface is closely based on the C API of the NetCDF library, and it includes calendar conversions from the Unidata UDUNITS library. The current implementation supports all operations on NetCDF datasets in classic and 64-bit offset file formats, and NetCDF4-classic format is supported for reading and modification of existing files. From Kai-Uwe Eckhardt, updated as the previous distfile wasn't available. PR pkg/51607 @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- configure.orig 2016-11-06 16:18:40.084776697 +0000 d7 1 a7 2 @@@@ -3275,7 +3275,7 @@@@ fi done d9 1 d14 1 a14 1 # Find libraries and cflags used to build netcdf: d16 1 a16 11 @@@@ -3589,7 +3589,7 @@@@ fi # Define variables UDUNITS_LIB, UDUNITS_DBFILE and UDUNITS_DBVAR, # based on the version of udunits detected above. # Also define preprocessor macro HAVE_LIBUDUNITS or HAVE_LIBUDUNITS2. -if test $udunits == 2; then : +if test $udunits = 2; then : UDUNITS_LIB=udunits2 UDUNITS_DBFILE=udunits2.xml @@@@ -3597,7 +3597,7 @@@@ if test $udunits == 2; then : $as_echo "#define HAVE_LIBUDUNITS2 1" >>confdefs.h d19 4 a22 2 -elif test $udunits == 1; then : +elif test $udunits = 1; then : d24 1 a24 2 UDUNITS_LIB=udunits UDUNITS_DBFILE=udunits.dat @