Commit Graph

10487 Commits

Author SHA1 Message Date
mrg f017fad334 add build infrastructure to build the pixman tests
not built or installed by default.
2022-11-13 09:36:37 +00:00
mrg e966477c11 add -D_CONST_X_STRING, like new upstream 2022-11-13 05:26:07 +00:00
mrg b121719b92 disable arm64 NEON for now. my X server exits for unknown reasons.. 2022-11-12 07:43:33 +00:00
mrg 4d9ba19d12 updates for pixman 0.42.2.
this enables NEON for arm64.  maybe firefox will be faster on pbp...
2022-11-12 04:00:57 +00:00
mrg 0cb9ef9131 updates for libdrm 2.4.114.
unfortunately, the i915 ioctls are no longer handled by kdump/ktruss
as the new one conflicts with base.  this needs a clean build in these
dirs (and rescue).  the radeon ioctls have been enabled instead.
2022-11-12 02:20:15 +00:00
mrg 734e66fe1b updates for libpciaccess 0.17. 2022-11-12 02:03:08 +00:00
hannken cfe3f2c399 Add a helper to set or clear lower mount and use it.
Always add a reference to the lower mount.

Ride 9.99.105
2022-11-04 11:20:39 +00:00
simonb 6abe31b74d Provide an empty ASSERT macro ifdef _STANDALONE. 2022-10-31 10:44:29 +00:00
simonb 424b4ac256 Whitespace nit. 2022-10-31 10:32:28 +00:00
wiz 018c746c3c mdocml: stop building (empty) compat replacement file for reallocarray 2022-10-31 09:37:37 +00:00
wiz 4bcdf1483a remove (AFAIKT) unused _OPENBSD_SOURCE 2022-10-31 09:30:43 +00:00
wiz b4f71e776b dhcpcd: _OPENBSD_SOURCE does not need to be defined any longer
reallocarray() is in the public namespace now
2022-10-31 09:27:23 +00:00
simonb b132f31296 Only need TIMESPEC_OVERFLOW() to check against INT32_{MIN,MAX} on FreeBSD. 2022-10-31 04:50:12 +00:00
kre f5579b3a9f Add missing backward compat links that were in the tzdata2022f
release, but didn't make it into the tzdata2022fgtz fork that
we use - and nor did the original zone data come back.

Links seem adequate for these (and were all some of them ever were).
2022-10-30 10:00:16 +00:00
kre 4cd07e03c6 Merge tzdata2022f 2022-10-30 01:03:46 +00:00
kre 4e8678255f Import tzdata2022f from
https://github.com/JodaOrg/global-tz/releases/download/2022fgtz/tzdata2022fgtz.tar.gz

Summary of changes in tzdata2022f (2022-10-28 18:04:57 -0700):
  * Mexico will no longer observe DST after 2022, except for areas
    near the US border that continue to observe US DST rules.
  * Fiji will not observe DST in 2022/3.
  * Simplify four Ontario zones, as most of the post-1970 differences
    seem to have been imaginary.
2022-10-30 01:02:50 +00:00
mrg 10fd325e6c updates for new libXext, libXmu, libXpresent and libxkbfile. 2022-10-29 21:06:15 +00:00
wiz dd8db24513 put reallocarray() in the public namespace
reallocarray() will be part of the next POSIX release, see
https://austingroupbugs.net/view.php?id=1218

adapt an errno value to match POSIX expectations

As discussed on tech-userlevel
2022-10-28 09:43:58 +00:00
nia 06871316e9 Remove references to GEOM from zpool(8). 2022-10-24 14:22:53 +00:00
mrg 10fe6f2953 keep changed-how-generated files in the ${FILES} list. 2022-10-18 08:18:36 +00:00
mrg 5c8eeae803 add a note about a hack for the pkgconfig file. 2022-10-18 07:41:29 +00:00
mrg ff9bbfa921 hack: add generated file as .pc.in to fix the build 2022-10-18 07:36:38 +00:00
mrg 81b74d1c8d remove evdev.extras.xml and evdev.xml from the list (build) generated files. 2022-10-17 18:51:35 +00:00
mrg 08c53d853a these are now generated files in xkeyboard-config 2.37. 2022-10-17 07:47:12 +00:00
mrg 9daf42ae15 updates for xkeyboard-config 2.37. 2022-10-17 07:40:22 +00:00
mrg 0b16d77eae updates for fslsfonts 1.0.7, xditview 1.0.6, and xgc 1.0.6. 2022-10-16 23:38:02 +00:00
kre eca3f21643 Merge tzdata2022e 2022-10-13 11:25:52 +00:00
kre 69ab0f8a24 Import tzdata2022e from https://github.com/JodaOrg/global-tz/releases/download/2022egtz/tzdata2022egtz.tar.gz
Summary of changes in tzdata2022e (2022-10-11 11:13:02 -0700):
  * Jordan and Syria are abandoning the DST regime and are changing to
    permanent +03, so they will not fall back from +03 to +02 on
    2022-10-28.
  * On 1922-01-01 Tijuana adopted standard time at 00:00, not 01:00.
2022-10-13 11:24:54 +00:00
christos 7249f2dbd3 fix typo (jlduran) 2022-10-12 19:50:29 +00:00
christos b0da0ffd38 fix logging function which should have used function pointer (jlduran at github) 2022-10-12 18:36:02 +00:00
christos 9e87d8cc74 From pjuran at github:
- Be quiet
- Kill active tcp connections from the blocked address
- Fix purge operation for pf, which must dynamically determine which filters
  have been created, so the filters can be flushed by name.
2022-10-12 18:34:43 +00:00
christos 50c1bace96 merge conflicts between ntp-4.2.8p1{4,5} 2022-10-09 21:41:03 +00:00
christos b8da6a3f08 (4.2.8p15) 2020/06/23 Released by Harlan Stenn <stenn@ntp.org>
* [Sec 3661] memory leak with AES128CMAC keys <perlinger@ntp.org>
* [Bug 3670] Regression from bad merge of 3592 and 3596 <perlinger@ntp.org>
  - fixed a bad merge that happened before 4.2.8-p14. Thanks to
    Sylar Tao for noticing this!
* [Bug 3667] decodenetnum fails with numeric port <perlinger@ntp.org>
  - rewrite 'decodenetnum()' in terms of inet_pton
* [Bug 3666] avoid unlimited receive buffer allocation <perlinger@ntp.org>
  - limit number of receive buffers, with an iron reserve for refclocks
* [Bug 3664] Enable openSSL CMAC support on Windows <burnicki@ntp.org>
* [Bug 3662] Fix build errors on Windows with VS2008 <burnicki@ntp.org>
* [Bug 3660] Manycast orphan mode startup discovery problem. <stenn@ntp.org>
  - integrated patch from Charles Claggett
* [Bug 3659] Move definition of psl[] from ntp_config.h to
  ntp_config.h <perlinger@ntp.org>
* [Bug 3657] Wrong "Autokey group mismatch" debug message <perlinger@ntp.org>
* [Bug 3655] ntpdc memstats hash counts <perlinger@ntp.org>
  - fix by Gerry garvey
* [Bug 3653] Refclock jitter RMS calculation <perlinger@ntp.org>
  - thanks to Gerry Garvey
* [Bug 3646] Avoid sync with unsync orphan <perlinger@ntp.org>
  - patch by Gerry Garvey
* [Bug 3644] Unsynchronized server [...] selected as candidate <perlinger@ntp.org>
* [Bug 3639] refclock_jjy: TS-JJY0x can skip time sync depending on the STUS reply. <abe@ntp.org>
  - applied patch by Takao Abe
2022-10-09 21:00:00 +00:00
christos 67b9b338a7 Merge conflicts between postfix 3.5.2 and 3.7.3 2022-10-08 16:12:43 +00:00
christos 4a6720548c Import Postfix-3.7.3 (previous version was 3.5.2)
This is the Postfix 3.7 (stable) release.

The stable Postfix release is called postfix-3.7.x where 3=major
release number, 7=minor release number, x=patchlevel.  The stable
release never changes except for patches that address bugs or
emergencies. Patches change the patchlevel and the release date.

New features are developed in snapshot releases. These are called
postfix-3.8-yyyymmdd where yyyymmdd is the release date (yyyy=year,
mm=month, dd=day).  Patches are never issued for snapshot releases;
instead, a new snapshot is released.

The mail_release_date configuration parameter (format: yyyymmdd)
specifies the release date of a stable release or snapshot release.

If you upgrade from Postfix 3.5 or earlier, read RELEASE_NOTES-3.6
before proceeding.

License change
---------------

This software is distributed with a dual license: in addition to the
historical IBM Public License 1.0, it is now also distributed with the
more recent Eclipse Public License 2.0. Recipients can choose to take
the software under the license of their choice. Those who are more
comfortable with the IPL can continue with that license.

Bugfix for messages not delivered after "warning: Unexpected record type 'X'
============================================================================

Due to a bug introduced in Postfix 3.7.0, a message could falsely
be flagged as corrupt with "warning: Unexpected record type 'X'".

Such messages were moved to the "corrupt" queue directory, where
they may still be found. See below for instructions to deal with
these falsely flagged messages.

This could happen for messages with 5000 or more recipients, or
with fewer recipients on a busy mail server. The problem was first
reported by Frank Brendel, reproduced by John Alex.

A file in the "corrupt" queue directory may be inspected with the
command "postcat /var/spool/postfix/corrupt/<filename>. If delivery
of the file is still desired, the file can be moved back to
/var/spool/postfix/incoming after updating Postfix and executing
"postfix reload".

Major changes - configuration
-----------------------------

[Feature 20210605] Support to inline the content of small cidr:,
pcre:, and regexp: tables in Postfix parameter values.

Example:

    smtpd_forbidden_commands =
	CONNECT GET POST regexp:{{/^[^A-Z]/ Thrash}}

This is the new smtpd_forbidden_commands default value. It will
immediately disconnect a remote SMTP client when a command does not
start with a letter (a-z or A-Z).

The basic syntax is:

/etc/postfix/main.cf:
    parameter = .. map-type:{ { rule-1 }, { rule-2 } .. } ..

/etc/postfix/master.cf:
    .. -o { parameter = .. map-type:{ { rule-1 }, { rule-2 } .. } .. } ..

where map-type is one of cidr, pcre, or regexp.

Postfix ignores whitespace after '{' and before '}', and writes each
rule as one text line to a nameless in-memory file:

in-memory file:
    rule-1
    rule-2
    ..

Postfix parses the result as if it is a file in /etc/postfix.

Note: if a rule contains $, specify $$ to keep Postfix from trying
to do $name expansion as it evaluates the parameter value.

Major changes - lmdb support
----------------------------

[Feature 20210605] Overhauled the LMDB client's error handling, and
added integration tests for future-proofing. There are no visible
changes in documented behavior.

Major changes - logging
-----------------------

[Feature 20210815] To make the maillog_file feature more useful,
the postlog(1) command is now set-gid postdrop, so that unprivileged
programs can use it to write logging through the postlogd(8) daemon.
This required hardening the postlog(1) command against privilege
escalation attacks. DO NOT turn on the set-gid bit with older
postlog(1) implementations.

Major changes - pcre2 support
-----------------------------

[Feature 20211127] Support for the pcre2 library (the legacy pcre
library is no longer maintained). The Postfix build procedure
automatically detects if the pcre2 library is installed, and if it
is unavailable, the Postfix build procedure will detect if the
legacy pcre library is installed. See PCRE_README if you need to
build Postfix with a specific library.

Visible differences: some error messages may have a different text,
and the 'X' pattern flag is no longer supported with pcre2.

Major changes - security
------------------------

[Feature 20220102] Postfix programs now randomize the initial state
of in-memory hash tables, to defend against hash collision attacks
involving a large number of attacker-chosen lookup keys. Presently,
the only known opportunity for such attacks involves remote SMTP
client IPv6 addresses in the anvil(8) service. The attack would
require making hundreds of short-lived connections per second from
thousands of different IP addresses, because the anvil(8) service
drops inactive counters after 100s. Other in-memory hash tables
with attacker-chosen lookup keys are by design limited in size. The
fix is cheap, and therefore implemented for all Postfix in-memory
hash tables. Problem reported by Pascal Junod.

[Feature 20211030] The postqueue command now sanitizes non-printable
characters (such as newlines) in strings before they are formatted
as json or as legacy output. These outputs are piped into other
programs that are run by administrative users. This closes a
hypothetical opportunity for privilege escalation.

[Feature 20210815] Updated defense against remote clients or servers
that 'trickle' SMTP or LMTP traffic, based on per-request deadlines
and minimum data rates.

Per-request deadlines:

The new {smtpd,smtp,lmtp}_per_request_deadline parameters replace
{smtpd,smtp,lmtp}_per_record_deadline, with backwards compatible
default settings. This defense is enabled by default in the Postfix
SMTP server in case of overload.

The new smtpd_per_record_deadline parameter limits the combined
time for the Postfix SMTP server to receive a request and to send
a response, while the new {smtp,lmtp}_per_record_deadline parameters
limit the combined time for the Postfix SMTP or LMTP client to send
a request and to receive a response.

Minimum data rates:

The new smtpd_min_data_rate parameter enforces a minimum plaintext
data transfer rate for DATA and BDAT requests, but only when
smtpd_per_record_deadline is enabled. After a read operation transfers
N plaintext bytes (possibly after TLS decryption), and after the
DATA or BDAT request deadline is decreased by the elapsed time of
that read operation, the DATA or BDAT request deadline is increased
by N/smtpd_min_data_rate seconds. However, the deadline is never
increased beyond the smtpd_timeout value. The default minimum data
rate is 500 (bytes/second) but is still subject to change.

The new {smtp,lmtp}_min_data_rate parameters enforce the corresponding
minimum DATA transfer rates for the Postfix SMTP and LMTP client.

Major changes - tls support
---------------------------

[Cleanup 20220121] The new tlsproxy_client_security_level parameter
replaces tlsproxy_client_level, and the new tlsproxy_client_policy_maps
parameter replaces tlsproxy_client_policy. This is for consistent
parameter naming (tlsproxy_client_xxx corresponds to smtp_tls_xxx).
This change was made with backwards-compatible default settings.

[Feature 20210926] Postfix was updated to support OpenSSL 3.0.0 API
features, and to work around OpenSSL 3.0.0 bit-rot (avoid using
deprecated API features).

Other code health
-----------------

[typos] Typo fixes by raf.

[pre-release checks] Added pre-release checks to detect a) new typos
in documentation and source-code comments, b) missing entries in
the postfix-files file (some documentation would not be installed),
c) missing rules in the postlink script (some text would not have
a hyperlink in documentation), and d) missing map-based $parameter
names in the proxy_read_maps default value (the proxymap daemon
would not automatically authorize some proxied maps).

[memory stream] Improved support for memory-based streams made it
possible to inline small cidr:, pcre:, and regexp: maps in Postfix
parameter values, and to eliminate some ad-hoc code that converted
tlsproxy(8) protocol data to or from serialized form.

*************************************************************************

This is the Postfix 3.6 (stable) release.

The stable Postfix release is called postfix-3.6.x where 3=major
release number, 6=minor release number, x=patchlevel. The stable
release never changes except for patches that address bugs or
emergencies. Patches change the patchlevel and the release date.

New features are developed in snapshot releases. These are called
postfix-3.7-yyyymmdd where yyyymmdd is the release date (yyyy=year,
mm=month, dd=day). Patches are never issued for snapshot releases;
instead, a new snapshot is released.

The mail_release_date configuration parameter (format: yyyymmdd)
specifies the release date of a stable release or snapshot release.

If you upgrade from Postfix 3.4 or earlier, read RELEASE_NOTES-3.5
before proceeding.

License change
---------------

This software is distributed with a dual license: in addition to the
historical IBM Public License 1.0, it is now also distributed with the
more recent Eclipse Public License 2.0. Recipients can choose to take
the software under the license of their choice. Those who are more
comfortable with the IPL can continue with that license.

Major changes - internal protocol identification
------------------------------------------------

[Incompat 20200920] Internal protocols have changed. You need to
"postfix stop" before updating, or before backing out to an earlier
release, otherwise long-running daemons (pickup, qmgr, verify, tlsproxy,
postscreen) may fail to communicate with the rest of Postfix, causing
mail delivery delays until Postfix is restarted.

This change does not affect message files in Postfix queue directories,
only the communication between running Postfix programs.

With this change, every Postfix internal service, including the postdrop
command, announces the name of its protocol before doing any other I/O.
Every Postfix client program, including the Postfix sendmail command,
will verify that the protocol name matches what it is supposed to be.

The purpose of this change is to produce better error messages, for
example, when someone configures the discard daemon as a bounce
service in master.cf, or vice versa.

This change may break third-party programs that implement a
Postfix-internal protocol such as qpsmtpd. Such programs have never
been supported. Fortunately, this will be an easy fix: look at the
first data from the cleanup daemon: if it is a protocol announcement,
you're talking to Postfix 3.6 or later. That's the only real change.

Major changes - tls
-------------------

[Incompat 20200705] The minimum supported OpenSSL version is 1.1.1,
which will reach the end of life by 2023-09-11. Postfix 3.6 is
expected to reach the end of support in 2025. Until then, Postfix
will be updated as needed for compatibility with OpenSSL.

The default fingerprint digest has changed from md5 to sha256 (Postfix
3.6 with compatibility_level >= 3.6). With a lower compatibility_level
setting, Postfix defaults to using md5, and logs a warning when a Postfix
configuration specifies no explicit digest type.

Export-grade Diffie-Hellman key exchange is no longer supported,
and the tlsproxy_tls_dh512_param_file parameter is ignored,

[Feature 20200906] The tlstype.pl helper script by Viktor Dukhovni
reports TLS information per message delivery. This processes output
from the collate.pl script. See auxiliary/collate/README.tlstype and
auxiliary/collate/tlstype.pl.

Major changes - compatibility level
-----------------------------------

[Feature 20210109] Starting with Postfix version 3.6, the compatibility
level is "3.6". In future Postfix releases, the compatibility level will
be the Postfix version that introduced the last incompatible change. The
level is formatted as 'major.minor.patch', where 'patch' is usually
omitted and defaults to zero. Earlier compatibility levels are 0, 1 and 2.

This also introduces main.cf and master.cf support for the <=level,
<level, and other operators to compare compatibility levels. With the
standard <=, <, etc. operators, compatibility level 3.10 would be less
than 3.9, which is undesirable.

Major changes - services(5) override
------------------------------------

[Feature 20210418] Postfix no longer uses the services(5) database
to look up the TCP ports for SMTP and LMTP services. Instead, this
information is configured with the new known_tcp_ports configuration
parameter (default: lmtp=24, smtp=25, smtps=submissions=465,
submission=587). When a service is not specified in known_tcp_ports,
Postfix will still query the services(5) database.

Major changes - local_login_sender_maps
---------------------------------------

[Feature 20201025] Fine-grained control over the envelope sender address
for submission with the Postfix sendmail (or postdrop) commands.

The local_login_sender_maps parameter (default: static:*) specifies
a list of lookup tables that are searched by the UNIX login name, and
that return a list of allowed envelope sender patterns separated by
space or comma. The default is backwards-compatible: every user may
specify any sender envelope address.

This feature is enforced by the postdrop command. When no UNIX login
name is available, the postdrop command will prepend "uid:" to the
numerical UID and use that instead.

This feature ignores address extensions in the user-specified
envelope sender address.

Besides the special pattern "*" which allows any sender address,
there are "<>" which matches an empty sender address, and the
"@domain" wildcard pattern. More information about those can be found
in the postconf(5) manpage.

Example:

/etc/postfix/main.cf:
    # Allow root and postfix full control, anyone else can only
    # send mail as themselves. Use "uid:" followed by the numerical
    # UID when the UID has no entry in the UNIX password file.
    local_login_sender_maps =
        inline:{ { root = *}, { postfix = * } },
        pcre:/etc/postfix/login_senders

/etc/postfix/login_senders:
   # Allow both the bare username and the user@domain forms.
    /(.+)/ $1 $1@example.com

Major changes - order of relay and recipient restrictions
---------------------------------------------------------

[Incompat 20210131] With smtpd_relay_before_recipient_restrictions=yes,
the Postfix SMTP server will evaluate smtpd_relay_restrictions before
smtpd_recipient_restrictions. This is the default behavior with
compatibility_level >= 3.6.

This change makes the implemented behavior consistent with existing
documentation. There is a backwards-compatibility warning that allows
users to freeze historical behavior. See COMPATIBILITY_README for
details.

Major changes - respectful logging
----------------------------------

[Feature 20210220] Postfix version 3.6 deprecates terminology
that implies white is better than black. Instead, Postfix prefers
'allowlist', 'denylist', and variations on those words. This change
affects Postfix documentation, and postscreen parameters and logging.

To keep the old postscreen logging set "respectful_logging = no"
in main.cf.

Noel Jones assisted with the initial transition.

Changes in documentation
------------------------

Postfix documentation was updated to use 'allowlist', 'denylist', etc.
These documentation changes do not affect Postfix behavior.

Changes in parameter names
--------------------------

The following postscreen parameters replace names that contain 'blacklist'
or 'whitelist':

    postscreen_allowlist_interfaces
    postscreen_denylist_action
    postscreen_dnsbl_allowlist_threshold

These new parameters have backwards-compatible default settings
that support the old parameter names, so that the name change should
not affect Postfix behavior. This means that existing management tools
that use the old parameter names should keep working as before.

This compatibility safety net may break when some management tools
use the new parameter names, and some use the old names, such that
different tools will disagree on how Postfix works.

Changes in logging
------------------

The following logging replaces forms that contain 'blacklist' or
'whitelist':

    postfix/postscreen[pid]: ALLOWLIST VETO [address]:port
    postfix/postscreen[pid]: ALLOWLISTED [address]:port
    postfix/postscreen[pid]: DENYLISTED [address]:port

To avoid breaking logfile analysis tools, Postfix keeps logging the old
forms by default, as long as the compatibility_level parameter setting
is less than 3.6, and the respectful_logging parameter is not explicitly
configured. As a reminder, Postfix will log the following:

    postfix/postscreen[pid]: Using backwards-compatible default setting
        respectful_logging=no for client [address]:port

To keep logging the old form, make the setting "respectful_logging =
no" permanent in main.cf, for example:

    # postconf "respectful_logging = no"
    # postfix reload

To stop the reminder, configure the respectful_logging parameter to
"yes" or "no", or configure "compatibility_level = 3.6".

Major changes - threaded bounces
--------------------------------

