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

Port details

net/ntp4.2.8p18_6

The Network Time Protocol Distribution

Maintainer
cy@FreeBSD.org
Packages
ntp 4.2.8p18_6
Upstream
up to date
CPE
ntp:ntp from the port
WWW
https://www.ntp.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 (13)

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

Commits (201)

Alexander Ziaee (ziaee) · 4.2.8p18_6
net/ntp: Add a deprecation notice to ntpdate

Suggested by:	cy, emaste
Approved by:	cy (maintainer)
15edde5870
Cy Schubert (cy) · 4.2.8p18_5
net/ntp: Reverse check for libmd and libmd5

When www/libwww is installed, it provides an incompatible libmd5
resulting ntp using libmd5 instead of libmd, breaking the build.
Reversing the order in which libmd and libmd5 are checked circumvents
this problem.

PR:	293949
MFH:	2026Q1
8914c06bbc
Cy Schubert (cy) · 4.2.8p18_5
net/ntp: Fix two segfaults

Pull in src/628715fdcc9f and src/ac1f48b4a7be fixing two NULL pointer
derefs.

Obtained from:	src/628715fdcc9f and src/ac1f48b4a7be
MFH:		2025Q4
f340e3ff6c
Cy Schubert (cy) · 4.2.8p18_4
net/ntp: Another patch to address IPv6 pool regression

43537eb9c3e5 circumvented an upstream patch which caused an IPv6
pool regression. This patch, discussed in
https://bugs.ntp.org/show_bug.cgi?id=3958, addresses another
unworkable combination of link-local local address with
non-link-local server.

Obtained from:	src c1767cf87cb6
MFH:		2025Q1
c6ccd7ce6e
Cy Schubert (cy) · 4.2.8p18_3
net/ntp: Replace the workaround from 98e34e8e2557 with a patch from upstream

43537eb9c3e5 circumvented an upstream patch which caused an IPv6
pool regresson. This patch removes the circumvention and replaces
it with an upstream patch planned for the new release of ntp.

Obtained from:	src bc02e6558720
MFH:		2025Q1
37ce58edb9
Cy Schubert (cy) · 4.2.8p18_2
net/ntp: ntpd does not connect to NTP server with link local IPv6 address

