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

misc/cloc 2.10

Count lines of code

Port info

Maintainer
sunpoet@FreeBSD.org
Packages
latest: 2.10
Upstream
up to date
Last update
to 2.10 · f78e092806
Quarterly
2026Q4: 2.10
WWW
https://github.com/AlDanial/cloc
Links
cgit · VuXML

Install

Package
# pkg install cloc
installs 2.10 from latest; from quarterly (2026Q4) 2.10
Port
# cd /usr/ports/misc/cloc && make install clean
Size
134 KiB download · 810 KiB installed
Depends on
devel/p5-Algorithm-Diff 1.1903, lang/perl5.42 5.42.3
License
GPLv2

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 162.102.10–
FreeBSD 152.102.10–
FreeBSD 142.102.102.10

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 152.102.10–
FreeBSD 142.102.102.10

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

Fixed (0)

No VuXML entries for this package.

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

None.

Commits (57)

Po-Chuan Hsieh (sunpoet) · 2.10
misc/cloc: Update to 2.10

Changes:	https://github.com/AlDanial/cloc/releases
f78e092806
Po-Chuan Hsieh (sunpoet) · 2.08
misc/cloc: Update to 2.08

Changes:	https://github.com/AlDanial/cloc/releases
e0aefac543
Po-Chuan Hsieh (sunpoet) · 2.06
misc/cloc: Update to 2.06

Changes:	https://github.com/AlDanial/cloc/releases
14d968e1d3
Po-Chuan Hsieh (sunpoet) · 2.04
misc/cloc: Update to 2.04

Changes:	https://github.com/AlDanial/cloc/releases
c8d8aa6880
Po-Chuan Hsieh (sunpoet) · 2.02
misc/cloc: Update to 2.02

Changes:	https://github.com/AlDanial/cloc/releases
130fb9a945
Po-Chuan Hsieh (sunpoet) · 2.00
misc/cloc: Update to 2.00

Changes:	https://github.com/AlDanial/cloc/releases
265026f399
Po-Chuan Hsieh (sunpoet) · 1.98
misc/cloc: Update to 1.98

Changes:	https://github.com/AlDanial/cloc/releases
0f34cc26b1
Po-Chuan Hsieh (sunpoet) · 1.96
misc/cloc: Update to 1.96