[Feature 20201205] Support for threaded bounces. This allows mail
readers to present a non-delivery, delayed delivery, or successful
delivery notification in the same email thread as the original
message.

Unfortunately, this also makes it easy for users to mistakenly delete
the whole email thread (all related messages), instead of deleting
only the delivery status notification.

To enable, specify "enable_threaded_bounces = yes".

Other changes - smtpd_sasl_mechanism_list
-----------------------------------------

[Feature 20200906] The smtpd_sasl_mechanism_list parameter (default:
!external, static:rest) prevents confusing errors when a SASL backend
announces EXTERNAL support which Postfix does not support.

Other changes - delivery logging
--------------------------------

[Incompat 20200531] Postfix delivery agents now log an explicit record
when delegating delivery to a different Postfix delivery agent.

For example, with "best_mx_transport = local", an SMTP delivery
agent will now log when a recipient will be delivered locally. This
makes the delegating delivery agent visible, where it would otherwise
have remained invisible, which would complicate troubleshooting.

  postfix/smtp[pid]: queueid: passing <recipient> to transport=local

This will usually be followed by logging for an actual delivery:

  postfix/local[pid]: queueid: to=<recipient>, relay=local, ...

Other examples: the local delivery agent will log a record that it
defers mailbox delivery through mailbox_transport or through
fallback_transport.

Other changes - error logging
-----------------------------

[Incompat 20200531] Postfix programs will now log "Application error"
instead of "Success" or "Unknown error: 0" when an operation fails with
errno == 0, i.e., the error originates from non-kernel code.

Other changes - dns lookups
---------------------------

[Feature 20200509] The threadsafe resolver API (res_nxxx() calls)
is now the default, not because the API is threadsafe, but because
this is the API where new features are being added.

To build old style, build with:

    make makefiles CCARGS="-DNO_RES_NCALLS..."

This is the default for systems that are known not to support the
threadsafe resolver API.
2022-10-08 16:08:59 +00:00
christos a2e0c34f12 Apply security fixes:
https://downloads.isc.org/isc/dhcp/4.4.3-P1/patches/CVE-2022-2928.4-4-3.diff
https://downloads.isc.org/isc/dhcp/4.4.3-P1/patches/CVE-2022-2929.4-4-3.diff
2022-10-05 22:20:15 +00:00
kardel 2b1d295dd5 Revert. Spotted by hannken@ - fix needs to be in zfs_ctldir.c it is missing
VOP_PATHCONF.
2022-10-03 16:04:19 +00:00
rjs eee9cdc323 Only include other "old" makefiles from old MesaLib ones. Ok @mrg. 2022-09-29 18:58:04 +00:00
kre e45f8fedfb Add links for Europe/Uzhgorod and Europe/Zaporozhye (to Europe/Kyiv)
These are gone as separate zones, but the names should remain.
2022-09-28 12:34:50 +00:00
kre 844b6f700c Merge tzdata2022d 2022-09-28 11:06:25 +00:00
kre 60555fd446 Import tzdata2022d from https://github.com/JodaOrg/global-tz/releases/download/2022dgtz/tzdata2022dgtz.tar.gz
Summary of changes in tzdata2022d (2022-09-23 12:02:57 -0700):
  * Palestine now springs forward and falls back at 02:00 on the
    first Saturday on or after March 24 and October 24, respectively.
  * Simplify three Ukraine zones to one, since the post-1970
    differences seem to have been imaginary.

This is an update from 2022b to 2022d, there were no tzdata changes in 2022c
2022-09-28 11:05:35 +00:00
kardel 4c598b636f for unsupported names return EINVAL as per TOG
https://pubs.opengroup.org/onlinepubs/9699919799/functions/fpathconf.html
discussed with christos@
2022-09-27 10:33:21 +00:00
christos 866f4acb5b more autoconf files 2022-09-25 00:48:37 +00:00
christos 24fa2cb049 compile is needed too 2022-09-25 00:47:27 +00:00
christos c20607ae2b Add configure glue 2022-09-24 20:33:29 +00:00
christos 2b2c7ba895 Add build glue, bump version 2022-09-24 20:22:16 +00:00
christos 1d4cb158d5 merge changes between 5.40 and 5.43 2022-09-24 20:21:45 +00:00
christos a77ebd8684 Import file-5.43+; last was file-5.40
2022-09-20  17:12  Christos Zoulas <christos@zoulas.com>

	* fixed various clustefuzz issues

2022-09-19  15:54  Christos Zoulas <christos@zoulas.com>

	* Fix error detection for decompression code (Vincent Mihalkovic)

2022-09-15  13:50  Christos Zoulas <christos@zoulas.com>

	* Add MAGIC_NO_COMPRESS_FORK and use it to produce a more
	  meaningful error message if we are sandboxing.

2022-09-15  10:45  Christos Zoulas <christos@zoulas.com>

	* Add built-in lzip decompression support (Michal Gorny)

2022-09-14  10:35  Christos Zoulas <christos@zoulas.com>

	* Add built-in zstd decompression support (Martin Rodriguez Reboredo)

2022-09-13  14:55  Christos Zoulas <christos@zoulas.com>

	* release 5.43

2022-09-10   9:17  Christos Zoulas <christos@zoulas.com>

	* Add octal indirect magic (Michal Gorny)

2022-08-17  11:43  Christos Zoulas <christos@zoulas.com>

	* PR/374: avoid infinite loop in non-wide code (piru)
	* PR/373: Obey MAGIC_CONTINUE with multiple magic files (vismarli)

2022-07-26  11:10  Christos Zoulas <christos@zoulas.com>

	* Fix bug with large flist (Florian Weimer)

2022-07-07  13:21  Christos Zoulas <christos@zoulas.com>

        * PR/364: Detect non-nul-terminated core filenames from QEMU
	  (mam-ableton)

2022-07-04  15:45  Christos Zoulas <christos@zoulas.com>

	* PR/359: Add support for http://ndjson.org/ (darose)
	* PR/362: Fix wide printing (ro-ee)
	* PR/358: Fix width for -f - (jpalus)
	* PR/356: Fix JSON constant parsing (davewhite)

2022-06-10   9:40  Christos Zoulas <christos@zoulas.com>

	* release 5.42

2022-05-31  14:50   Christos Zoulas <christos@zoulas.com>

	* PR/348: add missing cases to prevent file from aborting on
	  random magic files.

2022-05-27  21:05   Christos Zoulas <christos@zoulas.com>

	* PR/351: octalify filenames when not raw before printing.

2022-04-18  17:51   Christos Zoulas <christos@zoulas.com>

	* fix regex cacheing bug (Dirk Mueller)
	* merge file_regcomp and file_regerror() to simplify the code
	  and reduce memory requirements for storing regexes (Dirk Mueller)

2022-03-19  12:56   Christos Zoulas <christos@zoulas.com>

	* cache regex (Dirk Mueller)
	* detect filesystem full by flushing output (Dirk Mueller)

2021-11-19  12:36   Christos Zoulas <christos@zoulas.com>

	* implement running decompressor programs using
	  posix_spawnp(2) instead of vfork(2)

2021-10-24  11:51   Christos Zoulas <christos@zoulas.com>

	* Add support for msdos dates and times

2021-10-20   9:55   Christos Zoulas <christos@zoulas.com>

	* use the system byte swapping functions if available (Werner Fink)

2021-10-18  11:57  Christos Zoulas <christos@zoulas.com>

	* release 5.41

2021-09-23  03:51  Christos Zoulas <christos@zoulas.com>

	* Avinash Sonawane: Fix tzname detection

2021-09-03  09:17  Christos Zoulas <christos@zoulas.com>

	* Fix relationship tests with "search" magic, don't short circuit
	  logic

2021-07-13  01:06  Christos Zoulas <christos@zoulas.com>

	* Fix memory leak in compile mode

2021-07-01  03:51  Christos Zoulas <christos@zoulas.com>

	* PR/272: kiefermat: Only set returnval = 1 when we printed something
	  (in all cases print or !print). This simplifies the logic and fixes
	  the issue in the PR with -k and --mime-type there was no continuation
	  printed before the default case.

2021-06-30  13:07  Christos Zoulas <christos@zoulas.com>

	* PR/270: Don't translate unprintable characters in %s magic formats
	  when -r
	* PR/269: Avoid undefined behavior with clang (adding offset to NULL)

2021-05-09  18:38  Christos Zoulas <christos@zoulas.com>

	* Add a new flag (f) that requires that the match is a full word,
	   not a partial word match.
	* Add varint types (unused)

2021-04-19  17:17  Christos Zoulas <christos@zoulas.com>

	* PR/256: mutableVoid: If the file is less than 3 bytes, use the file
	  length to determine type
	* PR/259: aleksandr.v.novichkov: mime printing through indirect magic
	  is not taken into account, use match directly so that it does.

2021-04-04  17:02  Christos Zoulas <christos@zoulas.com>

	* count the total bytes found not the total byte positions
	  in order to determine encoding (Anatol Belski)
2022-09-24 20:07:53 +00:00
christos 1481e2a94f merge conflicts and update configuration between 1.13.1 and 1.16.3 2022-09-24 18:11:42 +00:00
christos 7a540f2bd4 Import unbound-1.16.3; last import was 1.13.1
21 September 2022: Wouter
	- Patch for CVE-2022-3204 Non-Responsive Delegation Attack.
	- This patch was released in 1.16.3, the code repository continues
	  with the previous features and fixes for 1.17.0.
	- Fix doxygen warning in respip.h.

20 September 2022: George
	- Convert tdir tests to use the new skip_test functionality.
	- Remove unused testcode/mini_tpkg.sh file.

16 September 2022: George
	- Merge #753: ACL per interface. (New interface-* configuration
	  options).

2 September 2022: Wouter
	- Remove include that was there for debug purposes.
	- Fix to check pthread_t size after pthread has been detected.

1 September 2022: Wouter
	- Fix to update config tests to fix checking if nonblocking sockets
	  work on OpenBSD.
	- Slow down log frequency of write wait failures.
	- Fix to set out of file descriptor warning to operational verbosity.
	- Fix to log a verbose message at operational notice level if a
	  thread is not responding, to stats requests. It is logged with
	  thread identifiers.

31 August 2022: Wouter
	- Fix to avoid process wide fcntl calls mixed with nonblocking
	  operations after a blocked write.
	- Patch from Vadim Fedorenko that adds MSG_DONTWAIT to receive
	  operations, so that instruction reordering does not cause mistakenly
	  blocking socket operations.
	- Fix to wait for blocked write on UDP sockets, with a timeout if it
	  takes too long the packet is dropped.
	- Fix for wait for udp send to stop when packet is successfully sent.

22 August 2022: Wouter
	- Fix #741: systemd socket activation fails on IPv6.

12 August 2022: Wouter
	- Fix to log accept error ENFILE and EMFILE errno, but slowly, once
	  per 10 seconds. Also log accept failures when no slow down is used.

5 August 2022: Wouter
	- Fix #734 [FR] enable unbound-checkconf to detect more (basic)
	  errors.

4 August 2022: Wouter
	- Fix ratelimit inconsistency, for ip-ratelimits the value is the
	  amount allowed, like for ratelimits.

2 August 2022: Wouter
	- Fix edns subnet so that scope 0 answers only match sourcemask 0
	  queries for answers from cache if from a query with sourcemask 0.
	- Fix unittest for edns subnet change.
	- Merge #730 from luisdallos: Fix startup failure on Windows 8.1 due
	  to unsupported IPV6_USER_MTU socket option being set.

1 August 2022: Wouter
	- Fix the novel ghost domain issues CVE-2022-30698 and CVE-2022-30699.
	- Tests for ghost domain fixes.
	- Tag for 1.16.2 release. The code repo continues with 1.16.3.
	- Fix #728: alloc_reg_obtain() core dump. Stop double
	  alloc_reg_release when serviced_create fails.

19 July 2022: George
	- Update documentation for 'outbound-msg-retry:'.

19 July 2022: Wouter
	- Merge #718: Introduce infra-cache-max-rtt option to config max
	  retransmit timeout.

15 July 2022: Wouter
	- Merge PR 714: Avoid treat normal hosts as unresponsive servers.
	  And fixup the lock code.
	- iana portlist update.

12 July 2022: George
	- For windows crosscompile, fix setting the IPV6_MTU socket option
	  equivalent (IPV6_USER_MTU); allows cross compiling with latest
	  cross-compiler versions.

12 July 2022: Wouter
	- Fix dname count in sldns parse type descriptor for SVCB and HTTPS.

11 July 2022: Wouter
	- Fix verbose EDE error printout.

4 July 2022: George
	- Fix bug introduced in 'improve val_sigcrypt.c::algo_needs_missing for
	  one loop pass'.
	- Merge PR #668 from Cristian Rodríguez: Set IP_BIND_ADDRESS_NO_PORT on
	  outbound tcp sockets.

4 July 2022: Wouter
	- Tag for 1.16.1rc1 release. This became 1.16.1 on 11 July 2022.
	  The code repo continues with version 1.16.2 under development.

3 July 2022: George
	- Merge PR #671 from Petr Men#ík: Disable ED25519 and ED448 in FIPS
	  mode on openssl3.
	- Merge PR #660 from Petr Men#ík: Sha1 runtime insecure.
	- For #660: formatting, less verbose logging, add EDE information.
	- Fix for correct openssl error when adding windows CA certificates to
	  the openssl trust store.
	- Improve val_sigcrypt.c::algo_needs_missing for one loop pass.
	- Reintroduce documentation and more EDE support for
	  val_sigcrypt.c::dnskeyset_verify_rrset_sig.

1 July 2022: George
	- Merge PR #706: NXNS fallback.
	- From #706: Cached NXDOMAIN does not increase the target nx
	  responses.
	- From #706: Don't generate parent side queries if we already
	  have the lame records in cache.
	- From #706: When a lame address is the best choice, don't try to
	  generate target queries when the missing targets are all lame.

29 June 2022: Wouter
	- iana portlist update.
	- Fix detection of libz on windows compile with static option.
	- Fix compile warning for windows compile.

29 June 2022: George
	- Add debug option to the mini_tdir.sh test code.
	- Fix #704: [FR] Statistics counter for number of outgoing UDP queries
	  sent; introduces 'num.query.udpout' to the 'unbound-control stats'
	  command.
	- Fix to not count cached NXDOMAIN for MAX_TARGET_NX.
	- Allow fallback to the parent side when MAX_TARGET_NX is reached.
	  This will also allow MAX_TARGET_NX more NXDOMAINs.

28 June 2022: George
	- Show the output of the exact .rpl run that failed with 'make test'.
	- Fix for cached 0 TTL records to not trigger prefetching when
	  serve-expired-client-timeout is set.

28 June 2022: Wouter
	- Fix test program dohclient close to use portability routine.

23 June 2022: Tom
	- Clarify -v flag manpage entry (#705)

22 June 2022: Philip
	- Fix #663: use after free issue with edns options.

21 June 2022: Philip
	- Fix for loading locally stored zones that have lines with blanks or
	  blanks and comments.

20 June 2022: George
	- Remove unused LDNS function check for GOST Engine unloading.

14 June 2022: George
	- Merge PR #688: Rpz url notify issue.
	- Note in the unbound.conf text that NOTIFY is allowed from the url:
	  addresses for auth and rpz zones.

3 June 2022: George
	- Fix for edns client subnet to respect not looking in its cache when
	  instructed to do so (e.g., prefetch).

3 June 2022: Wouter
	- makedist.sh picks up 32bit libssp-0.dll when 32bit compile.

27 May 2022: Wouter
	- Fix #684: [FTBS] configure script error with libmnl on openSUSE 15.3 (and possibly other distributions)
	- Version is set to 1.16.0 for release. Release tag 1.16.0rc1. This
	  became release 1.16.0 on 2 June 2022. The source code branch
	  continues with version 1.16.1 under development.

20 May 2022: Wouter
	- Fix to silence test for ede error output to the console from the
	  test setup script.
	- Fix ede test to not use default pidfile, and use local interface.
	- Fix some lint type warnings.

18 May 2022: George
	- Fix typos in config_set_option for the 'num-threads' and
	  'ede-serve-expired' options.

15 May 2022: George
	- Fix #678: [FR] modify behaviour of unbound-control rpz_enable zone,
	  by updating unbound-control's documentation.

12 May 2022: George
	- Fix #417: prefetch and ECS causing cache corruption when used
	  together.

12 May 2022: Wouter
	- Merge #677: Allow using system certificates not only on Windows,
	  from pemensik.
	- For #677: Added tls-system-cert to config parser and documentation.

11 May 2022: Wouter
	- Fix #673: DNS over TLS: error: SSL_handshake syscall: No route to
	  host.

10 May 2022: George
	- Fix Python build in non-source directory; based on patch by
	  Michael Tokarev.

6 May 2022: Tom
	- Merge PR #604: Add basic support for EDE (RFC8914).

28 April 2022: Wouter
	- Fix #670: SERVFAIL problems with unbound 1.15.0 running on
	  OpenBSD 7.1.

8 April 2022: Wouter
	- Fix zonemd check to allow unsupported algorithms to load.
	  If there are only unsupported algorithms, or unsupported schemes,
	  and no failed or successful other ZONEMD records, or malformed
	  or bad ZONEMD records, the unsupported records allow the zone load.
	- Fix zonemd unsupported algo check.
	- Fix zonemd unsupported algo check reason to not copy to next record,
	  and check for success for debug printout.
	- Fix zonemd unsupported algo check to print unsupported reason before
	  zeroing it.
	- Fix zonemd unsupported algo check to set reason to NULL before the
	  check routine, but after malformed checks, to get the correct NULL
	  output when the digest matches.

25 March 2022: Wouter
	- Fix spelling error in comment in sldns_str2wire_svcparam_key_lookup.

23 March 2022: Wouter
	- Fix #651: [FR] Better logging for refused queries.

18 March 2022: George
	- Merge PR #648 from eaglegai: fix -q doesn't work when use with
	  'unbound-control stats_shm'.

17 March 2022: Wouter
	- Fix to describe auth-zone and other configuration at the local-zone
	  configuration option, to allow for more broadly view of the options.

16 March 2022: Wouter
	- Fix to ensure uniform handling of spaces and tabs when parsing RRs.

9 March 2022: Wouter
	- Merge #644: Make `install-lib` make target install the pkg-config
	  file.

7 March 2022: Wouter
	- Fix configure for python to use sysutils, because distutils is
	  deprecated. It uses sysutils when available, distutils otherwise.

3 March 2022: Wouter
	- Fix #637: Integer Overflow in sldns_str2period function.
	- Fix for #637: fix integer overflow checks in sldns_str2period.

2 March 2022: George
	- Merge PR #632 from scottrw93: Match cnames in ipset.
	- Various fixes for #632: variable initialisation, convert the qinfo
	  to str once, accept trailing dot in the local-zone ipset option.

2 March 2022: Wouter
	- Fix compile warnings for printf ll format on mingw compile.

1 March 2022: Wouter
	- Fix pythonmod for change in iter_dp_is_useless function prototype.

28 February 2022: George
	- Fix #630: Unify the RPZ log messages.
	- Merge #623 from rex4539: Fix typos.

28 February 2022: Wouter
	- Fix #633: Document unix domain socket support for unbound-control.
	- Fix for #633: updated fix with new text.
	- Fix edns client subnet to add the option based on the option list,
	  so that it is not state dependent, after the state fix of #605 for
	  double EDNS options.
	- Fix for edns client subnet option add fix in removal code, from review.

25 February 2022: Wouter
	- Fix to detect that no IPv6 support means that IPv6 addresses are
	  useless for delegation point lookups.
	- update Makefile dependencies.
	- Fix check interface existence for support detection in remote lookup.

18 February 2022: Wouter
	- Fix that address not available is squelched from the logs for
	  udp connect failures. It is visible on verbosity 4 and more.
	- Merge #631 from mollyim: Replace OpenSSL's ERR_PACK with
	  ERR_GET_REASON.

16 February 2022: Wouter
	- Fix for #628: fix rpz-passthru for qname trigger by localzone type.

15 February 2022: Wouter
	- Fix #628: A rpz-passthru action is not ending RPZ zone processing.

11 February 2022: Wouter
	- Fix #624: Unable to stop Unbound in Windows console (does not
	  respond to CTRL+C command).
	- Fix #618: enabling interface-automatic disables DNS-over-TLS.
	  Adds the option to list interface-automatic-ports.
	- Remove debug info from #618 fix.

7 February 2022: Wouter
	- Fix that TCP interface does not use TLS when TLS is also configured.

4 February 2022: Wouter
	- Fix #412: cache invalidation issue with CNAME+A.

3 February 2022: Wouter
	- Fix for #611: Integer overflow in sldns_wire2str_pkt_scan.
	- Tag for 1.15.0rc1 created. That became 1.15.0 on 10 feb 2022.
	  The repository continues with version 1.15.1.

2 February 2022: George
	- Merge PR #532 from Shchelk: Fix: buffer overflow bug.
	- Merge PR #616: Update ratelimit logic. It also introduces
	  ratelimit-backoff and ip-ratelimit-backoff configuration options.
	- Change aggressive-nsec default to yes.
	- Merge PR #617: Update stub/forward-host notation to accept port and
	  tls-auth-name.
	- Update stream_ssl.tdir test to also use the new forward-host
	  notation.

2 February 2022: Wouter
	- Update version number in repo to 1.15.0 for upcoming release,
	  since it changes the aggressive-nsec default and the ratelimit change.
	- Fix header comment for doxygen for authextstrtoaddr.
	- please clang analyzer for loop in test code.
	- Fix docker splint test to use more portable uname.
	- Update contrib/aaaa-filter-iterator.patch with diff for current
	  software version.

1 February 2022: George
	- Merge PR #603 from fobser: Use OpenSSL 1.1 API to access DSA and RSA
	  internals.

31 January 2022: George
	- Fix review comment for use-after-free when failing to send UDP out.

31 January 2022: Wouter
	- iana portlist update.

29 January 2022: George
	- Fix tls-* and ssl-* documented alternate syntax to also be available
	  through remote-control and unbound-checkconf.
	- Better cleanup on failed DoT/DoH listening socket creation.

26 January 2022: George
	- Fix #599: [FR] RFC 9156 (obsoletes RFC 7816), by noting the new RFC
	  document.

26 January 2022: Wouter
	- Test for NSID in SERVFAIL response due to DNSSEC bogus.

25 January 2022: George
	- Fix #588: Unbound 1.13.2 crashes due to p->pc is NULL in
	  serviced_udp_callback.
	- Merge PR #612: TCP race condition.