Upstream bug 3943 (https://bugs.ntp.org/show_bug.cgi?id=3943) discusses:

Starting with 4.2.8p18 ntp does not synchronize or even connect to the
configured NTP server any more. ntp stays in .INIT. state indefinitely
and checking the network traffic shows that ntp does not attempt to
contact the NTP server.

This is regression introduced by the fix for upstream bug 3913. This
is a similar bug I reported upstream (ntp bug 3841).

Obtained from: 	src 381956e26756
MFH:		2025Q1
453bd9639b
Cy Schubert (cy) · 4.2.8p18_1
net/ntp: Undo upstream (ntp.org) fix for upstream Bug 3851

The patch for upstream (ntp.org) fix for upstream Bug 3851 may have
fixed a Linux bug but it caused a regression when ntpd is run on
FreeBSD.

PR:             283116
MFH:            2024Q4
43537eb9c3
Cy Schubert (cy) · 4.2.8p18
Revert "ntp: Improve descriptions in manual pages"

This results in the following error:

env: autogen: No such file or directory
*** [./sntp-opts.c] Error code 127

This reverts commit c9d07ce2a970644c4e78a0e12e32753e19c16c5c.
2f6c3533dd
Cy Schubert (cy) · 4.2.8p18_1
ntp: Improve descriptions in manual pages

+ ntpd added to ntp.conf(5) description (search keywords)
+ expand NTP so these pages are shown when `apropos time`
+ "standard" => "reference" for increased consistency
- removed redundant or duplicated search keywords

freebsd-src:	c7a33fe3 (ntp: Improve descriptions)
ntp.org bug:    https://bugs.ntp.org/show_bug.cgi?id=3936
Reviewed by:    Harlan Stenn <stenn@nwtime.org>
Reviewed by:    Cy Schubert <cy@nwtime.org, cy@FreeBSD.org>
c9d07ce2a9
Cy Schubert (cy) · 4.2.8p18
net/ntp: Fix build w/o autogen preinstalled

Previously, the port would not build complaining about no autogen.
With this patch, the port builds and installs.

MFH:			2024Q4
Differential Revision:	https://reviews.freebsd.org/D47345
fa93a47106
Cy Schubert (cy) · 4.2.8p18
net/ntp: Update to 4.2.8p18

MFH:	2024Q2
a6dbff875f
Cy Schubert (cy) · 4.2.8p17_2
net/ntp: move man pages
21d9127b45
Cy Schubert (cy) · 4.2.8p17_1
net/ntp: Remove extraneous sentence suggesting a WWW

fb16dfecae4a removed WWW lines without considering the context.
Remove the sentence that eludes to a WWW line that no longer exists.

PR:		272773
Fixes:		fb16dfecae4a
MFH:		2023Q3
3e6699a2ba
Cy Schubert (cy) · 4.2.8p17
net/ntp: Fix two reference clock builds

Fix build for hopf6021 and wharton reference clocks.

No PORTREVISION bump is needed since both reference clocks are not
built by default.

Fixes:	de4864bd361e
MFH:	2023Q2
a133ed032a
Cy Schubert (cy) · 4.2.8p17
net/ntp: Update 4.2.8p16 --> 4.2.8p17

Fixes two small bugs including one regression.

MFH:		2023Q2
de4864bd36
Cy Schubert (cy) · 4.2.8p16
net/ntp: Remove defunct distfile site

MFH:		2023Q2
45bc9ef53c
Cy Schubert (cy) · 4.2.8p16
net/ntp: Update 4.2.8p15 --> 4.2.8p16

MFH:		2023Q2
Security:	NtpBug3767, NtpBug3808, NtpBug3807 (CVE-2023-26555)
8f50bc67ae
Cy Schubert (cy) · 4.2.8p15_5
net/ntp: Remove reference to defunct port

net/ntp-devel was removed long ago.

MFH:		2023Q2
0c3b728c48
Stefan Eßer (se) · 4.2.8p15_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) · 4.2.8p15_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
Tobias C. Berner (tcberner) · 4.2.8p15_5
net: remove 'Created by' lines

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

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Adam Jette <jettea46@yahoo.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Alex Bakhtin <Alex.Bakhtin@gmail.com>
  *  Alex Deiter <Alex.Deiter@Gmail.COM>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
  *  Alex Kapranoff <kappa@FreeBSD.org.ua>
  *  Alex Miller <asm@asm.kiev.ua>
  *  Alexander Hausner <alex@hugo.bmg.gv.at>
  *  Alexander Kriventsov <avk@vl.ru>
  *  Alexander Logvinov <avl@FreeBSD.org>
  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexander Moisseev <moiseev@mezonplus.ru>
  *  Alexander Novitsky
  *  Alexander Nusov <alexander.nusov@nfvexpress.com>
  *  Alexander Panyushkin <vsityz@gmail.com>
  *  Alexander V. Chernikov <melifaro@FreeBSD.org>
  *  Alexandre Biancalana <ale@biancalanas.net>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alexey V. Degtyarev <alexey@renatasystems.org>
  *  Alfred Perlstein <alfred@FreeBSD.org>
  *  Alonso Cardenas Marquez <acm@FreeBSD.org>
  *  Anatoliy Dmytriyev
  *  Anders Nordby <anders@FreeBSD.org>
  *  Anders Nordby <anders@fix.no>
  *  Andreas Klemm <andreas@klemm.gtn.com>
  *  Andreas Kohn <andreas@syndrom23.de>
  *  Andrei Lavreniyuk <andy.lavr@gmail.com>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Andrew Thompson <thompsa@FreeBSD.org>
  *  Andrey Zakhvatov
  *  Andy Kosela <akosela@andykosela.com>
  *  Anes Mukhametov <anes@anes.su>
  *  Anton Berezin <tobez@FreeBSD.org>
  *  Anton Berezin <tobez@tobez.org>
  *  Anton Karpov <toxa@toxahost.ru>
  *  Anton Yuzhaninov <citrin@citrin.ru>
  *  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
  *  Antonio Querubin <tony@lava.net>
  *  Archie Cobbs
  *  Arne Lundberg <arlu@telia.com>
  *  Babak Farrokhi
  *  Babak Farrokhi <babak@farrokhi.net>
  *  Babak Farrokhi <farrokhi@FreeBSD.org>
  *  Bartek Rutkowski robak@FreeBSD.org
  *  Bill Fenner <fenner@FreeBSD.org>
  *  Bill Fumerola <billf@chc-chimes.com>
  *  Bill Fumerola <billf@mu.org>
  *  Bjorn Konig <bkoenig@alpha-tierchen.de>
  *  Blaz Zupan <blaz@si.FreeBSD.org>
  *  BluePex Security Solutions <freebsd-ports@bluepex.com>
  *  Bob Frazier
  *  Boris Lytochkin <lytboris@gmail.com>
  *  Brad Davis <so14k@so14k.com>
  *  Brent B. Powers <bbp2006@columbia.edu>
  *  Brian Somers <brian@FreeBSD.org>
  *  Bruce M Simpson <bms@FreeBSD.org>
  *  Bruce M. Simpson <bms@FreeBSD.org>
  *  Bruce Simpson
  *  Carlo Strub <cs@FreeBSD.org>
  *  Carlos J Puga Medina <cpm@FreeBSD.org>
  *  Carsten Larsen <cs@innolan.dk>
  *  Cheng-Lung Sung <clsung@FreeBSD.org>
  *  Cheng-Lung Sung <clsung@dragon2.net>
  *  Chris Hutchinson <portmaster@BSDforge.com>
  *  Christer Edwards <christer.edwards@gmail.com>
  *  Christian Brueffer <chris@unixpages.org)
  *  Christian Laursen <xi@borderworlds.dk>
  *  Christopher Boumenot <boumenot@gmail.com>
  *  Christopher Key <cjk32@cam.ac.uk>
  *  Chung-Kie Tung <tung@turtle.ee.ncku.edu.tw>
  *  Clement Laforet
  *  Clement Laforet <clement@FreeBSD.org>
  *  Clement Laforet <sheepkiller@cultdeadsheep.org>
  *  Corey Smith <corsmith@gmail.com>
  *  Cory R. King <coryking@mozimedia.com>
  *  Craig Boston <craig@yekse.gank.org>
  *  Craig Leres <leres@FreeBSD.org>
  *  Daisuke Aoyama <aoyama@peach.ne.jp>
  *  Dan Caescu <daniel at freebsd.ro>
  *  Dan Pelleg <dpelleg+unison@cs.cmu.edu>
  *  Daniel Baker <dbaker@FreeBSD.org> <dbaker@cuckoo.com>
  *  Daniel Bryan <sisko@bsdmail.com>
  *  Daniel O'Connor <darius@dons.net.au>
  *  Danilo G. Baio <dbaio@FreeBSD.org>
  *  Danny Howard <dannyman@tellme.com>
  *  David Carlier
  *  David O'Brien (obrien@FreeBSD.org)
  *  David O'Brien (obrien@NUXI.com)
  *  David O'Brien (obrien@cs.ucdavis.edu)
  *  David O'Brien <obrien@NUXI.com>
  *  David Shane Holden <dpejesh@yahoo.com>
  *  David Thiel (lx@redundancy.redundancy.org)
  *  David Thiel <lx@redundancy.redundancy.org>
  *  Dean Freeman (wfreeman@sourcefire.com)
  *  Denis Generalov <gd.workbox@gmail.com>
  *  Denis Pokataev <catone@cpan.org>
  *  Dennis Herrmann <adox@mcx2.org>
  *  Dennis Herrmann <dhn@FreeBSD.org>
  *  Derek Schrock <dereks@lifeofadishwasher.com>
  *  Diederik de Groot
  *  Dima Dorfman <dd@FreeBSD.org>
  *  Dima Panov <fluffy@FreeBSD.org>
  *  Dima Sivachenko
  *  Dima Sivachenko <dima@chg.ru>
  *  Dirk-Willem van Gulik / dirkx@webweaving.org
  *  Dmitry Sivachenko <demon@FreeBSD.org>
  *  Dmitry Sivachenko <dima@Chg.RU>
  *  Dmitry Sivachenko <mitya@yandex-team.ru>
  *  Dominic Marks <dominic.marks@btinternet.com>
  *  Dominic Mitchell <dom@happygiraffe.net>
  *  Douglas Thrift <douglas@douglasthrift.net>
  *  Dryice Liu
  *  Ed Schouten <ed@FreeBSD.org>
  *  Edwin Groothuis (edwin@mavetju.org)
  *  Elias Mandouvalos <ocean@compulink.gr>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@critical.ch>
  *  Emmanuel Richiardone (err@tollari.org)
  *  Eric Freeman <freebsdports@chillibear.com>
  *  Erich Zigler <erich@tacni.net>
  *  Erwin Lansing <erwin@FreeBSD.org>
  *  Eugene Grosbein <eugen@FreeBSD.org>
  *  Eugene Grosbein <ports@grosbein.net>
  *  Felippe de Meirelles Motta <lippemail@gmail.com>
  *  Felix Hanley
  *  Felix Hanley <felix@userspace.com.au>
  *  Filippo Natali <filippo.natali@gmail.com>
  *  Filippo Natali <filippo@widestore.net>
  *  Florent Thoumie <flz@xbsd.org>
  *  Franco Fichtner <franco@opnsense.org>
  *  Frank Fenor <frank@fenor.de>
  *  Frank W. Josellis <frank@dynamical-systems.org>
  *  Frederic Culot <culot@FreeBSD.org>
  *  Frederic Culot <frederic@culot.org>
  *  Fukang Chen <loader@FreeBSD.org>
  *  G. Adam Stanislav <adam@whizkidtech.net>
  *  Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
  *  Gabriel Dutra <0xdutra@gmail.com>
  *  Gabriel M. Dutra <0xdutra@gmail.com>
  *  Ganael LAPLANCHE <ganael.laplanche@martymac.org>
  *  Ganael Laplanche <ganael.laplanche@martymac.org>
  *  Gasol Wu <gasol.wu@gmail.com>
  *  Gaspar Chilingarov <nm@web.am>
  *  Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
  *  Gea-Suan Lin <gslin@gslin.org>
  *  Geoff Garside
  *  George Reid <greid@ukug.uk.freebsd.org>
  *  George V. Neville-Neil
  *  Gerrit Beine (<tux@pinguru.net>)
  *  GomoR <netpkt@gomor.org>
  *  Goran Tal
  *  Greg Larkin <glarkin@FreeBSD.org>
  *  Gregory Edigarov <greg@bestnet.kharkov.ua>
  *  Guangyuan Yang <ygy@FreeBSD.org>
  *  Guerkan Karaman <gk.freebsd@googlemail.com>
  *  Gunter Wambaugh <gunter@six-two.net>
  *  Gustau Perez <gustau.perez@gmail.com>
  *  Gustau Perez i Querol <gustau.perez@gmail.com>
  *  HSIN-HSIUNG CHANG
  *  Hajimu UMEMOTO <ume@FreeBSD.org>
  *  Haowu Ge <ghw@7axu.com>
  *  Henk van Oers <hvo.pm@xs4all.nl>
  *  Henrik Hodne <henrik@hodne.io>
  *  Honza Betik
  *  Hugo Saro <hugo@barafranca.com>
  *  Hung-Yi Chen <gaod@hychen.org>
  *  Hye-Shik Chang <perky@FreeBSD.org>
  *  IWATSUKI Hiroyuki <don@na.rim.or.jp>
  *  Iblis Lin <iblis@hs.ntnu.edu.tw>
  *  Igor Vinokurov <igor@zynaps.ru>
  *  Ilia Skalozubov <freebsd@skinc.ru>
  *  Ilya Bakulin <webmaster@kibab.com>
  *  Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
  *  J.R. Oldroyd <fbsd@opal.com>
  *  Jaap Akkerhuis <jaap@NLnetLabs.nl>
  *  Jacques Vidrine <nectar@FreeBSD.org>
  *  James Elstone <james@elstone.net>
  *  James FitzGibbon <jfitz@FreeBSD.org>
  *  Jan Hornyak <pav@oook.cz>
  *  Janni
  *  Janos Mohacsi <janos.mohacsi@bsd.hu>
  *  Janos.Mohacsi@bsd.hu
  *  Janos.Mohacsi@dante.org.uk
  *  Jase Thew <freebsd@beardz.net>
  *  Jean-Yves Lefort <jylefort@brutele.be>
  *  Jeff Putsch <jdputsch@comcast.net>
  *  Jeremie Le Hen <jlh@FreeBSD.org>
  *  Jesper Skriver <jesper@FreeBSD.org>
  *  Jesse McConnell <jesse@gallup.com>
  *  Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
  *  Joe Clarke
  *  Joe Horn <joehorn@gmail.com>
  *  Joe Marcus Clarke <marcus@FreeBSD.org>
  *  Johannes Meixner <johannes@perceivon.net>
  *  John Bayly <freebsd.ports@tipstrade.net>
  *  John Hixson <jhixson@gmail.com>
  *  John Hixson<jhixson@FreeBSD.org>
  *  John Polstra <jdp@FreeBSD.org>
  *  Jon Nistor <nistor@snickers.org>
  *  Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
  *  Jose M. Alcaide <jose@we.lc.ehu.es>
  *  Joseph Benden <joe@thrallingpenguin.com>
  *  Joseph Scott <joseph@randomnetworks.com>
  *  Joshua Goodall <joshua@roughtrade.net>
  *  Jov <amutu@amutu.com>
  *  Juergen Lock <nox@FreeBSD.org>
  *  Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
  *  Jui-Nan Lin <jnlin@freebsd.cs.nctu.edu.tw>
  *  Juraj Lutter <otis@FreeBSD.org>
  *  Jyun-Yan You <jyyou@cs.nctu.edu.tw>
  *  Karsten Pedersen <kpedersen@disroot.org>
  *  Kelly Yancey <kbyanc@FreeBSD.org>
  *  Kelly Yancey <kbyanc@posi.net>
  *  Kevin Bowling <k@kev009.com>
  *  Kevin Bowling <kbowling@freebsd.org>
  *  Kevin Lo <kevlo@FreeBSD.org>
  *  Kimura Fuyuki <fuyuki@hadaly.org>
  *  Kimura Fuyuki <fuyuki@mj.0038.net>
  *  Kirill Ponomarew <krion@FreeBSD.org>
  *  Kirill Ponomarew <ponomarew@oberon.net>
  *  Koop Mast <einekoai@chello.nl>
  *  Koop Mast <kwm@FreeBSD.org>
  *  Kris Kennaway <kris@FreeBSD.org
  *  Kris Kennaway <kris@FreeBSD.org>
  *  Kristof Provost <kp@FreeBSD.org>
  *  Krzysztof Stryjek <ports@bsdserwis.com>
  *  Kubilay Kocak <koobs@FreeBSD.org>
  *  Lars Eggert <lars@eggert.org>
  *  Lars Erik Gullerud <lerik@nolink.net>
  *  Lars Thegler <lars@thegler.dk>
  *  Lars Thegler <lth@FreeBSD.org>
  *  Lasse L. Johnsen (lasse@freebsdcluster.org)
  *  Lawrence Chen <beastie@tardisi.com>
  *  Li-Wen Hsu <lwhsu@FreeBSD.org>
  *  Loic Pefferkorn <loic-freebsd@loicp.eu>
  *  Loren M. Lang
  *  Lung-Pin Chang <changlp@cs.nctu.edu.tw>
  *  M. Birgmeier
  *  MANTANI Nobutaka <nobutaka@FreeBSD.org>
  *  MIHIRA Yoshiro <sanpei@FreeBSD.org>
  *  Mahlon E. Smith <mahlon@martini.nu>
  *  Maksym Sobolyev <sobomax@pbxpress.it>
  *  Manuel Creach <manuel.creach@icloud.com>
  *  Marcin Cieslak <saper@system.pl>
  *  Marcin Jessa <freebsd@yazzy.org>
  *  Marcin Jessa <yazzy@yazzy.org>
  *  Marco P. Rodrigues <drkangel@drkangel.org>
  *  Marco Steinbach <coco@webdev.c0c0.intra>
  *  Marcus Glocker <marcus@nazgul.ch>
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Mario Sergio Fujikawa Ferreira <liouxFreeBSD.org>
  *  Mark Felder <feld@FreeBSD.org>
  *  Mark Pulford <mark@kyne.com.au>
  *  Mars G Miro <spry@anarchy.in.the.ph>
  *  Martin Matuska <mm@FreeBSD.org>
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Masafumi NAKANE <max@FreeBSD.org>
  *  Masahiro Teramoto <markun@onohara.to>
  *  Masaki TAGAWA <masaki@club.kyutech.ac.jp>
  *  Massimiliano Stucchi <mstucchi@ripe.net>
  *  Matt Emmerton <matt@gsicomp.on.ca>
  *  Matt Peterson <matt@peterson.org>
  *  Matthew George <mdg@secureworks.net>
  *  Matthew Luckie <mjl@luckie.org.nz>
  *  Matthew Seaman
  *  Matthias Fechner <mfechner@FreeBSD.org>
  *  Matthias Teege <matthias@mteege.de>
  *  Max Khon <fjoe@FreeBSD.org>
  *  Max V. Kostikov <max@kostikov.co>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Meno Abels <meno.abels@adviser.com>
  *  Michael Frey <frey@raum3.de>
  *  Michael Handler <handler@grendel.net>
  *  Michael Johnson <ahze@FreeBSD.org
  *  Michael Johnson <ahze@FreeBSD.org>
  *  Michael Joyner <mjoyner@hq.dyns.cx>
  *  Michael Kohn <mike@mikekohn.net>
  *  Michael L. Hostbaek (mich@freebsdcluster.org)
  *  Michael L. Hostbaek <mich@freebsdcluster.org>
  *  Michael Muenz <m.muenz@gmail.com>
  *  Mike Carlson <carlson39@llnl.gov>
  *  Mikhail Teterin
  *  Mikhail Teterin <mi@aldan.algebra.com>
  *  Mikhail Zakharov <zmey20000@yahoo.com>
  *  Muhammad Moinur Rahman <5u623l20@gmail.com>
  *  Muhammad Moinur Rahman <bd_subzero@yahoo.com>
  *  Muhammad Moinur Rahman <bofh@FreeBSD.org>
  *  Munechika SUMIKAWA <sumikawa@FreeBSD.org>
  *  Nathan Whitehon <nwhitehorn@freebsd.org>
  *  Neil Booth
  *  Nick Sayer <nsayer@FreeBSD.org>
  *  Nicola Vitale <nivit@FreeBSD.org>
  *  Nobutaka Mantani <nobutaka@FreeBSD.org>
  *  Oleg Mamontov <oleg@mamontov.net>
  *  Oliver Mahmoudi <olivermahmoudi@gmail.com>
  *  Olivier Cochard-Labbé <olivier@FreeBSD.org>
  *  Olivier Duchateau
  *  Olivier Tharan <olive@oban.frmug.org>
  *  Palle Girgensohn <girgen@FreeBSD.org>
  *  Pankov Pavel <pankov_p@mail.ru>
  *  Paolo Pisati <flag@gufi.org>
  *  Patrick Li <pat@databits.net>
  *  Patrick MARIE <mycroft@virgaria.org>
  *  Patrick Powell <papowell@astart.com>
  *  Paul Dlug <paul@aps.org>
  *  Paul Schmehl <pauls@utdallas.edu>
  *  Pav Lucistnik <pav@FreeBSD.org>
  *  Pawel Pekala <pawel@FreeBSD.org>
  *  Peter Pentchev <roam@FreeBSD.org>
  *  Philip M. Gollucci <ports@FreeBSD.org>
  *  Philippe Audeoud <jadawin@tuxaco.net>
  *  Phillip Neumann <pneumann@gmail.com>
  *  Piotr Florczyk <pf@itwf.pl>
  *  Piotr Kubaj <pkubaj@anongoth.pl>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Raffaele De Lorenzo - raffaele.delorenzo@libero.it
  *  Rich Neswold <rneswold@mcs.net>
  *  Richard Gallamore <ultima@FreeBSD.org>
  *  Roger Hardiman <roger@FreeBSD.org>
  *  Roman Bogorodskiy <novel@FreeBSD.org>
  *  Roman Neuhauser (<neuhauser@bellavista.cz>)
  *  Roman Shterenzon <roman@xpert.com>
  *  Rong-En Fan <rafan@FreeBSD.org>
  *  Rong-En Fan <rafan@infor.org>
  *  Roy Marples <roy@marples.name>
  *  Rusmir Dusko <nemysis@FreeBSD.org>
  *  Russell Francis
  *  Ryan Steinmetz <rpsfa@rit.edu>
  *  Ryan Steinmetz <zi@FreeBSD.org>
  *  Ryan T. Dean <rtdean@cytherianage.net>
  *  Sahil Tandon <sahil@FreeBSD.org>
  *  Sahil Tandon <sahil@tandon.net>
  *  Seamus Venasse <svenasse@polaris.ca>
  *  Sebastien Petit <spe@phear.org>
  *  Sebastien Santoro <dereckson@gmail.com>
  *  Seiichirou Hiraoka
  *  Sergei Kolobov <sergei@kolobov.com>
  *  Sergey Kandaurov <pluknet@gmail.com>
  *  Sergey Kozlov <sergey.kozlov@intel.com>
  *  Sergey Kozlov <skozlov@FreeBSD.org>
  *  Sergey Matveychuk <sem@FreeBSD.org>
  *  Sergey Skvortsov <skv@protey.ru>
  *  Sergey Velichkevych <serg@cad.kiev.ua>
  *  Shinsuke Matsui (<smatsui@karashi.org>)
  *  Silvio Ap Silva aka kanazuchi <alvolivre@live.com>
  *  Simon Barner <barner@gmx.de>
  *  Simun Mikecin < numisemis at yahoo dot com >
  *  Simun Mikecin <numisemis@yahoo.com>
  *  Sofian Brabez <sbrabez@gmail.com>
  *  Stacey D. Son <sds@son.org>
  *  Stanislav Sedov <stas@FreeBSD.org>
  *  Stefan Hagen <sh@codevoid.de>
  *  Steve Jacobson <sjac@cs.stanford.edu>
  *  Steve Wills <swills@FreeBSD.org>
  *  Steven Kreuzer <skreuzer@FreeBSD.org>
  *  Sunagawa Koji <koj@ofug.net>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  TAKAHASHI Kaoru <kaoru@kaisei.org>
  *  TAKATSU Tomonari <tota@FreeBSD.org>
  *  TERAMOTO Masahiro <markun@onohara.to>
  *  Talal Al Dik (tad@vif.com)
  *  Thibault Payet <monwarez@mailoo.org>
  *  Thierry Thomas (<thierry@FreeBSD.org>)
  *  Thierry Thomas (<thierry@pompo.net>)
  *  Thierry Thomas <thierry@pompo.net>
  *  Thomas Dreibholz <dreibh@iem.uni-due.de>
  *  Thomas Quinot <thomas@cuivre.fr.eu.org>
  *  Tillman Hodgson <tillman@seekingfire.com>
  *  Tim Bishop <tim@bishnet.net>
  *  Timothy Beyer <beyert@cs.ucr.edu>
  *  Timothy Redaelli <drizzt@gufi.org>
  *  Tom McLaughlin <tmclaugh@FreeBSD.org>
  *  Tom McLaughlin <tmclaugh@sdf.lonestar.org>
  *  Tony Shadwick <tshadwick@oss-solutions.com>
  *  Torsten Zuehlsdorff <ports@toco-domains.de>
  *  Torsten Zuehlsdorff <tz@FreeBSD.org>
  *  Trenton Schulz <trueos@norwegianrockcat.com>
  *  Trevor Corpropst <tcornpropst@cox.net>
  *  Tsung-Han Yeh <snowfly@yuntech.edu.tw>
  *  Ulrich Spoerlein <uspoerlein@gmail.com>
  *  Vadim Belman <vab@lflat.vas.mobilix.dk>
  *  Valery Komarov <komarov@valerka.net>
  *  Vanilla I. Shu <vanilla@FreeBSD.org>
  *  Vasil Dimov <vd@FreeBSD.org>
  *  Vassili Tchersky <vt@bsdjeunz.org>
  *  Veniamin Gvozdikov <vg@FreeBSD.org>
  *  Victor Yagofarov <xnasx@yandex.ru>
  *  Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
  *  Vsevolod Stakhov <vsevolod@highsecure.ru>
  *  Wen Heping <wen@FreeBSD.org>
  *  Wen Heping <wenheping@gmail.com>
  *  Wen Heping<wenheping@gmail.com>
  *  Wen heping <wenheping@gmail.com>)
  *  Weongyo Jeong <weongyo@FreeBSD.org>
  *  Willem Jan Withagen <wjw@digiware.nl>
  *  William Grzybowski <wg@FreeBSD.org>
  *  William Ward <William.Ward@ericsson.com>
  *  Winston Weinert <winstonw@lavabit.com>
  *  Xiaoding Liu <xiaoding+freebsd@xiaoding.org>
  *  Xin LI <delphij@FreeBSD.org>
  *  Xin Li <delphij@FreeBSD.org>
  *  Yann Berthier <yb@sainte-barbe.org>
  *  Yarema <yds@CoolRat.org>
  *  Yen-Ming Lee <leeym@FreeBSD.org>
  *  Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
  *  Yen-Ming Lee <leeym@leeym.com>
  *  Yi-Hsuan Hsin <mhsin@mhsin.org>
  *  Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
  *  Yi-Jheng, Lin <yzlin@cs.nctu.edu.tw>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Yoshihiko Sarumaru <mistral@imasy.or.jp>
  *  Yukihiro Nakai <Nacai@iname.com>
  *  Yuri Victorovich <yuri@rawbw.com>
  *  Zach Thompson <hideo@lastamericanempire.com>
  *  Zane C, Bowers <vvelox@vvelox.net>
  *  Zane C. Bowers <vvelox@vvelox.net>
  *  Zane C. Bowers-Hadley <vvelox@vvelox.net>
  *  Zhen REN <bg1tpt@gmail.com>
  *  aaron@FreeBSD.org
  *  ache
  *  adam
  *  adam@veda.is
  *  adamw
  *  alepulver
  *  alexp
  *  andreas
  *  andreas@FreeBSD.org
  *  andrey@kostenko.name
  *  arved
  *  asami
  *  ats (original)
  *  brd@FreeBSD.org
  *  brix@FreeBSD.org
  *  bsdx
  *  chinsan
  *  chinsan <chinsan.tw@gmail.com>
  *  clsung
  *  clsung@dragon2.net
  *  cpm <cpm@fbsd.es>
  *  cy@FreeBSD.org
  *  dave@dogwood.com
  *  dds
  *  devin@spamcop.net
  *  dikshie <dikshie@lapi.itb.ac.id>
  *  dikshie@sfc.wide.ad.jp
  *  doconnor@gsoft.com.au
  *  erwin@FreeBSD.org
  *  fenner
  *  gahr
  *  gebhart@secnetix.de
  *  glarkin
  *  glewis
  *  gugu
  *  igor@zynaps.ru
  *  ijliao
  *  james@targetnet.com
  *  jameskamlyn@gmail.com
  *  jamundsen
  *  janos.mohacsi@bsd.hu
  *  jeff@cetlink.net
  *  jesusr
  *  jhay
  *  jkh
  *  johans@stack.nl
  *  jupengfei <jupengfei@gmail.com>
  *  kai
  *  krion@FreeBSD.org
  *  kris@FreeBSD.org
  *  kungfuftr <scott@surreytech.co.uk>
  *  kuriyama
  *  lance@evitel.net
  *  lbartoletti <lbartoletti@FreeBSD.org>
  *  liamfoy@sepulcrum.org
  *  lwhsu@FreeBSD.org
  *  marck@FreeBSD.org
  *  matusita@jp.FreeBSD.org
  *  maurice
  *  melifaro@ipfw.ru
  *  mfechner@FreeBSD.org
  *  mharo@FreeBSD.org
  *  michael johnson <ahze@ahze.net>
  *  mike@binghamton.edu
  *  msmith
  *  mwest@uct.ac.za
  *  nbm
  *  netch@netch.kiev.ua
  *  nishida@sfc.wide.ad.jp
  *  nork@FreeBSD.org
  *  pat@databits.net
  *  paul@FreeBSD.org
  *  petef
  *  petef@FreeBSD.org
  *  peter
  *  ports@c0decafe.net
  *  quest <quest@mac.com>
  *  rdenis@simphalempin.com
  *  renchap@cocoa-x.com
  *  rflynn@acsalaska.net
  *  roam@orbitel.bg
  *  ru
  *  ryo
  *  scrappy@FreeBSD.org
  *  shan
  *  shanali
  *  shigeru@iij.ad.jp
  *  shipley@dis.org
  *  skreuzer
  *  smace@FreeBSD.org
  *  sobomax
  *  spf@xslt.cs.nccu.edu.tw
  *  stast
  *  stb
  *  steinex
  *  sten@blinkenlights.nl
  *  swills@
  *  thierry@pompo.net
  *  tim@relay.nnn.tstu.ru
  *  timur@FreeBSD.org
  *  tm@onepost.net
  *  trevor
  *  vanhu <vanhu@netasq.com>
  *  vanilla
  *  vanilla@
  *  wenheping <wenheping@gmail.com>
  *  will
  * # Created by Matthias Fechner <mfechner@FreeBSD.org>
  * # Created by Radim Kolar <hsn@sendmail.cz>

