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

Port details

science/dlib-cpp20.0.1

Machine learning framework written in C++

Maintainer
arrowd@FreeBSD.org
Packages
dlib-cpp 20.0.1
Upstream
up to date
CPE
none, CVEs only via VuXML
WWW
http://dlib.net
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 (0)

No VuXML entries for this package.

Commits (39)

Gleb Popov (arrowd) · 20.0.1
science/dlib-cpp: Make the GUI support optional

Without X11, dlib is built with DLIB_NO_GUI_SUPPORT and links no X11
library, so consumers of its numerical parts no longer pull in X11.
The default stays on.
9cf99b07da
Gleb Popov (arrowd) · 20.0.1
science/dlib-cpp: Update to 20.0.1

Reported by:	portscout!
2e0f48d4ad
Gleb Popov (arrowd) · 20.0_1
science/dlib-cpp: Fixup EXTRACT_AFTER_ARGS

PR:		287377
Reported by:	diizzy
95b6df3294
Gleb Popov (arrowd) · 20.0_1
science/dlib-cpp: Use more system dependencies

PR:		287377
1bc195e580
Gleb Popov (arrowd) · 20.0
science/dlib-cpp: Update to 20.0

Reported by:	portscout!
1019edca09
Gleb Popov (arrowd) · 19.24.9
science/dlib-cpp: Update to 19.24.9

Reported by:	portscout!
f6ed91fd42
Gleb Popov (arrowd) · 19.24.8
science/dlib-cpp: Update to 19.24.8

Reported by:	portscout!
182a6e1783
Gleb Popov (arrowd) · 19.24.6_1
science/dlib-cpp: add option to be built with the FFMPEG wrappers

Sponsored by:	Future Crew, LLC
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/334
8adfea7d5c
Dimitry Andric (dim) · 19.24.6
science/dlib-cpp: fix build with libc++ 19

As noted in the libc++ 19 release notes [1], std::char_traits<> is now
only provided for char, char8_t, char16_t, char32_t and wchar_t, and any
instantiation for other types will fail.

