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

science/mcstas 2.5

Monte Carlo neutron ray tracing package

Port info

Maintainer
erkn@fysik.dtu.dk
Packages
latest: 2.5
Upstream
Higher version available: 3.4
Last update
to 2.5 · fb16dfecae
Quarterly
2026Q4: 2.5
WWW
https://www.mcstas.org
Links
cgit · VuXML

Install

Package
# pkg install mcstas
installs 2.5 from latest; from quarterly (2026Q4) 2.5
Port
# cd /usr/ports/science/mcstas && make install clean
Size
164 KiB download · 594 KiB installed
Depends on
nothing
License
GPLv2

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 162.52.5–
FreeBSD 152.52.5–
FreeBSD 142.52.52.5

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 152.52.5–
FreeBSD 142.52.52.5

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

Fixed (0)

No VuXML entries for this package.

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

PRSummaryStatusChanged
298640maintainer-feedback? science/mcstas: Fails to build with CMake 4New2026-09-18

Commits (42)

Stefan Eßer (se) · 2.5
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.5
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
Mathieu Arnold (mat) · 2.5
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 2.5
Remove # $FreeBSD$ from Makefiles.
305f148f48
Tobias Kortkamp (tobik) · 2.5
Cleanup RLN usage

RLN is based on install(1) and -s means "run strip(1) on the installed
binary".  install(1) ignores -s when it makes a link, so it "works"
now instead of failing when it links non-binaries.
2e3378cde0
Steve Wills (swills) · 2.5
science/mcstas: update to 2.5

While here, update LICENSE, clean up, pet portlint

PR:		234589
Submitted by:	Erik B Knudsen <erkn@fysik.dtu.dk> (maintainer)
0dfb1596dd
Tobias C. Berner (tcberner) · 2.2a
Change cmake default behaviour to outsource.

Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
707c6bf295
Steve Wills (swills) · 2.2a
science/mcstas: switch back to PORTVERSION

Avoids an issue with verion going backwards.
43e164ab3e
Steve Wills (swills) · 2.2.a
science/mcstas: simplify Makefile

While here, remove unecessary pkg-install/deinstall

PR:		223905
Submitted by:	Erik B Knudsen <erkn@fysik.dtu.dk> (maintainer)
ef7b06f26c
Antoine Brodin (antoine) · 2.2a
Those ports build fine with bsd make
8be339c899
Mathieu Arnold (mat) · 2.2a
Do not use post-stage.  Use post-install instead.

The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.

PR:		214780
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
8b4093cba5
Dmitry Marakasov (amdmi3) · 2.2a
- Fix trailing whitespace in pkg-descrs, categories [p-x]*

Approved by:	portmgr blanket
1f8b48b772
Dmitry Marakasov (amdmi3) · 2.2a
- Remove unneeded @dir's

Approved by:	portmgr blanket
25f7031be2
Jason Unovitch (junovitch) · 2.2a
science/mcstats[-comps]: update 2.1 -> 2.2a

- Update PORTVERSION and distinfo to 2.2a
- Simplify DISTNAME/DISTFILES/MASTER_SITES/WRKSRC handling
- Clean up language in COMMENT (mcstas-comps only)
- Use PORTVERSION in PLIST_SUB and %%PORTVERSION%% in pkg-plist as
  as port installs self-contained under ${PREFIX}/mcstas/${PORTVERSION}
- Add pkg-install/pkg-install to SUB_FILES and rename appropriately
- Use PREFIX in pkg-install.in/pkg-deinstall.in
- Remove the post-fetch routines
- Switch unnecessary bsd.port.(pre|post).mk include to just bsd.port.mk
- Sync pkg-descr verbiage between ports and wrap at 76 characters

PR:		204223
PR:		204224
Submitted by:	Erik B Knudsen <erkn@fysik.dtu.dk> (maintainer)
706407ee13
Kurt Jaeger (pi) · 2.1
science/mcstas: USE_BISON is not used

Submitted by:	az
bb733d3e6a
Kurt Jaeger (pi) · 2.1
New port: science/mcstas

Monte Carlo ray tracing simulations of neutron experiments.

McStas is a tool for simulating neutron instrumentation and experiments
using a ray-tracing formalism. Currently the main use of McStas is
in the field of instrument design.

WWW: http://www.mcstas.org

PR:		194846
Submitted by:	Erik B. Knudsen <erkn@fysik.dtu.dk>
2f70efd363
Baptiste Daroussin (bapt)
Remove non staged ports without pending PR from s*
38a0a80230
Jimmy Olgeni (olgeni) · 1.12c_3
Remove indefinite articles and trailing periods from COMMENT, plus minor COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Categories P-S.

