CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

science/cgribex 2.3.1

Lightweight GRIBEX in C with portable Fortran interface

Port info

Maintainer
sunpoet@FreeBSD.org
Packages
latest: 2.3.1
Upstream
up to date
Last update
to 2.3.1 · bca88eb9c0
Quarterly
2026Q4: 2.3.1
WWW
https://code.mpimet.mpg.de/projects/cgribex
Links
cgit · VuXML

Install

Package
# pkg install cgribex
installs 2.3.1 from latest; from quarterly (2026Q4) 2.3.1
Port
# cd /usr/ports/science/cgribex && make install clean
# make -C /usr/ports/science/cgribex config  # change options first
Size
131 KiB download · 710 KiB installed
Depends on
graphics/jasper 4.2.9, science/libaec 1.1.7
License
BSD3CLAUSE
Options
2 of 2 on in the package: JASPER SZIP

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 162.3.12.3.1–
FreeBSD 152.3.12.3.1–
FreeBSD 142.3.12.3.12.3.1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 152.3.12.3.1–
FreeBSD 142.3.12.3.12.3.1

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 2.3.1.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (24)

Po-Chuan Hsieh (sunpoet) · 2.3.1
science/cgribex: Update to 2.3.1

Changes:

2024-10-13 Uwe Schulzweida
2.3.0:
- Removed dtypes.h

2.2.0:

2.1.1:
- pwr6_minmax_val_double_unrolled6: remove register attribute

2.1.0:
- Replaced CDI timebase by julian_date

2.0.2:
- Replaced CDI timebase by julian_date

2.0.1:
- Store result of CGRIBEX_FPSCALE to double
- avx_encode_array_2byte_double: Enforce availability of vectorization in
  function.
bca88eb9c0
Po-Chuan Hsieh (sunpoet) · 2.0.0_1
science/cgribex: Clean up Makefile
36bf002ea5
Po-Chuan Hsieh (sunpoet) · 2.0.0_1
science/cgribex: Remove GRIB_API option after grib_api deprecation

- Bump PORTREVISION for dependency change

PR:		281652
8873734cb1
Po-Chuan Hsieh (sunpoet) · 2.0.0
science/cgribex: Update to 2.0.0

- Update LICENSE

Changes:

2.0.0:
- Changed to 3-clause BSD license
- app/grib.c: fix timer bug
- gridRead()/gribWrite(): change type of parameter buffer to void*

1.9.5:
- pbio: removed default buffer size of BUFSIZ, default is now set in fileOpen()
- pbseek()/fileSetPos(): not initialized correctly (bug fix) [report: Harald
  Anlauf]