With hat:	portmgr
6a378e5659
Cy Schubert (cy) · 4.2.8p15_5
net/ntp: Restore previous behaviour

Restore ntp to prior to the ASLR mitigations applied.

When ASLR and subsequently PIE were committed to the FreeBSD kernel, ntpd
would segfault due to insufficient stack. This was because stack gap was
not taken into account by applications requesting stack and/or memory
limits. (BTW, this problem also affected firefox and thunderbird.)

This subsequently caused disabling of rlimit memlock, which could not be
avoided under the previous implementation of ASLR:

	Cannot set RLIMIT_MEMLOCK: Operation not permitted

Since then a number of improvments to ASLR stack gap implementation have
rendered the mitigations unnecessary. The mitigations initially developed
here at FreeBSD were subsequently upstreamed (noticed by the folks at
nwtime.org and automatically upstreamed). The mitigations have been
reversed in the base system. This patch reverses the ASLR mitigations in
the port as well.

PR:		262031
Reported by:	p5B2E9A8F@t-online.de
c2a26c7a01
Cy Schubert (cy) · 4.2.8p15_4
net/ntp: Fix build on older FreeBSD

Fix stackgap build on older FreeBSD.

PR:		261491
Reported by:	tomasz.sowinski@nucleus.malbork.pl
MFH:		2022Q1
646499bcb3
Cy Schubert (cy) · 4.2.8p15_4
net/ntp: Fix stable/12 build

