CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

Port details

lang/ocaml4.14.2

Objective Caml compiler and programming environment

Maintainer
freebsd@dev.thsi.be
Packages
ocaml 4.14.2
Upstream
Higher version available: 5.5.2
CPE
inria:ocaml from the port
WWW
https://ocaml.org/
Links
cgit · VuXML

Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE

None. There is no CVE without a VuXML entry for this version.

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (1)

Show 1 fixed
VuXML entries whose affected range this version has left.

Commits (190)

Alexey Dokuchaev (danfe) · 4.02.3
In sight of long-overdue update of `lang/ocaml', start cleaning things up:

- Remove hunks from `patch-configure' that are irrelevant on *BSD
- Do not aggressively edit configure script in `post-patch', especially
  when it is not required (e.g. no variables are expanded).  This was
  the reason for bogus changes committed in r403835 by wen@ and r403898
  by marino@ (cf. "$bytecclinkopts $bytecclinkopts $bytecclinkopts");
  now ``make makepatch'' command is idempotent again
- Do not needlessly pass STAGEDIR via MAKE_ENV: it is correctly passed
  via MAKE_ARGS (as DESTDIR), and OCaml's build system is aware of it,
  while nowhere referencing STAGEDIR variable
- Drop permission fix for ld.conf that was added in r169472 by itetcu@
  11 years 4 months ago: it is no-op these days

Build logs remain identical (modulo the whitespace), regression tests pass.
9333f46c41
Alexey Dokuchaev (danfe) · 4.02.3
Actualize BROKEN_sparc64 statement.  It was (re)marked broken last time in r138465 by mi@ (first time in r109062 by kris@), that's 12.5 years ago, and never revisited ever since (except minor facelifting in r387855 by marino@). The world was largely different back then, with GCC 3.4.4 and OCaml 3.08.3.

Currently it does not build on 10.4-STABLE running under QEMU 2.9.0.

While here, remove stale comment about hardcoded GCC for depend target that
was added in r292093 by bf@ and later *not* removed in r385012 by marino@
together with in-place editing commands it was attributed to.  I messed up
the history with r456400, thinking it still applies yet not performing the
proper archaeology check, and rightfully deserve a pointy hat for that.
8f14365b0a
Alexey Dokuchaev (danfe) · 4.02.3
First step to unbreak `lang/ocaml' on aarch64: teach configure script that the architecture exists on FreeBSD.  Unfortunately, this is not enough for build to succeed, it now complains that as(1) is not found:

../boot/ocamlrun ../ocamlopt -strict-sequence -w +33..39 -g -warn-error A
  -bin-annot -nostdlib -safe-string `./Compflags camlinternalFormatBasics.cmx`
  -c camlinternalFormatBasics.ml
  sh: as: not found
  File "camlinternalFormatBasics.ml", line 1:
  Error: Assembler error, input left in file /tmp/camlasm4329ae.s
  gmake[7]: *** [Makefile.shared:84: camlinternalFormatBasics.cmx] Error 2

Developed on:	ref11-aarch64.freebsd.org
7874ef5212
Alexey Dokuchaev (danfe) · 4.02.3
Improve handling of the system architecture in `lang/ocaml'.

OCaml is using ARCH variable throughout its makefiles, which clashes with
our own variable of the same name.  To workaround it, OCAML_ARCH variable
was introduced which is set based on ARCH, and makefiles later patched in
the `post-configure' target.

This approach does not scale well with porting OCaml to new architectures
as being fragile and sometimes making the build non-idempotent under some
circumstances.

Instead of "fixing" makefiles post-configure, rename ARCH to SYSTEM_ARCH:
this avoids the clash altogether and lets configure script to set correct
values for supported architectures in the first place with no adjustments
required afterwards.

Tested on:	i386, amd64, powerpc
79cfdfcb24
Mark Linimon (linimon) · 4.02.3
Attempt to build on armv7 by generalizing from armv6 code.

Unfortanately it didn't build for me on armv7: perhaps it is a difference
in compiler.  (It currently builds on armv6 on the freebsd.org cluster.)

So, this is a necessary but insufficient step.

Approved by:	portmgr (tier-2 blanket)
13150a0223
Mark Linimon (linimon) · 4.02.3
Provide more descriptive error messages for ports failing on powerpc64.

Approved by:	portmgr (tier-2 blanket)
e043e9c8d6
Mathieu Arnold (mat) · 4.02.3
${RM} already has -f.

PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
eabbfd75e3
Mark Linimon (linimon) · 4.02.3
Mark as broken on aarch64.

Approved by:	portmgr (tier-2 blanket)
be945d3bca
Steve Wills (swills) · 4.02.3
many ports: mark broken on powerpc64
86cd4fbe5a
Guido Falsi (madpilot) · 4.02.3
Fix packaging on armv6 by enabling profiling libraries.

