Commit graph

158 commits

Author SHA1 Message Date
Jan Beich
f18538b989 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
2019-08-02 13:30:40 +00:00
Cy Schubert
fe46d0836c 4.2.8p12 --> 4.2.8p13 2019-03-07 12:58:12 +00:00
Cy Schubert
e0ff51b278 Fix build on armv6.
Submitted by:	garga@
MFH:		2018Q4
2018-10-16 12:02:28 +00:00
Cy Schubert
75e8e9b2da 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
2018-09-06 03:40:36 +00:00
Cy Schubert
db1b38fc85 Fix a typo.
Reported by:	Herbert J. Skuhra <herbert@gojira.at>
MFH:		2018Q3
2018-09-03 02:52:34 +00:00
Cy Schubert
3a1e900c8c Add a package message instructing the user how to use ports ntp
instead of base ntp.

Reported by:	adamw
MFH:		2018Q3
2018-08-31 03:11:41 +00:00
Cy Schubert
08a9c802ae Update 4.2.8p11 --> 4.2.8p12
MFH:		2018Q3
2018-08-21 05:07:54 +00:00
Ian Lepore
fdc7af6999 Add TrustedBSD MAC(4) support to ntpd.
These changes add support for running ntpd as non-root, and improve support
for the --jaildir (chroot) option when running on freebsd. These correspond
to the changes made in the base system with r336525.

The new patches in this change are exactly what was submitted upstream in
https://bugs.ntp.org/show_bug.cgi?id=3509

Approved by:	cy@
Differential Revision:	https://reviews.freebsd.org/D16396
2018-07-23 00:32:59 +00:00
Danilo G. Baio
64d64af272 www/libwww: Update to 5.4.2, Fix security vulnerabilities
This a security release for libwww to take into account security advisories
CVE-2016-9063 and CVE-2017-9233.

In order to take into account current and future expat security advisories,
the expat source code was removed from the libwww tree. The makefiles were
modified so that libwww dynamically links against the system's expat library.

Patches removed were incorporated upstream.

Bump PORTREVISION of dependent ports due shlib change.

Changes:	https://raw.githubusercontent.com/w3c/libwww/5.4.2/ChangeLog

MFH:		2018Q3
Security:	e375ff3f-7fec-11e8-8088-28d244aee256
2018-07-05 11:32:32 +00:00
Xin LI
48a72cabc6 Security update 4.2.8p10 --> 4.2.8p11.
MFH:		2018Q1
2018-02-28 06:51:33 +00:00
Cy Schubert
c37e5bb06c Fix RIPENCC TRIMBLE driver compile error.
PR:		223819
2018-02-02 06:55:52 +00:00
Cy Schubert
1b65f8be09 Register conflict with openntpd.
Reported by:	rodrigo
2017-10-05 01:55:10 +00:00
Cy Schubert
ff3b7d9084 r436859 removed a bunch of refclock drivers that were enabled by
default. (New patch from ian@.)

While here ian@ and I discussed the www/libwww libmd5 dependency. It
turns out that if the sntp configure script finds libmd5, it uses it.
This is now an option to include the dependency.

While working on the libmd5 dependency it was discovered that the
sntp build requires SSL only if it finds libmd5. This is now an
IMPLIES.

Thanks to ian@ for the additional patch and for discovering the
libmd5 check, pointing me in the right direction to solve the without
SSL breakage.

PR:		218078
Submitted by:	ian@ (default driver options)
Discussed with:	ian@ (libmd5 dependency)
2017-03-25 07:50:53 +00:00
Cy Schubert
686b3854c8 Remove autogen dependency added by r426923. This version of ntp no
longer needs it.
2017-03-24 23:20:53 +00:00
Cy Schubert
106806722b Use CONFIGURE_ENABLE instead of CONFIGURE_ON.
The current use of CONFIGURE_ON to handle refclock options allows
adding a refclock that is off by default, but doesn't allow a user
to eliminate refclocks that ntpd includes by default.

Using CONFIGURE_ENABLE instead of CONFIGURE_ON will add the proper
--disable-REFCLOCKNAME to the args when the user disables default-on
options.

