summaryrefslogtreecommitdiff
path: root/external
AgeCommit message (Collapse)Author
2023-07-07PR port-alpha/57511 Temporally disable secure PLT for alpharin
until support is added to ld.elf_so(1).
2023-07-05Revert "jemalloc: Enforce alignment-must-divide-size rule of aligned_alloc."riastradh
Apparently this restriction was lifted in C17, and this was even documented in a part of the man page I didn't notice because I got stuck at the incomplete sentence `The aligned_alloc function conforms to.'. Sorry for the noise, folks.
2023-07-05Updates for ctwm-4.1.0nia
2023-07-05Install a copy of dhcpcd.conf under /usr/share/examplesgutteridge
Addresses PR bin/57487 from Taylor R Campbell.
2023-07-04mdoc.local: fix libbsdmalloc string nameuwe
2023-07-04libbsdmalloc: New man page.riastradh
XXX pullup-10
2023-07-04jemalloc: Enforce alignment-must-divide-size rule of aligned_alloc.riastradh
C11, Sec. 7.22.3.1 The aligned_alloc function, paragraph 2, p. 348: The value of alignment shall be a valid alignment supported by the implementation and the value of size shall be an integral multiple of alignment. posix_memalign does not appear to have any corresponding constraint. XXX pullup-10
2023-07-02dri.old: disable lint againrillig
2023-07-01dri.old: only disable lint for a single filerillig
2023-07-01jemalloc: enable lint again, it is no longer brokenrillig
Since today, lint handles unnamed struct/union correctly.
2023-06-30merge openpam ximeniachristos
2023-06-30Import ximenia (last was tabebuia)christos
- BUGFIX: Fix race condition in openpam_ttyconv(3) when used with expect scripts. - BUGFIX: In openpam_set_option(3), when removing an option, properly decrement the option count. - BUGFIX: In openpam_subst(3), avoid incrementing past the end of the template.
2023-06-30PosixDaemon.c: restore NetBSD logging additions lost in mergesgutteridge
Restore part of local modifications r. 1.2 & 1.4 from tsarna@. One aspect could not be carried forward, as Apple dropped the bug detection query functionality that was formerly represented by the teststate member of the DNSServer struct. Otherwise, reapplied almost verbatim, except for minor consistency and style changes. This was added again in part as an example should there be a need to add further logging content for NetBSD's purposes. (DumpStateLog() has changed further as of Apple's 1790.80.10 release, but should we roll forward, our means here should still be viable.)
2023-06-30PosixDaemon.c: convert tabs to spaces to match coding stylegutteridge
Match Apple's coding style for this project. (In part for those of us who have tabs visually representing four spaces!)
2023-06-29prepare-import.sh: fix grammar in a commentgutteridge
2023-06-29Avoid comparing signed and unsigned values (using signed here seemskre
safer than the usual unsigned when this happens). Might fix build.
2023-06-28tmux: also set HAVE_REALLOCARRAYwiz
2023-06-28update build system for tmux 3.3awiz
2023-06-28merge tmux 3.3awiz
2023-06-28Import original sources for tmux 3.3a.wiz
2023-06-27Sync with openresolv-3.13.2roy
2023-06-27openresolv: Update to 3.13.2 with the following changes:roy
* Do not return error from -i when no interfaces are configured * unbound can now add generic options to forward zones
2023-06-27isc timer API changed with the recent bind import - use isc_timer_destroy()martin
instead of isc_timer_detach()
2023-06-26merge conflicts between 9.16.37 and 9.16.42christos
2023-06-26Import 9.16.42 (last was 9.16.37)christos
--- 9.16.42 released --- 6192. [security] A query that prioritizes stale data over lookup triggers a fetch to refresh the stale data in cache. If the fetch is aborted for exceeding the recursion quota, it was possible for 'named' to enter an infinite callback loop and crash due to stack overflow. This has been fixed. (CVE-2023-2911) [GL #4089] 6190. [security] Improve the overmem cleaning process to prevent the cache going over the configured limit. (CVE-2023-2828) [GL #4055] 6183. [bug] Fix a serve-stale bug where a delegation from cache could be returned to the client. [GL #3950] 6173. [bug] Properly process extra "nameserver" lines in resolv.conf otherwise the next line is not properly processed. [GL #4066] 6169. [bug] named could crash when deleting inline-signing zones with "rndc delzone". [GL #4054] --- 9.16.41 released --- 6157. [bug] When removing delegations in an OPTOUT range empty-non-terminal NSEC3 records generated by those delegations were not removed. [GL #4027] --- 9.16.40 released --- 6142. [bug] Reduce the number of dns_dnssec_verify calls made determining if revoked keys needs to be removed from the trust anchors. [GL #3981] 6138. [doc] Fix the DF-flag documentation on the outgoing UDP packets. [GL #3710] 6132. [doc] Remove a dead link in the DNSSEC guide. [GL #3967] 6129. [cleanup] Value stored to 'source' during its initialization is never read. [GL #3965] 6124. [bug] When changing from a NSEC3 capable DNSSEC algorithm to an NSEC3 incapable DNSSEC algorithm using KASP the zone could sometimes be incompletely signed. [GL #3937] 5741. [bug] Log files with "timestamp" suffixes could be left in place after rolling, even if the number of preserved log files exceeded the configured "versions" limit. [GL #828] [GL #3959] --- 9.16.39 released --- 6119. [bug] Make sure to revert the reconfigured zones to the previous version of the view, when the new view reconfiguration fails during the configuration of one of the configured zones. [GL #3911] 6116. [bug] Fix error path cleanup issue in the dns_catz_new_zones() function. [GL #3900] 6115. [bug] Unregister db update notify callback before detaching from the previous db inside the catz update notify callback. [GL #3777] 6105. [bug] Detach 'rpzs' and 'catzs' from the previous view in configure_rpz() and configure_catz(), respectively, just after attaching it to the new view. [GL #3880] 6098. [test] Don't test HMAC-MD5 when not supported by libcrypto. [GL #3871] 6095. [test] Test various 'islands of trust' configurations when using managed keys. [GL #3662] 6094. [bug] Building against (or running with) libuv versions 1.35.0 and 1.36.0 is now a fatal error. The rules for mixing and matching compile-time and run-time libuv versions have been tightened for libuv versions between 1.35.0 and 1.40.0. [GL #3840] --- 9.16.38 released --- 6083. [bug] Fix DNSRPS-enabled builds as they were inadvertently broken by change 6042. [GL #3827] 6081. [bug] Handle primary server address lookup failures in nsupdate more gracefully. [GL #3830] 6080. [bug] 'named -V' leaked memory. [GL #3829] 6079. [bug] Force set the DS state after a 'rdnc dnssec -checkds' command. [GL #3822] 6075. [bug] Add missing node lock when setting node->wild in add_wildcard_magic. [GL #3799] 6072. [bug] Avoid the OpenSSL lock contention when initializing Message Digest Contexts by using explicit algorithm fetching, initializing static contexts for every supported algorithms, and initializing the new context by copying the static copy. [GL #3795] 6069. [bug] Detach from the view in zone_shutdown() to release the memory held by the dead view early. [GL #3801]
2023-06-26jemalloc: reduce CONSTCOND diff to upstreamrillig
Since 2021-01-31, lint no longer needs these comments.
2023-06-26jemalloc: remove redundant CONSTCOND commentsrillig
Since 2021-01-31, lint no longer needs them.
2023-06-24Fix typo in comment.msaitoh
2023-06-20update for fontconfig 2.14.2.mrg
2023-06-19use xorg-pkg-ver.mk to get PACKAGE_STRING defined.mrg
2023-06-19transform XFILESEARCHPATHDEFAULT in the pkg-config file.mrg
2023-06-19Cherry-pick upstream fix for LibreSSL. NFC for us at the moment.rin
https://github.com/libevent/libevent/commit/883630f76cbf512003b81de25cd96cb75c6cf0f9 Don't define BIO_get_init() for LibreSSL 3.5+ BIO_get_init() is available in LibreSSL 3.5 and later. The BIO type will become opaque, so the existing macro will break the build.
2023-06-10libarchive: fail if name_max is 0lukem
Add error handling to the USE_READDIR_R code paths that set name_max from struct statfs or statvfs; if the determined name_max == 0 then return an error. Avoids a crash in tree_dir_next_posix() when the calculation of dirent_size from name_max is too small for the memory allocated for struct dirent. Submitted to upstream in pull request https://github.com/libarchive/libarchive/pull/1903 Should fix PR bin/56080
2023-06-08lua: resolve import conflictsnikita
2023-06-04llvm tool build: fix warninglukem
-std=c++14 is for HOST_CXXFLAGS not HOST_CPPFLAGS. Fixes: cc1: warning: command-line option '-std=c++14' is valid for C++/ObjC++ but not for C
2023-06-03adapt to ${CC_WNO_STRINGOP_OVERFLOW}lukem
Use ${CC_WNO_STRINGOP_OVERFLOW} instead of the older style more complex expressions. Remove workarounds if they were only for gcc < 10.
2023-06-03adapt to ${CC_WNO_MAYBE_UNINITIALIZED}lukem
Use ${CC_WNO_MAYBE_UNINITIALIZED} instead of the older style more complex expressions. Remove workarounds if they were for a specific version of gcc < 10.
2023-06-03adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH}lukem
Use ${CC_WNO_IMPLICIT_FALLTHROUGH} instead of the older style more complex expressions.
2023-06-03dhcp: remove gcc 8 workaroundlukem
(if it's needed, add it back using ${CC_WNO_FORMAT_OVERFLOW})
2023-06-03ipmon: remove duplicate warning suppressionlukem
2023-06-03adapt to ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}lukem
Simplify CWARNFLAGS to use ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} which works for both clang and gcc, and remove compiler-specific equivalents.
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2023-06-03bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBERlukem
Provide a single variable CC_WNO_ADDRESS_OF_PACKED_MEMBER with options for both clang and gcc, to replace CLANG_NO_ADDR_OF_PACKED_MEMBER CC_NO_ADDR_OF_PACKED_MEMBER GCC_NO_ADDR_OF_PACKED_MEMBER Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2023-05-30Fix LLVM build with host gcc 13hgutch
Building LLVM with a host gcc 13 fails and suggests including <cstdint> in external/apache2/llvm/dist/llvm/include/llvm/Support/Signals.h . Instead of this, joerg@ suggested not modifying the llvm vendor branch but instead working around this in our LLVM build infrastructure.
2023-05-29mdnsd(8): restore fixes for PR bin/46758, lost on resolving merge conflicts.andvar
Original commit message from Roy Marples: "Derive our primary interface and address by trying to connect to an address in the TEST-NET-2 network as noted in RFC5737 instead of using the 1.1.1.1 address. Also, use port 7 (echo) for better style. Fixes PR bin/46758 thanks to Lloyd Parkes." pullups needed for netbsd-9, netbsd-10.
2023-05-28deprecate remnants of MKCRYPTOlukem
MKCRYPTO was removed by riastradh@ on 2017-05-22, so remove references to it in comments.
2023-05-27reapply changes for the built-in drop-privs support by tsarna.andvar
this commit doesn't reapply "dumping of the unicast server list to the DumpStateLog debugging output" enhancement. It doesn't build anymore, no idea how to rewrite. Should fix PR 57442. Needs pull-ups for netbsd-9, netbsd-10.
2023-05-25osnet: on macOS, use <mach/boolean.h> for boolean_tlukem
macOS/x86_64 defines boolean_t as 'unsigned int' not 'int', which causes a build issue with tools/ctfmerge on that host after my recent fixes for macOS semaphores. So use the <mach/boolean.h> instead of a local typedef ifdef __APPLE__. May fix a macOS/x86_64 build issue reported by cjep@. Builds fine on NetBSD/amd64 or macOS/arm. Note: this compat stuff is clunky, and based on the commit log, annoyingly error prone. A newer sync of osnet from upstream /may/ improve a lot of these compat typedef workarounds for solaris types...
2023-05-25ctfmerge: fix macOS semaphore implementation, part 2lukem
dispatch_semaphore_signal() doesn't return an error, just an indicator of whether a thread was woken or not, so there's no need to fail on non-zero return.
2023-05-24revert previous: autoconf doesn't use EREslukem
autoconf relies upon GNU m4 emacs-style regexs, which don't support intervals so don't escape these. A fix to usr.bin/m4 -g (GNU m4 emulation) is incoming.