PR:		206615
Submitted by:	mikael.urankar at gmail.com
Approved by:	michipili at gmail.com (maintainer)
c80bd713b0
Alexey Dokuchaev (danfe) · 4.02.3
As usual, routinely update to the next version in r403835 had removed support for DragonFly (readded in r403898) and FreeBSD/powerpc.  Put it back (again).
e4358ce5e5
John Marino (marino) · 4.02.3
lang/ocaml: Unbreak DragonFly

The previous upgrade removed all the dragonfly patches.  Bring those
back to restore the port on DragonFly.

PR:	203589
5630b0f07c
Wen Heping (wen) · 4.02.3
- Update to 4.02.3

PR:		203589
Submitted by:	michipili@gmail.com(maintainer)
4776950de3
Antoine Brodin (antoine) · 4.02.1
Backout r398381, it fails to package

With hat:	portmgr
MFH:		2015Q4
e6f63e5a7e
Mikhail Teterin (mi) · 4.02.3
Upgrade from 4.02.1 to 4.02.3. Disable adding of explicit -O to compiler flags, because that ends up lowering optimization for most people (from -O2).

Approved by:	maintainer

(The upgrade is too minor to justify revision bumping of depending ports.)
bfb758cc57
Kurt Jaeger (pi) · 4.02.1
lang/ocaml: pet portlint, change pkg-plist as suggested by ohauer

PR:		195736
Submitted by:	ohauer
c1f9825d44
Kurt Jaeger (pi) · 4.02.1
lang/ocaml: give execute permissions via pkg-plist to two files

PR:		195736
Submitted by:	mmatalka@gmail.com
Approved by:	Michael Gruenewald <michipili@gmail.com> (maintainer)
eedf3250df
Alexey Dokuchaev (danfe) · 4.02.1
Fix the build on PowerPC (again) that was broken as of r385012.
00ddfaed6a
John Marino (marino) · 4.02.1
lang/ocaml: Remove softvfp option from ARMv6 build (no longer required)

PR:		200102
Submitted by:	Mikael Urankar
Approved by:	maintainer (assumed good, not able to test)
808304b3ad
John Marino (marino) · 4.02.1
lang/ocaml: Set BROKEN on 2 new ARCHES

The MIPS platforms can't build ocaml.  Set it and rework the BROKEN
for sparc64 while here.

PR:	197127
89c2cf6861
Mathieu Arnold (mat) · 4.02.1
MASTER_SITES cleanup.

- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
60d1a83c2a
John Marino (marino) · 4.02.1
lang/ocaml: Tweak PROFILE handling to support DragonFly

This changes a conditional statement to an equivalent variation.  An
internal transformation of DPorts was getting confused by this construct.

Discussed with:	Michael Gruenewald (maintainer)
f2296ae8cd
Sunpoet Po-Chuan Hsieh (sunpoet) · 4.02.1
- Remove incomplete check for configure arguments to fix build when CONFIGURE_ARGS contains =

PR:		199884
Submitted by:	sunpoet (myself)
Approved by:	Michael Grunewald <michipili@gmail.com> (maintainer)
544075d8c9
John Marino (marino) · 4.02.1
lang/ocaml: Upgrade version 4.01 => 4.02

PR:		195736
Submitted by:	Michael Gruenewald (maintainer)
Add'l fixes:	marino

Besides typical port cleanup, the dragonfly patches which had been
removed for the update were added back to the configure patch.
8b541afa7a
Dmitry Marakasov (amdmi3) · 4.01.0_4
- Add CPE info

Approved by:	portmgr blanket
73d8960cf4
John Marino (marino) · 4.01.0_4
lang category: Remove $PTHREAD_LIBS

Note: ecl did not pass check-plist (pre-existing), PR 198897 submitted.

approved by:	PTHREAD blanket
d945d5ea98
Baptiste Daroussin (bapt) · 4.01.0_4
Cleanup plist
77cba41a62
John Marino (marino) · 4.01.0_4
lang/ocaml: Remove special NO_PROFILE handling for DragonFly
0edca697f6
Antoine Brodin (antoine) · 4.01.0_4
Canonicalize a few LICENSE_PERMS

With hat:	portmgr
783540d9ac
John Marino (marino) · 4.01.0_4
lang/ocaml: Improve jobcontrol in ocamlbuild

Apply patch for upstream issue 0005371.  It improves job control in
ocamlbuild and fixes some faulty sigpipe affecting ports build with
ocamlbuild.

PR:		189710
Submitted by:	edwin (skylable.com)
patch by:	glondu
Approved by:	maintainer (Michael Gruenewald)
eaf44736bb
Alexey Dokuchaev (danfe) · 4.01.0_3
Unbreak the build and packaging on PowerPC.
f7e3b725b5
Adam Weinberger (adamw) · 4.01.0_3
Add EXAMPLES to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MEXAMPLES.
1f65a30b2a
John Marino (marino) · 4.01.0_3
lang/ocaml: Add ARMv6 support

Redports confirms that changes do not break i386 and amd64 builds (8x).

PR:		189063
Submitted by:	maintainer (Michael Gruenewald)
Patch by:	Andy Ray
26b53b5bc4
John Marino (marino) · 4.01.0_2
lang/ocaml: Remove DEF_OPT option (non-default option)

