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

Port details

devel/ccls0.20240202

C/C++/ObjC language server

Maintainer
khng@FreeBSD.org
Packages
ccls 0.20240202
Upstream
Higher version available: 0.20261004
CPE
none, CVEs only via VuXML
WWW
https://github.com/MaskRay/ccls
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 (47)

Dimitry Andric (dim) · 0.20240202
devel/ccls: fix build with LLVM_DEFAULT=19

When building against llvm 19, several errors appear:

  /wrkdirs/usr/ports/devel/ccls/work/ccls-0.20240202/src/include_complete.cc:117:37: error: no member named 'endswith' in 'llvm::StringRef'; did you mean 'ends_
    117 |                 if (StringRef(path).endswith(suffix))                                                                                                         |                                     ^~~~~~~~
        |                                     ends_with
  /wrkdirs/usr/ports/devel/ccls/work/ccls-0.20240202/src/clang_tu.cc:32:22: error: no member named 'startswith' in 'llvm::StringRef'; did you mean 'starts_with'
     32 |   if (file.getName().startswith("/../")) {
        |                      ^~~~~~~~~~                                                                                                                               |                      starts_with
  /wrkdirs/usr/ports/devel/ccls/work/ccls-0.20240202/src/clang_tu.cc:340:21: error: no member named 'OMPArraySection' in 'clang::BuiltinType'; did you mean 'Arr
    340 |   case BuiltinType::OMPArraySection:
        |        ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
        |                     ArraySection                                                                                                                        /wrkdirs/usr/ports/devel/ccls/work/ccls-0.20240202/src/indexer.cc:1130:64: error: non-virtual member function marked 'override' hides virtual member function
   1130 |                           SrcMgr::CharacteristicKind fileType) override {
        |                                                                ^

Pull in a number of upstream patches to fix these.

PR:		284422
Appproved by:	maintainer timeout (2 weeks)
MFH:		2025Q1
9025f32b15
Ka Ho Ng (khng) · 0.20240202
devel/ccls: update to snapshot 20240202

PR:	279387
Approved by:	khng, delphij
Differential Revision:	https://reviews.freebsd.org/D45540
d8da769c27
Ka Ho Ng (khng) · 0.20231116
devel/ccls: update to snapshot 20231116

Reviewed by:	delphij
Differential Revision:	https://reviews.freebsd.org/D42778
683a3be4c5
Ka Ho Ng (khng) · 0.20230115
devel/ccls: Reinstate the port and update to snapshot 20230115

Approved by:	delphij (ports)
Differential Revision:	https://reviews.freebsd.org/D38552
93bc67ee64
Tobias C. Berner (tcberner)
Cleanup: Remove devel/llvm[789]0

*  remove old devel/llvm70
 *  remove old devel/llvm80
 *  remove old devel/llvm90

 *  remove ports explicitely depending on either of the three

Differential Revision:	https://reviews.freebsd.org/D37936
21778d8958
Tobias C. Berner (tcberner) · 0.20210330
devel/ccls: lock llvm-version at 9

LLVM_DEFAULT will be bumped to 15, this port fails with:
	[...]
	/wrkdirs/usr/ports/devel/ccls/work/ccls-0.20210330/src/indexer.cc:530:21: error: use of undeclared identifier 'isIdentifierBody'; did you mean 'IdentifierLoc'?
		     ((i && isIdentifierBody(name[i - 1])) ||
			    ^
	[...]

PR:             263456
e66cf64fcf
Stefan Eßer (se) · 0.20210330
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) · 0.20210330
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
Ka Ho Ng (khng) · 0.20210330
devel/ccls: Update to 0.20210330

The location of documentation tarball is reset to my ~/public_distfiles.

Approved by:	lwhsu
Differential Revision:	https://reviews.freebsd.org/D29601
024be49d6e
Mathieu Arnold (mat) · 0.20201219
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 0.20201219
Remove # $FreeBSD$ from Makefiles.
305f148f48
Guangyuan Yang (ygy) · 0.20201219
devel/ccls: Update to 0.20201219 and take maintainership

Submitted by:	Ka Ho Ng <khng300@gmail.com>
Approved by:	lwhsu
Differential Revision:	https://reviews.freebsd.org/D27862
4f335296bf
Tobias Kortkamp (tobik) · 0.20190823.4
Reset MAINTAINER
f35841a5de
Tobias Kortkamp (tobik) · 0.20190823.4
devel/ccls: Unbreak build with LLVM10

src/indexer.cc:683:50: error: only virtual member functions can be marked 'override'
                           ASTNodeInfo ast_node) override {
                                                 ^~~~~~~~~
1 error generated.
e115371e3e
Tobias Kortkamp (tobik) · 0.20190823.4
devel/ccls: Update to 0.20190823.4
1c8e95c821
Tobias Kortkamp (tobik) · 0.20190823.3
devel/ccls: Update to 0.20190823.3
a3cbfe8ac6
Jan Beich (jbeich) · 0.20190823.2_1
Switch default devel/llvm* to 90

PR:		239682
Reviewed by:	tobik
Differential Revision:	https://reviews.freebsd.org/D21172
3f1915711d
Tobias Kortkamp (tobik) · 0.20190823.2
devel/ccls: Update to 0.20190823.2
8d23ecc9db
Tobias Kortkamp (tobik) · 0.20190823.1
devel/ccls: Update to 0.20190823.1

- Update docs to latest Wiki snapshot
2e777fabb8
Tobias Kortkamp (tobik) · 0.20190823
devel/ccls: Update to 0.20190823

Changes:	https://github.com/MaskRay/ccls/releases/tag/0.20190823
c64c6be357
Tobias Kortkamp (tobik) · 0.20190731
devel/ccls: Update to latest commit

This should make it work with devel/llvm90.

PR:		239682
df80e42559
Tobias Kortkamp (tobik) · 0.20190314_1
devel/ccls: Pet portclippy
b9fb4ef429
Gerald Pfeifer (gerald) · 0.20190314_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
Tobias Kortkamp (tobik) · 0.20190314
devel/ccls: Fix build with multiple llvm* packages installed

Apparently it is possible for the build to pick multiple LLVM
versions if LLVM_DIR is not explicitly set similar to Clang_DIR.

$ grep llvm $(make -V CONFIGURE_WRKSRC)/CMakeCache.txt
Clang_DIR:PATH=/usr/local/llvm80/lib/cmake/clang
LLVM_DIR:PATH=/usr/local/llvm50/lib/cmake/llvm

PR:		237089
Submitted by:	fullermd@over-yonder.net
e39485aea3
Tobias Kortkamp (tobik) · 0.20190314
devel/ccls: Update to 0.20190314

Changes:	https://github.com/MaskRay/ccls/releases/tag/0.20190314
6b2783700c
Jan Beich (jbeich) · 0.20190301_2
devel/ccls: unbreak with DEFAULT_VERSIONS+=llvm=-devel

Don't try hard to make LIB_DEPENDS pick the specific version when this
is already enforced by BUILD_DEPENDS. The left field in _DEPENDS lines
isn't recorded into binary packages, anyway.

=======================<phase: lib-depends    >============================
===>   ccls-0.20190301_2 depends on shared library: libLLVM--devel.so - not found
===>   Installing existing package /packages/All/llvm-devel-9.0.d20190226.txz
[120i386-default-llvm90-job-07] Installing llvm-devel-9.0.d20190226...
the most recent version of llvm-devel-9.0.d20190226 is already installed
===>   ccls-0.20190301_2 depends on shared library: libLLVM--devel.so - not found
*** Error code 1
72677b80da
Jan Beich (jbeich) · 0.20190301_2
Switch to devel/llvm80 for DEFAULT_VERSIONS

PR:		235215
03a22a5366
Tobias Kortkamp (tobik) · 0.20190301_1
devel/ccls: Fix distinfo

The 0.20190301 tag was recreated.

Changes:	https://people.freebsd.org/~tobik/logs/ccls-0.20190301.diff
b241803f55
Tobias Kortkamp (tobik) · 0.20190301
devel/ccls: Update to 0.20190301

Changes:	https://github.com/MaskRay/ccls/releases/tag/0.20190301
55228670bb
Tobias Kortkamp (tobik) · 0.20181225.8_1
devel/ccls: Build with LLVM_ENABLE_RTTI

Same as the devel/llvm* ports.  Otherwise ccls is compiled with
-fno-rtti but LLVM is not which can lead to crashes [1].  Make sure
assertions are disabled too while here.

[1] https://github.com/MaskRay/ccls/issues/30
7f9ad8cd07
Tobias Kortkamp (tobik) · 0.20181225.8
devel/ccls: Update to 0.20181225.8
918686c381
Tobias Kortkamp (tobik) · 0.20181225.7
devel/ccls: Update to 0.20181225.7
b7e634e28a
Tobias Kortkamp (tobik) · 0.20181225.6
devel/ccls: Update to 0.20181225.6
63fba699da
Tobias Kortkamp (tobik) · 0.20181225.5
devel/ccls: Update to 0.20181225.5
bbccd15184
Tobias Kortkamp (tobik) · 0.20181225.4
devel/ccls: Update to 0.20181225.4
2d532d811d
Tobias Kortkamp (tobik) · 0.20181225.3
devel/ccls: Update to 0.20181225.3
dcea8ac4b2
Tobias Kortkamp (tobik) · 0.20181225.2
devel/ccls: Update to 0.20181225.2
ccc393e73d
Tobias Kortkamp (tobik) · 0.20181225.1
devel/ccls: Update to 0.20181225.1
d58e7fbc0d
Tobias Kortkamp (tobik) · 0.20181225_1
devel/ccls: Fix distinfo after upstream retagged 0.20181225

- Add the commit currently tagged as 0.20181225 for future reference
- The old 0.20181225 tag was commit a9397cf6148d50b88a36ec2e90ea23813dda379d
- Drop upstreamed patch

Distfile diff:
https://people.freebsd.org/~tobik/logs/ccls-0.20181225-retag.diff
f049c492d4
Tobias C. Berner (tcberner) · 0.20181225
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
Tobias Kortkamp (tobik) · 0.20181225
devel/ccls: Update to 0.20181225

Changes:	https://github.com/MaskRay/ccls/releases/tag/0.20181225
17f25f21b8
Tobias Kortkamp (tobik) · 0.20181111.1
devel/ccls: Update to 0.20181111.1

- Drop LLVM_DEFAULT after r485466
- Sync docs
9b53eef458
Gerald Pfeifer (gerald) · 0.20181111_1
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
Tobias Kortkamp (tobik) · 0.20181111
devel/ccls: Update to 0.20181111

Changes:	https://github.com/MaskRay/ccls/releases/tag/0.20181111
8044770357
Mathieu Arnold (mat) · 0.20181024
FreeBSD 10 is not supported any more.
54b2a074ec
Tobias Kortkamp (tobik) · 0.20181024
devel/ccls: Update to 0.20181024

Changes:	https://github.com/MaskRay/ccls/releases/tag/0.20181024
7da4b106fb
Tobias Kortkamp (tobik) · 0.20181010
New port: devel/ccls

Ccls is a C/C++/Objective-C language server with the following
features:

- Code completion (with both signature help and snippets)
- Definition/references, and other cross references
- Cross reference extensions: $ccls/call $ccls/inheritance $ccls/member
  $ccls/vars ...
- Formatting
- Hierarchies: call (caller/callee) hierarchy, inheritance
  (base/derived) hierarchy, member hierarchy
- Symbol rename
- Document symbols and approximate search of workspace symbol
- Hover information
- Diagnostics and code actions (clang FixIts)
- Semantic highlighting and preprocessor skipped regions
- Semantic navigation: $ccls/navigate

WWW: https://github.com/MaskRay/ccls
333389d7fd