Changes:	https://github.com/AlDanial/cloc/releases
a92c866dec
Stefan Eßer (se) · 1.94
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) · 1.94
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
Tobias C. Berner (tcberner) · 1.94
misc: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adam@vectors.cx>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan E <alane@FreeBSD.org>
  *  Alex Semenyaka <alex@rinet.ru>
  *  Alex Stangl <alex@stangl.us>
  *  Alexander Logvinov <avl@FreeBSD.org>
  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexander Nusov <alexander.nusov@nfvexpress.com>
  *  Alexander Timoshenko <gonzo@univ.kiev.ua>
  *  Alexander Vereeken <Alexander88207@protonmail.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@regency.nsu.ru>
  *  Alexey Zelkin <phantom@FreeBSD.org>
  *  Andreas Kohout <shanee@rabbit.augusta.de>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Andrew Stuart <elitetek@tekrealm.net>
  *  Andrey Simonenko
  *  Andrey Zakhvatov
  *  Andy Kosela <akosela@andykosela.com>
  *  Andy Pavlo <amp0928@rit.edu>
  *  Anton Berezin <tobez@FreeBSD.org>
  *  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
  *  Attila Nagy <bra@fsn.hu>
  *  Bjorn Lindstrom <bkhl@elektrubadur.se>
  *  Brendan Molloy <brendan+freebsd@bbqsrc.net>
  *  Brent J. Nordquist <bjn@visi.com>
  *  Cheng-Lung Sung <clsung@FreeBSD.org>
  *  Chris Costello <chris@FreeBSD.org>
  *  Chris D. Faulhaber <jedgar@fxp.org>
  *  Chris Piazza <cpiazza@FreeBSD.org>
  *  Chris Stuart <firewolf@lightningfire.net>
  *  Conrad Sabatier <conrads@home.com>
  *  Dan Moschuk <dan@FreeBSD.org>
  *  Daniel B. Hemmerich <dan@spot.org>
  *  David Johnson <david@usermode.org>
  *  David O'Brien (obrien@cs.ucdavis.edu)
  *  Dean Hollister <dean@odyssey.apana.org.au>
  *  Denis Shaposhnikov <dsh@vlink.ru>
  *  Dereckson <dereckson@gmail.com>
  *  Dima Dorfman <dima@unixfreak.org>
  *  Dima Sivachenko
  *  Dima Sivachenko <dima@chg.ru>
  *  Dmitry Morozovsky <marck@FreeBSD.org>
  *  Dmitry Sivachenko <dima@Chg.RU>
  *  Edwin Groothuis <edwin@mavetju.org>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@critical.ch>
  *  Eric Turgeon <ericbsd@FreeBSD.org>
  *  Evaldas Auryla <ea@zaib.as>
  *  Filippo Natali <filippo@widestore.net>
  *  Frank Steinborn <steinex@nognu.de>
  *  Frederic Culot <culot@FreeBSD.org>
  *  G. Adam Stanislav <adam@whizkidtech.net>
  *  Garrett Wollman <wollman@FreeBSD.org>
  *  Gea-Suan Lin <gslin@gslin.org>
  *  Greg Lehey <grog@FreeBSD.org>
  *  Guangyuan Yang <ygy@FreeBSD.org>
  *  Gustau Perez i Querol <gustau.perez@gmail.com>
  *  Harald Schmalzbauer <freebsd@omnilan.de>
  *  Harald Wille <harald.wille@students.jku.at>
  *  Hye-Shik Chang <perky@python.or.kr>
  *  Igor Pokrovsky <ip@unixway.org>
  *  J Han <hjh@best.com>
  *  James Earl <jdearl@telus.net>
  *  James FitzGibbon <jfitz@FreeBSD.org>
  *  James Howard <howardj@wam.umd.edu>
  *  Jeremy Shaffner <jeremy@external.org>
  *  Jim Mock <jim@FreeBSD.org>
  *  Joao Carlos Mendes Luis <jonny@jonny.eng.br>
  *  Joe Marcus Clarke <marcus@FreeBSD.org>
  *  Johann Visagie <wjv@FreeBSD.org>
  *  John Marino <marino@FreeBSD.org>
  *  Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
  *  Jose Rodriguez <king@v2project.com>
  *  Julian Stacey <jhs@FreeBSD.org>
  *  KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
  *  Kelly Yancey <kbyanc@posi.net>
  *  Kim Scarborough <user@unknown.nu>
  *  Kimura Fuyuki <fuyuki@nigredo.org>
  *  Kirill Ponomarew <ponomarew@oberon.net>
  *  Koop Mast <kwm@FreeBSD.org>
  *  Kubilay Kocak <koobs@FreeBSD.org>
  *  Lars Engels <lars.engels@0x20.net>
  *  Leland Wang <llwang@infor.org>
  *  Machiel Mastenbroek <machiel_mastenbroek@hotmail.com>
  *  Maksym Sobolyev <sobomax@pbxpress.it>
  *  Marc Fonvieille <blackend@FreeBSD.org>
  *  Marcus Alves Grando <mnag@FreeBSD.org>
  *  Marie Loise Nolden <loise@kde.org>
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Martin Blapp <mb@imp.ch>
  *  Martin Neubauer <m.ne@gmx.net>
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Mathieu Arnold <m@absolight.net>
  *  Matt Emmerton <matt@gsicomp.on.ca>
  *  Matt Mills <matt_mills@btopenworld.com>
  *  Matthew Seaman
  *  Matthias Andree <matthias.andree@gmx.de>
  *  Max Khon <fjoe@FreeBSD.org>
  *  Maxim Khon <fjoe@FreeBSD.org>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Michael A. Kohn <mike@mikekohn.net>
  *  Michael Elbel (me)
  *  Michael Haro <mharo@FreeBSD.org>
  *  Michael Johnson <ahze@FreeBSD.org>
  *  Michael L. Hostbaek (mich@freebsdcluster.org)
  *  Michael L. Hostbaek <mich@freebsdcluster.org>
  *  Mikael Urankar <mikael.urankar@gmail.com>
  *  Mike Smith <msmith@FreeBSD.org>
  *  Miklos Niedermayer <mico@bsd.hu>
  *  NECDET COKYAZICI <cokyazici@yahoo.co.uk>
  *  Naito Yuichiro <naito.yuichiro@gmail.com>
  *  Neil Blakey-Milner <nbm@rucus.ru.ac.za>
  *  Niek Bergboer <niek@bergboer.net>
  *  Oleh Hushchenkov <gor@clogic.com.ua>
  *  Oliver Lehmann <oliver@FreeBSD.org>
  *  Patrick Li <pat@databits.net>
  *  Patrick Seal <patseal@hyperhost.net>
  *  Pav Lucistnik <pav@oook.cz>
  *  Pete Fritchman <petef@databits.net>
  *  Peter Pentchev <roam@FreeBSD.org>
  *  Philip Paeps <philip@FreeBSD.org>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Rainer Hurling <rhurlin@gwdg.de>
  *  Ralf S. Engelschall <rse@engelschall.com>
  *  Robert Withrow <witr@rwwa.com>
  *  Roman Bogorodskiy <novel@FreeBSD.org>
  *  Rong-En Fan <rafan@FreeBSD.org>
  *  Ryan Steinmetz <zi@FreeBSD.org>
  *  Sander Vesik <sander@haldjas.folklore.ee>
  *  Scot W. Hetzel
  *  Seamus Venasse <svenasse@polaris.ca>
  *  Sebastien gioria <gioria@FreeBSD.org>
  *  Serge Gagnon <gagnon__s@videotron.ca>
  *  Sergei Kolobov <sergei@kolobov.com>
  *  Sergey Skvortsov <skv@protey.ru>
  *  SimaMoto,RyoTa <liangtai.s4@gmail.com>
  *  Simon 'corecode' Schubert <corecode@corecode.ath.cx>
  *  Slaven Rezic <slaven@rezic.de>
  *  Stefan Walter <swalter@lettermax.de>
  *  Stephen Farrell <steve@farrell.org>
  *  Stephen Hurd <shurd@FreeBSD.org>
  *  Steve Wills <swills@FreeBSD.org>
  *  Steven Enderle <enderle@mdn.de>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  TAKATSU Tomonari <tota@FreeBSD.org>
  *  Thierry Thomas (<thierry@FreeBSD.org>)
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  Timothy Bourke <timbob@bigpond.com>
  *  Ting-Wei Lan <lantw44@gmail.com>
  *  Tobias Roth <ports@fsck.ch>
  *  Tom Rhodes <trhodes@FreeBSD.org>
  *  Tomoyuki Sakurai <cherry@trombik.org>
  *  Torsten Blum <torstenb@FreeBSD.org>
  *  Vladimir Kondratyev <wulf@FreeBSD.org>
  *  Wei-chun Chao
  *  Wen Heping <wen@FreeBSD.org>
  *  Willem van Engen <wvengen@stack.nl>
  *  Wojciech A. Koszek <wkoszek@FreeBSD.org>
  *  Xavier Beaudouin <kiwi@oav.net>
  *  Yen-Ming Lee <leeym@FreeBSD.org>
  *  Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Yoichi NAKAYAMA <yoichi@FreeBSD.org>
  *  Yonatan@Xpert.com
  *  Yukihiro Nakai <nakai@mlab.t.u-tokyo.ac.jp>
  *  Yuri Victorovich <yuri@rawbw.com>
  *  Zach Thompson <hideo@lastamericanempire.com>
  *  Zeus Panchenko <zeus@gnu.org.ua>
  *  alfred@FreeBSD.org
  *  bmc@WillsCreek.COM
  *  chinsan
  *  cracauer@cons.org "Martin Cracauer"
  *  dbaker
  *  dd
  *  dikshie <dikshie@lapi.itb.ac.id>
  *  djp
  *  globalpanic@gmx.net
  *  gmarco@giovannelli.it
  *  gpalmer
  *  hrs, lesi
  *  igor@zynaps.ru
  *  ijliao
  *  itojun@itojun.org
  *  jmacd
  *  joerg
  *  jsellens
  *  kaz
  *  king@v2project.com
  *  marcus
  *  marcus@FreeBSD.org
  *  markm
  *  milki <milki@rescomp.berkeley.edu>
  *  mnag
  *  moeding
  *  mp39590@gmail.com
  *  mstowe@chicago.us.mensa.org
  *  olgeni@FreeBSD.org
  *  osa
  *  pfg
  *  ports@c0decafe.net <ports@c0decafe.net>
  *  roam@FreeBSD.org
  *  roam@orbitel.bg
  *  sahne
  *  sanpei@FreeBSD.org
  *  sec@42.org
  *  sf
  *  shanee@augusta.de
  *  shipley@dis.org
  *  stolz@i2.informatik.rwth-aachen.de
  *  sumikawa@FreeBSD.org
  *  vanilla
  *  wosch