The option reacts poorly with ocamlp4, and phasing out DEF_OPT
completely will prevent a lot of breakage with ports that also
interact with ocamlp4.

PR:		189176
Submitted by:	Anil Madhavapeddy
Prepared by:	maintainer (Michael Gruenewald)
e3a3698100
Baptiste Daroussin (bapt) · 4.01.0_1
Fix license perms to allow package distribution

Reported by:	theraven
c4201de7e6
Max Brazhnikov (makc) · 4.01.0_1
math/facile: - bump PORTREVISION to trigger repackaging after recent ocaml update:   the package is usable only with ocaml which was used to compile facile.

lang/ocaml:
- add upgrading notes for committers
2ec6f2d5e4
John Marino (marino) · 4.01.0_1
lang/ocaml: Fix NO_PROFILE setting and native compiler for DragonFly

The ocaml port was not respecting a NO_PROFILE definition in make.conf,
which causes a stage check failure (missing files) if it is set. Improve
that logic and patch the configure script in numerous places to support
building the native code compiler on DragonFly.  This is one of those
famous ports that think all BSDs have the pattern "bsd" in their target
triplet.

Continued under PR: ports/188158
c1d7b20915
John Marino (marino) · 4.01.0_1
lang/ocaml: Fix plist issues

These missing man page issues were seen on Redports and reported, then
disappeared after the final patch.  Unfortunately they weren't actually
addresses, so it's a mystery why Redports didn't continue to catch the
problem, nor the extra ocamldoc/custom directory (which is why the
ocamldoc/custom/.keep file original existed).

Add the 15 missing man pages to the plist and remove the empty directory
in the post-install target.  Strangely enough, Redports still shows an
8x pass.  I'm losing a lot of confidence in Redports results...

While here, remove the muting from the post-install target.  This is
against convention.

PR: ports/188158
26df46ea63
John Marino (marino) · 4.01.0
lang/ocaml: Upgrade version 4.00.1 to 4.01.0 and stage

This is a significant update from the maintainer.  Not only has stage
support been added (and verified with an 8x pass on RedPorts), but
installed binaries are no longer stripped which was the cause of the
coccinelle malfunction seen on DragonFly.

Licensing was also defined, and the X11 build failure caused by the
use of the -R linker flag without the -Wl prefix has also been
rectified. [2]

PR:		ports/188158 [1]
Submitted by:	maintainer (Michael Gruenewald)

PR:		ports/188330 [2]
Submitted by:	madpilot
Approved by:	maintainer
ae5ca3bbc1
John Marino (marino) · 4.00.1_1
lang/ocaml: Restore CMP_LIB option in the definitions

noticed by:	sunpoet
919b377570
John Marino (marino) · 4.00.1_1
lang/ocaml: Make expunge executable

devel/ocaml-lwt needs to use it.
78f8e4cc0d
John Marino (marino) · 4.00.1
ocaml update 1/4: lang/ocaml upgrade from 3.12 to 4.00

There have been manual outstanding PRs on OCAML that have dragged on
for well more than a year.  In the meantime, FreeBSD has been painfully
stucking on version 3.12 of Ocaml.  Meanwhile, DragonFly's dports have
been maintaining version 4.00.

With a "Just do it" attitude, the dports version of Ocaml has been brought
in.  This doesn't have stage support, nor is the the latest version
available.  The idea is just get a working base Ocaml 4.00 in ports and
then have the maintainer update the appropriate PRs.

As a consequence, updates to omake, ocaml-findlib, and ocaml-images is
also required and upcoming.

Urged by:	portmgr (bapt)
Related PR:	ports/173364
Related PR:	ports/173453
57d1903de7
Pietro Cerutti (gahr) · 3.12.1_1
- Also, remove useless include
c2addfb345
Pietro Cerutti (gahr) · 3.12.1_1
- Convert to USES=tk
c03870c209
Baptiste Daroussin (bapt) · 3.12.1_1
Add NO_STAGE all over the place in preparation for the staging support (cat: lang)
888ab73a81
Bryan Drewery (bdrewery) · 3.12.1_1
SSP support has been added to ports with WITH_SSP for i386 and amd64 on FreeBSD 10, and amd64 on earlier versions.

SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.

On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].

On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.

Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.

[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup

PR:		ports/138228 [2]
Submitted by:	jlh (bsd.ssp.mk based on)
Reviewed by:	bapt
With hat:	portmgr
exp-runs done:	37 over a month on 91i386,91amd64,10i386,10amd64
c93dfc2e9f
Antoine Brodin (antoine) · 3.12.1_1
Unbreak ocaml-nox11 after PORT_OPTIONS conversion
61f946e7e2
Baptiste Daroussin (bapt) · 3.12.1_1
Convert to new options framework
d4600efa64
Pietro Cerutti (gahr) · 3.12.1_1
- Get rid of USE_TCL_THREAD and USE_TK_THREAD usages
08d561670f
Brendan Fabeny (bf) · 3.12.1_1
fix the packing list for WITH_CMP_LIB
e48c891c50