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

math/saga 9.14.1

System for Automated Geoscientific Analyses

Port info

Maintainer
rhurlin@FreeBSD.org
Packages
latest: 9.14.1
Upstream
up to date
Last update
to 9.14.1 · 9ff6dfff4e
Quarterly
2026Q4: 9.13.1 · last MFH fd0a253d0d
WWW
http://www.saga-gis.org/en/index.html
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install saga
installs 9.14.1 from latest; from quarterly (2026Q4) 9.13.1
Port
# cd /usr/ports/math/saga && make install clean
# make -C /usr/ports/math/saga config  # change options first
Size
9.6 MiB download · 58 MiB installed
Depends on
converters/libiconv 1.18_1, databases/postgresql18-client 18.6, databases/unixODBC 2.3.12_2, devel/desktop-file-utils 0.28, devel/swig 4.4.1, ftp/curl 8.23.0, graphics/exiv2 0.28.9,1, graphics/gdal 3.13.3_1, graphics/opencv 4.13.0_9, graphics/proj 9.9.0,1, graphics/tiff 4.7.2, graphics/vigra 1.12.4_1, lang/python312 3.12.15, math/fftw3 3.3.11, math/pdal 2.9.0, print/libharu 2.4.6, science/hdf5 1.12.2_2,1, science/libaec 1.1.7, science/libsvm 3.24, x11-toolkits/wxgtk32 3.2.8.1_1
License
GPLv2 and LGPL21
Options
3 of 3 on in the package: OPENMP PGSQL VIGRA
pkg-message
Shown after upgrading
Your SAGA GIS installation now resides under
  /usr/local/lib/saga

Besides the graphical user interface saga_gui, saga_cmd is of
particular importance for processing geodata. The latter can
be used in scripts or directly in the shell.

All extra material like helpers and templates are at
  /usr/local/share/saga/

Predefined ToolChains in xml format are located under
  /usr/local/share/saga/toolchains/
  
A ToolChains manual and cheatsheet can be found at
  /usr/local/share/saga/docs

---
Using the SAGA Python package PySAGA, the majority of all
SAGA tools and functions, including the Grid Calculator,
can be used directly in Python. The PySAGA package is
located in the following directory
  /usr/local/lib/python3.12/site-packages/PySAGA

Python scripts with examples, utilities, and test data
are located at:
  /usr/local/share/saga/python/

A good starting point is the script /usr/local/share/saga/docs/saga_python_example.py.
Another good example can be found at
  https://sourceforge.net/p/saga-gis/news/2023/10/saga-920-released/

---
If you want to use SAGA within QGIS (graphics/qgis) via a plugin, you should perform the following steps with your user privileges after installing SAGA and QGIS:

1. If it exists, please first delete the `saga4qgis` directory in the QGIS user’s home directory:
rm -R ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/saga_provider

2. Now copy the 'SAGA Processing Provider' plugin included with SAGA to the QGIS user’s home directory:
cp -pRv /usr/local/share/saga/resources/saga4qgis/saga_provider ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/

3. After restarting QGIS for the first time, you must activate the plugin you just installed by checking the box:
Plugins -> Manage and Install Plugins... -> SAGA Processing Provider

Please note that when using SAGA in QGIS, only a subset of the tools is available. Among other things, there are no interactive tools. We therefore recommend using SAGA directly as a standalone application.

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 169.14.19.14.0–
FreeBSD 159.14.19.14.0_2–
FreeBSD 149.14.19.14.09.14.1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 159.13.19.13.1–
FreeBSD 149.13.19.13.19.13.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 9.14.1.

Fixed (0)

No VuXML entries for this package.

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

None.

Commits (253)

Mathieu Arnold (mat) · 7.3.0_1
onvert to UCL & cleanup pkg-message (categories l-m)
558224994b
Gerald Pfeifer (gerald) · 7.3.0_1
Bump PORTREVISION for ports depending on the canonical version of GCC as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
ea8c8ec7da
Wen Heping (wen) · 7.3.0
- Update to 6.1.0 and fix some ports - Add missing DEPENDS - Add TEST_TARGET - Take maintainership

PR:		237932, 238795
Submitted by:	wenheping2000@hotmail.com,rhurlin@gwdg.de
Approved by:	maintainer(timeout, > 30 days), portmgr@(implicit, fix build)
Exp-run by:	antoine@
Thanks to:	antoine@, sunpoet@, rhurlin@gwdg.de
3d23ba68ab
Steve Wills (swills) · 7.2.0
math/saga: Update to 7.2.0

PR:		235811
Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)
5ce857db21
Baptiste Daroussin (bapt) · 7.1.1_1
wxGTK3.0: switch to gtk3 and webkit2