There should be no minimum to 1300524.

Reported by:	Scott Allendorf <scott-allendorf@uiowa.edu>
Fixes:		a6e356e8f50f92acbdec6156c068e768d1835591
MFH:		2022Q1
d4607d3180
Cy Schubert (cy) · 4.2.8p15_4
net/ntp: Reverse "Disable ntpd stack gap" for stable/13

As stack gap mitigations have been MFCed to stable/13, reverse
"Disable ntpd stack gap" for __FreeBSD_version < 1300524 too.

MFH:		2022Q1
a6e356e8f5
Cy Schubert (cy) · 4.2.8p15_3
net/ntp: Use __FreeBSD_version < 1400038

__FreeBSD_version < 1400038 is more appropriate as it follows the
commit to resolve setrlimit(2) segfaults.

MFH:		2021Q4
f424bcafb8
Cy Schubert (cy) · 4.2.8p15_2
net/ntp: Implement 8dc43f07dc6 only for 14-CURRENT for now

Only Reverse "Disable ntpd stack gap" for __FreeBSD_version < 1400037
for now until the next __FreeBSD_version bump.

Reported by:	kevans
MFH:		2021Q4
ad1f51b39b
Cy Schubert (cy) · 4.2.8p15_1
net/ntp: Reverse "Disable ntpd stack gap"