4ca169608c
Po-Chuan Hsieh (sunpoet) · 1.9.4_3
graphics/jasper: Update to 4.0.0

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/jasper-software/jasper/releases
Security:	CVE-2022-2963, CVE-2022-40755
b1c370eb31
Stefan Eßer (se) · 1.9.4_2
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 1.9.4_2
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Tobias C. Berner (tcberner) · 1.9.4_2
science: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Andreas Fehlner <fehlner@gmx.de>
  *  Brad Huntting <huntting@glarp.com>
  *  Chao Shin <quakelee@cn.FreeBSD.org>
  *  Cheng-Lung Sung <clsung@FreeBSD.org>
  *  Chia-Hsing Yu <me@davidyu.org>
  *  Chris Rees <utisoft@gmail.com>
  *  David Naylor <dbn@FreeBSD.org>
  *  Dmitry Sivachenko <demon@FreeBSD.org>
  *  Ed Schouten <ed@FreeBSD.org>
  *  Eric Freeman <freebsdports@chillibear.com>
  *  Erik B Knudsen
  *  Fernan Aguero <fernan@iib.unsam.edu.ar>
  *  Frederic Culot <frederic@culot.org>
  *  Gea-Suan Lin <gslin@gslin.org>
  *  Glenn Johnson
  *  Greg Lewis <glewis@FreeBSD.org>
  *  Igor Serikov <iserikov@acm.org>
  *  Johannes Dieterich <dieterich@ogolem.org>
  *  Johannes Dieterich <jmd@FreeBSD.org>
  *  Johannes M Dieterich <jmd@FreeBSD.org>
  *  Johannes Meixner <johannes@perceivon.net>
  *  Ju Pengfei <jupengfei@gmail.com>
  *  Kay Lehmann <kay_lehmann@web.de>
  *  Klaus Aehlig <aehlig@linta.de>
  *  Kurt Kanzenbach <kurt@kmk-computers.de>
  *  Leland Wang <llwang@infor.org>
  *  Li-Lun Wang <llwang@infor.org>
  *  Markus Brueffer <markus@FreeBSD.org>
  *  NAKATA Maho <maho@FreeBSD.org>
  *  NAKATA, Maho <maho@FreeBSD.org>
  *  Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
  *  Nakata Maho <maho@FreeBSD.org>
  *  Pav Lucistnik <pav@FreeBSD.org>
  *  Pav Lucistnik <pav@oook.cz>
  *  Pedro F. Giffuni
  *  Pedro F. Giffuni <giffunip@tutopia.com>
  *  Pedro Giffuni
  *  Pedro Giffuni <giffunip@asme.org>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Rong-En Fan <rafan@FreeBSD.org>
  *  Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
  *  Seamus Venasse <svenasse@polaris.ca>
  *  Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
  *  Shin-ya MURAKAMI <murashin@gfd-dennou.org>
  *  Shin-ya Murakami <murashin@gfd-dennou.org>
  *  Stas Timokhin <devel@stasyan.com>
  *  Stephen Montgomery-Smith <stephen@math.missouri.edu>
  *  Steve Wills <steve@mouf.net
  *  Steve Wills <steve@mouf.net>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
  *  TAKATSU Tomonari <tota@FreeBSD.org>
  *  TAOKA Fumiyoshi
  *  Thierry Thomas <thierry@pompo.net>
  *  Tim Cas <ports@stdrand.com>
  *  Uffe Jakobsen <uffe@uffe.org>
  *  Veniamin Gvozdikov <vg@FreeBSD.org>
  *  Vsevolod Stakhov <vsevolod@highsecure.ru>
  *  Wen Heping <wen@FreeBSD.org>
  *  Wen Heping <wenheping@gmail.com>
  *  Wen heping <wenheping@gmail.com>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Yuri Victorovich <yuri@rawbw.com>
  *  anholt@FreeBSD.org
  *  bacon@smithers.neuro.mcw.edu
  *  batman <batman@udel.edu>
  *  db
  *  gurkan@phys.ethz.ch
  *  ijliao
  *  jbacon
  *  maintainer.freebsd@xpoundit.com
  *  mi
  *  rafan@infor.org
  *  shurd@FreeBSD.org
  *  thierry@pompo.net
  *  will