With hat:	portmgr
b832da1849
Po-Chuan Hsieh (sunpoet) · 1.94
misc/cloc: Update to 1.94

Changes:	https://github.com/AlDanial/cloc/releases
c9be2a4865
Po-Chuan Hsieh (sunpoet) · 1.92
misc/cloc: Update to 1.92

Changes:	https://github.com/AlDanial/cloc/releases
e5393aaa67
Po-Chuan Hsieh (sunpoet) · 1.90
misc/cloc: Add LICENSE_FILE

- Update MASTER_SITES: use upstream release tarball
- Add NO_ARCH
- Update pkg-descr
- Take maintainership
f3d9a7875f
Danilo Egea Gondolfo (danilo) · 1.90
mist/cloc: Update to 1.90

Drop maintainership.
82fdb4344a
Mathieu Arnold (mat) · 1.88
Remove # $FreeBSD$ from Makefiles.
305f148f48
Danilo Egea Gondolfo (danilo) · 1.88
misc/cloc: Update to 1.88
94e2de376d
Danilo Egea Gondolfo (danilo) · 1.86
- Update to 1.86
01cb27f08e
Danilo Egea Gondolfo (danilo) · 1.84
- Update to 1.84
73bbb7178d
Danilo Egea Gondolfo (danilo) · 1.82
- Update to 1.82
0d4eddcc38
Danilo Egea Gondolfo (danilo) · 1.80
- Update to 1.80
9a3f3ada97
Danilo Egea Gondolfo (danilo) · 1.78
- Update to 1.78
0c2a7edcf8
Danilo Egea Gondolfo (danilo) · 1.76
- Update to 1.76
2c7f63144c
Danilo Egea Gondolfo (danilo) · 1.74
- Update to 1.74
2f8f79ac24
Danilo Egea Gondolfo (danilo) · 1.72
- Update to 1.72
8b3054e3b2
Danilo Egea Gondolfo (danilo) · 1.70
- Simplify the Makefile