120137c822c9697c19cf94461f436f8ccc372d24 (svn r517694) disabled ntpd
ASLR stack gap, which caused ntpd to segfault. (The patch in
120137c822c9697c19cf94461f436f8ccc372d24 was subsequently submitted
to nwtime.org for inclusion into upstream ntp.) src commit
889b56c8cd84c9a9f2d9e3b019c154d6f14d9021 addressed the underlying cause
for the setrlimit segfault negating the need for this workaround. This
commit removes the workaround.

MFH:		2021Q4 (after a month)
8dc43f07dc
Cy Schubert (cy) · 4.2.8p15
net/ntp: Fix stage when devel/bitkeeper is installed

NTP is developed using the bitkeeper VCS. checkHtmlFileDates, uses
bitkeeper metadata to alter dates in html files. This results in
a bunch of *.old files installed in ${STAGEDIR}. As the distribution
tarball contains no bitkeeper metadata, no dates are updated at the
cost of failed build. This patch teaches scripts/build/checkHtmlFileDates
to act as if bitkeeper is not installed regardless of bitkeeper's
installatikon status.

MFH:		2021Q4
e34576d8f5
Mathieu Arnold (mat) · 4.2.8p15
Remove # $FreeBSD$ from Makefiles.
305f148f48
Cy Schubert (cy) · 4.2.8p15
Update 4.2.8p14 --> 4.2.8p15

