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

science/udunits 2.2.28

Library for manipulating units of physical quantities

Port info

Maintainer
sunpoet@FreeBSD.org
Packages
latest: 2.2.28
Upstream
up to date
Last update
to 2.2.28 · c5f27e60e4
Quarterly
2026Q4: 2.2.28
WWW
https://www.unidata.ucar.edu/software/udunits/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install udunits
installs 2.2.28 from latest; from quarterly (2026Q4) 2.2.28
Port
# cd /usr/ports/science/udunits && make install clean
# make -C /usr/ports/science/udunits config  # change options first
Size
142 KiB download · 662 KiB installed
Depends on
print/indexinfo 0.3.1_1, textproc/expat2 2.9.0
License
UCAR_UNIDATA
Options
1 of 1 on in the package: DOCS

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 162.2.282.2.28–
FreeBSD 152.2.282.2.28–
FreeBSD 142.2.282.2.282.2.28

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 152.2.282.2.28–
FreeBSD 142.2.282.2.282.2.28

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.2.28.

Fixed (0)

No VuXML entries for this package.

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

None.

Commits (70)

Po-Chuan Hsieh (sunpoet) · 2.2.28
science/udunits: Cosmetic change
c5f27e60e4
Po-Chuan Hsieh (sunpoet) · 2.2.28
science/udunits: Update WWW and clean up pkg-descr
1d65d9f717
Stefan Eßer (se) · 2.2.28
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) · 2.2.28
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) · 2.2.28
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
Mathieu Arnold (mat) · 2.2.28
Remove # $FreeBSD$ from Makefiles.
305f148f48
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.28
Update to 2.2.28

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
424da78664
Baptiste Daroussin (bapt) · 2.2.26_2
Install texinfo files (GNU info) into ${PREFIX}/share/info

After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
7990f81066
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.26_1
Remove LICENSE_FILE from PORTDOCS

- Bump PORTREVISION for package change
6df1fd73c4
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.26
Update to 2.2.26

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
0ba55b5106
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.25
Update WWW

- Reformat pkg-descr
ae23d9c1e8
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.25
Convert PORTDATA=* and PORTDOCS=* to PLIST entries
a82f8de64e
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.25
Update to 2.2.25

- Add LICENSE

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
c255bde5ef
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.24
Update to 2.2.24

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
fe7676e7f0
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.23
Update to 2.2.23

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
342d0c5259
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.21
Update to 2.2.21

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
415f2b308c
Mathieu Arnold (mat) · 2.2.20
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
597afc47ba
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.20
- Update to 2.2.20

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
3f9afa5650
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.19
- Use USES=localbase
950349ba2d
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.19
- Convert to new test framework
9052cdcc50
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.19
- Update to 2.2.19

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
99c9a175f7
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.18
- Update to 2.2.18

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
b26e6bfc43
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.17
- Use INSTALL_TARGET=install-strip instead of MAKE_ENV=INSTALL_STRIP_FLAG=${STRIP}
e54ac542e0
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.17
- Update to 2.2.17

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
04380f8a21
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.16
- Revert r362761

Suggested by:	tijl
ba57231cb0
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.16
- Fix build on 11-CURRENT
f9c6b30c53
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.16
- Update to 2.2.16

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
22a236250a
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.15
- Update to 2.2.15

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
c6879351ab
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.14
- Update to 2.2.14

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
9bb1d8220f
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.13
- Update to 2.2.13

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
8a4db1fc21
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.12
- Update to 2.2.12 - Use USES=libtool

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
f98b5a0eab
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.11
- Update pkg-descr
9221b33bbc
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.11
- Update to 2.2.11 - Use PORTDATA

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
3c2b8daa76
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.6
- Update to 2.2.6

Changes:	https://github.com/Unidata/UDUNITS-2/blob/master/CHANGE_LOG
5286d15454
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.5
- Update to 2.2.5 - Add DOCS option

Changes:
2.2.5:
- Added missing "Makefile.in" to source-distribution.

2.2.4:
- Corrected version information in documentation. The Git plugin for Eclipse
  doesn't yet support Git hooks, so the pre-commit hook wasn't working.

2.2.3:
- Added vetting of the autoconf-based build to the continuous-delivery pipeline.

2.2.2:
- Documentation: Changed URL of Unidata yum(1) repository from
  <http://www.unidata.ucar.edu/yum-repo/CentOS/6/$basearch> to
  <http://www.unidata.ucar.edu/repos/yum/CentOS/6/$basearch>.