Discussed with:	portmgr
89bc7fbdd1
Steve Wills (swills) · 7.1.1
math/saga: Update to 7.1.1

PR:		234522
Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)
ff09968e2d
Wen Heping (wen) · 7.0.0
- Update from 6.4.0 to 7.0.0 - Add ftp/curl as LIB_DEPENDS - Use OpenMP from within llvm60 also for i386 - Move some dirs for ${COPYTREE_SHARE}

PR:		233408
Submitted by:	rhurlin@gwdg.de(maintainer)
773930e3af
Gerald Pfeifer (gerald) · 6.4.0_4
Bump PORTREVISION for ports depending on the canonical version of GCC defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
a9f015d155
Ganael LAPLANCHE (martymac) · 6.4.0_3
Update devel/tbb to version 2019.1 and bump dependent ports' revisions

Also, reintegrate HTML documentation that was removed in previous version.
e20bbea618
Ganael LAPLANCHE (martymac) · 6.4.0_2
Update devel/tbb to version 2019 and bump dependent port's revisions
c05d3b7d2f
Antoine Brodin (antoine) · 6.4.0_1
Cleanup plists
b8796f0d82
Gerald Pfeifer (gerald) · 6.4.0_1
Bump PORTREVISION for ports depending on the canonical version of GCC in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
09f9633cb6
Kurt Jaeger (pi) · 6.4.0
math/saga: update 6.3.0 -> 6.4.0, fix describe

- Change from llvm50 to llvm60
- Use OpenMP from within llvm60 instead of devel/openmp
- disable OpenMP, if i386 is detected

PR:		229470, 229129
Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)
Reported by:	Uasyhiro KIMURA <yasu@utahime.org>
Reviewed by:	w.schwarzenfeld@utanet.at
Relnotes:	https://sourceforge.net/p/saga-gis/news/2018/06/saga-640-released/
20f73e970b
Wen Heping (wen) · 6.3.0
- Update version from 6.1.0 to 6.3.0 - Use devel/liblas12 with changed naming scheme - If using openMP, change the compiler from gcc to clang - Recreate some patches with makepatch