25 January 2022: Wouter
	- Fix #610: Undefine-shift in sldns_str2wire_hip_buf.

19 January 2022: George
	- For dnstap, do not wakeupnow right there. Instead zero the timer to
	  force the wakeup callback asap.

14 January 2022: George
	- Merge PR #605:
	  - Fix EDNS to upstream where the same option could be attached
	     more than once.
	  - Add a region to serviced_query for allocations.

14 January 2022: Wouter
	- Add rpz: for-downstream: yesno option, where the RPZ zone is
	  authoritatively answered for, so the RPZ zone contents can be
	  checked with DNS queries directed at the RPZ zone.
	- For #602: Allow the module-config "subnetcache validator cachedb
	  iterator".

11 January 2022: George
	- Fix prematurely terminated TCP queries when a reply has the same ID.

7 January 2022: Wouter
	- Merge #600 from pemensik: Change file mode before changing file
	  owner.

5 January 2022: Wouter
	- Fix for #596: fix that rpz return message is returned and not just
	  the rcode from the iterator return path. This fixes signal unset RA
	  after a CNAME.
	- Fix unit tests for rpz now that the AA flag returns successfully from
	  the iterator loop.
	- Fix for #596: add unit test for nsdname trigger and signal unset RA.
	- Fix for #596: add unit test for nsip trigger and signal unset RA.
	- Fix #598: Fix unbound-checkconf fatal error: module conf
	  'respip dns64 validator iterator' is not known to work.
	- Fix for #596: Fix rpz-signal-nxdomain-ra to work for clientip
	  triggered operation.

4 January 2022: Wouter
	- Fix #596: unset the RA bit when a query is blocked by an unbound
	  RPZ nxdomain reply. The option rpz-signal-nxdomain-ra allows to
	  signal that a domain is externally blocked to clients when it
	  is blocked with NXDOMAIN by unsetting RA.
	- Fix to add test for rpz-signal-nxdomain-ra.
	- Fix #596: only unset RA when NXDOMAIN is signalled.
	- Fix that RPZ does not set RD flag on replies, it should be copied
	  from the query.

22 December 2021: George
	- contrib/aaaa-filter-iterator.patch file renewed diff content to
	  apply cleanly to the current coderepo for the current code version.

20 December 2021: George
	- Fix #591: Unbound-anchor manpage links to non-existent license file.

13 December 2021: George
	- Add missing configure flags for optional features in the
	  documentation.
	- Fix Unbound capitalization in the documentation.

13 December 2021: Wouter
	- Fix to pick up other class local zone information before unlock.

10 December 2021: George
	- Allow local-data for classes other than IN to inherit a configured
	  local-zone's type if possible, instead of defaulting to type
	  transparent as per the implicit rule.

10 December 2021: Wouter
	- Add code similar to fix for ldns for tab between strings, for
	  consistency, the test case was not broken.

6 December 2021: Wouter
	- Merge PR #581 from fobser: Fix -Wmissing-prototypes and -Wshadow
	  warnings in rpz.
	- Fix validator debug output about DS support, print correct algorithm.

3 December 2021: Wouter
	- Fix compile warning for if_nametoindex on windows 64bit.

1 December 2021: Wouter
	- configure is set to 1.14.0, and release branch.
	  This was released as version 1.14.0 on 9 Dec 2021, with the doxygen
	  fix below included. The main branch continues as 1.14.1.
	- Fix doc/unbound.doxygen to remove obsolete tag warning.

1 December 2021: George
	- Merge PR #511 from yan12125: Reduce unnecessary linking.
	- Merge PR #493 from Jaap: Fix generation of libunbound.pc.
	- Merge PR #555 from fobser: Allow interface names as scope-id in IPv6
	  link-local addresses.
	- Merge PR #562 from Willem: Reset keepalive per new tcp session.
	- Merge PR #522 from sibeream: memory management violations fixed.
	- Merge PR #530 from Shchelk: Fix: dereferencing a null pointer.
	- Fix #454: listen_dnsport.c:825: error: `IPV6_TCLASS' undeclared.
	- Fix #574: Review fixes for size allocation.

30 November 2021: Wouter
	- Fix to remove git tracking and ci information from release tarballs.
	- iana portlist update.

29 November 2021: Wouter
	- Merge PR #570 from rex4539: Fix typos.
	- Fix for #570: regen aclocal.m4, fix configure.ac for spelling.
	- Fix to make python module opt_list use opt_list_in.
	- Fix #574: unbound-checkconf reports fatal error if interface names
	  are used as value for interfaces:
	- Fix #574: Review fixes for it.
	- Fix #576: [FR] UB_* error codes in unbound.h
	- Fix #574: Review fix for spelling.

15 November 2021: Tom
	- Improve EDNS option handling, now also works for synthesised
	  responses such as local-data and server.id CH TXT responses.

5 November 2021: George
	- Fix for #558: fix loop in comm_point->tcp_free when a comm_point is
	  reclaimed more than once during callbacks.
	- Fix for #558: clear the UB_EV_TIMEOUT bit before adding an event.

5 November 2021: Wouter
	- Fix that forward-zone name is documented as the full name of the
	  zone. It is not relative but a fully qualified domain name.
	- Fix analyzer review failure in rpz action override code to not
	  crash on unlocking the local zone lock.
	- Fix to remove unused code from rpz resolve client and action
	  function.
	- Merge #565: unbound.service.in: Disable ProtectKernelTunables again.

2 November 2021: Wouter
	- Fix #552: Unbound assumes index.html exists on RPZ host.

11 October 2021: Wouter
	- Fix chaos replies to have truncation for short message lengths,
	  or long reply strings.
	- Fix to protect custom regional create against small values.

4 October 2021: Wouter
	- Fix to add example.conf note for outbound-msg-retry.

27 September 2021: Wouter
	- Implement RFC8375: Special-Use Domain 'home.arpa.'.

21 September 2021: Wouter
	- For crosscompile on windows, detect 64bit stackprotector library.
	- Fix crosscompile shell syntax.
	- Fix crosscompile windows to use libssp when it exists.
	- For the windows compile script disable gost.
	- Fix that on windows, use BIO_set_callback_ex instead of deprecated
	  BIO_set_callback.
	- Fix crosscompile script for the shared build flags.

20 September 2021: Wouter
	- Fix crosscompile on windows to work with openssl 3.0.0 the
	  link with ws2_32 needs -l:libssp.a for __strcpy_chk.
	  Also copy results from lib64 directory if needed.

10 September 2021: Wouter
	- Fix initialisation errors reported by gcc sanitizer.
	- Fix lock debug code for gcc sanitizer reports.
	- Fix more initialisation errors reported by gcc sanitizer.

8 September 2021: Wouter
	- Merged #41 from Moritz Schneider: made outbound-msg-retry
	  configurable.
	- Small fixes for #41: changelog, conflicts resolved,
	  processQueryResponse takes an iterator env argument like other
	  functions in the iterator, no colon in string for set_option,
	  and some whitespace style, to make it similar to the rest.
	- Fix for #41: change outbound retry to int to fix signed comparison
	  warnings.
	- Fix root_anchor test to check with new icannbundle date.

3 September 2021: Wouter
	- Fix #538: Fix subnetcache statistics.

1 September 2021: Wouter
	- Fix tcp fastopen failure when disabled, try normal connect instead.

27 August 2021: Wouter
	- Fix #533: Negative responses get cached even when setting
	  cache-max-negative-ttl: 1

25 August 2021: Wouter
	- Merge #401: RPZ triggers. This add additional RPZ triggers,
	  unbound supports a full set of rpz triggers, and this now
	  includes nsdname, nsip and clientip triggers. Also actions
	  are fully supported, and this now includes the tcp-only action.
	- Fix #536: error: RPZ: name of record (drop.spamhaus.org.rpz.local.)
	  to insert into RPZ.
	- Fix the stream wait stream_wait_count_lock and http2 buffer locks
	  setup and desetup from race condition.
	- Fix RPZ locks. Do not unlock zones lock if requested and rpz find
	  zone does not find the zone. Readlock the clientip that is found
	  for ipbased triggers. Unlock the nsdname zone lock when done.
	  Unlock zone and ip in rpz nsip and nsdname callback. Unlock
	  authzone and localzone if clientip found in rpz worker call.
	- Fix compile warning in libunbound for listen desetup routine.
	- Fix asynclook unit test for setup of lockchecks before log.

20 August 2021: Wouter
	- Fix #529: Fix: log_assert does nothing if UNBOUND_DEBUG is
	  undefined.
	- Fix #531: Fix: passed to proc after free.

17 August 2021: Wouter
	- Fix that --with-ssl can use "/usr/include/openssl11" to pass the
	  location of a different openssl version.
	- Fix #527: not sending quad9 cert to syslog (and may be more).
	- Fix sed script in ssldir split handling.

16 August 2021: George
	- Merge PR #528 from fobser: Make sldns_str2wire_svcparam_buf()
	  static.

16 August 2021: Wouter
	- Fix to support harden-algo-downgrade for ZONEMD dnssec checks.

13 August 2021: Wouter
	- Support using system-wide crypto policies.
	- Fix for #431: Squelch permission denied errors for udp connect,
	  and udp send, they are visible at higher verbosity settings.
	- Fix zonemd verification of key that is not in DNS but in the zone
	  and needs a chain of trust.
	- zonemd, fix order of bogus printout string manipulation.

12 August 2021: George
	- Merge PR #514, from ziollek: Docker environment for run tests.
	- For #514: generate configure.

12 August 2021: Wouter
	- And 1.13.2rc1 became the 1.13.2 with the fix for the python module
	  build. The current code repository continues with version 1.13.3.
	- Add test tool readzone to .gitignore.
	- Merge #521: Update mini_event.c.
	- Merge #523: fix: free() call more than once with the same pointer.
	- Merge #519: Support for selective enabling tcp-upstream for
	  stub/forward zones.
	- For #519: note stub-tcp-upstream and forward-tcp-upstream in
	  the example configuration file.
	- For #519: yacc and lex. And fix python bindings, and test program
	  unbound-dnstap-socket.
	- For #519: fix comments for doxygen.
	- Fix to print error from unbound-anchor for writing to the key
	  file, also when not verbose.

5 August 2021: Wouter
	- Tag for 1.13.2rc1 release.
	- Fix #520: Unbound 1.13.2rc1 fails to build python module.

4 August 2021: George
	- Merge PR #415 from sibeream: Use
	  /proc/sys/net/ipv4/ip_local_port_range to determine available outgoing
	  ports. (New --enable-linux-ip-local-port-range configuration option)
	- Bump MAX_RESTART_COUNT to 11 from 8; in relation to #438. This
	  allows longer CNAME chains in Unbound.

4 August 2021: Wouter
	- In unit test use openssl set security level to allow keys in test.
	- Fix static analysis warnings about localzone locks that are unused.
	- Fix missing locks in zonemd unit test.
	- Fix readzone compile under debug config.
	- Fix out of sourcedir run of zonemd unit tests.
	- Fix libnettle zonemd unit test.
	- Fix unit test zonemd_reload for use in run_vm.

3 August 2021: George
	- Listen to read or write events after the SSL handshake.
	  Sticky events on windows would stick on read when write was needed.

3 August 2021: Wouter
	- Merge PR #517 from dyunwei: #420 breaks the mesh reply list
	  function that need to reuse the dns answer.
	- Annotate assertion into error printout; we think it may be an
	  error, but the situation looks harmless.
	- Fix sign comparison warning on FreeBSD.

2 August 2021: Wouter
	- Prepare for OpenSSL 3.0.0 provider API usage, move the sldns
	  keyraw functions to produce EVP_PKEY results.
	- Move RSA and DSA to use OpenSSL 3.0.0 API.
	- Move ECDSA functions to use OpenSSL 3.0.0 API.
	- iana portlist update.
	- Fix verbose printout failure in tcp reuse unit test.

30 July 2021: Wouter
	- Fix #515: Compilation against openssl 3.0.0 beta2 is failing to
	  build unbound.
	- For #515: Fix compilation with openssl 3.0.0 beta2, lib64 dir and
	  SSL_get_peer_certificate.
	- Move acx_nlnetlabs.m4 to version 41, with lib64 openssl dir check.

26 July 2021: George
	- Merge #513: Stream reuse, attempt to fix #411, #439, #469. This
	  introduces a couple of fixes for the stream reuse functionality
	  that could result in broken internal structures.

26 July 2021: Wouter
	- Merge #512: unbound.service.in: upgrade hardening to latest
	  standards.
	- Fix readzone unknown type print for memory resize.

21 July 2021: Wouter
	- Fix that ldns_zone_new_frm_fp_l counts the line number for an empty
	  line after a comment.

16 July 2021: George
	- Introduce 'http-user-agent:' and 'hide-http-user-agent:' options.

16 July 2021: Wouter
	- Merge #510 from ndptech: Don't call a function which hasn't been
	  defined.
	- Fix for #510: in depth, use ifdefs for windows api event calls.
	- Fix spelling in doc/unbound.doxygen comment.
	- Fix spelling in localzone.h comment.
	- Fix unbound-control local_data and local_datas to print detailed
	  syntax errors.
	- review fix to remove duplicate error printout.
	- Insert header into testcode/readzone.c, it was missing.
	- Fix from lint for ignored return value.
	- Fix for older parsers for function call in serve expired get cached.

6 July 2021: Wouter
	- iana portlist update.

5 July 2021: George
	- Fix compiler warnings for #491.
	- Fix clang-analysis warnings for testcode/readzone.c.

4 July 2021: George
	- Fix Wunused-result compile warnings.

2 July 2021: Tom
	- Merge PR #491: Add SVCB and HTTPS types and handling according to
	  draft-ietf-dnsop-svcb-https.

2 July 2021: Wouter
	- Fix #506: Python Module Seems to Leak Memory if it Experiences an
	  Unhandled Exception.

25 June 2021: Wouter
	- Fix up permissions on rpl data file in tests.
	- Fix testbound newline treatment in moment_read and tempfile write.
	- Fix configure grep for reuseport default for failure.
	- Fix compat ctime_r return value
	- Fix configure does not require pkg-config if not needed.
	- Fix unit test in the ctime_r calls for autotrust and in testbound.
	- Fix auth zone download on windows to unlink before rename.

24 June 2021: Wouter
	- Add analyzer and port compile github workflow.

23 June 2021: Wouter
	- Fix #503: DNS over HTTPS response truncated.
	- Fix warnings reported by the gcc analyzer.

21 June 2021: George
	- Fix #495: Documentation or implementation of "verbosity" option.

18 June 2021: Wouter
	- Fix a number of warnings reported by the gcc analyzer.

15 June 2021: George
	- Merge #440 by kimheino: Various fixes to contrib/unbound_munin_ file.

14 June 2021: Wouter
	- Fix configure nonblocking test and onmingw test to use host.

10 June 2021: Wouter
	- Fix #500: SPEC file in version 1.13.1 references version 1.4;
	  unable to build RPM from source.
	- Fix contrib/unbound.spec, fixed url and comment.

9 June 2021: George
	- Merge #486 by fobster: Make VAL_MAX_RESTART_COUNT configurable.
	- Generated lexer and parser for #486; updated example.conf.
	- Fix #413 (based on patch by k-ronny): unbound: does not compile
	  on macOS 11.1-x86_64 host.
	- Use host_os instead of target_os in configure for Darwin8 build.

8 June 2021: George
	- Fix unused variable warning when compiling with --enable-dnstap.

7 June 2021: George
	- Merge #448 from shoeper: Update unbound-control.8.in, fix
	  rpz_disable typo.
	- Fix #425: Document auth-zone supports communication with DNS
	  primary on nondefault port.

1 June 2021: George
	- Fix test for zonemd-check option.

27 May 2021: Wouter
	- Merge #496 from banburybill: Use build system endianness if
	  available, otherwise try to work it out.
	- zonemd-check: yesno option, default no, enables the processing
	  of ZONEMD records for that zone.

25 May 2021: Wouter
	- Move the NSEC3 max iterations count in line with the 150 value
	  used by BIND, Knot and PowerDNS. This sets the default value
	  for it in the configuration to 150 for all key sizes.
	- Fix #492: module-config respip missing in unbound.conf.5.in man
	  page. Merges #494 from he32.
	- For #492: Fix font highlighting for the man page on emacs.

21 May 2021: Wouter
	- Test code has -q option for quiet output.

19 May 2021: George
	- Fix for #411, #439, #469: Reset the DNS message ID when moving queries
	  between TCP streams.
	- Refactor for uniform way to produce random DNS message IDs.

17 May 2021: Wouter
	- Fix #489: Compile using MSYS2 MinGW 64-bit.

12 May 2021: Wouter
	- Fix that auth-zone zonefiles use last TTL if no TTL is specified.

10 May 2021: Wouter
	- Merge PR #487: ifdef RLIMIT_AS in recently added check.

7 May 2021: Wouter
	- Fix #485: Unbound occasionally reports broken stats.
	- Add ./configure --with-deprecate-rsa-1024 that turns off RSA 1024.
	- Remove case fallthrough from deprecate-rsa-1024 code.

4 May 2021: George
	- Fix for #367: only attempt to get the interface for queries that are no
	  longer on the tcp_waiting_list.
	- Add more logging for out-of-memory cases.

4 May 2021: Wouter
	- Merge #478: Allow configuration of TCP timeout while waiting for
	  response.
	- Fix to squelch tcp socket bind failures when the interface is gone.
	- Rerun flex and bison.

3 May 2021: Wouter
	- Fix #481: Fix comment in configuration file.

29 April 2021: Wouter
	- Add that log-servfail prints an IP address and more information
	  about one of the last failures for that query.

28 April 2021: George
	- Fix compiler warning for signed/unsigned comparison for
	  max_reuse_tcp_queries.

28 April 2021: Wouter
	- Fix #474: always_null and others inside view.

26 April 2021: Wouter
	- Merge #470 from edevil: Allow configuration of persistent TCP
	  connections.

22 April 2021: Wouter
	- Merge #466 from FGasper: Support OpenSSLs that lack
	  SSL_get0_alpn_selected.
	- Fix #468: OpenSSL 1.0.1 can no longer build Unbound.
	- Further fix for #468: detect SSL_CTX_set_alpn_protos for build with
	  OpenSSL 1.0.1.
	- Fix that testcode dohclient has OpenSSL initialisation calls.

13 April 2021: George
	- Fix documentation comment for files previously residing in checkconf/.
	- Remove unused functions worker_handle_reply and libworker_handle_reply.

13 April 2021: Wouter
	- Fix that nxdomain synthesis does not happen above the stub or
	  forward definition.

12 April 2021: George
	- Fix (increase) verbosity level for iterator error log in
	  processQueryTargets().

12 April 2021: Wouter
	- Fix permission denied sendto log, squelch the log messages
	  unless high verbosity is set.

9 April 2021: Wouter
	- rebuild configure to set EXTRALINK to libunbound.la for #460.

7 April 2021: Wouter
	- Fix for #411: Depth protect for crash on deleted element timeout.

1 April 2021: Wouter
	- Merge #460 from orbea: build: Link with the libtool archive.
	- Fix to stop IPv6 PMTU discovery.

31 March 2021: George
	- Clean makedist.sh.

31 March 2021: Wouter
	- Fix stack-protector change to not override other CFLAGS options.

30 March 2021: George
	- Disable the use of stack-protector for cross compiled 32-bit windows
	  builds; relates to #444.

25 March 2021: Wouter
	- Fix #429: Also fix end of transfer for http download of auth zones.

24 March 2021: Wouter
	- Fix deprecation test to work for iOS TVOS and WatchOS, it uses
	  CFLAGS and CPPFLAGS and also checks if the item is unavailable.
	- Travis, fix script to fail when tasks fail.
	- Travis, fix warning in ubsan compile.
	- Fix configure Targetconfiditionals.h header check, to use compile.
	- Fix that cachedb does not produce empty object files when disabled.

23 March 2021: Wouter
	- Travis enable all tests again. Clang analyzer only a couple times,
	  when there is a difference. homebrew updates disabled, so it does
	  not hang. removed trailing slashes from configure paths. Moved iOS
	  tests to allow-failure.
	- travis, analyzer disabled on test without debug, that does not
	  run anway.  Turn off failing tests except one.  Update iOS test
	  to xcode image 12.2.

22 March 2021: George
	- Fix unused-function warning when compiling with --enable-dnscrypt.
	- Fix for #367: fix memory leak when cannot bind to listening port.
	- Reformat pythonmod/pythonmod_utils.{c,h}.

22 March 2021: Wouter
	- Merge #449 from orbea: build: Add missing linker flags.
	- iana portlist update.
	- Comment out nonworking OSX and IOS travis tests, vm fails to start.
	- Fix compile error in listen_dnsport on Android.
	- Fix memory leak reported by asan in rpz SOA record query name.

19 March 2021: Wouter
	- Fix for #447: squelch connection refused tcp connection failures
	  from the log, unless verbosity is high.

17 March 2021: Wouter
	- Fix #441: Minimal NSEC range not accepted for top level domains.

11 March 2021: Wouter
	- Fix parse of LOC RR type for decimetres.

5 March 2021: Wouter
	- Workaround for #439: prevent loops in the reuse rbtree.
	- Debug output for #411 and #439: printout internal error and details.

4 March 2021: Wouter
	- iana portlist update.
	- Fix spurious errors about "Could not generate request: out of
	  memory".  The mesh detect cycle routine no longer wrongly stops
	  the check when the calling mesh state is unique.

26 February 2021: George
	- Fix for #367: rc_ports don't have ub_sock; skip cleaning up.

26 February 2021: Wouter
	- Fix: Resolve interface names on control-interface too.

25 February 2021: Wouter
	- Merge PR #367 : DNSTAP log local address.  With code from PR #365
	  and fixes #368 : dnstap does not log the DNS message ID for
	  FORWARDER_QUERY.
	- Fix to allow rpz with wildcard that applies to all TLDs at once.

24 February 2021: George
	- Fix #384: (1) A minor request to improve the log (2) A minor bug in one
	  log message.
	- ipsecmod: Better logging for detecting a cycle when attaching the
	  A/AAAA subquery.

24 February 2021: Wouter
	- On startup of unbound it checks if rlimits on memory size look
	  sufficient for the configured cache size, and logs warning if not.
	- Fix function documentation.
	- Fix unit test for added ulimit checks.
	- spelling fix in header.

23 February 2021: Wouter
	- Fix for zonemd, that domain-insecure zones work without dnssec.
	- Fix for zonemd, do not reject insecure result from trust anchor
	  validation step in dnssec chain of trust.