This causes science/dlib-cpp to fail to compile with clang 19 and libc++
19, resulting in errors similar to:

  /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
    820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
        |                                          ^
  /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../unicode/unicode.h:718:19: note: in instantiation of template class 'std::basic_string<unsigned int>' requested here
    718 |     const ustring convert_to_utf32 (
        |                   ^
  /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
     23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
        |                             ^

This can be fixed by defining `unichar` as `char32_t` instead of
`uint32` in `unicode.h`, and adding a serializer for `char32_t` to
`serialize.h`.

[1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals

PR:		282665
Approved by:	arrowd (maintainer)
MFH:		2024Q4
1c818faba7
Gleb Popov (arrowd) · 19.24.6
science/dlib-cpp: Update to 19.24.6
e142fcd94b
Dimitry Andric (dim) · 19.24_1
science/dlib-cpp: fix build with clang and libc++ 19

As noted in the libc++ 19 release notes [1], std::char_traits<> is now
only provided for char, char8_t, char16_t, char32_t and wchar_t, and any
instantiation for other types will fail.

This causes science/dlib-cpp to fail to compile with clang 19 and
libc++ 19, resulting in errors similar to:

  /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
    820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
        |                                          ^
  /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24/dlib/bigint/../unicode/unicode.h:496:26: note: in instantiation of template class 'std::basic_string<unsigned int>' requested here
    496 |     inline const ustring convert_utf8_to_utf32 (
        |                          ^
  /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
     23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
        |                             ^

These can be fixed by using `char32_t` instead of `uint32_t` for the
`unichar` type.

Also, clang 19 now implements CWG 96 [1], which requires a template
argument list after a 'template' keyword, resulting in errors similar
to:

  /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24/dlib/filtering/../global_optimization/find_max_global.h:61:130: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
     61 |             static auto go(T&& f, const matrix<double,0,1>& a) -> decltype(call_function_and_expand_args<max_unpack-1>::template go(std::forward<T>(f),a))
        |                                                                                                                                  ^

This can be fixed by adding `<>` after the `go` identifier.

[1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals

PR:		281975
Approved by:	arrowd (maintainer)
MFH:		2024Q3
e8b1dca337
Daniel Engberg (diizzy) · 19.24_1
*/*: Bump jpeg-turbo users treewide

New major version 3.0.0
664a2fa1e5
Stefan Eßer (se) · 19.24
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) · 19.24
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
Gleb Popov (arrowd) · 19.24
science/dlib-cpp: Update to 19.24
8db4dc3673
Piotr Kubaj (pkubaj) · 19.22
science/dlib-cpp: remove the patch that is now committed upstream and breaks the build on powerpc64le
cff81a2669
Mathieu Arnold (mat) · 19.22
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Gleb Popov (arrowd) · 19.22
science/dlib-cpp and science/py-dlib: Update to 19.22

Remove USE_GCC=yes as it seems to be implied by using blaslapack:openblas
25feb0d686
Mathieu Arnold (mat) · 19.21_1
Remove # $FreeBSD$ from Makefiles.
305f148f48
Piotr Kubaj (pkubaj) · 19.21_1
science/dlib-cpp: fix build on powerpc64le

clang doesn't implement vec_rsqrt.
afaf37b033
Gleb Popov (arrowd) · 19.21_1
science/dlib-cpp: Build shared library instead of static one.

PR:		250815
Submitted by:	yuri
21ebe03c3a
Gleb Popov (arrowd) · 19.21
science/dlib-cpp and science/py-dlib: Update to 19.21.
7757f30c02
Gleb Popov (arrowd) · 19.20
science/dlib-cpp and science/py-dlib: Update to 19.20

Reported by:	portscout!
2c8ff8a2cf
Yuri Victorovich (yuri) · 19.19_1
Bump 37 ports depending on math/openblas through USES=blaslapack:openblas because after the recent math/openblas update the library name changed in openblas
84c4942d38
Gleb Popov (arrowd) · 19.19
science/dlib-cpp and science/py-dlib: Update to 19.19.
c410d6e8ce
Steve Wills (swills) · 19.17_3
Fix math/openblas and bump dependent ports

* Fix build on i386 [1]
* Fix science/code_saturne build with new openblas [2]
* Avoid installing private headers [3]
* Prevent build from optimizing for host by correcting build confg [4]
* Bump portrevision of dependent ports [5]

This is correcting issues from r523749 [1][2][4] and r515970 [3]

PR:		231371
Reported by:	build cluster [1]
Reported by:	Dima Pasechnik <dimpase+freebsd@gmail.com> [2]
Reported by:	many [5]
Reviewed by:	mat, bapt
Approved by:	implicit, since this is a build fix
fb44dca45d
Niclas Zeising (zeising) · 19.17_2
Add USES=xorg and USES=gl

Add USES=xorg and USES=gl to a few remaining ports.
cc36f3229d
Gerald Pfeifer (gerald) · 19.17_2
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
Gerald Pfeifer (gerald) · 19.17_1
Related to revision 499061 bump ports with USES=fortran to have them benefit from the improved situation where libgcc_s is only used when absolutely necessary.

Suggested by:	tijl
879e75a659
Gleb Popov (arrowd) · 19.17
Update science/dlib-cpp and science/py-dlib to 19.17.

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D19761
37c76d7fcd
Mark Linimon (linimon) · 19.16
Fix build on gcc-based architectures:

C++11 is required to use dlib, but the version of GCC you are using is too old and doesn't support C++11.  You need GCC 4.8 or newer.

Approved by:	portmgr (tier-2 blanket)
68fe12fc41
Gleb Popov (arrowd) · 19.16
science/dlib-cpp and science/py-dlib: Update to 19.16.

Try to fix build of science/py-dlib on ARM archs.

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D19307
c1182d0c7d
Tobias C. Berner (tcberner) · 19.13_2
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
Gerald Pfeifer (gerald) · 19.13_2
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
Gleb Popov (arrowd) · 19.13_1
Set MAINTAINER of mine ports to @FreeBSD.org email.

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D16640
65273721b8
Gerald Pfeifer (gerald) · 19.13_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
Gleb Popov (arrowd) · 19.13
Upgrade science/dlib-cpp and science/py-dlib to 19.13.

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D15588
60d413d502
Mathieu Arnold (mat) · 19.6
Add PY_FLAVOR to Python module dependencies.

Sponsored by:	Absolight
8dcaabcd6e
Adriaan de Groot (adridg) · 19.6
New ports science/dlib-cpp and science/py-dlib (Python bindings for the former)

Changed from the reviewed form:
 - fixed typo's
 - added support for suffixed Boost::Python
 - removed commented-out lines from patch

Submitted by:	arrowsvc (6yearold@gmail.com, new maintainer)
Reviewed by:	tcberner, adridg
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14798
35fbbebe34