PR:		227901
Submitted by:	rhurlin@gwdg.de(maintainer)
49baed99df
Steve Wills (swills) · 6.1.0_4
Bump PORTREVISION on more opencv consumers due to opencv update
142143e5a7
Jan Beich (jbeich) · 6.1.0_3
math/saga: unbreak build with wxWidgets 3.0.3 (try#2)

grid_to_kml.cpp: In member function 'bool CGrid_from_KML::Load_Overlay(const wchar_t*, const CSG_MetaData&)':
grid_to_kml.cpp:585:49: error: conversion from 'const wxScopedWCharBuffer {aka const wxScopedCharTypeBuffer<wchar_t>}' to non-scalar type 'CSG_String' requested
  CSG_String   FullPath = fn.GetFullPath().wc_str();
                          ~~~~~~~~~~~~~~~~~~~~~~~^~

PR:		223758
Submitted by:	rozhuk.im@gmail.com
Approved by:	Rainer Hurling (maintainer)
d71f826c80
Gerald Pfeifer (gerald) · 6.1.0_3
Bump PORTREVISIONs of all users of math/mpc that we just updated to version 1.1.0 (via revision 464079).
c2a92a1aea
Antoine Brodin (antoine) · 6.1.0_2
Reduce dependency on the python2 metaport

PR:		225752
Submitted by:	Yasuhiro KIMURA
f7455240e3
Jan Beich (jbeich) · 6.1.0_1
math/saga: unbreak build with wxWidgets 3.0.3

wksp_tool.cpp: In member function 'virtual wxString CWKSP_Tool::Get_Description()':
wksp_tool.cpp:159:61: error: no matching function for call to 'CSG_File::Open(const wxScopedWCharBuffer, ESG_File_Flags_Open)'
   if( Stream.Open(FileName.GetFullPath().wc_str(), SG_FILE_R) && Stream.Read(Description, Stream.Length()) )
                                                             ^
In file included from ../saga_api/geo_tools.h:77:0,
                 from ../saga_api/mat_tools.h:77,
                 from ../saga_api/dataobject.h:84,
                 from ../saga_api/table.h:77,
                 from ../saga_api/grid.h:77,
                 from ../saga_api/parameters.h:77,
                 from ../saga_api/tool.h:76,
                 from ../saga_api/tool_library.h:77,
                 from ../saga_api/saga_api.h:118,
                 from res_commands.h:78,
                 from wksp_tool.cpp:67:
../saga_api/api_core.h:955:13: note: candidate: bool CSG_File::Open(const CSG_String&, int, bool, int)
  bool       Open    (const CSG_String &File_Name, int Mode = SG_FILE_R, bool bBinary = true, int Encoding = SG_FILE_ENCODING_CHAR);
             ^~~~
../saga_api/api_core.h:955:13: note:   no known conversion for argument 1 from 'const wxScopedWCharBuffer {aka const wxScopedCharTypeBuffer<wchar_t>}' to 'const CSG_String&'
wksp_tool.cpp:166:61: error: no matching function for call to 'CSG_File::Open(const wxScopedWCharBuffer, ESG_File_Flags_Open)'
   if( Stream.Open(FileName.GetFullPath().wc_str(), SG_FILE_R) && Stream.Read(Description, Stream.Length()) )
                                                             ^
In file included from ../saga_api/geo_tools.h:77:0,
                 from ../saga_api/mat_tools.h:77,
                 from ../saga_api/dataobject.h:84,
                 from ../saga_api/table.h:77,
                 from ../saga_api/grid.h:77,
                 from ../saga_api/parameters.h:77,
                 from ../saga_api/tool.h:76,
                 from ../saga_api/tool_library.h:77,
                 from ../saga_api/saga_api.h:118,
                 from res_commands.h:78,
                 from wksp_tool.cpp:67:
../saga_api/api_core.h:955:13: note: candidate: bool CSG_File::Open(const CSG_String&, int, bool, int)
  bool       Open    (const CSG_String &File_Name, int Mode = SG_FILE_R, bool bBinary = true, int Encoding = SG_FILE_ENCODING_CHAR);
             ^~~~
../saga_api/api_core.h:955:13: note:   no known conversion for argument 1 from 'const wxScopedWCharBuffer {aka const wxScopedCharTypeBuffer<wchar_t>}' to 'const CSG_String&'

PR:		223758
Submitted by:	rozhuk.im@gmail.com
Obtained from:	upstream
Approved by:	Rainer Hurling (maintainer)
0b52e68840
Bradley T. Hughes (bhughes) · 6.1.0
math/saga: Update 4.1.0 -> 6.1.0

PR:		223890
Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)
Approved by:	robak (mentor)
Differential Revision:	https://reviews.freebsd.org/D13436
9b69f56c5e
Ganael LAPLANCHE (martymac) · 4.1.0_2
Update tbb to 2018 and bump dependent ports' revisions
31c1655dde
Gerald Pfeifer (gerald) · 4.1.0_1
Bump PORTREVISION for ports depending on the canonical version of GCC (via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
e59c88cece
Wen Heping (wen) · 4.1.0
- Update to 4.1.0

PR:		220012
Submitted by:	wen@
Approved by:	maintainer
1c2d8d1f6a
Jan Beich (jbeich) · 3.0.0_3
graphics/opencv: back out r423216 and r423063 (replaying r423316)

Renaming didn't help to unblock 3.x progress as co-existence with 2.x
was no less complex than simply fixing consumers. This commit also
restores directory-level history accidentally lost via git-svn.

PR:		210505
Pointy hat to:	jbeich (should've discussed first)
d764059958
Gerald Pfeifer (gerald) · 3.0.0_2
Bump PORTREVISIONs for ports depending on the canonical version of GCC and lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
04d6f52202
Ganael LAPLANCHE (martymac) · 3.0.0_1
Update devel/tbb to 2017.5

Also bring the following changes:
- Fetch distfiles from Github
- Bump dependent ports' PORTREVISIONs
d1a60db80b
Wen Heping (wen) · 3.0.0
- Update from 2.3.1 to 3.0.0 - Add dependency science/libsvm - Add USES=pkgconfig - Sort USES alphabetical - INSTALL_TARGET=install-strip

PR:		216367
Submitted by:	rhurlin@gwdg.de(maintainer)
a269606cbb
Jan Beich (jbeich) · 2.3.1_4
lang/gcc: clear BROKEN from consumers as 10.1 is past EOL

PR:		214863
857289785e
Dmitry Marakasov (amdmi3) · 2.3.1_4
- Fix BROKEN: only fails to build on 10.1

Approved by:	portmgr blanket
c44ec4a636
Dmitry Marakasov (amdmi3) · 2.3.1_4
- Mark BROKEN on FreeBSD 10.1, 10.2

Approved by:	portmgr blanket
4a18ca142f
Jan Beich (jbeich) · 2.3.1_4
Switch USES=compiler:gcc-c++11-lib to use base libc++ on 10.2+ systems

PR:		215192
Requested by:	dim
Exp-run by:	antoine
Approved by:	antoine
13d07760cf
Ganael LAPLANCHE (martymac) · 2.3.1_3
- Fix library version which should be .2 (as on Linux), not .4 - Bump dependent ports' PORTREVISION

PR:		214777
Submitted by:	yuri@rawbw.com
188d90770b
Ganael LAPLANCHE (martymac) · 2.3.1_2
- Update devel/tbb to version 2017.1 - Bump dependent ports
d67136b303
Jan Beich (jbeich) · 2.3.1_1
graphics/opencv: add suffix to make room for 3.x series

To avoid confusion, the main port is to track the latest release.
Whether to rename includes/libraries as well making it possible to
install 2.x and 3.x side-by-side remains to be investigated.

PR:		210505 (for tracking)
Inspired by:	PkgSrc
ba3ffd9b12
Pawel Pekala (pawel) · 2.3.1
Update to version 2.3.1

Changelog:
- New library 'imagery_isocluster'
- Record statistics in 'table_calculus'
- Better io_gdal shapes import
- Updates to scripting tools

PR:		210946
Submitted by:	maintainer
f71c9747b6
Wen Heping (wen) · 2.3.0
- Update to 2.3.0

PR:		210810
Submitted by:	rhurlin@gwdg.de(maintainer)
9261c67618
Dmitry Marakasov (amdmi3) · 2.2.7
- Fix trailing whitespace in pkg-messages

Approved by:	portmgr blanket
e87a8bd319
Kurt Jaeger (pi) · 2.2.7
math/saga: 2.2.6 -> 2.2.7

SAGA GIS version 2.2.7 [r2893] is a bug fix release, because a
serious bug in the command line interpreter saga_cmd prevents correct
setting of floating point value parameters.

Some more fixes and features are:

- taking respect for future use of new date parameter
- bug fixes for flip method in grid operation and orientation
- overworked grid system
- bug fix for atan2, which did not work before
- bug fixes for some tool parameter ids
- updated dictionaries and tool interfaces

PR:		209175
Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)
c3723d6d3a
Thomas Zander (riggs) · 2.2.6
Update to upstream version 2.2.6

PR:		208481
Submitted by:	rhurlin@gwdg.de (maintainer)
ded4e36181
Mathieu Arnold (mat) · 2.2.4_1
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
8d6597e0bb
Thomas Zander (riggs) · 2.2.4_1
Fix overlinking problem with opencv.

Prior to this changeset, all binaries linked to opencv. This is
unneccessary, as only the imagery_opencv module needs to link to
opencv to work correctly.
PORTREVISION is bumped as package content changes.

PR:		207693
Submitted by:	rhurlin@gwdg.de (maintainer)
52386167b5
Wen Heping (wen) · 2.2.4
- Update to 2.2.4

PR:		207565
Submitted by:	rhurlin@gwdg.de(maintainer)
8e11ae0e3d
Martin Wilke (miwi) · 2.2.3
- Fix build

PR:		205491
ff66763537
Martin Wilke (miwi) · 2.2.3
- Update from 2.2.2 (r2652) to 2.2.3 (r2737) - Use other distfile naming scheme again - Correct usage of wx-config for SAGA GIS module io_virtual - Adjust naming scheme of patches via 'make makepatch' - Update pkg-plist

PR:		    205491
Submitted by:   maintainer
58a1eb3975
Palle Girgensohn (girgen) · 2.2.2_1
Use USES=pgsql instead of hardwiring a postgresql version

PR:		204719
Submitted by:	Rainer Hurling<rhurlin@gwdg.de> (maintainer)
da6a8a3291
Mathieu Arnold (mat) · 2.2.2
Update to 2.2.2.

PR:		203899
Submitted by:	maintainer
Sponsored by:	Absolight
b4dfe159bb
Wen Heping (wen) · 2.2.1
- Update to version 2.2.1 - Change to USES=localbase - Remove WX_UNICODE=yes (obsolete now) - Parse pkg-message via SUB_FILES - Integrate SAGA GIS toolchain files (sripting)

PR:		203508
Submitted by:	rhurlin@gwdg.de(maintainer)
e69dd91a8c
Sunpoet Po-Chuan Hsieh (sunpoet) · 2.2.0_1
- Update to 2.0.0 - Bump PORTREVISION for graphics/gdal shlib change - Mark astro/merkaartor as BROKEN

Changes:	http://trac.osgeo.org/gdal/wiki/Release/2.0.0-News
ef0fa46671
Thomas Zander (riggs) · 2.2.0
- Update to upstream version 2.2.0 - Install icons - Switch from ${CHMOD} in Makefile to @mode in pkg-plist - Rework files/ dir using 'make makepatch'

PR:		201329
Submitted by:	rhurlin@gwdg.de (maintainer)
2239acc749
Wen Heping (wen) · 2.1.4_1
- Update graphics/proj to 4.9.1 - Bump PORTREVISION to chase the update of proj

PR:		200434
Submitted by:	wen@(myself)
Approved by:	maintainer(timeout, >20 days)
70e12eef45