22 February 2021: Wouter
	- Fix #431: Squelch permission denied errors for tcp connect
	  and udp connect from the logs, unless at high verbosity.
	- Fix for zonemd, that nxdomain for the chain of trust is allowed
	  for island zones, it is treated as an insecure zone for verification.

18 February 2021: Wouter
	- Merge PR #317: ZONEMD Zone Verification, with RFC 8976 support.
	  ZONEMD records are checked for zones loaded as auth-zone,
	  with DNSSEC if available.  There is an added option
	  zonemd-permissive-mode that makes it log but not fail wrong zones.
	  With zonemd-reject-absence for an auth-zone the presence of a
	  zonemd can be mandated for specific zones.
	- Fix doxygen and pydoc warnings.
	- Fix #429: rpz: url: with https: broken (regression in 1.13.1).
	- rpz skip nsec3param records, and nicer log for unsupported actions.

15 February 2021: Wouter
	- Fix #422: IPv6 fallback issues when IPv6 is not properly
	  enabled/configured.
	- Fix to make tests work with support indicators set for iterator.
	- Fix build on Python 3.10.

10 February 2021: Wouter
	- Merge PR #420 from dyunwei: DOH not responsing with
	  "http2_query_read_done failure" logged.

9 February 2021: Wouter
	- Fix for Python 3.9, no longer use deprecated functions of
	  PyEval_CallObject (now PyObject_Call), PyEval_InitThreads (now
	  none), PyParser_SimpleParseFile (now Py_CompileString).
2022-09-24 18:08:44 +00:00
christos e2d5644acf merge conflicts between 4.3.5 and 4.6.0, and update build 2022-09-24 17:38:17 +00:00
christos ee75899804 Import nsd-4.6.0; last import was nsd-4.3.5
23 June 2022: Wouter
	- Tag for 4.6.0rc1. It became 4.6.0 on 30 June 2022, and it continues
	  with version 4.6.1.

17 June 2022: Wouter
	- Fix compilation with libev, without event_base_loopbreak.

16 June 2022: Wouter
	- Fix that the unit test verify_repat cleans up nsd on exit.
	- Fix to remove ixfrcreate.c asserts about uint16 within limits
	  because of warnings from analyzers.

14 June 2022: Wouter
	- Fix compilation without libevent and compilation of nsd-mem.
	- Fix verify handler add of sigchld event for compilation without
	  libevent.

3 June 2022: Wouter
	- Fix static analyzer reports on ixfrcreate temp file.
	- Fixup wrong ixfrcreate fread return check.

13 May 2022: Wouter
	- The code repo continues with version 4.5.1.

6 May 2022: Wouter
	- Merge PR #209: IXFR out
	  This adds IXFR out functionality to NSD. NSD can copy IXFRs from
	  upstream to downstream clients, or create IXFRs from zonefiles.
	  The options store-ixfr: yes and create-ixfr: yes can be used to
	  turn this on. Default is turned off. The options ixfr-number and
	  ixfr-size can be used to tune the number of IXFR transfers and
	  total data size stored. This is configured per zone, the IXFRs
	  are served to the hosts that are allowed to perform zone transfers.
	  And if TSIG is configured, signed with the same key. The content
	  is stored to file if a zonefile is configured for the zone, in
	  the zonefile.ixfr and zonefile.ixfr.2, .. files. They contain
	  readable text format. The number of IXFRs is num.rixfr in
	  statistics output, also per zone if per zone statistics are enabled.
	  If offline, nsd-checkzone -i can create ixfr files.
	  NSD already supports requesting IXFRs, this addition allows NSD
	  to serve IXFR transfers to clients.
	  NSD stops responding with NOTIMPL to IXFR requests, also for zones
	  that do not have IXFR enabled. The clients gets a full zone reply
	  or a status reply if the serial is up to date.
	- set version to 4.5.0 for feature change.
	- Tag for 4.5.0rc1 release. It became the 4.5.0 release on 13 May 2022.

14 April 2022: Wouter
	- Update cirrus script FreeBSD version.

25 March 2022: Wouter
	- Fix spelling error in comment in svcbparam_lookup_key.

2 March 2022: Wouter
	- Fix code analyzer zero divide warning.
	- Fix code analyzer large value with assertion.
	- Fix another code analyzer zero divide warning.
	- Fix code analyzer warning about uninitialized temp storage in loop.

10 February 2022: Wouter
	- Tag for 4.4.0rc1 release. This became 4.4.0 release on 17 Feb 2022,
	  the code repository continues with version 4.4.1.

9 February 2022: Wouter
	- Fix unit tests for nds-control-setup exit code and the
	  xfrd-tcp-max default.

7 February 2022: Wouter
	- Merge #207 Sync nsd-control-setup with unbound-control-setup to
	  generate certificates with SANs.

28 January 2022: Wouter
	- Fix #206: build with --without-ssl fails.

27 January 2022: Wouter
	- current code branch continues as version 4.4.0, because of added
	  feature.

26 January 2022: Wouter
	- Merge #193: Lower memory usage of the XFRD process by default.
	  Instead of preallocating all elements, they are allocated when used.
	  There are options for managing the memory usage, defaults are the
	  same as before. xfrd-tcp-max sets the number of sockets for tcp
	  connections that xfrd can make to download zone contents. And
	  xfrd-tcp-pipeline the number of simultaneous transfers over the
	  same connection.

12 January 2022: Wouter
	- Fix to document nsd-checkzone -p in the man page for nsd-checkzone.

7 January 2022: Wouter
	- Fix to change file mode before changing file owner for the
	  nsd-control unix socket file.

3 January 2022: Wouter
	- Merge #204 from jonathangray: correct some spelling mistakes.

15 December 2021: Wouter
	- Fix #200: nsd-checkzone succeeds even with incorrect serial in SOA
	  record.

2 December 2021: Wouter
	- Fix socket_partitioning unit test for FreeBSD.
	- Fix SVCB test to work around older dig with drill.
	- Fix unit test to not syslog setlogin failures.

1 December 2021: Wouter
	- Set up for branch for 4.3.9 release.
	  This became release 4.3.9 on 9 Dec 2021 and included the changes
	  until the SVCB fix on 2 dec 2021, but not the setlogin fix.
	  The main branch continues as 4.3.10.
	- Fix unit tests for new answer-cookie default.

30 November 2021: Wouter
	- Fix to remove git tracking and ci information from release tarballs.

3 November 2021: Wouter
	- Fix #198: nsd-control reconfig core dump.

12 October 2021: Wouter
	- Tag for 4.3.8 release, from 4.3.8rc2. The main branch continues
	  with version 4.3.9 in development.

7 October 2021: Wouter
	- Set default for answer-cookie to no. Because in server deployments
	  with mixed server software, a default of yes causes issues.
	- Tag for 4.3.8rc2, includes the new answer-cookie default.

4 October 2021: Wouter
	- Tag for 4.3.8rc1.

29 September 2021: Wouter
	- Fix unit tests for svcb and xot to not touch the default
	  zonelistfile.
	- Fix unit test for xot tertiary config for zonelistfile default.
	- Fix unit test for dns-cookies for no unshare, and allow-query
	  for no IPv6 loopback.
	- Fix unit test allow query to check for IPv6.

22 September 2021: Wouter
	- Fix #194: Incorrect NSEC3 response for SOA query below delegation
	  point.

13 September 2021: Wouter
	- Fix compile failure with openssl 1.0.2.

3 September 2021: Wouter
	- Fix not reachable annotation in radix_find_prefix_node.

31 August 2021: Willem
	- Fix #191: dname_parse_wire() returns fqdn wireformat length.

26 August 2021: Wouter
	- Fix #190: NSD returns 3 NSEC3 records for NODATA response.