2.2.1:
- UDUNITS-1 Interface: Squashed bug in UDUNITS-1 interface that would not
  indicate an error if an ENOMEM error occurred.
- Documentation: Corrected name of installation-prefix variable in cmake build
  example for Windows (UDUNITS_INSTALL_PREFIX -> CMAKE_INSTALL_PREFIX).

2.2.0:
- New Features:
  - Program udunits2(1):
    - Added "-H have" and "-W want" options.
    - Added support for numeric unit amount so that "0 degC" equals "32 degF".
  - Library udunits2(3):
    - Added ut_get_path_xml() to retrieve pathname of XML unit database.
  - Units Database:
    - Added units "molecule" (for conversion with "mole") and "bit".
  - Misc:
    - Removed bundled EXPAT package.
    - Ported code to 32-bit Windows-7 under MinGW.
    - Added explicit chapters on the unit utility and unit library to the
      top-level package documentation.
- Bug Fixes:
  - Library udunits2(3):
    - Corrected logic of checking for location of <noplural> element.
  - Units Database:
    - Corrected ISO Latin-1 encodings that somehow got corrupted.
  - Release Engineering:
    - Added support for building by CMake and for creating binary distributions
      by CPack.
    - Added scripts and configuration-files to support continuous-delivery.
    - Added acceptance-test scripts for 32-bit Ubuntu 12 (Precise Pangolin) and
      32-bit Windows-7. Currently, only the Ubuntu script is used in the
      continuous-delivery pipeline.
  - Misc:
    - Changed file LICENSE to COPYRIGHT and corrected copyright year in many
      files.
    - Refactored the documentation to make it more version aware.
b073a17b3e
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.1.24_1
- Strip shared library
6c540acd76
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.1.24_1
- Support STAGEDIR
0f9f514708
Baptiste Daroussin (bapt) · 2.1.24_1
Add NO_STAGE all over the place in preparation for the staging support (cat: science)
1dd0d087e7
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.1.24_1
- Convert to new LIB_DEPENDS format

Suggested by:	wg
f914b50b6b
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.1.24_1
- Pet portlint: remove ABI version number from LIB_DEPENDS
c13fdab32e
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.1.24_1
- Cleanup Makefile header
ee0456d513
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.1.24_1
- Remove leading indefinite article from COMMENT
fa1716b118
Alex Kozlov (ak) · 2.1.24_1
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
d4041784dc
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.1.24_1
- Remove unnecessary USE_PERL5 - Bump PORTREVISION for dependency change
56e04a0981
Dmitry Marakasov (amdmi3) · 2.1.24
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS) - Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
6f6fbe4bdf
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.1.24
- Update to 2.1.24

Changes:
- Removed superfluous "the" from library documentation.
- Added (against my better judgement) symbols "ppm", "ppb", "ppt", "ppq", and
  (shamefully) symbols "ppmv", "ppbv", "pptv", and "ppqv" to the "common" units
  database.
- Improved ut_decode_time(): the returned "seconds" value will now always be
  less than 60. Thanks Christian.
2620a877c9
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.1.23
- Update to 2.1.23

Changes:
- Corrected "make install". Will now create the installation-directory
  $(DESTDIR)$(htmldir) for holding the symbolic links for HTML access to the
  unit database if that directory doesn't exist.
- Modified "formatter.c" to more rigorously handle the return value of
  snprintf().
- Modified documentation on ut_format() to indicate that the number of bytes
  returned depends on the snprintf() function that's used.
1aaf0d9821
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.1.22
- Update to 2.1.22 - CPPFLAGS is now added to CONFIGURE_ENV by Mk/bsd.port.Mk

Changes:	http://www.unidata.ucar.edu/blogs/news/entry/udunits_version_2_1_22
4aa3734e96
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.1.21
- Update to 2.1.21

Changes:
- Eliminate expectation and use of leading scale factor in the "have"
  unit of udunits2(1).
- Add verification of commit status to "make ftp".
- Add dependency of documentation on version.
- Add "force" flag to tagging rule in makefile.

Feature safe:	yes
adaf4aaad4
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.1.20
- Update to 2.1.20

Changes:
- Added "fahrenheit" as an alias for "degrees fahrenheit".
- Added hyperlinks from HTML documentation to XML files of the units database.
d033dc9834