Summary: Systems that use a CMAC algorithm in ntp.keys will not release
a bit of memory on each packet that uses a CMAC keyid, eventually causing
ntpd to run out of memory and fail. The CMAC cleanup from
https://bugs.ntp.org/3447, part of ntp-4.2.8p11, introduced a bug whereby
the CMAC data structure was no longer completely removed.

MFH:		2020Q3
Security:	NTP Bug 3661
5c9df50c75
Yuri Victorovich (yuri) · 4.2.8p14
net/ntpsec: Add CONFLICTS between net/{ntp,ntp-devel,openntpd,ntpsec} because they all install sbin/ntpd

Also remove -* for versions because this isn't needed.

PR:		246553
Reported by:	naddy
Approved by:	portmgr (port compliance, infrastructure)
564cc1ae4b
Cy Schubert (cy) · 4.2.8p14
ntpd: fix build with -fno-common

Only a small nit here: psl should be declared extern and defined exactly
once.

-fno-common will become the default in GCC10/LLVM11.

Obtained from:	src r359676 (kevans)
MFH:		2020Q2
26ebd3a30a
Cy Schubert (cy) · 4.2.8p14
Update ntp-4.2.8p13 --> 4.2.8p14.

The advisory can be found at:
http://support.ntp.org/bin/view/Main/SecurityNotice#\
March_2020_ntp_4_2_8p14_NTP_Rele