PR:		218078
Submitted by:	ian@
2017-03-24 21:26:51 +00:00
Cy Schubert
34d196cb52 Update 4.2.8p9 --> 4.2.8p10 2017-03-23 05:51:59 +00:00
Cy Schubert
665dee0030 Enable DEBUG option which enables debugging code in ntp via
--enable-debug. This enables -d and -D options within ntpd.
2017-03-15 19:50:43 +00:00
Cy Schubert
f541b9845c Correct the specification of ssl. This doesn't fix the brokenness
of this port when ssl is not specified but corrects the incorrect
specification regerdless.
2017-03-15 13:47:52 +00:00
Cy Schubert
7a0b3de312 Remove extraneous arguments and options, which don't make sense for
a file documented in volume 5.
2017-03-08 07:02:41 +00:00
Cy Schubert
33c9f1e39b OpenSSL includes are configured even though option is not selected
resulting in a build failure.
2017-02-22 03:35:56 +00:00
Cy Schubert
886d308031 Same as r311005 in base, Fix up grammar. 2017-02-22 03:13:02 +00:00
Jan Beich
a9425224f1 devel/libevent2: drop historical suffix after r362796
PR:		216777
Approved by:	mm (maintainer)
2017-02-20 02:57:04 +00:00
Jan Beich
21a7215c9a devel/libevent2: update to 2.1.8 and cleanup
- DEFAULT_VERSIONS += ssl=openssl-devel is now supported
- devel/py-event and devel/p5-Event-Lib are marked BROKEN

Changes:	https://github.com/libevent/libevent/raw/release-2.1.8-stable/whatsnew-2.1.txt
Changes:	https://github.com/libevent/libevent/raw/release-2.1.8-stable/ChangeLog
PR:		216527
Exp-run by:	antoine
Approved by:	mm (maintainer)
2017-02-04 07:56:59 +00:00
Mathieu Arnold
c1b39669d4 Cleanup BROKEN/IGNORE for 10.3-
Sponsored by:	Absolight
2017-01-03 11:01:05 +00:00
Cy Schubert
b49c1750b8 Fix build with LibreSSL.
PR:		215323
Submitted by:	naddy
2016-12-15 20:22:14 +00:00
Cy Schubert
a92deb2803 Flag ntp and ntp-devel ignore if libressl is installed due to md5
symbol conflicts.

PR:		215093
2016-12-13 03:00:08 +00:00
Cy Schubert
3c2e326625 Unbreak Makefile, set up appropriate support for BROKEN.
As suggested by koobs, describe error in BROKEN=.
2016-11-24 16:01:51 +00:00
Cy Schubert
6a7ba755fc Document that net/ntp does not build under FreeBSD-9. 2016-11-24 14:41:40 +00:00
Cy Schubert
e65de67a4b Fix build folloing r426791.
Also Submitted by:	roberto
Pointy hat to:		delphij
Reported by:		roberto, Craig Leres <leres@ee.lbl.gov>
2016-11-23 14:31:14 +00:00
Cy Schubert
38c53b85d2 Remove documentation of conflict with the ntp-rc port. net/ntp-rc
is only an active port when an NTP release candidate is available.

Submitted by:	des
2016-11-22 13:54:43 +00:00
Cy Schubert
28a9fdda41 Configure leap-second smearing (always).
Leap-second smearing is an experimental option that may be specified in
ntp.conf(5) to spread the effect of a leap-second over an interval as
specified by the leapsmearinterval config file statement. Recommended
values are between 7200 (2 hours) and 86400 (24 hours).

It is advised that leap-second smearing not be used for public NTP
servers (https://www.meinbergglobal.com/download/burnicki/Leap\
%20Second%20Smearing%20With%20NTP.pdf). It is also advised that NTP
clients not use a mix of NTP servers using leap-second smearing with
NTP servers not using leap-second smearing as that could cause
undefined client behaviour.

Suggested by:	des
2016-11-22 13:45:29 +00:00
Xin LI
b834b6b5ef Security update to 4.2.8p9.
Approved by:	so
MFH:		2016Q4
2016-11-22 08:11:20 +00:00
Tijl Coosemans
1ee4da6dd1 Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS.
USES=localbase:ldflags can be used to set LDFLAGS.  Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.

Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set.  Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.

Fix some issues with LIBS in some ports.

Switch ports that don't support LIBS to localbase:ldflags.

PR:		212987
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-30 19:24:30 +00:00
Dmitry Marakasov
30a00f2227 Most commonly used build systems support silent builds, when they
hide actual commands executed and only show short summary line (like
"CC foo.c"). CMake and ninja enable this by default, some autotools
using ports do as well. This is unacceptable because we need complete
build logs at any time, so we now switch to verbose build logs
unconditionally. Note that this change deliberately affects ALL
builds and not only package builds on cluster, because we need to
be sure that user experiencing failure can always provide informative
build log regardless of settings and without rerunning the build.

Change summary:

- Always do verbose builds for cmake, ninja and GNU configure (the
  latter includes check if --disable-silent-rules is actually supported
  by the configure script; there are isolated cases when it's not true)
- Remove CMAKE_VERBOSE, NINJA_VERBOSE and
  CONFIGURE_ARGS=--disable-silent-rules from all ports which set them
  for this is no longer needed
- Revert hacks for --disable-silent-rules support priorly committed
  to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well

Submitted by:	amdmi3
Reviewed by:	mat
Exp-run by:	antoine
Approved by:	portmgr (mat, antoine)
Differential Revision:	D7534
2016-09-09 19:42:46 +00:00
Cy Schubert
8fa20b7b02 Fix Makefile typo. 2016-08-24 03:26:47 +00:00
Cy Schubert
489e4b4537 Record an indirect libwww dependency. 2016-08-24 03:21:59 +00:00
Cy Schubert
ac98dd167e Switch to USES=ssl. 2016-08-24 03:20:46 +00:00
Cy Schubert
efc26bf84c Fixup sntp.8 man page formatting. This commit is the same as r304721
in base.

Submitted by:	Steve Kargl <sgk@troutmask.apl.washington.edu>
Discussed with:	bjk@
2016-08-24 02:59:06 +00:00
Cy Schubert
37f0df34cf Update 4.2.8p7 --> 4.2.8p8 2016-06-03 06:23:21 +00:00
Xin LI
f71dfbf397 Security update net/ntp to 4.2.8p7.
Security:	CVE-2015-7704
Security:	CVE-2015-8138
Security:	CVE-2016-1547
Security:	CVE-2016-1548
Security:	CVE-2016-1549
Security:	CVE-2016-1550
Security:	CVE-2016-1551
Security:	CVE-2016-2516
Security:	CVE-2016-2517
Security:	CVE-2016-2518
Security:	CVE-2016-2519
Security:	b2487d9a-0c30-11e6-acd0-d050996490d0
MFH:		2016Q2
With hat:	so
2016-04-27 04:50:16 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Mathieu Arnold
999161a9ed Fixup some whitespace at the beginning of lines problems.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:18:17 +00:00
Cy Schubert
f4beb71e3d Update 4.2.8p5 --> 4.2.8p6 2016-01-21 09:05:12 +00:00
Xin LI
7cdc5241e6 Update to 4.2.8p5.
Security:	CVE-2015-5300
Security:	4eae4f46-b5ce-11e5-8a2b-d050996490d0
MFH:		2016Q1
With hat:	so
2016-01-08 06:19:33 +00:00
Kubilay Kocak
0bd48c5d88 net/ntp: Fix untracked gettext dependency & lots more
ntp links against gettext (libintl) if it is installed on the system:

- Add an NLS OPTION to explicitly enable, disable and track libintl dependency
- Add DEBUG and THREADS OPTIONS. Keep the latter enabled by OPTIONS_DEFAULT to
  preserve compatibility with existing behaviour.
- Explicitly pass OpenSSL include / library dir paths to configure
- Unsilence install command
- Enable verbose building (--disable-silent-rules)
- Use TOUCH variable instead of hardcoded command
- Add TEST_TARGET to enable test suite
- Patch sntp tests to ensure they link correctly to threading library
- Pet portlint (*_DEPENDS order, group USE{S} sections, sort OPTIONS)

Approved by:		cy (maintainer)
Differential Revision:	D4812
MFH:			2016Q1
2016-01-07 14:15:45 +00:00
Cy Schubert
666919fbbe Update ntp 4.2.8p3 --> 4.2.8p4.
As ntp 4.2.8p4 has gone GA, remove ntp-rc.
2015-10-21 21:38:12 +00:00
Cy Schubert
08c2fb6578 Shebang fix update-leap. 2015-10-20 01:07:11 +00:00
Dmitry Marakasov
fef3f680d2 - Switch to USES=libedit as suggested by stage-qa
- Switch to options helpers

Approved by:	portmgr blanket
2015-09-02 14:54:28 +00:00
Cy Schubert
458aabf392 Update 4.2.8p2 --> 4.2.8p3
Special thanks to delphij@ for the prep work.

Security:	VuXML: 0d0f3050-1f69-11e5-9ba9-d050996490d0
Security:	http://bugs.ntp.org/show_bug.cgi?id=2853
Security:	https://www.kb.cert.org/vuls/id/668167
Security:	http://support.ntp.org/bin/view/Main/SecurityNotice#June_2015_NTP_Security_Vulnerabi
2015-07-01 01:34:09 +00:00
Bryan Drewery
307a428865 Rework r385426:
- The include/event2 directory was being created improperly due to the lack
    of a pkgconfig dependency. Add it to USES.
  - Remove WRKSRC from SHEBANG list.

Reported by:	many
2015-05-05 16:20:37 +00:00