23 August 2021: Wouter
	- Fix #189: nsd 4.3.7 crash answer_delegation: Assertion
	  `query->delegation_rrset' failed.

17 August 2021: Wouter
	- Fix #188: NSD fails to build against openssl 1.1 on CentOS 7.
	- Fix sed script in ssldir split handling.

13 August 2021: Wouter
	- Merge #187: Support using system-wide crypto policies.

10 August 2021: Wouter
	- Merge #185 by cesarkuroiwa: Mutual TLS.
	- Fixes for #185: Document client-cert, client-key and client-key-pw
	  in the man page. Fix yacc semicolon. Fix unused variable warning.
	  Use strlcpy instead of strncpy. Fix spelling error in error
	  printout.

2 August 2021: Wouter
	- Quieter tpkg/do-tests shell script with -q flag.
	- For #184: Note that all zones can be targeted by some nsd-control
	  commands in the man page.

30 July 2021: Wouter
	- Move acx_nlnetlabs.m4 to version 41, with lib64 openssl dir check.
	- Fix to compile with OpenSSL 3.0.0beta2.
	- Fix configure detection of SSL_CTX_set_security_level.
	- Fix deprecated functions use from openssl 3.0.0beta2.

23 July 2021: Wouter
	- Fix free on shutdown of XoT SSL context.

22 July 2021: Wouter
	- tag 4.3.7 release, with the fixes between rc1 and this release.
	- main branch continues for 4.3.8.

20 July 2021: Wouter
	- Fix typo in xfrd-tcp.c.

15 July 2021: Wouter
	- tag for 4.3.7rc1.
	- Fix compile of cookies on FreeBSD without IPv6.
	- Fix for loop initial declaration for nonc99 compiler.

14 July 2021: Wouter
	- Fix truncate test for EDNS COOKIE making one less RR is added.
	- Attempt to fix gcc11 warning.

13 July 2021: Willem
	- Fixes for child server processes getting out of sync with the
	  dnstap-collector process

13 July 2021: Willem
	- Interoperable DNS Cookies support as per RFC7873 and RFC9018

9 July 2021: Willem
	- Client side DNS Zone Transfer-over-TLS (XoT) support as per
	  draft-ietf-dprive-xfr-over-tls

29 June 2021: Willem
	- Fix #168: Buffer overflow in the dname_to_string() function

14 June 2021: Wouter
	- Update configure nonblocking test to use host.

25 May 2021: Wouter
	- Fix #179: log notice and server-count.

21 May 2021: Wouter
	- Test code has -q option for quiet output.

17 May 2021: Wouter
	- Update the ACX_CHECK_NONBLOCKING_BROKEN test for the configure
	  script.

7 May 2021: Wouter
	- Fix #176: please review Loglevel on missing zonefile.

6 May 2021: Wouter
	- Fix #174: NS Records below delegation are not ignored (nsd-checkzone
	  also does not raise any issue).

4 May 2021: Wouter
	- Fix SVCB sort call sizeof to be the size of the elements sorted.

29 April 2021: Tom
	- Implement Syntax of SVCB and HTTPS RR type as per draft-ietf-dnsop-svcb-https

13 April 2021: Wouter
	- Fix for #128: Skip over sendmmsg invalid argument when port is zero.
	- Fix #171: Invalid negative response (NSEC3) after IXFR.
	- Fix to make nsec3_chain_find_prev return NULL if one nsec3 left.
	- remove debug settings from unit test.

9 April 2021: Wouter
	- Fix for #170: Fix build warnings when IPv6 is disabled.
	- Fix #170: Disabled IPv6 and DNSTAP enabled triggers a build error.

30 March 2021: Wouter
	- Fix configure failure for enable systemd because of autoconf.
	- This became release 4.3.6, the repository continues for 4.3.7
	  in development.

29 March 2021: Wouter
	- Note unlisted changes in RELNOTES and prepare for 4.3.6rc1 tag.

29 March 2021: Willem
	- Per zone Access Control List for queries
	  with an allow-query: option.

24 March 2021: Wouter
	- Update acx_nlnetlabs.m4 to version 38, fix deprecation test.
	- Fix configure to use header checks with compile.
	- Fix warning about unused function log_addr.

18 March 2021: Tom
	- Add Extended DNS Errors RFC8914

15 March 2021: Wouter
	- Fix double config.h include in configlexer.c
	- Fix to remove configyyrename from makedist.sh and also
	  update the flex and bison rules there to add the "c_" prefix.

13 March 2021: Willem
	- Fix #154: TXT with parentheses fails in 4.3.5.
	- Align parsing of TXT elements with how bind does it.
	- A -p option to nsd-checkzone to print a successfully read zone.

12 March 2021: Wouter
	- Fix that wildcard is printed as a star instead of escaped, in
	  logs and in written zone files.
	- Fix unit test for wildcard printout change.

11 March 2021: Wouter
	- Fix #163: A TSIG noncompliance with RFC 2845.

9 March 2021: Willem
	- Enable configuring a control-interface by interface name.

19 February 2021: Wouter
	- Fix segfault on high verbosity for TLS channels with dnstap log
	  local address.

18 February 2021: Wouter
	- Fix #146 with #147: DNSTAP log the local address of the server
	  with the dnstap logs.

16 February 2021: Wouter
	- Man page documentation for dnstap options.

8 February 2021: Wouter
	- Fix AF_LOCAL compile error for Solaris.
	- Fix ifaddrs compile error for Solaris.
	- Fix ifaddrs.h compile error for Solaris.

4 February 2021: Wouter
	- Merge PR #153 from fobser: Repair -fno-common linker errors
	  automatically.
	- Fix uninitialized access of log_buf in error printout on apply ixfr.

26 January 2021: Wouter
	- Prevent a few more yacc clashes.
2022-09-24 17:35:00 +00:00
christos 1856c2b98e Adjust to new bind libraries 2022-09-23 12:30:52 +00:00
christos 8596601a79 Merge conflicts between 9.16.20 and 9.16.33 2022-09-23 12:15:20 +00:00
christos f281902de1 Import 9.16.33; last imported was 9.16.20
--- 9.16.33 released ---

5962.	[security]	Fix memory leak in EdDSA verify processing.
			(CVE-2022-38178) [GL #3487]

5961.	[security]	Fix memory leak in ECDSA verify processing.
			(CVE-2022-38177) [GL #3487]

5960.	[security]	Fix serve-stale crash that could happen when
			stale-answer-client-timeout was set to 0 and there was
			a stale CNAME in the cache for an incoming query.
			(CVE-2022-3080) [GL #3517]

5957.	[security]	Prevent excessive resource use while processing large
			delegations. (CVE-2022-2795) [GL #3394]

5956.	[func]		Make RRL code treat all QNAMEs that are subject to
			wildcard processing within a given zone as the same
			name. [GL #3459]

5955.	[port]		The libxml2 library has deprecated the usage of
			xmlInitThreads() and xmlCleanupThreads() functions. Use
			xmlInitParser() and xmlCleanupParser() instead.
			[GL #3518]

5954.	[func]		Fallback to IDNA2003 processing in dig when IDNA2008
			conversion fails. [GL #3485]

5953.	[bug]		Fix a crash on shutdown in delete_trace_entry(). Add
			mctx attach/detach pair to make sure that the memory
			context used by a memory pool is not destroyed before
			the memory pool itself. [GL #3515]

5952.	[bug]		Use quotes around address strings in YAML output.
			[GL #3511]

5951.	[bug]		In some cases, the dnstap query_message field was
			erroneously set when logging response messages.
			[GL #3501]

5948.	[bug]		Fix nsec3.c:dns_nsec3_activex() function, add a missing
			dns_db_detachnode() call. [GL #3500]

5945.	[bug]		If parsing /etc/bind.key failed, delv could assert
			when trying to parse the built in trust anchors as
			the parser hadn't been reset. [GL !6468]

5942.	[bug]		Fix tkey.c:buildquery() function's error handling by
			adding the missing cleanup code. [GL #3492]

5941.	[func]		Zones with dnssec-policy now require dynamic DNS or
			inline-siging to be configured explicitly. [GL #3381]

5936.	[bug]		Don't enable serve-stale for lookups that error because
			it is a duplicate query or a query that would be
			dropped. [GL #2982]

	--- 9.16.32 released ---

5934.	[func]		Improve fetches-per-zone fetch limit logging to log
			the final allowed and spilled values of the fetch
			counters before the counter object gets destroyed.
			[GL #3461]

5933.	[port]		Automatically disable RSASHA1 and NSEC3RSASHA1 in
			named on Fedorda 33, Oracle Linux 9 and RHEL9 when
			they are disabled by the security policy. [GL #3469]

5932.	[bug]		Fix rndc dumpdb -expired and always include expired
			RRsets, not just for RBTDB_VIRTUAL time window.
			[GL #3462]

5929.	[bug]		The "max-zone-ttl" option in "dnssec-policy" was
			not fully effective; it was used for timing key
			rollovers but did not actually place an upper limit
			on TTLs when loading a zone. This has been
			corrected, and the documentation has been clarified
			to indicate that the old "max-zone-ttl" zone option
			is now ignored when "dnssec-policy" is in use.
			[GL #2918]

5924.	[func]		When it's necessary to use AXFR to respond to an
			IXFR request, a message explaining the reason
			is now logged at level info. [GL #2683]

5923.	[bug]		Fix inheritance for dnssec-policy when checking for
			inline-signing. [GL #3438]

5922.	[bug]		Forwarding of UPDATE message could fail with the
			introduction of netmgr. This has been fixed. [GL #3389]

	--- 9.16.31 released ---

5917.	[bug]		Update ifconfig.sh script as is miscomputed interface
			identifiers when destroying interfaces. [GL #3061]

5915.	[bug]		Detect missing closing brace (}) and computational
			overflows in $GENERATE directives. [GL #3429]

5913.	[bug]		Fix a race between resolver query timeout and
			validation in resolver.c:validated(). Remove
			resolver.c:maybe_destroy() as it is no loger needed.
			[GL #3398]

5909.	[bug]		The server-side destination port was missing from dnstap
			captures of client traffic. [GL #3309]

5905.	[bug]		When the TCP connection would be closed/reset between
			the connect/accept and the read, the uv_read_start()
			return value would be unexpected and cause an assertion
			failure. [GL #3400]

5903.	[bug]		When named checks that the OPCODE in a response matches
			that of the request, if there is a mismatch named logs
			an error.  Some of those error messages incorrectly
			used RCODE instead of OPCODE to lookup the nemonic.
			This has been corrected. [GL !6420]

	--- 9.16.30 released ---

5899.	[func]		Don't try to process DNSSEC-related and ZONEMD records
			in catz. [GL #3380]

5890.	[bug]		When the fetches-per-server quota was adjusted
			because of an authoritative server timing out more
			or less frequently, it was incorrectly set to 1
			rather than the intended value.  This has been
			fixed. [GL #3327]

5888.	[bug]		Only write key files if the dnssec-policy keymgr has
			changed the metadata. [GL #3302]

5823.	[func]		Replace hazard pointers based lock-free list with
			locked-list based queue that's simpler and has no or
			little performance impact. [GL #3180]

	--- 9.16.29 released ---

5885.	[bug]		RPZ NSIP and NSDNAME rule processing didn't handle stub
			and static-stub zones at or above the query name.  This
			has now been addressed. [GL #3232]

5881.	[bug]		dig +nssearch could hang in rare cases when recv_done()
			callback was being called earlier than send_done().
			[GL #3278]

5880.	[func]		Add new named command-line option -C to print built-in
			defaults. [GL #1326]

5879.	[contrib]	dlz: Add FALLTHROUGH and UNREACHABLE macros. [GL #3306]

5874.	[bug]		keymgr didn't work with python 3.11. [GL !6157]

5866.	[bug]		Work around a jemalloc quirk which could trigger an
			out-of-memory condition in named over time. [GL #3287]

5863.	[bug]		If there was a pending negative cache DS entry,
			validations depending upon it could fail. [GL #3279]

5858.	[bug]		Don't remove CDS/CDNSKEY DELETE records on zone sign
			when using 'auto-dnssec maintain;'. [GL #2931]

	--- 9.16.28 released ---

5856.	[bug]		The "starting maxtime timer" message related to outgoing
			zone transfers was incorrectly logged at the ERROR level
			instead of DEBUG(1). [GL #3208]

5852.	[func]		Add new "reuseport" option to enable/disable load
			balancing of sockets. [GL #3249]

5843.	[bug]		When an UPDATE targets a zone that is not configured,
			the requested zone name is now logged in the "not
			authoritative" error message, so that it is easier to
			track down problematic update clients. [GL #3209]

5836.	[bug]		Quote the dns64 prefix in error messages that complain
			about problems with it, to avoid confusion with the
			following dns64 ACLs. [GL #3210]

5834.	[cleanup]	C99 variable-length arrays are difficult to use safely,
			so avoid them except in test code. [GL #3201]

5828.	[bug]		Replace single TCP write timer with per-TCP write
			timers. [GL #3200]

5824.	[bug]		Invalid dnssec-policy definitions were being accepted
			where the defined keys did not cover both KSK and ZSK
			roles for a given algorithm.  This is now checked for
			and the dnssec-policy is rejected if both roles are
			not present for all algorithms in use. [GL #3142]

	--- 9.16.27 released ---

5818.	[security]	A synchronous call to closehandle_cb() caused
			isc__nm_process_sock_buffer() to be called recursively,
			which in turn left TCP connections hanging in the
			CLOSE_WAIT state blocking indefinitely when
			out-of-order processing was disabled. (CVE-2022-0396)
			[GL #3112]

5817.	[security]	The rules for acceptance of records into the cache
			have been tightened to prevent the possibility of
			poisoning if forwarders send records outside
			the configured bailiwick. (CVE-2021-25220) [GL #2950]

5816.	[bug]		Make BIND compile with LibreSSL 3.5.0, as it was using
			not very accurate pre-processor checks for using shims.
			[GL #3172]

5815.	[bug]		If an oversized key name of a specific length was used
			in the text form of an HTTP or SVBC record, an INSIST
			could be triggered when parsing it. [GL #3175]

5814.	[bug]		The RecursClients statistics counter could underflow
			in certain resolution scenarios. [GL #3147]

5811.	[bug]		Reimplement the maximum and idle timeouts for outgoing
			zone transfers. [GL #1897]

5807.	[bug]		Add a TCP "write" timer, and time out writing
			connections after the "tcp-idle-timeout" period
			has elapsed. [GL #3132]

5804.	[func]		Add a debug log message when starting and ending
			the task exclusive mode. [GL #3137]

	--- 9.16.26 released ---

5801.	[bug]		Log "quota reached" message when hard quota
			is reached when accepting a connection. [GL #3125]

5800.	[func]		Add ECS support to the DLZ interface. [GL #3082]

5797.	[bug]		A failed view configuration during a named
			reconfiguration procedure could cause inconsistencies
			in BIND internal structures, causing a crash or other
			unexpected errors. [GL #3060]

5795.	[bug]		rndc could crash when interrupted by a signal
			before receiving a response. [GL #3080]

5793.	[bug]		Correctly detect and enable UDP recvmmsg support
			in all versions of libuv that support it. [GL #3095]

	--- 9.16.25 released ---

5789.	[bug]		Allow replacing expired zone signatures with
			signatures created by the KSK. [GL #3049]

5788.	[bug]		An assertion could occur if a catalog zone event was
			scheduled while the task manager was being shut
			down. [GL #3074]

5787.	[doc]		Update 'auto-dnssec' documentation, it may only be
			activated at zone level. [GL #3023]

5786.	[bug]		Defer detaching from zone->raw in zone_shutdown() if
			the zone is in the process of being dumped to disk, to
			ensure that the unsigned serial number information is
			always written in the raw-format header of the signed
			version on an inline-signed zone. [GL #3071]

5785.	[bug]		named could leak memory when two dnssec-policy clauses
			had the same name. named failed to log this error.
			[GL #3085]

5776.	[bug]		Add a missing isc_condition_destroy() for nmsocket
			condition variable and add missing isc_mutex_destroy()
			for nmworker lock. [GL #3051]

5676.	[func]		Memory use in named was excessive. This has been
			addressed by:
			- Replacing locked memory pools with normal memory
			  allocations.
			- Reducing the number of retained free items in
			  unlocked memory pools.
			- Disabling the internal allocator by default.
			  "named -M internal" turns it back on.
			[GL #2398]

	--- 9.16.24 released ---

5773.	[func]		Change the message when accepting TCP connection has
			failed to say "Accepting TCP connection failed" and
			change the log level for ISC_R_NOTCONNECTED, ISC_R_QUOTA
			and ISC_R_SOFTQUOTA results codes from ERROR to INFO.
			[GL #2700]

5768.	[bug]		dnssec-dsfromkey failed to omit revoked keys. [GL #853]

5764.	[bug]		dns_sdlz_putrr failed to process some valid resource
			records. [GL #3021]

5762.	[bug]		Fix a "named" crash related to removing and restoring a
			`catalog-zone` entry in the configuration file and
			running `rndc reconfig`. [GL #1608]

5758.	[bug]		mdig now honors the operating system's preferred
			ephemeral port range. [GL #2374]

5757.	[test]		Replace sed in nsupdate system test with awk to
			construct the nsupdate command.  The sed expression
			was not reliably changing the ttl. [GL #3003]

	--- 9.16.23 released ---

5752.	[bug]		Fix an assertion failure caused by missing member zones
			during a reload of a catalog zone. [GL #2308]

5750.	[bug]		Fix a bug when comparing two RSA keys. There was a typo
			which caused the "p" prime factors to not being
			compared. [GL #2972]

5737.	[bug]		Address Coverity warning in lib/dns/dnssec.c.
			[GL #2935]

	--- 9.16.22 released ---

5736.	[security]	The "lame-ttl" option is now forcibly set to 0. This
			effectively disables the lame server cache, as it could
			previously be abused by an attacker to significantly
			degrade resolver performance. (CVE-2021-25219)
			[GL #2899]

5724.	[bug]		Address a potential deadlock when checking zone content
			consistency. [GL #2908]

5723.	[bug]		Change 5709 broke backward compatibility for the
			"check-names master ..." and "check-names slave ..."
			options. This has been fixed. [GL #2911]

5720.	[contrib]	Old-style DLZ drivers that had to be enabled at
			build-time have been marked as deprecated. [GL #2814]

5719.	[func]		The "map" zone file format has been marked as
			deprecated. [GL #2882]

5717.	[func]		The "cache-file" option, which was documented as "for
			testing purposes only" and not to be used, has been
			removed. [GL #2903]

5716.	[bug]		Multiple library names were mistakenly passed to the
			krb5-config utility when ./configure was invoked with
			the --with-gssapi=[/path/to/]krb5-config option. This
			has been fixed by invoking krb5-config separately for
			each required library. [GL #2866]

5715.	[func]		Add a check for ports specified in "*-source(-v6)"
			options clashing with a global listening port. Such a
			configuration was already unsupported, but it failed
			silently; it is now treated as an error. [GL #2888]

5714.	[bug]		Remove the "adjust interface" mechanism which was
			responsible for setting up listeners on interfaces when
			the "*-source(-v6)" address and port were the same as
			the "listen-on(-v6)" address and port. Such a
			configuration is no longer supported; under certain
			timing conditions, that mechanism could prevent named
			from listening on some TCP ports. This has been fixed.
			[GL #2852]

5712.	[doc]		Add deprecation notice about removing native PKCS#11
			support in the next major BIND 9 release. [GL #2691]

	--- 9.16.21 released ---

5711.	[bug]		"map" files exceeding 2GB in size failed to load due to
			a size comparison that incorrectly treated the file size
			as a signed integer. [GL #2878]

5710.	[port]		win32: incorrect parentheses resulted in the wrong
			sizeof() tests being used to pick the appropriate
			Windows atomic operations for the object's size.
			[GL #2891]

5709.	[cleanup]	Enum values throughout the code have been updated
			to use the terms "primary" and "secondary" instead of
			"master" and "slave", respectively. [GL #1944]

5708.	[bug]		The thread-local isc_tid_v variable was not properly
			initialized when running BIND 9 as a Windows Service,
			leading to a crash on startup. [GL #2837]

5705.	[bug]		Change #5686 altered the internal memory structure of
			zone databases, but neglected to update the MAPAPI value
			for zone files in "map" format. This caused named to
			attempt to load incompatible map files, triggering an
			assertion failure on startup. The MAPAPI value has now
			been updated, so named rejects outdated files when
			encountering them. [GL #2872]

5704.	[bug]		Change #5317 caused the EDNS TCP Keepalive option to be
			ignored inadvertently in client requests. It has now
			been fixed and this option is handled properly again.
			[GL #1927]

5701.	[bug]		named-checkconf failed to detect syntactically invalid
			values of the "key" and "tls" parameters used to define
			members of remote server lists. [GL #2461]

5700.	[bug]		When a member zone was removed from a catalog zone,
			journal files for the former were not deleted.
			[GL #2842]

5699.	[func]		Data structures holding DNSSEC signing statistics are
			now grown and shrunk as necessary upon key rollover
			events. [GL #1721]

5698.	[bug]		When a DNSSEC-signed zone which only has a single
			signing key available is migrated to use KASP, that key
			is now treated as a Combined Signing Key (CSK).
			[GL #2857]

5696.	[protocol]	Support for HTTPS and SVCB record types has been added.
			(This does not include ADDITIONAL section processing for
			these record types, only basic support for RR type
			parsing and printing.) [GL #1132]

5694.	[bug]		Stale data in the cache could cause named to send
			non-minimized queries despite QNAME minimization being
			enabled. [GL #2665]

5691.	[bug]		When a dynamic zone was made available in another view
			using the "in-view" statement, running "rndc freeze"
			always reported an "already frozen" error even though
			the zone was successfully frozen. [GL #2844]

5690.	[func]		dnssec-signzone now honors Predecessor and Successor
			metadata found in private key files: if a signature for
			an RRset generated by the inactive predecessor exists
			and does not need to be replaced, no additional
			signature is now created for that RRset using the
			successor key. This enables dnssec-signzone to gradually
			replace RRSIGs during a ZSK rollover. [GL #1551]
2022-09-23 12:09:06 +00:00
christos ee9df9ebed new file for 1.44.2 2022-09-22 21:22:50 +00:00
christos 6c3f619572 merge libuv-1.38.0 -> libuv-1.44.2 2022-09-22 21:22:36 +00:00
christos 5f2f42719c Import libuv-1.44.2 (last imported version was 1.38.0)
2022.07.12, Version 1.44.2 (Stable)

Changes since version 1.44.1:

* Add SHA to ChangeLog (Jameson Nash)

* aix, ibmi: handle server hang when remote sends TCP RST (V-for-Vasili)

* build: make CI a bit noisier (Jameson Nash)

* process: reset the signal mask if the fork fails (Jameson Nash)

* zos: implement cmpxchgi() using assembly (Shuowang (Wayne) Zhang)

* build: AC_SUBST for AM_CFLAGS (Claes Nästén)

* ibmi: Implement UDP disconnect (V-for-Vasili)

* doc: update active maintainers list (Ben Noordhuis)

* build: fix kFreeBSD build (James McCoy)

* build: remove Windows 2016 workflows (Darshan Sen)

* Revert "win,errors: remap ERROR_ACCESS_DENIED to UV_EACCES" (Darshan Sen)

* unix: simplify getpwuid call (Jameson Nash)

* build: filter CI by paths and branches (Jameson Nash)

* build: add iOS to macos CI (Jameson Nash)

* build: re-enable CI for windows changes (Jameson Nash)

* process,iOS: fix build breakage in process.c (Denny C. Dai)

* test: remove unused declarations in tcp_rst test (V-for-Vasili)

* core: add thread-safe strtok implementation (Guilherme Íscaro)

* win: fix incompatible-types warning (twosee)

* test: fix flaky file watcher test (Ben Noordhuis)

* build: fix AIX xlc autotools build (V-for-Vasili)

* unix,win: fix UV_RUN_ONCE + uv_idle_stop loop hang (Ben Noordhuis)

* win: fix unexpected ECONNRESET error on TCP socket (twosee)

* doc: make sample cross-platform build (gengjiawen)

* test: separate some static variables by test cases (Hannah Shi)

* sunos: fs-event callback can be called after uv_close() (Andy Fiddaman)

* uv: re-register interest in a file after change (Shuowang (Wayne) Zhang)

* uv: register UV_RENAME event for _RFIM_UNLINK (Shuowang (Wayne) Zhang)

* uv: register __rfim_event 156 as UV_RENAME (Shuowang (Wayne) Zhang)

* doc: remove smartos from supported platforms (Ben Noordhuis)

* macos: avoid posix_spawnp() cwd bug (Jameson Nash)

* release: check versions of autogen scripts are newer (Jameson Nash)

* test: rewrite embed test (Ben Noordhuis)

* openbsd: use utimensat instead of lutimes (tuftedocelot)

* doc: fix link to uvwget example main() function (blogdaren)

* unix: use MSG_CMSG_CLOEXEC where supported (Ben Noordhuis)

* test: remove disabled callback_order test (Ben Noordhuis)

* win,pipe: fix bugs with pipe resource lifetime management (Jameson Nash)

* loop: better align order-of-events behavior between platforms (Jameson Nash)

* aix,test: uv_backend_fd is not supported by poll (V-for-Vasili)

* kqueue: skip EVFILT_PROC when invalidating fds (chucksilvers)

* darwin: fix atomic-ops.h ppc64 build (Sergey Fedorov)

* zos: don't err when killing a zombie process (Shuowang (Wayne) Zhang)

* zos: avoid fs event callbacks after uv_close() (Shuowang (Wayne) Zhang)

* zos: correctly format interface addresses names (Shuowang (Wayne) Zhang)

* zos: add uv_interface_addresses() netmask support (Shuowang (Wayne) Zhang)

* zos: improve memory management of ip addresses (Shuowang (Wayne) Zhang)

* tcp,pipe: fail `bind` or `listen` after `close` (theanarkh)

* zos: implement uv_available_parallelism() (Shuowang (Wayne) Zhang)

* udp,win: fix UDP compiler warning (Jameson Nash)

* zos: fix early exit of epoll_wait() (Shuowang (Wayne) Zhang)

* unix,tcp: fix errno handling in uv__tcp_bind() (Samuel Cabrero)

* shutdown,unix: reduce code duplication (Jameson Nash)

* unix: fix c99 comments (Ben Noordhuis)

* unix: retry tcgetattr/tcsetattr() on EINTR (Ben Noordhuis)

* docs: update introduction.rst (Ikko Ashimine)

* unix,stream: optimize uv_shutdown() codepath (Jameson Nash)

* zos: delay signal handling until after normal i/o (Shuowang (Wayne) Zhang)

* stream: uv__drain() always needs to stop POLLOUT (Jameson Nash)

* unix,tcp: allow EINVAL errno from setsockopt in uv_tcp_close_reset() (Stacey
  Marshall)

* win,shutdown: improve how shutdown is dispatched (Jameson Nash)


2022.03.09, Version 1.44.1 (Stable), e8b7eb6908a847ffbe6ab2eec7428e43a0aa53a2

Changes since version 1.44.0:

* process: simplify uv__write_int calls (Jameson Nash)

* macos: don't use thread-unsafe strtok() (Ben Noordhuis)

* process: fix hang after NOTE_EXIT (Jameson Nash)


2022.03.07, Version 1.44.0 (Stable), d2bff508457336d808ba7148b33088f6acbfe0a6

Changes since version 1.43.0:

* darwin: remove EPROTOTYPE error workaround (Ben Noordhuis)

* doc: fix v1.43.0 changelog entries (cjihrig)

* win: replace CRITICAL_SECTION+Semaphore with SRWLock (David Machaj)

* darwin: translate EPROTOTYPE to ECONNRESET (Ben Noordhuis)

* android: use libc getifaddrs() (Ben Noordhuis)

* unix: fix STATIC_ASSERT to check what it means to check (Jessica Clarke)

* unix: ensure struct msghdr is zeroed in recvmmsg (Ondřej Surý)

* test: test with maximum recvmmsg buffer (Ondřej Surý)

* unix: don't allow too small thread stack size (Ben Noordhuis)

* bsd: ensure mutex is initialized (Ben Noordhuis)

* doc: add gengjiawen as maintainer (gengjiawen)

* process: monitor for exit with kqueue on BSDs (Jeremy Rose)

* test: fix flaky uv_fs_lutime test (Momtchil Momtchev)

* build: fix cmake install locations (Jameson Nash)

* thread,win: fix C90 style nit (ssrlive)

* build: rename CFLAGS to AM_CFLAGS (Jameson Nash)

* doc/guide: update content and sample code (woclass)

* process,bsd: handle kevent NOTE_EXIT failure (Jameson Nash)

* test: remove flaky test ipc_closed_handle (Ben Noordhuis)

* darwin: bump minimum supported version to 10.15 (Ben Noordhuis)

* win: return fractional seconds in uv_uptime() (Luca Adrian L)

* build: export uv_a for cmake (WenTao Ou)

* loop: add pending work to loop-alive check (Jameson Nash)

* win: use GetTickCount64 for uptime again (Jameson Nash)

* win: restrict system DLL load paths (jonilaitinen)

* win,errors: remap ERROR_ACCESS_DENIED to UV_EACCES (Darshan Sen)

* bench: add `uv_queue_work` ping-pong measurement (Momtchil Momtchev)

* build: fix error C4146 on MSVC (UMU)

* test: fix benchmark-ping-udp (Ryan Liptak)

* win,fs: consider broken pipe error a normal EOF (Momtchil Momtchev)

* document the values of enum uv_stdio_flags (Paul Evans)

* win,loop: add missing uv_update_time (twosee)

* win,fs: avoid closing an invalid handle (Jameson Nash)

* fix oopsie from

* doc: clarify android api level (Ben Noordhuis)

* win: fix style nits [NFC] (Jameson Nash)

* test: fix flaky udp_mmsg test (Santiago Gimeno)

* test: fix ipc_send_recv_pipe flakiness (Ben Noordhuis)

* doc: checkout -> check out (wyckster)

* core: change uv_get_password uid/gid to unsigned (Jameson Nash)

* hurd: unbreak build on GNU/Hurd (Vittore F. Scolari)

* freebsd: use copy_file_range() in uv_fs_sendfile() (David Carlier)

* test: use closefd in runner-unix.c (Guilherme Íscaro)

* Reland "macos: use posix_spawn instead of fork" (Jameson Nash)

* android: fix build error when no ifaddrs.h (ssrlive)

* unix,win: add uv_available_parallelism() (Ben Noordhuis)

* process: remove OpenBSD from kevent list (Jameson Nash)

* zos: fix build breakage (Ben Noordhuis)

* process: only use F_DUPFD_CLOEXEC if it is defined (Jameson Nash)

* win,poll: add the MSAFD GUID for AF_UNIX (roflcopter4)

* unix: simplify uv__cloexec_fcntl() (Ben Noordhuis)

* doc: add secondary GPG ID for vtjnash (Jameson Nash)

* unix: remove uv__cloexec_ioctl() (Jameson Nash)


2022.01.05, Version 1.43.0 (Stable), 988f2bfc4defb9a85a536a3e645834c161143ee0

Changes since version 1.42.0:

* run test named ip6_sin6_len (Jameson Nash)

* docs: fix wrong information about scheduling (Mohamed Edrah)

* unix: protect fork in uv_spawn from signals (Jameson Nash)

* drop only successfully sent packets post sendmmsg (Supragya Raj)

* test: fix typo in test-tty-escape-sequence-processing.c (Ikko Ashimine)

* cmake: use standard installation layout always (Sylvain Corlay)

* win,spawn: allow UNC path with forward slash (earnal)

* win,fsevent: fix uv_fs_event_stop() assert (Ben Noordhuis)

* unix: remove redundant include in unix.h (Juan José Arboleda)

* doc: mark SmartOS as Tier 3 support (Ben Noordhuis)

* doc: fix broken links for netbsd's sysctl manpage (YAKSH BARIYA)

* misc: adjust stalebot deadline (Ben Noordhuis)

* test: remove `dns-server.c` as it is not used anywhere (Darshan Sen)

* build: fix non-cmake android builds (YAKSH BARIYA)

* doc: replace pyuv with uvloop (Ofek Lev)

* asan: fix some tests (Jameson Nash)

* build: add experimental TSAN configuration (Jameson Nash)

* pipe: remove useless assertion (~locpyl-tidnyd)

* bsd: destroy mutex in uv__process_title_cleanup() (Darshan Sen)

* build: add windows build to CI (Darshan Sen)

* win,fs: fix error code in uv_fs_read() and uv_fs_write() (Darshan Sen)

* build: add macos-latest to ci matrix (Ben Noordhuis)

* udp: fix &/&& typo in macro condition (Evan Miller)

* build: install cmake package module (Petr Menšík)

* win: fix build for mingw32 (Nicolas Noble)

* build: fix build failures with MinGW new headers (erw7)

* build: fix win build with cmake versions before v3.14 (AJ Heller)

* unix: support aarch64 in uv_cpu_info() (Juan José Arboleda)

* linux: work around CIFS EPERM bug (Ben Noordhuis)

* sunos: Oracle Developer Studio support (Stacey Marshall)

* Revert "sunos: Oracle Developer Studio support (cjihrig)

* sunos: Oracle Developer Studio support (Stacey Marshall)

* stream: permit read after seeing EOF (Jameson Nash)

* thread: initialize uv_thread_self for all threads (Jameson Nash)

* kqueue: ignore write-end closed notifications (Jameson Nash)

* macos: fix the cfdata length in uv__get_cpu_speed (Jesper Storm Bache)

* unix,win: add uv_ip_name to get name from sockaddr (Campbell He)

* win,test: fix a few typos (AJ Heller)

* zos: use destructor for uv__threadpool_cleanup() (Wayne Zhang)

* linux: use MemAvailable instead of MemFree (Andrey Hohutkin)

* freebsd: call dlerror() only if necessary (Jameson Nash)

* bsd,windows,zos: fix udp disconnect EINVAL (deal)


2021.07.21, Version 1.42.0 (Stable), 6ce14710da7079eb248868171f6343bc409ea3a4

Changes since version 1.41.0:

* doc: fix code highlighting (Darshan Sen)

* test: move to ASSERT_NULL and ASSERT_NOT_NULL test macros (tjarlama)

* zos: build in ascii code page (Shuowang (Wayne) Zhang)

* zos: don't use nanosecond timestamp fields (Shuowang (Wayne) Zhang)

* zos: introduce zoslib (Shuowang (Wayne) Zhang)

* zos: use strnlen() from zoslib (Shuowang (Wayne) Zhang)

* zos: use nanosleep() from zoslib (Shuowang (Wayne) Zhang)

* zos: use __getargv() from zoslib to get exe path (Shuowang (Wayne) Zhang)

* zos: treat __rfim_utok as binary (Shuowang (Wayne) Zhang)

* zos: use execvpe() to set environ explictly (Shuowang (Wayne) Zhang)

* zos: use custom proctitle implementation (Shuowang (Wayne) Zhang)

* doc: add instructions for building on z/OS (Shuowang (Wayne) Zhang)

* linux,udp: enable full ICMP error reporting (Ondřej Surý)

* test: fix test-udp-send-unreachable (Ondřej Surý)

* include: fix typo in documentation (Tobias Nießen)

* chore: use for(;;) instead of while (Yash Ladha)

* test: remove string + int warning on udp-pummel (Juan José Arboleda)

* cmake: fix linker flags (Zhao Zhili)

* test: fix stack-use-after-scope (Zhao Zhili)

* unix: expose thread_stack_size() internally (Brandon Cheng)

* darwin: use RLIMIT_STACK for fsevents pthread (Brandon Cheng)

* darwin: abort on pthread_attr_init fail (Brandon Cheng)

* benchmark: remove unreachable code (Matvii Hodovaniuk)

* macos: fix memleaks in uv__get_cpu_speed (George Zhao)

* Make Thread Sanitizer aware of file descriptor close in uv__close() (Ondřej
  Surý)

* darwin: fix iOS compilation and functionality (Hayden)

* linux: work around copy_file_range() cephfs bug (Ben Noordhuis)

* zos: implement uv_get_constrained_memory() (Shuowang (Wayne) Zhang)

* zos: fix uv_get_free_memory() (Shuowang (Wayne) Zhang)

* zos: use CVTRLSTG to get total memory accurately (Shuowang (Wayne) Zhang)

* ibmi: Handle interface names longer than 10 chars (Kevin Adler)

* docs: update read-the-docs version of sphinx (Jameson Nash)

* unix: refactor uv_try_write (twosee)

* linux-core: add proper divide by zero assert (yiyuaner)

* misc: remove unnecessary _GNU_SOURCE macros (Darshan Sen)

* test: log to stdout to conform TAP spec (bbara)

* win,fs: fix C4090 warning with MSVC (SeverinLeonhardt)

* build: some systems provide dlopen() in libc (Andy Fiddaman)

* include: add EOVERFLOW status code mapping (Darshan Sen)

* unix,fs: use uv__load_relaxed and uv__store_relaxed (Darshan Sen)

* win: fix string encoding issue of uv_os_gethostname (Eagle Liang)

* unix,process: add uv__write_errno helper function (Ricky Zhou)

* Re-merge "unix,stream: clear read/write states on close/eof" (Jameson Nash)

* unix,core: fix errno handling in uv__getpwuid_r (Darshan Sen)

* errors: map ESOCKTNOSUPPORT errno (Ryan Liptak)

* doc: uv_read_stop always succeeds (Simon Kissane)

* inet: fix inconsistent return value of inet_ntop6 (twosee)

* darwin: fix -Wsometimes-uninitialized warning (twosee)

* stream: introduce uv_try_write2 function (twosee)

* poll,win: UV_PRIORITIZED option should not assert (twosee)

* src: DragonFlyBSD has mmsghdr struct too (David Carlier)

* cleanup,win: Remove _WIN32 guards on threadpool (James M Snell)

* freebsd: fix an incompatible pointer type warning (Darshan Sen)

* core: Correct the conditionals for {cloexec,nonblock}_ioctl (Ali Mohammad
  Pur)

* win,tcp: make uv_close work more like unix (Jameson Nash)

* doc: more accurate list of valid send_handle's (twosee)

* win,tcp: translate system errors correctly (twosee)

* unix: implement cpu_relax() on ppc64 (Ben Noordhuis)

* docs: move list of project links under PR control (Jameson Nash)

* test: wrong pointer arithmetic multiplier (Erkhes N)

* doc: switch discussion forum to github (Jameson Nash)

* idna: fix OOB read in punycode decoder (Ben Noordhuis)

* build: make sure -fvisibility=hidden is set (Santiago Gimeno)

* illumos: event ports to epoll (tjarlama)

* illumos,tty: UV_TTY_MODE_IO waits for 4 bytes (Joshua M. Clulow)

* doc: add vtjnash GPG ID (Jameson Nash)

* linux: read CPU model information on ppc (Richard Lau)

* darwin: fix uv_barrier race condition (Guilherme Íscaro)

* unix,stream: fix loop hang after uv_shutdown (Jameson Nash)

* doc,udp: note that suggested_size is 1 max-sized dgram (Ryan Liptak)

* mingw: fix building for ARM/AArch64 (Martin Storsjö)

* unix: strnlen is not available on Solaris 10 (Claes Nästén)

* sunos: restore use of event ports (Andy Fiddaman)

* sunos,cmake: use thread-safe errno (Andy Fiddaman)


2021.02.14, Version 1.41.0 (Stable), 1dff88e5161cba5c59276d2070d2e304e4dcb242

Changes since version 1.40.0:

* mailmap: update contact information for richardlau (Richard Lau)

* build: add asan checks (gengjiawen)

* unix: report bind error in uv_tcp_connect() (Ben Noordhuis)

* doc: uv_tcp_bind() never returns UV_EADDRINUSE (Ben Noordhuis)

* test: fix pump and tcp_write_batch benchmarks (Santiago Gimeno)

* doc: mark IBM i as Tier 2 support (Jesse Gorzinski)

* doc,poll: add notes (repeated cb & cancel pending cb) (Elad Nachmias)

* linux: fix -Wincompatible-pointer-types warning (Ben Noordhuis)

* linux: fix -Wsign-compare warning (Ben Noordhuis)

* android: add system call api guards (Ben Noordhuis)

* unix,win: harmonize uv_read_start() error handling (Ben Noordhuis)

* unix,win: more uv_read_start() argument validation (Ben Noordhuis)

* build: turn on -fno-strict-aliasing (Ben Noordhuis)

* stream: add uv_pipe and uv_socketpair to the API (Jameson Nash)

* unix,win: initialize timer `timeout` field (Ben Noordhuis)

* bsd-ifaddrs: improve comments (Darshan Sen)

* test: remove unnecessary uv_fs_stat() calls (Ben Noordhuis)

* fs: fix utime/futime timestamp rounding errors (Ben Noordhuis)

* test: ensure reliable floating point comparison (Jameson Nash)

* unix,fs: fix uv_fs_sendfile() (Santiago Gimeno)

* unix: fix uv_fs_stat when using statx (Simon Kadisch)

* linux,macos: fix uv_set_process_title regression (Momtchil Momtchev)

* doc: clarify UDP errors and recvmmsg (Ethel Weston)

* test-getaddrinfo: use example.invalid (Drew DeVault)

* Revert "build: fix android autotools build" (Bernardo Ramos)

* unix,fs: on DVS fs, statx returns EOPNOTSUPP (Mark Klein)

* win, fs: mkdir really return UV_EINVAL for invalid names (Nicholas Vavilov)

* tools: migrate tools/make_dist_html.py to python3 (Dominique Dumont)

* unix: fix uv_uptime() on linux (schamberg97)

* unix: check for partial copy_file_range support (Momtchil Momtchev)

* win: bump minimum supported version to windows 8 (Ben Noordhuis)

* poll,unix: ensure safety of rapid fd reuse (Bob Weinand)

* test: fix some warnings (Issam E. Maghni)

* unix: fix uv_uptime() regression (Santiago Gimeno)

* doc: fix versionadded metadata (cjihrig)

* test: fix 'incompatible pointer types' warnings (cjihrig)

* unix: check for EXDEV in uv__fs_sendfile() (Darshan Sen)


2020.09.26, Version 1.40.0 (Stable), 4e69e333252693bd82d6338d6124f0416538dbfc

Changes since version 1.39.0:

* udp: add UV_UDP_MMSG_FREE recv_cb flag (Ryan Liptak)

* include: re-map UV__EPROTO from 4046 to -4046 (YuMeiJie)

* doc: correct UV_UDP_MMSG_FREE version added (cjihrig)

* doc: add uv_metrics_idle_time() version metadata (Ryan Liptak)

* win,tty: pass through utf-16 surrogate pairs (Mustafa M)

* unix: fix DragonFly BSD build (Aleksej Lebedev)

* win,udp: fix error code returned by connect() (Santiago Gimeno)

* src: suppress user_timeout maybe-uninitialized (Daniel Bevenius)

* test: fix compiler warning (Vladimír Čunát)

* build: fix the Haiku cmake build (David Carlier)

* linux: fix i386 sendmmsg/recvmmsg support (Ben Noordhuis)

* build: add libuv-static pkg-config file (Nikolay Mitev)

* unix,win: add uv_timer_get_due_in() (Ulrik Strid)

* build,unix: add QNX support (Elad Lahav)

* include: remove incorrect UV__ERR() for EPROTO (cjihrig)


2020.08.26, Version 1.39.0 (Stable), 25f4b8b8a3c0f934158cd37a37b0525d75ca488e

Changes since version 1.38.1:

* unix: use relaxed loads/stores for clock id (Ben Noordhuis)

* build,win: link to user32.lib and advapi32.lib (George Zhao)

* unix: squelch harmless valgrind warning (ssrlive)

* include: fx c++ style comments warnings (Turbinya)

* build,cmake: Change installation location on MinGW (erw7)

* linux: use copy_file_range for uv_fs_copyfile when possible (Carter Li)

* win,tcp: avoid reinserting a pending request (

* docs: improve the descriptions for get memory info (Juan Sebastian velez
  Posada)

* test: add udp-mmsg test (Ryan Liptak)

* udp: add uv_udp_using_recvmmsg query (Ryan Liptak)

* doc: add more error constants (TK-one)

* zos: fix potential event loop stall (Trevor Norris)

* include: add internal fields struct to uv_loop_t (Trevor Norris)

* core: add API to measure event loop idle time (Trevor Norris)

* win,fs: use CreateDirectoryW instead of _wmkdir (Mustafa M)

* win,nfc: fix integer comparison signedness (escherstair)

* win,nfc: use

* win,nfc: removed some unused variables (escherstair)

* win,nfc: add missing return statement (escherstair)

* win,nfc: disable clang-format for

* darwin: use IOKit for uv_cpu_info (Evan Lucas)

* test: fix thread race in process_title_threadsafe (Ben Noordhuis)

* win,fs: avoid implicit access to _doserrno (Jameson Nash)

* test: give hrtime test a custom 20s timeout (Jameson Nash)

* build: add more failed test, for qemu version bump (gengjiawen)

* unix: handle src, dest same in uv_fs_copyfile() (cjihrig)

* unix: error when uv_setup_args() is not called (Ryan Liptak)

* aix: protect uv_exepath() from uv_set_process_title() (Richard Lau)

* fs: clobber req->path on uv_fs_mkstemp() error (tjarlama)

* cmake: fix compile error C2001 on Chinese Windows (司徒玟琅)

* test: avoid double evaluation in ASSERT_BASE macro (tjarlama)

* tcp: fail instantly if local port is unbound (Bartosz Sosnowski)

* doc: fix most sphinx warnings (Jameson Nash)

* nfci: address some style nits (Jameson Nash)

* unix: don't use _POSIX_PATH_MAX (Ben Noordhuis)


2020.07.04, Version 1.38.1 (Stable), e8b989ea1f7f9d4083511a2caec7791e9abd1871

Changes since version 1.38.0:

* test: use last matching qemu version (cjihrig)

* win, util: rearrange uv_hrtime (Bartosz Sosnowski)

* test: skip signal_multiple_loops test on QEMU (gengjiawen)

* build: add android build to CI (gengjiawen)

* test: extend fs_event_error_reporting timeout (cjihrig)

* build: link libkvm on netbsd only (Alexander Tokmakov)

* linux: refactor /proc file reader logic (Ben Noordhuis)

* linux: read load average from /proc/loadavg (Ben Noordhuis)

* android: remove patch code for below 21 (gengjiawen)

* win: fix visual studio 2008 build (Arenoros)

* win,tty: fix deadlock caused by inconsistent state (lander0s)

* unix: use relaxed loads/stores for feature checks (Ben Noordhuis)

* build: don't .gitignore m4/ax_pthread.m4 (Ben Noordhuis)

* unix: fix gcc atomics feature check (Ben Noordhuis)

* darwin: work around clock jumping back in time (Ben Noordhuis)

* udp: fix write_queue cleanup on sendmmsg error (Santiago Gimeno)

* src: build fix for Android (David Carlier)
2022-09-22 21:20:38 +00:00
mlelstv 75ded7d598 Reference kernel-wide hz constant instead of using a private but possibly
different value.
2022-09-19 22:30:19 +00:00
christos a712ece0cc use tradcpp. 2022-09-19 18:46:06 +00:00
mrg af3faada28 fix defines no longer provided by config.h.
fixes eg, missing "10x20" font for me, but does require fc-cache
and X restarting to fix.
2022-09-14 07:37:05 +00:00
mrg 8c9c14a2c1 add missing showfont(1). remove obsolete comment. 2022-09-11 05:54:00 +00:00
mrg 72676b720f define _CONST_X_STRING like oclock 1.0.5. 2022-09-11 05:50:41 +00:00
rillig e2d76f46e0 wpa_supplicant.8: fix typo 2022-09-10 12:39:06 +00:00
wiz ab1d953c71 grep: when -r is used, but no path argument provided, search the current dir
As discussed on tech-userlevel.
2022-09-09 22:14:28 +00:00
mrg 6b058aa5e8 add missing reallocarray.c. 2022-09-09 19:15:20 +00:00
mrg 65daed00f3 updates for libXfont2 2.0.6. 2022-09-09 03:56:39 +00:00
mrg 1cd7d004e0 updates for libfontenc 1.1.6. 2022-09-09 03:49:19 +00:00
mrg 6e2699387c updates for libFS 1.0.9. 2022-09-09 03:46:29 +00:00
riastradh 37d4d19175 dtrace_fbt: Allow tracing names that start with `__'.
This was never relevant on FreeBSD and I don't think it is relevant on
NetBSD either.  The FreeBSD change to lift this restriction had the
following comment:

    r306570 | markj | 2016-10-02 00:35:00 +0000 (Sun, 02 Oct 2016) | 7 lines

    Allow tracing of functions prefixed by "__".

    This restriction was inherited from upstream but is not relevant on FreeBSD.
    Furthermore, it hindered the tracing of locking primitive subroutines.