No CVEs have been documented yet.

MFH:		2020Q2
Security:	http://support.ntp.org/bin/view/Main/NtpBug3610
		http://support.ntp.org/bin/view/Main/NtpBug3596
		http://support.ntp.org/bin/view/Main/NtpBug3592
c1edb7d88a
Cy Schubert (cy) · 4.2.8p13_6
Chase r512433, (also chasing src r355388) document that rlimit memlock is disabled by default.
0b6ae44462
Cy Schubert (cy) · 4.2.8p13_5
Disable ntpd stack gap. When ASLR with STACK GAP != 0 ntpd suffers SIGSEGV.

PR:		241421, 241960
Reported by:	Vladimir Zakharov <zakharov.vv@gmail.com>,
		dewayne@heuristicsystems.com.au
Reviewed by:	kib, imp (previous version), ian (suggestion)
MFH:		2019Q4
Differential Revision:  https://reviews.freebsd.org/D22358
120137c822
Cy Schubert (cy) · 4.2.8p13_4
patch-ntpd_ntp.c should really be named patch-ntpd_ntpd.c as it patches ntpd/ntpd.c.
01793e8d7c
Baptiste Daroussin (bapt) · 4.2.8p13_4
Drop the ipv6 virtual category for n* category as it is not relevant anymore
88a9b99e26
Cy Schubert (cy) · 4.2.8p13_4
Chase src r352540:

Follow up on ports r511987 (base r352304) which disabled default
mlockall() at startup. Unfortunately though the original tarball
supports this in ./configure (for Linux), to fully support disabling
of mlockall() by default requires a little extra help otherwise the
following is logged in syslog:

        Cannot set RLIMIT_MEMLOCK: Operation not permitted
561d1f9f76
Cy Schubert (cy) · 4.2.8p13_3
Chase base r352518:

Reduce calls to close(2) at startup through the use of closefrom(2).

Submitted by:		pawel.biernacki@gmail.com (based on)
Obtained from:		base r352518
5425c19fe6
Cy Schubert (cy) · 4.2.8p13_2
Sync with base r352304, no longer locking ntpd in memory. Users who wish to restore historic BSD behaviour can add the following to ntp.conf:

rlimit memlock 32

Discussed on:	freebsd-current@ between Sept 6-9, 2019
Mentioned in Differential Revision:
		https://reviews.freebsd.org/D21581
7c01ec153b
Cy Schubert (cy) · 4.2.8p13_1
TrustedBSD-MAC has been accepted upstream.
ff3039386a
Mathieu Arnold (mat) · 4.2.8p13_1
Convert to UCL & cleanup pkg-message (categories n)

(and missed 3 missed files from previous categories.)
2614c95748
Jan Beich (jbeich) · 4.2.8p13_1
devel/libevent2: update to 2.1.11

Changes:	https://github.com/libevent/libevent/releases/tag/release-2.1.11-stable
ABI:		https://abi-laboratory.pro/tracker/timeline/libevent/
PR:		239599
Reported by:	GitHub (watch releases)
Approved by:	zeising (maintainer)
MFH:		2019Q3 (maybe security, partially restores 2.1.8 ABI)
Differential Revision:	https://reviews.freebsd.org/D21133
f18538b989
Cy Schubert (cy) · 4.2.8p13
4.2.8p12 --> 4.2.8p13
fe46d0836c
Cy Schubert (cy) · 4.2.8p12_3
Fix build on armv6.

Submitted by:	garga@
MFH:		2018Q4
e0ff51b278
Cy Schubert (cy) · 4.2.8p12_3
Also tell people how to enable ntpd and ntpdate from ports using sysrc.

mat@ suggested this however as I'm not enamoured with sysrc, it has
been added as annother approach to add/edit rc.conf variables.

Reported by:	mat@
MFH:		2018Q3
75e8e9b2da
Cy Schubert (cy) · 4.2.8p12_2
Fix a typo.

Reported by:	Herbert J. Skuhra <herbert@gojira.at>
MFH:		2018Q3
db1b38fc85
Cy Schubert (cy) · 4.2.8p12_1
Add a package message instructing the user how to use ports ntp instead of base ntp.

Reported by:	adamw
MFH:		2018Q3
3a1e900c8c
Cy Schubert (cy) · 4.2.8p12
Update 4.2.8p11 --> 4.2.8p12

MFH:		2018Q3
08a9c802ae