With hat:	portmgr
46196047a4
Po-Chuan Hsieh (sunpoet) · 1.9.4_2
*/*: Replace science/szip with science/libaec

- Bump PORTREVISION of dependent ports for dependency change

szip does not allow redistribution in binary form without proper commercial
license. Its LICENSE_PERMS should be set to no-auto-accept which blocks building
this port, therefore building dependent ports are also blocked. Switch all
dependent ports to science/libaec to avoid conflicts and license issue.

PR:		228743, 246097, 250165
328ae40742
Po-Chuan Hsieh (sunpoet) · 1.9.4_1
graphics/jasper: Bump PORTREVISION of dependent ports for shlib change after cdcedd316da6d7c8509c394474160c683489a3ae
735ea04b67
Piotr Kubaj (pkubaj) · 1.9.4
science/cgribex: fix build on powerpc64le with LLVM 13

./minmax_val.c:324:2: error: address of register variable requested
        dmin[j] = data[0];
        ^~~~

While here, remove the __fsel implementation and switch to __builtin_ppc_fsel that LLVM provides.
6826232807
Po-Chuan Hsieh (sunpoet) · 1.9.4
science/cgribex: Simplify Makefile
931ef787ea
Mathieu Arnold (mat) · 1.9.4
Remove # $FreeBSD$ from Makefiles.
305f148f48
Piotr Kubaj (pkubaj) · 1.9.4
science/cgribex: fix build on powerpc64le, powerpc64 with CPUTYPE=power6 and newer with Clang

Clang doesn't have __fsel function.
Taken from https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/config/rs6000/ppu_intrinsics.h;h=e17faae05932e33c22697a3178b26314b88c9a31;hb=HEAD#l530
d156d185df
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.9.4
Update to 1.9.4

- Use CONFIGURE_WITH helper


1.9.4:
- added interface function gribDateTimeX()

1.9.3:
- encodeBDS: check range of reference value zref

1.9.2:
- grib_decode: print warning about inconsistent message length only if llarge=false

1.9.1:
- changed type of date to int64_t
- Added include <ppu_intrinsics.h> [patch from Alastair McKinstry]
- grib2PrintALL: print GRIB2 parameter triplet
75271ac67b
Baptiste Daroussin (bapt) · 1.9.0_2
Update jasper to 2.0.16

This is needed to be able to update gegl to latest version.
Bump revision of all consumer as the ABI is not 100% backward compatible.
Provide a patch for graphics/devil to properly build with latest jasper.
While here add a missing USES=xorg to graphics/devil
c5fe34636c
Tobias Kortkamp (tobik) · 1.9.0_1
science/cgribex: Spell SZIP_CONFIGURE_OFF correctly

Fix post-configure while here to make it work.
6585fa45b0
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.9.0
Update to 1.9.0

- Update MASTER_SITES
- Update WWW

1.9.0:
- gribZip: remove large file support
- store Decimal scale factor to int16 (bug fix)
- bug fix for large grib records
- Added CALENDAR_GREGORIAN

1.8.1:
- Skip GridDataSection if not available
- Changed boolean ints to stdbool
- file_fill_buffer: set offset (bug fix) [patch from Harald Anlauf]

1.8.0:
- Fix unreliable rounding

1.7.6:
- Added support for GRIB level type 210
- gribReadSize/gribGetSize: changed type of  return value to size_t
- Removed libaec specific calls
b2002314e8
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.7.5
Add GRIB_API option
3464398dde
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.7.5
Add JASPER and SZLIB options
05eb45c840
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.7.5
- Update to 1.7.5 - Add LICENSE_FILE - Strip shared library

1.7.5:
- encodeBDS: recalculation of binscale (bug fix) [Klaus Wyser]

1.7.4:
- encodeBDS: changed if to while in recalculation of binscale (bug fix) [report: Harald Anlauf]
- grib_decode.tmpl: force nearest neighbor remapping from reduced gaussian grids (lveggy)
- decode_array_2byte: optimisation using gribSwapByteOrder_uint16()
- encode_array_2byte: optimisation using gribSwapByteOrder_uint16()

1.7.2:
- gribDateTime: set ryear and century to 0 if they are undefined

1.7.1:
- define grib_encode_array_2byte_double to select optimized simd version

1.7.0:
- added support for time unit 14 (ISEC1_TABLE4_30MINUTES)
- decode: added support of single precision floats
- encode: added support of single precision floats

1.6.4:
- encodeBDS: replaced intpow2(nbpv) by (1ULL << nbpv)
- Update to 1.7.5
e17425d385
Mathieu Arnold (mat) · 1.6.3
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
597afc47ba
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.6.3
- Use INSTALL_TARGET=install-strip instead of STRIP_CMD
6b384060e7
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.6.3
- Add cgribex 1.6.3

GRIBEX is an interface for encoding and decoding WMO FM-92 GRIB edition 1
messages and some ancillary subroutines for controlling printing and debugging.
The GRIBEX software was developed at the European Centre for Medium-range
Weather Forecasts (ECMWF) and is part of the EMOS library. EMOS is mostly
written in Fortran. Therefore it has only a Fortran interface.

CGRIBEX is a lightweight version of GRIBEX written in ANSI C with a portable
Fortran interface. For best compatibility some of the C sources were converted
from the Fortran GRIBEX version.

WWW: https://code.zmaw.de/projects/cgribex
5c52f70c5e