2022-09-02 11:03:50 +00:00
riastradh c5301d0824 dtrace_sdt: Fix bug in builtin module reference counting.
Don't module_hold(NULL)!  This mistake was introduced in my attempt
to get dtrace working for sdt probes defined in non-builtin modules
like zfs.
2022-08-31 12:34:04 +00:00
riastradh 03cefdfdcf etc: Fix permissions of various editable configuration files.
This way they match the mtree and make sense and don't cause editors
to ask to override read-only files when editing them.

Exception: Not sure /etc/bluetooth/protocols makes as much sense to
edit, but the mtree says 644, so if you want to change it, make sure
to change it in both places -- Makefile and mtree.

XXX pullup-8
XXX pullup-9
2022-08-30 13:40:37 +00:00
hgutch ec184f3bfb Change back various occurrences of \*[Le], \*[Ge] (less/greater equal)
and \*(ua (upwards arrow) to literal "<=", ">=" and "^" whenever
appropriate (e.g., in code examples).
2022-08-28 10:48:15 +00:00
dholland a611fd1e16 Attach tradcpp to the build. 2022-08-27 21:53:38 +00:00
dholland 31615c9617 Import tradcpp 0.5.3 2022-08-27 21:46:47 +00:00
christos ee0de9e6fd pass lint on vax (avoid zerodivide) 2022-08-27 08:30:04 +00:00
christos deb1251144 remove long cast (thanks RVP) 2022-08-24 05:01:13 +00:00
christos 46f3b50fca fix pointer bug (thanks RVP) and change to use 64 bit times. Don't bother
with backwards compatibility; too much work for little benefit.
2022-08-23 07:42:28 +00:00
riastradh 72797797ee dtrace/i386: Need machine/cpufunc.h for x86_read_flags and rcr2. 2022-08-21 18:58:45 +00:00
rin 8de68ddd0b wsfb: Disable broken DGA support:
- dga(1) crashes X server since pScrn->AdjustFrame is NULL.
 - If nop is provided as pScrn->AdjustFrame, dga(1) crashes X server *AND*
   kernel. This is because DGA uses physical address of framebuffer via
   /dev/mem (oops!), but we provide only mmap(2)'ed virtual address.
2022-08-20 01:02:44 +00:00
nia 5a307d8d65 xdm: Include "sbin" directories (and games) in DEF_USER_PATH.
Upstream's configure.ac picks a DEF_USER_PATH on a per-OS basis.

Most of these include the "sbin" directories, with NetBSD being the
(only?) exception.

However, this is inconsistent with the way a typical login shell is
initialized (when using the default skeleton files).  To avoid user
confusion, harmonize DEF_USER_PATH with our other defaults and with
other OSes.

PR xsrc/54851
2022-08-19 15:55:36 +00:00
kre 2abf329ab8 Add support for fetching and using the Global Time Zone fork of tzdata
in addition to the older (Eggert) version.   The GTZ vesion is the one
we're currently using, so automating its use helps.

While here, correctly compare version numbers, correctly handling the
almost unthinkable need for a multi-char suffix after the year as the
version ID.  This was almost correct before, but would have failed in
the case that 9999za was being updated to 10000a

And add the ability (should not be needed often) to fetch one version
but claim to be using another (this was useful this time, as 2022c
followed quickly on the heels of 2022b - but made no changes at all
to the data, just some of the build infrastructure we don't use).
The GTZ version hadn't been updated (there was no real need, since the
data, which is all that it alters, had not changed) at the time, so
we updated to 2022c using the gtz data file for 2022b.  (The 2022cgtz
data file now exists - but didn't then).
2022-08-17 14:32:34 +00:00
kre 803ba5bec7 Merge tzdata2022c 2022-08-17 12:19:41 +00:00
kre 42358e2459 Import tzdata2022c from https://github.com/JodaOrg/global-tz/releases/download//2022bgtz/tzdata2022bgtz.tar.gz
Summary of changes in tzdata2022c (2022-08-15 17:47:18 -0700):
  * None.

Summary of changes in tzdata2022b (2022-08-10 15:38:32 -0700):
  * Chile's 2022 DST start is delayed from September 4 to September 11.
  * Iran plans to stop observing DST permanently, after it falls back
    on 2022-09-21.
  * From fall 1994 through fall 1995, Shanks wrote that Crimea's
    DST transitions were at 02:00 standard time, not at 00:00.
  * Iran adopted standard time in 1935, not 1946.
  * Chile's observance of -04 from 1946-08-29 through 1947-03-31 was
    considered DST, not standard time.
  * Some old, small clock transitions have been removed, as people at
    the time did not change their clocks.
2022-08-17 12:17:43 +00:00
mrg 3deaa47e2d fix the man page generation, noted by uwe@ 2022-08-16 22:44:06 +00:00
kre 6fd15c9e7d Change the NEWS parser to handle the more recent (as in going back several
years now) format (wording) that is used there, rather than that which
preceded it.   With this we get the intended "what changed" in the generated
CVS commit message, rather than lots of emptiness.
2022-08-16 13:23:12 +00:00
kre 72cc3a624f Correct a typo in a comment. NFC. 2022-08-16 13:19:41 +00:00
mrg a14297961e install new xorgproto files. 2022-08-12 07:35:55 +00:00
riastradh dead83d64a bsd.kmodule.mk: Build modules with KDTRACE_HOOKS if MKDTRACE=yes. 2022-08-07 23:42:09 +00:00
riastradh 81efaf9e90 dtrace_sdt: Register sdt providers and probes in loaded modules too. 2022-08-07 20:47:05 +00:00
chs 02f91ef077 change the ARC reclaim code to use the pagedaemon's free page target
rather than having a separate target.
2022-08-03 01:53:06 +00:00
riastradh e3c82a0cc6 solaris: Give threads less bad names. 2022-07-30 13:09:19 +00:00
riastradh d3d72cee9c osnet: Stop disabling dtrace probes. 2022-07-30 13:03:05 +00:00
riastradh c24f208cc5 zfs: Give condvars more meaningful names.
These will be truncated to 16 characters, but hey, better'n `zfscv'.
2022-07-30 12:59:31 +00:00
rin 0d696ff8f8 Revert our local fix for GCC 10.3 introduced in rev. 1.25:
http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c#rev1.25

The problem has been fixed differently by upstream:
- master: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=77eccbf39ed55297802bb66dff5f62507a7239e3
- gcc-10: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=6142d65f4f528067f31e86bb97c07a661f2d66e7

No regression observed for ATF on oea (sandpoint), booke (evbppc), and
405 (evbppc). The system boots successfully on 403 (evbppc).
2022-07-24 10:53:17 +00:00
nia 469d372e5b ctwm_app_menu: Various shell script optimization suggestions by kre@. 2022-07-24 07:38:15 +00:00
mrg be53bacd52 regen 2022-07-23 19:05:14 +00:00
mrg 8306b1360a arm64 needs additional lse.S builds with GCC 10.4.0. 2022-07-22 21:59:11 +00:00
mrg 96ca164f32 revert the previous; atomicity.cc is also built into here. 2022-07-22 21:51:08 +00:00
mrg 343972289b atomicity.cc has moved into libsupc++ for everyone.
this was a workaround we applied for sparc in PR#54660, and
now is used for all platforms.
2022-07-22 21:28:32 +00:00
mrg e017c8d29d regen everything for GCC 10.4.0. 2022-07-22 21:10:26 +00:00
mrg 9f30ce74df merge GCC 10.4.0. 2022-07-22 20:22:33 +00:00
mrg a448f87c37 initial import of GCC 10.4.0 sources.
mostly a large list of PRs fixed (210 total), plus one x86-64
specific change related to MMX and 64 bit integer return.

https://gcc.gnu.org/gcc-10/changes.html links to the full list
of PRs fixed.
2022-07-22 19:52:30 +00:00
mrg 0f1671f24f initial import of GCC 10.4.0 sources.
mostly a large list of PRs fixed (210 total), plus one x86-64
specific change related to MMX and 64 bit integer return.

https://gcc.gnu.org/gcc-10/changes.html links to the full list
of PRs fixed.
2022-07-22 19:52:28 +00:00
nia fdf6cf6310 ctwm_app_menu: Work around "emacs being installed results in the
generated ctwmrc containing invalid syntax" problem. Emacs installs
a desktop file called "emacsclient" that contains "doublequotes"
in its exec string. Pending a better solution for dumping escaped
shell lines into the config file, hide or sanitize desktop entires
that might mess up the internal ctwmrc quoting rules.
2022-07-22 17:06:46 +00:00
wiz 5bea87492d Build and install pkgconfig files for liblzma and libarchive 2022-07-22 15:43:36 +00:00
mrg c38f6a9699 fix missing components of c++17.
codecvt.cc was already present and handled for c++98 and c++11,
but cow-string-inst.cc, ostream-inst.cc, and string-inst.cc
were not handled for c++11 and c++17.

move all the handling of this into the Makefiles out of the
mknative-gcc output, and handle the new c++17 files.

fixes a problem reported by dholland.
2022-07-22 07:09:21 +00:00
mrg 6d5d98fc8a build glamoregl module with all the glamor objects, not as part of
the base list of libraries.  noted by rjs.

should fix PR#56934.
2022-07-21 22:51:23 +00:00
mrg e8a7f03a01 fix driver list for sgimips, make Xsun and Xvfb build. 2022-07-15 19:12:39 +00:00
mrg fc98c49922 add pool usage to the output, sharing the line with swap data.
looks like, eg:

Swap: 64G Total, 135M Used, 64G Free / Pools: 16G Used


future work:  figure out the utilisation percentage like vmstat -m
2022-07-15 06:39:06 +00:00
mrg f646fa3483 adjust the list of drivers per platform / xorg-server version for 21.1.3.
while here, remove x86 support for xorg-server 1.10.  the set lists were
out of date for ages, and have also been cleaned up.

the tga, trident, and s3 drivers are disabled for xorg-server 21.1.3, on
top of the various previously disabled for newer server drivers.
2022-07-15 04:53:05 +00:00
mrg a4d0ab717b various updates to build with xorg-server 21.1.3.
- the s3, tga, and trident drivers use old functionality and are disabled
- dixmods/fb is removed, main fb has all these now (we retain our revert
  of an upstream change here.)
- adjust source lists as necessary
- remove vbe module, now part of int10
- use -lxcvt
- misc clean up
- ramdac loses IBM, BT and TI support (this is one of the problems for
  the disabled drivers, but also some structures in RamDac.h are gone
  entirely, not copied anywhere.)
- old apm code is gone, all bsd uses pm_noop. now

this probably require a clean build in at least xorg-server and the
drivers, and perhaps the DESTDIR as well.  will update src/UPDATING with
details when they are fully known.
2022-07-15 04:18:54 +00:00
mrg a3359e02e7 build cvt here. 2022-07-14 18:52:23 +00:00
mrg dbe1f050e5 doin't build cvt(1) here any more. 2022-07-14 07:42:11 +00:00
mrg dcf0b487fd build and install libxcvt, and it's cvt(1). 2022-07-14 07:41:49 +00:00
mrg 919e12fff4 enable thread safety constructor. 2022-07-14 07:40:48 +00:00
mrg 46f79af360 build framework for libxcvt (needed for xorg-server 21.x).
doesn't work quite yet.  lib/libxcvt can't find sources for
some odd reason.
2022-07-14 03:48:34 +00:00
mrg 5c9594da79 don't build newly obsolete xf86vidmode.h. 2022-07-12 02:53:11 +00:00
mrg b48426e3c2 updates for generated files. 2022-07-12 02:44:09 +00:00
mrg b670aa2e3e updates for libxcb 1.15.
(try to make xcbgen work here still, but still doesn't quite work.)
2022-07-12 02:43:46 +00:00
mrg aa2058c01b build the combined cirrus driver. 2022-07-12 02:42:40 +00:00
mrg 939d0e6b06 updates for libdrm 2.4.112. 2022-07-11 19:33:33 +00:00
mrg e2e17e77f4 updates for twm 1.0.12. 2022-07-11 09:16:06 +00:00
mrg a0326061d5 link in xrandr. 2022-07-11 08:51:22 +00:00
mrg f0bc2a3c28 find new bitmaps location. 2022-07-11 08:05:08 +00:00
uwe 375d892ebc awk(1): Fix incomplete edit. Bump date. 2022-07-05 22:50:43 +00:00
rillig 9f20f1d6fa awk.1: add articles, remove 'shall' 2022-07-05 22:20:55 +00:00
rillig b9b802f2b0 awk.1: fix typo 2022-07-05 22:07:20 +00:00
uwe 5305d6f737 awk(1): consistent Capitalization. 2022-07-05 18:40:03 +00:00
uwe 628a87c5aa awk(1): Empty parens of length() be omitted.
Mark up length[([string])] description accordingly (like POSIX does).
Adjust the length example to demonstrate this.
2022-07-05 18:18:48 +00:00
uwe aa708eb2ec awk(1): Another echo(1) example that demonstrates field assignment 2022-07-05 17:58:47 +00:00
uwe 3fd9f4ec12 awk(1): Use .It Xo Fo trick to format optional arguments correctly 2022-07-05 16:59:41 +00:00
uwe 79c59330dd awk(1): Document /dev/stdin &c magic names (NB: unrelated to fd(4)) 2022-07-05 16:21:35 +00:00
uwe cd08e114e1 awk(1): Factor out output redirection for print and printf.
This makes the description way less cluttered and explicitly shows
"| expr" (that was mentioned, but not written out) and ">> file" (that
was not even mentioned at all).  Adapted from the POSIX wording, but
doesn't bring over all the detailed verbiage.
2022-07-05 15:56:42 +00:00
uwe e92fc1cc7e awk(1): A few more formatting tweaks to inlibe code bits and pieces 2022-07-05 15:35:53 +00:00
uwe 87c13de339 awk(1): Fix editing accident in one of the previous commits. 2022-07-05 15:28:02 +00:00
uwe 1e388e4cea awk(1): Drop whitespace between initials
P.J. requires thin space, for other - V and W has enough natural space
near the bottom (the intervening dot prevents kerning).
2022-07-05 15:27:14 +00:00
uwe 7dbb986ee1 awk(1): more formatting nits 2022-07-05 15:21:39 +00:00
uwe cb70ac6a62 awk(1): drop POSIX prescriptive "shall" from the otherwise descriptive passage 2022-07-05 14:36:33 +00:00
uwe de2b19da7a awk(1): Fix mark up of inline code, the easy cases for now. 2022-07-05 14:10:09 +00:00
uwe b7c8f49c00 awk(1): mark up $<n> properly - '$' is an unary op, not part of the name 2022-07-05 13:48:07 +00:00
uwe 7bf4dc70f9 awk(1): document programs that only has BEGIN and/or END pattern-actions.
Copied from POSIX, except "getline" is a statement, not a function, so
call it that.
2022-07-05 13:29:18 +00:00
uwe fd9ac8923c awk(1): document what assigning to $0 and $<n> does 2022-07-05 13:21:38 +00:00
uwe 81d2993237 awk(1): mark up var=value properly 2022-07-05 13:05:20 +00:00
uwe 8ccdd972f6 awk(1): Fix -width.
"indent" (or misspelings thereof) is not a magic value for -width.
2022-07-05 12:59:01 +00:00
uwe 06fd90beaf awk(1): g/c extraneous space in an example 2022-07-05 12:46:48 +00:00
uwe 196509a057 awk(1): use official echo example from POSIX 2022-07-05 00:47:32 +00:00
rillig 7ec6419d33 awk.1: revert changes to example 'echo' program
I had removed the exit statement in the strong belief that POSIX had
specified that an AWK program consisting of only a BEGIN block would
implicitly exit after the BEGIN block.  This assumption was wrong.
There are several implementations that implement this special case
though.

https://mail-index.netbsd.org/source-changes-d/2022/07/03/msg013718.html
2022-07-04 18:07:41 +00:00
rillig 6b77ac6673 libXaw: suppress lint warnings about pointer casts
Typical example:

TextAction.c(373): warning:
    pointer cast from 'pointer to struct _WidgetRec'
    to 'pointer to struct _TextRec' may be troublesome [247]
2022-07-03 14:09:22 +00:00
rillig 973649f2bc awk.1: remove trailing space in output of 'echo' example program 2022-07-03 10:56:22 +00:00
christos ec01565c69 downgrade from LOG_ERR to LOG_DEBUG, requested by uwe@ 2022-06-27 16:44:58 +00:00
rin b9429f260c PR toolchain/56268
For NetBSD/m68k, program header is erroneously readable from core dump,
although a page containing it is missing. This spoils relocation for
the main executable, and debugging with core dumps becomes impossible,
as described in the PR.

In order to avoid this failure, add consistency check for program header;
for NetBSD, 1st entry of program header refers program header itself. If
this is not the case, we should be reading random garbage from core dump.

Yes, this is a kind of the hackest hack. But, unable to debug with core
dump is critical. Therefore, I commit this workaround temporarily until
the real cause is found and fixed.

Note that this is not a recent regression for GDB nor kernel, as
mentioned in the PR. These from netbsd-8 and -9 fail in the same way
without this hack.
2022-06-26 08:28:07 +00:00
rin 33bbb384fc PR port-powerpc/56899
Disable 128-bit long double for NetBSD/powerpc.
2022-06-26 05:55:30 +00:00
rin 85b2a9ecdc PR port-powerpc/56899
In addition to ``powerpc'', register NetBSD OS ABI also for ``rs6000'',
which is default target for powerpc.
2022-06-26 05:52:43 +00:00
rin 5900762b3f Regen for everyone, except for coldfire, for which toolchain does
no longer build...

> Part of PR port-powerpc/56899
>
> Set default OS ABI to NetBSD when target is *-*-netbsd*.
>
> This fixes default behaviors of GDB when no executable is loaded
> (== OS ABI is not determined yet).
2022-06-26 05:48:06 +00:00
rin eb44a997af Part of PR port-powerpc/56899
Set default OS ABI to NetBSD when target is *-*-netbsd*.

This fixes default behaviors of GDB when no executable is loaded
(== OS ABI is not determined yet).
2022-06-26 05:44:28 +00:00
hgutch e1596a186e Cherry-picking two upstream commits[1,2] to fix tools build under gcc 12
if MKCROSSGDB is set.  Without these, gcc 12 correctly points out that
certain checkr for pointers being NULL are always false and errors out
due to -Werror=nonnull-compare/-Werror=address (implicitly set by -Wall).

Build failure reported by Piyush Sachdeva.

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=fb6262e8534e0148a4a424e9e5138159af19faf1;hp=f681e5867de63f1c8ca692023cf86e4c884fdae7
[2] https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=da7ee7f9ce2fc8c278a46e0b360d44319a5a1e7a;hp=cb2e519a5e41052a4dd55be4f1c4d818d2e8af9d
2022-06-25 17:46:05 +00:00
christos 1e12237fc9 Fix readelf: Error: LEB value too large when running:
readelf --debug-dump /usr/libdata/lib/libc.so.X.Y.debug
Apply patch from:
    https://www.mail-archive.com/bug-binutils@gnu.org/msg35315.html
affects objdump, readelf.
2022-06-17 16:45:22 +00:00
christos d714e8afed Remove comment explaining why the code was disabled before (Jose Luis Duran) 2022-06-13 15:00:20 +00:00
christos 123a18fe3d Handle 0 sized messages (Jose Luis Duran) 2022-06-12 17:54:15 +00:00
christos 029f8ccd89 fix usage for ctl too (Jose Luis Duran) 2022-06-11 19:23:26 +00:00
christos f29041209b fix usage error (Jose Luis Duran) 2022-06-11 19:15:58 +00:00
martin afcc043fd7 PR 56874: avoid using uninitialized memory, patch from Tom Lane. 2022-06-10 06:06:00 +00:00
nia b7957d1677 build system: Revert all the recent additions of MK[...] knobs that
allow conditionally disabling the building of certain user space
programs in the 'base' set.

There is not enough consensus that this is the right way and a few
people had strong objections, see source-changes-d@.
2022-06-06 10:56:27 +00:00
gutteridge 7e1677552f ipf(8): document all -l options
References to "none", "state", and "nat" were missing in places.
Addresses PR bin/36763 from Wolfgang Stukenbrock.
2022-06-03 21:43:37 +00:00
christos 5f34f68b67 fix lint build on vax 2022-05-31 17:52:35 +00:00
nia 8469593b52 mk: Add a MKPPP flag to exclude pppd(8) and related utilities from
the build
2022-05-29 08:09:59 +00:00
nia f2e2da3feb mk: Add MKNTP, MKTCPDUMP knobs. 2022-05-28 11:17:35 +00:00
nia fb225dba9f ctwmrc: Use a slightly more muted orange color. 2022-05-27 17:04:16 +00:00
mlelstv d34fb3e756 Literal backslashes need to be quoted for roff. 2022-05-26 08:06:58 +00:00
nia f52526086f mk: Allow setting MKDHCPD=no to build base without the ISC DHCP server,
useful for embedded images that don't need to act as one.
2022-05-25 20:44:01 +00:00
nia 5571bd7a34 xdm: Revert font changes. Requested by martin.
In addition, we must lower innerFramesWidth to prevent the new-old
fonts from causing the two text input boxes to overlap. xdm really
could be more clever about text layout...

PR xsrc/56855
2022-05-24 14:53:15 +00:00
riastradh 5784999e1a argon2: Silence -Wmissing-noreturn in thread.c on clang.
Saves the trouble of patching it away in external code.
2022-05-21 19:57:06 +00:00
christos 5fc96d7ad8 Move guts of the Makefile into Makefile.inc so it can be re-used. 2022-05-17 18:55:41 +00:00
nia 90ea1fc35b ctwmrc: Turn off sysinst menu item for now, it requires root for most
functions and users likely aren't running X as root.  Also turn off
the xman menu item until a custom greeter screen can be imported
(also note apropos is broken)...
2022-05-16 04:52:11 +00:00
mrg c90a6d284e install the lower case radeon firmware files into /usr/libdata/firmware.
radeon has different case but same name firmware files.  the lower case
ones are already installed into /libdata/firmware, and to avoid having
to provide some special method to build on systems with case-preserving
file systems (such as macOS), we install the lower case ones in /usr.

this means that anyone that requires the lower case files must either
have /usr as part of the / file system, or manually keep them updated.

last part of PR#54976, though i doubt we'll try to pull up these.

this is enabled on i386, amd64 and arm64.
2022-05-15 00:24:14 +00:00
mrg 659c8d4b87 install the lower case radeon firmware files into /usr/libdata/firmware.
radeon has different case but same name firmware files.  the lower case
ones are already installed into /libdata/firmware, and to avoid having
to provide some special method to build on systems with case-preserving
file systems (such as macOS), we install the lower case ones in /usr.

this means that anyone that requires the lower case files must either
have /usr as part of the / file system, or manually keep them updated.

not yet hooked into build.

part of PR#54976, though i doubt we'll try to pull up these.
2022-05-14 20:54:31 +00:00
mrg 227c529796 initial import of the lower-case radeon firmware files.
these share the same license as amdgpu-firmware, so keep them in
the same license subdir.

skip importing the upper case ones that are already available
in sys/dev/microcode.
2022-05-14 20:49:57 +00:00
rillig a1f9277b31 libdns: suppress a few lint warnings that occur too often 2022-05-14 11:43:25 +00:00
rillig f6f9bb2e4a libxcb: suppress lint warnings that are not useful 2022-05-14 11:26:23 +00:00
rillig b6f12bc4a7 libmpc: suppress wrong lint warnings 2022-05-14 11:12:31 +00:00
brad 3cdfb747ad Add LINKS and MLINKS to the ddns-confgen Makefile to provide
tsig-keygen.  This helps to allow pkgsrc/security/acmesh to function
and should be provided in all BIND >= 9.13 installs anyway.
2022-05-13 16:39:32 +00:00
nia e4c090d717 ctwmrc: Split the automatically generated pkgsrc applications menu
into categories similarly to MATE and Xfce.
2022-05-09 15:05:18 +00:00
nia 428952f0d5 ctwmrc: Use ISO8859-1 for displaying manual pages in xman, because it
gets us some commonly used symbols. xman doesn't grok UTF-8.
2022-05-09 07:15:25 +00:00
jkoshy 5498ebb8e7 Merge from upstream [r3984]: allow the use of the generated
'elfdefinitions.h' file in compilation environments lacking
C99 headers.
2022-05-08 17:28:14 +00:00
nia 9c6935cee5 ctwmrc: make menus more fun, accomodate clock being spawned on startup 2022-05-08 08:20:16 +00:00
nia 8b458fe966 Add RCSID to Xresources config. Use the B/W NetBSD logo on B/W displays. 2022-05-07 06:31:39 +00:00
nia fcccc60ad1 xdm: Match the default ctwm theme. 2022-05-05 15:26:11 +00:00
chs 28cd7476b4 fix ARC checks for available memory:
there's an extra check that we inherited from FreeBSD that tries to
detect KVA exhaustion on platforms with limited KVA, but the condition
that decided whether to use the extra check was using a FreeBSDism
that doesn't exist on NetBSD, resulting in this check being used on
all platforms.  on amd64 systems with lots of memory, this extra check
would result in the ARC thinking that it constantly needed to reclaim memory,
resulting in all the xcall threads running all the time but not doing
anything useful.  change this condition so that this extra check for
KVA exhaustion is only used on 32-bit platforms.  fixes PR 55707.
2022-05-04 15:49:55 +00:00
jkoshy 2dc6aafac8 Add a script from upstream that assists with importing upstream
Elftoolchain sources.
2022-05-04 11:07:43 +00:00
jkoshy 55387571fd Catch up with Elftoolchain head: changes to support 'tools' builds
out of the box.
2022-05-03 16:47:15 +00:00
uwe d9b6d5a181 libXcursor: Add missing MLINKS. 2022-05-03 13:46:22 +00:00
uwe f33c454aa5 xorg-server: Add xorg.conf.d(5) MLINKS. 2022-05-03 12:53:51 +00:00
jkoshy fde05ead87 Minor: fix a typo. 2022-05-03 12:09:19 +00:00
uwe dbbde5bcaf libXrandr: Add missing MLINKS. 2022-05-03 00:29:23 +00:00
jkoshy 4a1c2f9704 Catch up with Elftoolchain upstream <r3980>. 2022-05-02 20:27:43 +00:00
jkoshy 9df6d2eefa Follow FreeBSD revision <0e15d9fbeba4> and simplify #ifdef'ed code.
This change avoids redefining 'SHN_SUNW_IGNORE' if the symbol is already
present.
2022-05-02 20:09:48 +00:00
uwe a1b3837fd8 xterm: Try to make manpage substitutions more readable.
Use X11EXTRAMANTRANSFORMS to set most of them, so that the sed(1)
syntax noise doesn't drown out the keys/values.  Add comments.

Keep using X11EXTRAMANDEFS for __app_version__ - my make-fu is too
weak to figure out how to do that properly while keeping happy
multiple levels of quoting along the way.

Same output is generated.
2022-05-02 10:50:02 +00:00
jkoshy d9c2ca1f96 Add NetBSD version control markers. 2022-05-02 09:43:23 +00:00
uwe 336105f8be xterm(1): Add substitution for __double_buffer__ 2022-05-01 23:24:34 +00:00
uwe 2c85024b98 libX11: Install Compose(5) manual page. 2022-05-01 22:54:59 +00:00
jkoshy 41230fd906 Remove trailing whitespace from upstream revision strings.
No functional change.
2022-05-01 19:41:35 +00:00
jkoshy 3ee194030b Remove trailing whitespace from upstream revision strings to reduce
diffs against upstream.

No functional change.
2022-05-01 17:20:47 +00:00
uwe 70503e8c99 libX11: Add missing MLINKS. 2022-05-01 13:45:46 +00:00
macallan adaa0690d9 add locations where pkgsrc installs X11 fonts to the default font path 2022-04-28 03:07:44 +00:00
gutteridge db7f4d8575 Update firmware for Intel Centrino Advanced-N 6205 WiFi cards
Use the final version of firmware provided for these cards. This has
been tested with both variants of impacted iwn(4) cards (6005_2X2_1 and
6005_2X2_2, as found in a Dell E6230 and a Lenovo T420), improvements
noted.
2022-04-25 02:29:13 +00:00
rillig 1d4fad0d65 sqlite: suppress a few lint warnings 2022-04-19 22:40:45 +00:00
rillig eb8885e7df liblua: ignore a few lint warnings 2022-04-19 22:00:53 +00:00
hannken 89ddb8af18 Unlock vnode for VOP_IOCTL(). 2022-04-16 07:56:45 +00:00
christos f407d9293b Merge conflicts between dhcp-4.4.2P1 and dhcp-4.4.3 2022-04-03 01:10:57 +00:00
christos 41e8421f37 Import dhcp-4.4.3
Changes since 4.4.2-P1 (New Features)

- Two new OMAPI function calls were added, `dhcpctl_timed_connect()`
  and `dhcpctl_timed_wait_for_completion()`. These provide timed
  versions of creating a connection and waiting for an operation
  to complete.
  [GitLab #76]

- The BIND libraries have been updated to the latest version, 9.11.36.
  This fixes a number of compilation issues on various systems, including
  OpenWRT. Thanks to Philip Prindeville for testing on OpenWRT.
  [GitLab #218, #171, #180, #192]

- Support was added for the new DHCPv4 option v6-only-preferred, specified
  in RFC 8925. A new reason code, V6ONLY, was added to the client script
  and the client Linux script sample was updated.
  [GitLab #132]

		Changes since 4.4.2-P1 (Bug Fixes)

- Minor corrections were made to allow compilation under gcc 10.
  [GitLab #117]

- The logic in dhclient that causes it to decline DHCPv4 leases if the
  client script exits abnormally (i.e. crashes) has been corrected.
  [GitLab #123]

- The limit on the size of a lease file that can be loaded at startup
  is now only enforced on 32-bit systems.
  [GitLab #92]

- The PRNG initialization has been improved. It now uses the configure flag
  `--with-randomdev=PATH`, which specifies the device from which to read the
  initial seed. That is typically `/dev/random` (the default value) or
  `/dev/urandom`, but may be specified otherwise on the local system. The old
  behavior can be forced by disabling this feature (`--with-randomdev=no`).
  If the initialization is disabled or reading from the random device fails,
  the previous algorithm (retrieve the last four bytes of hardware addresses
  from all network interfaces that have them, and use the current time and
  process ID) is used.
  [GitLab #197]

- A minor dhclient code fix was made to remove compilation warnings.
  [GitLab #190]

- The hard-coded MD5 algorithm name was removed in OMAPI connection logic.
  Previously, using any other algorithm via a key-algorithm statement would
  allow OMAPI connections to be made, but subsequent actions such as updating
  an object would fail.
  [GitLab #148]

- The parallel build has been improved. Thanks to Sergei Trofimovich for
  the patch. The parallel build is still experimental, as officially the
  BIND 9 code does not support the parallel build for libraries.
  [GitLab #91]

- Handling of LDAP options (`ldap-gssapi-principal` and `ldap-gssapi-keytab`)
  has been improved. This is contributed code that has not been tested by ISC.
  Thank you to Petr Mensik and Pavel Zhukov for the patches!
  [GitLab !56,!75]

- It is now possible to use `option -g ipaddr` in the dhcrelay to replace the
  giaddr sent to clients with the given ipaddr, to work around bogus clients
  like Solaris 11 grub which use giaddr instead of the announced router (3)
  to set up their default route. Thanks to Jens Elkner for the patch!
  [GitLab #223, !86, !92]
2022-04-03 01:08:35 +00:00
christos 41fac1e5ad Add link our policy. 2022-03-30 16:34:27 +00:00
riastradh e7bed28911 driver(9): devsw_detach never fails. Make it return void.
Prune a whole lotta dead branches as a result of this.  (Some logic
calling this is also wrong for other reasons; devsw_detach is final
-- you should never have any reason to decide to roll it back.  To be
cleaned up in subsequent commits...)

XXX kernel ABI change to devsw_detach signature requires bump
2022-03-28 12:33:20 +00:00
christos 884c22fa28 add a kauth vnode check for adding links 2022-03-27 16:26:26 +00:00
kre 896f0a3aa5 Updated to tzdata2022agtz which is a 2022a fork with backzone zones
moved back into the main data repo (restoring old data)
2022-03-20 18:22:20 +00:00
kre bf2397dc69 Merge tzdata2022agtz 2022-03-20 18:20:19 +00:00
kre bd24288b0f Import tzdata2022agtz
not from ftp://ftp.iana.org/tz/releases/tzdata2022agtz.tar.gz
   (2022a comes from ftp://ftp.iana.org/tz/releases/tzdata2022a.tar.gz)

Note that 2022agtz is mechanically derived from 2022a by moving back
zone data from the "backzone" file that had been removed as "redundant"
(because differences to some other zone are all prior to 1970) so that
this pre 1970 data is restored.   It isn't necessarily correct in all
cases, but it is usually better than using some other zone's data which
is just as likely to be incorrect for where it applies, and more so elsewhere.

Summary of changes in tzdata2022a (2022-03-15 23:02:01 -0700):
  * Palestine will spring forward on 2022-03-27, not 2022-03-26.
  * From 1992 through spring 1996, Ukraine's DST transitions were at
    02:00 standard time, not at 01:00 UTC.
  * Chile's Santiago Mean Time and its LMT precursor have been adjusted
    eastward by 1 second to align with past and present law.
  * Changes to commentary.
2022-03-20 17:59:48 +00:00
riastradh 4e7bd1dfb2 osnet: Delete dead #if 0 code using hardclock_ticks. 2022-03-18 23:32:14 +00:00
jkoshy cdbf1fe1d8 Sync libdwarf's manual pages with upstream [r3964]. 2022-03-14 20:50:48 +00:00
mrg 131540c824 apply some NetBSD_Disabled_make.info: love to avoid a source tree
timestamp issue with read-only sources.  fixes PR#42497.
2022-03-14 05:50:08 +00:00
jkoshy 3f622274cf Sync libelf's manual pages with upstream [r3963]. 2022-03-12 21:37:55 +00:00
christos 4c1242d0cd fix reversed test 2022-03-11 16:24:22 +00:00
christos e125d769e2 Don't try to install compat plugins; they are not useful since we don't
build compat named.
2022-03-11 13:39:01 +00:00
mrg 55bbcc605b comment filter-aaaa.so.debug for now. it's not installed normally
and will need a special rule, left as an exercise to the reader.

make plugins .WAIT on everything else.
2022-03-07 09:23:20 +00:00
mrg 896c379021 fix build when the tree hasn't been built already. LIB wasn't defined
by the time Makefile.inc is included, and the wrong thing happens.
2022-03-07 07:53:08 +00:00
mrg 2bd052e5d8 enter the bind plugins library dir, and also add missing set lists.
fixes building sets for at least vax.
2022-03-07 07:07:55 +00:00
christos aaa1857f42 Makefile for plugins 2022-03-06 17:50:19 +00:00
joerg 2a95db84d8 When MKDEBUG is use, build LLVM with -g1 to significantly reduce debug
information. This still includes types and line tables, but skips e.g.
local variables and inline tracking.
2022-02-28 16:30:10 +00:00
riastradh e468962b6a lockstat(4): KNF. No functional change intended. 2022-02-27 14:16:32 +00:00
riastradh d3ab1269bf lockstat(4): Membar audit.
- Serialize updates to lockstat_enabled, lockstat_dev_enabled, and
  lockstat_dtrace_enabled with a new __cpu_simple_lock.

- Use xc_barrier to obviate any need for additional membars in
  lockstat_event.

- Use atomic_load/store_* for access that might not be serialized by
  lockstat_lock or lockstat_enabled_lock.
2022-02-27 14:16:12 +00:00
martin 5aadf4103d Do not assume we have a SYS_getrandom for the tools build. 2022-02-27 12:27:22 +00:00
christos 8cb2545f45 don't require arc4random_buf for tools build 2022-02-26 18:49:42 +00:00
christos fe40cc2899 explain CRON_WITHIN better. 2022-02-26 17:02:47 +00:00
christos e60236d7f0 re-enable getrandom for the non-tools build (thanks martin) 2022-02-26 15:40:09 +00:00
christos c7718d483a ah, wiz added another endif. 2022-02-26 13:17:39 +00:00
christos a6b78e7572 remove stray #if 0 2022-02-26 13:15:18 +00:00
martin 3e1a285a2f Try to fix the build: HAVE_GETRANDOM does not compile 2022-02-26 10:16:35 +00:00
wiz af8a5f6d21 libexpat: add matching #endif for #if 0 2022-02-25 21:52:47 +00:00
christos 7dabb11360 Update to latest (thanks rillig) 2022-02-25 20:52:49 +00:00
martin afd5ce9447 Add more -I to find expat_config.h 2022-02-24 06:34:32 +00:00
martin f02135dd24 Add more -I so that expat_config.h is found 2022-02-23 19:07:35 +00:00
mrg e535e7b190 build the newer version of the ati driver frontend, that knows how
to load amdgpu if that is found.
2022-02-23 17:28:31 +00:00
christos adc57c9705 merge conflicts between expat-2.2.8 and expat-2.4.6 2022-02-23 15:24:05 +00:00
christos 0315d31112 Upgrade expat from 2.2.8 -> 2.4.6 to include the security fixes from 2.4.5
Release 2.4.6 Sun February 20 2022
        Bug fixes:
            #566  Fix a regression introduced by the fix for CVE-2022-25313
                    in release 2.4.5 that affects applications that (1)
                    call function XML_SetElementDeclHandler and (2) are
                    parsing XML that contains nested element declarations
                    (e.g. "<!ELEMENT junk ((bar|foo|xyz+), zebra*)>").

        Other changes:
       #567 #568  Version info bumped from 9:5:8 to 9:6:8;
                    see https://verbump.de/ for what these numbers do

        Special thanks to:
            Matt Sergeant
            Samanta Navarro
            Sergei Trofimovich
                 and
            NixOS
            Perl XML::Parser

Release 2.4.5 Fri February 18 2022
        Security fixes:
            #562  CVE-2022-25235 -- Passing malformed 2- and 3-byte UTF-8
                    sequences (e.g. from start tag names) to the XML
                    processing application on top of Expat can cause
                    arbitrary damage (e.g. code execution) depending
                    on how invalid UTF-8 is handled inside the XML
                    processor; validation was not their job but Expat's.
                    Exploits with code execution are known to exist.
            #561  CVE-2022-25236 -- Passing (one or more) namespace separator
                    characters in "xmlns[:prefix]" attribute values
                    made Expat send malformed tag names to the XML
                    processor on top of Expat which can cause
                    arbitrary damage (e.g. code execution) depending
                    on such unexpectable cases are handled inside the XML
                    processor; validation was not their job but Expat's.
                    Exploits with code execution are known to exist.
            #558  CVE-2022-25313 -- Fix stack exhaustion in doctype parsing
                    that could be triggered by e.g. a 2 megabytes
                    file with a large number of opening braces.
                    Expected impact is denial of service or potentially
                    arbitrary code execution.
            #560  CVE-2022-25314 -- Fix integer overflow in function copyString;
                    only affects the encoding name parameter at parser creation
                    time which is often hardcoded (rather than user input),
                    takes a value in the gigabytes to trigger, and a 64-bit
                    machine.  Expected impact is denial of service.
            #559  CVE-2022-25315 -- Fix integer overflow in function storeRawNames;
                    needs input in the gigabytes and a 64-bit machine.
                    Expected impact is denial of service or potentially
                    arbitrary code execution.

        Other changes:
       #557 #564  Version info bumped from 9:4:8 to 9:5:8;
                    see https://verbump.de/ for what these numbers do

        Special thanks to:
            Ivan Fratric
            Samanta Navarro
                 and
            Google Project Zero
            JetBrains

Release 2.4.4 Sun January 30 2022
        Security fixes:
            #550  CVE-2022-23852 -- Fix signed integer overflow
                    (undefined behavior) in function XML_GetBuffer
                    (that is also called by function XML_Parse internally)
                    for when XML_CONTEXT_BYTES is defined to >0 (which is both
                    common and default).
                    Impact is denial of service or more.
            #551  CVE-2022-23990 -- Fix unsigned integer overflow in function
                    doProlog triggered by large content in element type
                    declarations when there is an element declaration handler
                    present (from a prior call to XML_SetElementDeclHandler).
                    Impact is denial of service or more.

        Bug fixes:
       #544 #545  xmlwf: Fix a memory leak on output file opening error

        Other changes:
            #546  Autotools: Fix broken CMake support under Cygwin
            #554  Windows: Add missing files to the installer to fix
                    compilation with CMake from installed sources
       #552 #554  Version info bumped from 9:3:8 to 9:4:8;
                    see https://verbump.de/ for what these numbers do

        Special thanks to:
            Carlo Bramini
            hwt0415
            Roland Illig
            Samanta Navarro
                 and
            Clang LeakSan and the Clang team

Release 2.4.3 Sun January 16 2022
        Security fixes:
       #531 #534  CVE-2021-45960 -- Fix issues with left shifts by >=29 places
                    resulting in
                      a) realloc acting as free
                      b) realloc allocating too few bytes
                      c) undefined behavior
                    depending on architecture and precise value
                    for XML documents with >=2^27+1 prefixed attributes
                    on a single XML tag a la
                    "<r xmlns:a='[..]' a:a123='[..]' [..] />"
                    where XML_ParserCreateNS is used to create the parser
                    (which needs argument "-n" when running xmlwf).
                    Impact is denial of service, or more.
       #532 #538  CVE-2021-46143 (ZDI-CAN-16157) -- Fix integer overflow
                    on variable m_groupSize in function doProlog leading
                    to realloc acting as free.
                    Impact is denial of service or more.
            #539  CVE-2022-22822 to CVE-2022-22827 -- Prevent integer overflows
                    near memory allocation at multiple places.  Mitre assigned
                    a dedicated CVE for each involved internal C function:
                    - CVE-2022-22822 for function addBinding
                    - CVE-2022-22823 for function build_model
                    - CVE-2022-22824 for function defineAttribute
                    - CVE-2022-22825 for function lookup
                    - CVE-2022-22826 for function nextScaffoldPart
                    - CVE-2022-22827 for function storeAtts
                    Impact is denial of service or more.

        Other changes:
            #535  CMake: Make call to file(GENERATE [..]) work for CMake <3.19
            #541  Autotools|CMake: MinGW: Make run.sh(.in) work for Cygwin
                    and MSYS2 by not going through Wine on these platforms
       #527 #528  Address compiler warnings
       #533 #543  Version info bumped from 9:2:8 to 9:3:8;
                    see https://verbump.de/ for what these numbers do

        Infrastructure:
            #536  CI: Check for realistic minimum CMake version
       #529 #539  CI: Cover compilation with -m32
            #529  CI: Store coverage reports as artifacts for download
            #528  CI: Upgrade Clang from 11 to 13

        Special thanks to:
            An anonymous whitehat
            Christopher Degawa
            J. Peter Mugaas
            Tyson Smith
                 and
            GCC Farm Project
            Trend Micro Zero Day Initiative

Release 2.4.2 Sun December 19 2021
        Other changes:
       #509 #510  Link againgst libm for function "isnan"
       #513 #514  Include expat_config.h as early as possible
            #498  Autotools: Include files with release archives:
                    - buildconf.sh
                    - fuzz/*.c
       #507 #519  Autotools: Sync CMake templates
       #495 #524  CMake: MinGW: Fix pkg-config section "Libs" for
                    - non-release build types (e.g. -DCMAKE_BUILD_TYPE=Debug)
                    - multi-config CMake generators (e.g. Ninja Multi-Config)
       #502 #503  docs: Document that function XML_GetBuffer may return NULL
                    when asking for a buffer of 0 (zero) bytes size
       #522 #523  docs: Fix return value docs for both
                    XML_SetBillionLaughsAttackProtection* functions
       #525 #526  Version info bumped from 9:1:8 to 9:2:8;
                    see https://verbump.de/ for what these numbers do

        Special thanks to:
            Dong-hee Na
            Joergen Ibsen
            Kai Pastor

Release 2.4.1 Sun May 23 2021
        Bug fixes:
       #488 #490  Autotools: Fix installed header expat_config.h for multilib
                    systems; regression introduced in 2.4.0 by pull request #486

        Other changes:
       #491 #492  Version info bumped from 9:0:8 to 9:1:8;
                    see https://verbump.de/ for what these numbers do

        Special thanks to:
            Gentoo's QA check "multilib_check_headers"

Release 2.4.0 Sun May 23 2021
        Security fixes:
   #34 #466 #484  CVE-2013-0340/CWE-776 -- Protect against billion laughs attacks
                    (denial-of-service; flavors targeting CPU time or RAM or both,
                    leveraging general entities or parameter entities or both)
                    by tracking and limiting the input amplification factor
                    (<amplification> := (<direct> + <indirect>) / <direct>).
                    By conservative default, amplification up to a factor of 100.0
                    is tolerated and rejection only starts after 8 MiB of output bytes
                    (=<direct> + <indirect>) have been processed.
                    The fix adds the following to the API:
                    - A new error code XML_ERROR_AMPLIFICATION_LIMIT_BREACH to
                      signals this specific condition.
                    - Two new API functions ..
                      - XML_SetBillionLaughsAttackProtectionMaximumAmplification and
                      - XML_SetBillionLaughsAttackProtectionActivationThreshold
                      .. to further tighten billion laughs protection parameters
                      when desired.  Please see file "doc/reference.html" for details.
                      If you ever need to increase the defaults for non-attack XML
                      payload, please file a bug report with libexpat.
                    - Two new XML_FEATURE_* constants ..
                      - that can be queried using the XML_GetFeatureList function, and
                      - that are shown in "xmlwf -v" output.
                    - Two new environment variable switches ..
                      - EXPAT_ACCOUNTING_DEBUG=(0|1|2|3) and
                      - EXPAT_ENTITY_DEBUG=(0|1)
                      .. for runtime debugging of accounting and entity processing.
                      Specific behavior of these values may change in the future.
                    - Two new command line arguments "-a FACTOR" and "-b BYTES"
                      for xmlwf to further tighten billion laughs protection
                      parameters when desired.
                      If you ever need to increase the defaults for non-attack XML
                      payload, please file a bug report with libexpat.

        Bug fixes:
       #332 #470  For (non-default) compilation with -DEXPAT_MIN_SIZE=ON (CMake)
                    or CPPFLAGS=-DXML_MIN_SIZE (GNU Autotools): Fix segfault
                    for UTF-16 payloads containing CDATA sections.
       #485 #486  Autotools: Fix generated CMake files for non-64bit and
                    non-Linux platforms (e.g. macOS and MinGW in particular)
                    that were introduced with release 2.3.0

        Other changes:
       #468 #469  xmlwf: Improve help output and the xmlwf man page
            #463  xmlwf: Improve maintainability through some refactoring
            #477  xmlwf: Fix man page DocBook validity
       #458 #459  CMake: Support absolute paths for both CMAKE_INSTALL_LIBDIR
                    and CMAKE_INSTALL_INCLUDEDIR
       #471 #481  CMake: Add support for standard variable BUILD_SHARED_LIBS
            #457  Unexpose symbol _INTERNAL_trim_to_complete_utf8_characters
            #467  Resolve macro HAVE_EXPAT_CONFIG_H
            #472  Delete unused legacy helper file "conftools/PrintPath"
       #473 #483  Improve attribution
  #464 #465 #477  doc/reference.html: Fix XHTML validity
       #475 #478  doc/reference.html: Replace the 90s look by OK.css
            #479  Version info bumped from 8:0:7 to 9:0:8
                    due to addition of new symbols and error codes;
                    see https://verbump.de/ for what these numbers do

        Infrastructure:
            #456  CI: Enable periodic runs
            #457  CI: Start covering the list of exported symbols
            #474  CI: Isolate coverage task
       #476 #482  CI: Adapt to breaking changes in image "ubuntu-18.04"
            #477  CI: Cover well-formedness and DocBook/XHTML validity
                    of doc/reference.html and doc/xmlwf.xml

        Special thanks to:
            Dimitry Andric
            Eero Helenius
            Nick Wellnhofer
            Rhodri James
            Tomas Korbar
            Yury Gribov
                 and
            Clang LeakSan
            JetBrains
            OSS-Fuzz

Release 2.3.0 Thu March 25 2021
        Bug fixes:
            #438  When calling XML_ParseBuffer without a prior successful call to
                    XML_GetBuffer as a user, no longer trigger undefined behavior
                    (by adding an integer to a NULL pointer) but rather return
                    XML_STATUS_ERROR and set the error code to (new) code
                    XML_ERROR_NO_BUFFER. Found by UBSan (UndefinedBehaviorSanitizer)
                    of Clang 11 (but not Clang 9).
            #444  xmlwf: Exit status 2 was used for both:
                    - malformed input files (documented) and
                    - invalid command-line arguments (undocumented).
                    The case of invalid command-line arguments now
                    has its own exit status 4, resolving the ambiguity.

        Other changes:
            #439  xmlwf: Add argument -k to allow continuing after
                    non-fatal errors
            #439  xmlwf: Add section about exit status to the -h help output
  #422 #426 #447  Windows: Drop support for Visual Studio <=14.0/2015
            #434  Windows: CMake: Detect unsupported Visual Studio at
                    configure time (rather than at compile time)
       #382 #428  testrunner: Make verbose mode (argument "-v") report
                    about passed tests, and make default mode report about
                    failures, as well.
            #442  CMake: Call "enable_language(CXX)" prior to tinkering
                    with CMAKE_CXX_* variables
            #448  Document use of libexpat from a CMake-based project
            #451  Autotools: Install CMake files as generated by CMake 3.19.6
                    so that users with "find_package(expat [..] CONFIG [..])"
                    are served on distributions that are *not* using the CMake
                    build system inside for libexpat packaging
       #436 #437  Autotools: Drop obsolescent macro AC_HEADER_STDC
       #450 #452  Autotools: Resolve use of obsolete macro AC_CONFIG_HEADER
            #441  Address compiler warnings
            #443  Version info bumped from 7:12:6 to 8:0:7
                    due to addition of error code XML_ERROR_NO_BUFFER
                    (see https://verbump.de/ for what these numbers do)

        Infrastructure:
       #435 #446  Replace Travis CI by GitHub Actions

        Special thanks to:
            Alexander Richardson
            Oleksandr Popovych
            Thomas Beutlich
            Tim Bray
                 and
            Clang LeakSan, Clang 11 UBSan and the Clang team

Release 2.2.10 Sat October 3 2020
        Bug fixes:
  #390 #395 #398  Fix undefined behavior during parsing caused by
                    pointer arithmetic with NULL pointers
       #404 #405  Fix reading uninitialized variable during parsing
            #406  xmlwf: Add missing check for malloc NULL return

        Other changes:
            #396  Windows: Drop support for Visual Studio <=8.0/2005
            #409  Windows: Add missing file "Changes" to the installer
                    to fix compilation with CMake from installed sources
            #403  xmlwf: Document exit codes in xmlwf manpage and
                    exit with code 3 (rather than code 1) for output errors
                    when used with "-d DIRECTORY"
       #356 #359  MinGW: Provide declaration of rand_s for mingwrt <5.3.0
       #383 #392  Autotools: Use -Werror while configure tests the compiler
                    for supported compile flags to avoid false positives
  #383 #393 #394  Autotools: Improve handling of user (C|CPP|CXX|LD)FLAGS,
                    e.g. ensure that they have the last word over flags added
                    while running ./configure
            #360  CMake: Create libexpatw.{dll,so} and expatw.pc (with emphasis
                    on suffix "w") with -DEXPAT_CHAR_TYPE=(ushort|wchar_t)
            #360  CMake: Detect and deny unsupported build combinations
                    involving -DEXPAT_CHAR_TYPE=(ushort|wchar_t)
            #360  CMake: Install pre-compiled shipped xmlwf.1 manpage in case
                    of -DEXPAT_BUILD_DOCS=OFF
  #375 #380 #419  CMake: Fix use of Expat by means of add_subdirectory
       #407 #408  CMake: Keep expat target name constant at "expat"
                    (i.e. refrain from using the target name to control
                    build artifact filenames)
            #385  CMake: Fix compilation with -DEXPAT_SHARED_LIBS=OFF for
                    Windows
                  CMake: Expose man page compilation as target "xmlwf-manpage"
       #413 #414  CMake: Introduce option EXPAT_BUILD_PKGCONFIG
                    to control generation of pkg-config file "expat.pc"
            #424  CMake: Add minimalistic support for building binary packages
                    with CMake target "package"; based on CPack
            #366  CMake: Add option -DEXPAT_OSSFUZZ_BUILD=(ON|OFF) with
                    default OFF to build fuzzer code against OSS-Fuzz and
                    related environment variable LIB_FUZZING_ENGINE
            #354  Fix testsuite for -DEXPAT_DTD=OFF and -DEXPAT_NS=OFF, each
    #354 #355 ..
       #356 #412  Address compiler warnings
       #368 #369  Address pngcheck warnings with doc/*.png images
            #425  Version info bumped from 7:11:6 to 7:12:6

        Special thanks to:
            asavah
            Ben Wagner
            Bhargava Shastry
            Frank Landgraf
            Jeffrey Walton
            Joe Orton
            Kleber Tarcísio
            Ma Lin
            Maciej Sroczy#ski
            Mohammed Khajapasha
            Vadim Zeitlin
                 and
            Cppcheck 2.0 and the Cppcheck team

Release 2.2.9 Wed September 25 2019
        Other changes:
                  examples: Drop executable bits from elements.c
            #349  Windows: Change the name of the Windows DLLs from expat*.dll
                    to libexpat*.dll once more (regression from 2.2.8, first
                    fixed in 1.95.3, issue #61 on SourceForge today,
                    was issue #432456 back then); needs a fix due
                    case-insensitive file systems on Windows and the fact that
                    Perl's XML::Parser::Expat compiles into Expat.dll.
            #347  Windows: Only define _CRT_RAND_S if not defined
                  Version info bumped from 7:10:6 to 7:11:6

        Special thanks to:
            Ben Wagner
2022-02-23 15:21:34 +00:00
uwe fd08dc3b6c libXi: Fixup libmansuffix in manual pages.
The manpages use unadorned libmansuffix instead of __libmansuffix__ or
@libmansuffix@ that the standard transformations handle.

Add ad-hoc s/// command for it.  It has "3" hardcoded because there's
no easy way to look up that mapping, but then that very same "3" is
hardcoded in the file names anyway.
2022-02-23 00:06:49 +00:00
uwe 688bac70ae libXi: Bring back manual pages. 2022-02-22 22:49:39 +00:00
uwe 739fa5515a libXxf86vm: Add missing XF86VidModeAddModeLine.3 mlink. 2022-02-22 15:42:09 +00:00
uwe 23312573e7 libXv: add missing man pages added in libXv-1.0.5
While here, split MAN and MLINKS into individual += assignments and
sort them.
2022-02-22 00:05:13 +00:00
uwe 66a03ef37b libXext: Fix MLINKS for XShape.3
XShapeQueryExtension.3 and XShapeQueryVersion.3 are not conjoined twins.
While here split XShape.3 links into separate MLINKS += src dst assignments
and sort them.
2022-02-21 02:13:47 +00:00
uwe b771e5de66 xsetwallpaper: Drop unused -lXpm.
This looks like a commit accident.  Ok mrg@.
2022-02-11 01:36:02 +00:00