Reported by:	mat
d7572f5c39
Danilo Egea Gondolfo (danilo) · 1.70
- Update to 1.70 - Use github - Add LICENSE
a60c245ea9
Dmitry Marakasov (amdmi3) · 1.64
- Fix trailing whitespace in pkg-descrs, categories [g-n]*

Approved by:	portmgr blanket
4e942b6419
Mathieu Arnold (mat) · 1.64
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
8d6597e0bb
Danilo Egea Gondolfo (danilo) · 1.64
- Update to 1.64
f468aa5a1c
Baptiste Daroussin (bapt) · 1.62
Remove Author from pkg-descr and white space fixes
42510f4ef4
Danilo Egea Gondolfo (danilo) · 1.62
- Update to 1.62 - Take maintainership
860c68239c
Baptiste Daroussin (bapt) · 1.60
Reset miwi's maintainership per his demand

Hope to see you back! Thank for all the work!
91a1caa242
Martin Wilke (miwi) · 1.60
- Stage support
ffcd99370e
Martin Wilke (miwi) · 1.60
- Update to 1.60
5f6add5ffa
Baptiste Daroussin (bapt) · 1.58
Add NO_STAGE all over the place in preparation for the staging support (cat: misc)
8ac99398e2
Andrej Zverev (az) · 1.58
- convert to the new perl5 framework

Approved by:	portmgr (bapt@, blanket)
ca11b0d6e9
Martin Wilke (miwi) · 1.58
- Update to 1.58
288a39591c
Martin Wilke (miwi) · 1.56
- Update to 1.56

PR:		167010
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
21469e28a8
Martin Wilke (miwi) · 1.55
- Update to 1.55
a6cdb4feb6
Doug Barton (dougb) · 1.53
The vast majority of pkg-descr files had the following format when they had both lines:

Author: ...
WWW: ....

So standardize on that, and move them to the end of the file when necessary.

Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.

s/AUTHOR/Author/

A few other various formatting issues
989772c9ac
Martin Wilke (miwi) · 1.53
- Update to 1.15.3
53de934d95
Martin Wilke (miwi) · 1.52
- Update to 1.52

PR:		151034
Submitted by:	Frederic Culot <frederic@culot.org>
a11999d410
Martin Wilke (miwi) · 1.51
- Update to 1.51
47e3f92f00
Dmitry Marakasov (amdmi3) · 1.08
- Switch SourceForge ports to the new File Release System: categories starting with M
a13d9a603d
Martin Wilke (miwi) · 1.08
- Update to 1.08
4a94d94671
Martin Wilke (miwi) · 1.07
- Update to 1.07
a8c12932aa
Martin Wilke (miwi) · 1.06
- Update to 1.0.6
f19d1a840e
Martin Wilke (miwi) · 1.05
- Update to 1.05
81db4f9e89
Martin Wilke (miwi) · 1.04
- Update to 1.04
e8360c2367