CR:		D422
Approved by:	portmgr (bapt)
fa3a17c064
Carlo Strub (cs) · 1.12c_3
Back to pool

Approved by:	portmgr (implicit)
d1c5d4b117
Martin Wilke (miwi) · 1.12c_3
- Convert gmake to USES

Approved by:	portmgr
8707167003
Gerald Pfeifer (gerald) · 1.12c_3
Update the default version of GCC used in the Ports Collection from GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
1cd277bdce
Gerald Pfeifer (gerald) · 1.12c_2
Update to libmpc version 1.0.1 which brings the following fixes:

- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
3be3e90f93
Baptiste Daroussin (bapt) · 1.12c_1
Add NO_STAGE all over the place in preparation for the staging support (cat: science)
1dd0d087e7
Andrej Zverev (az) · 1.12c_1
- convert to the new perl5 framework - trim Makefile header

Approved by:	portmgr (bapt@, blanket)
3e869e47b1
Baptiste Daroussin (bapt) · 1.12c_1
Fix with bmake(1)
b40f6fcea3
Bryan Drewery (bdrewery) · 1.12c_1
- Fix warning when building in a jail   perl: not found   "Makefile", line 28: warning: "perl -V:archname" returned non-zero status

PR:		ports/174576
Approved by:	maintainer timeout (>2 months via email)
94c5bd1628
Andrej Zverev (az) · 1.12c_1
- Remove SITE_PERL from *_DEPENDS

Approved by: portmgr@ (bapt@)
a41069ab3b
Dirk Meyer (dinoex) · 1.12c_1
- update png to 1.5.10
2b74a89bc8
Carlo Strub (cs) · 1.12c
Change maintainer address to my FreeBSD address

Approved by:	wen@ (mentor)
178dc40a96
Greg Larkin (glarkin) · 1.12c
- Updated to 1.12c   ChangeLog: http://www.mcstas.org/download/src/CHANGES

PR:		ports/159158
Submitted by:	C-S <c-s@c-s.li> (maintainer)
b3eab2406b
Olli Hauer (ohauer) · 1.12b
- remove MD5
c394c56dc0
Li-Wen Hsu (lwhsu) · 1.12b
- Update to 1.12b - Pass maintainership to submitter

PR:		ports/149822
Submitted by:	C-S <c-s AT c-s.li>
1e42f44451
Dirk Meyer (dinoex) · 1.9_5
- update to 1.4.1 Reviewed by:	exp8 run on pointyhat Supported by:	miwi
de78af3ac5
Dirk Meyer (dinoex) · 1.9_4
- update to jpeg-8
ca9c60461c
Max Brazhnikov (makc) · 1.9_3
Chase math/gsl update, bump PORTREVISION
7cb3294da7
Mark Linimon (linimon) · 1.9_2
Release these ports into the wild due to maintainer-timeouts and no response to email.  We hope to see him back again sometime.
cfbb13225e
Edwin Groothuis (edwin) · 1.9_2
Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
090059a210
Florent Thoumie (flz) · 1.9_1
- Welcome X.org 7.2 \o/. - Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
d4f0d0048a
Erwin Lansing (erwin) · 1.9
Remove the use of USE_GZIP. I cannot find any use of it in bsd.port.mk and these ports build fine without it. My guess is that it was added by someone as an opposite to USE_BZIP2 and other people copied it. Remove it once and for all.

With hat:	portmgr
6c2493644b
Pav Lucistnik (pav) · 1.9
- Update to 1.9

PR:		ports/93941
Submitted by:	Joerg Pulz <Joerg.Pulz@frm2.tum.de> (maintainer)
a919f8274a
Edwin Groothuis (edwin) · 1.8
SHA256ify

Approved by: krion@
32487a10ad
Pav Lucistnik (pav) · 1.8
McStas - Monte Carlo simulation of neutron instruments

McStas is an ongoing project to create a general tool for simulating neutron
scattering instruments. The project is conducted at Risoe National Laboratory
in cooperation with the ILL.

McStas is based on a compiler that reads a high-level specification language
defining the instrument to be simulated and produces C code that performs the
Monte Carlo Simulation.

WWW: http://neutron.risoe.dk/

PR:		ports/66031
Submitted by:	Joerg Pulz <Joerg.Pulz@frm2.tum.de>
3322825ec9