Trim various $FreeBSD$Approved by: markj (cddl/contrib changes)Reviewed by: imp, emasteDifferential Revision: https://reviews.freebsd.org/D41961(cherry picked from commit f53355131f65d64e7643d7
Trim various $FreeBSD$Approved by: markj (cddl/contrib changes)Reviewed by: imp, emasteDifferential Revision: https://reviews.freebsd.org/D41961(cherry picked from commit f53355131f65d64e7643d734dbcd4fb2a5de20ed)
show more ...
Remove $FreeBSD$: one-line nroff patternRemove /^\.\\"\s*\$FreeBSD\$$\n/
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .c comment patternRemove /^/[*/]\s*\$FreeBSD\$.*\n/
ypldap: Remove set but unused variables.Some of these were reported by GCC, others reported by clang.
Update/fix Makefile.depend for userland
ypldap: Fix mismatch in array bounds for ldapclient().Reviewed by: emasteReported by: GCC -Warray-parameterDifferential Revision: https://reviews.freebsd.org/D36807
pkgbase: Put yellow pages programs to its own packageYP is less and less used, split them to users have the choice to notinstall them.MFC after: 2 weeksSponsored by: Beckhoff Automation GmbH &
pkgbase: Put yellow pages programs to its own packageYP is less and less used, split them to users have the choice to notinstall them.MFC after: 2 weeksSponsored by: Beckhoff Automation GmbH & Co. KGDifferential Revision: https://reviews.freebsd.org/D33441
Only set WARNS if not definedThis would allow interested parties to do experimental runs with anenvironment set appropriately to raise all the warnings throughout thebuild; e.g. env WARNS=6 NO_WE
Only set WARNS if not definedThis would allow interested parties to do experimental runs with anenvironment set appropriately to raise all the warnings throughout thebuild; e.g. env WARNS=6 NO_WERROR=yes buildworld.Not currently touching the numerous instances in ^/tools.MFC after: 1 week
rename in-tree libevent v1 to libevent1r316063 installed pf's embedded libevent as a private lib, with headersin /usr/include/private/event. Unfortunately we also have a copy oflibevent v2 inclu
rename in-tree libevent v1 to libevent1r316063 installed pf's embedded libevent as a private lib, with headersin /usr/include/private/event. Unfortunately we also have a copy oflibevent v2 included in ntp, which needed to be updated for compatibilitywith OpenSSL 1.1.As unadorned 'libevent' generally refers to libevent v2, be explicit thatthis one is libevent v1.Reviewed by: vangyzen (earlier)Differential Revision: https://reviews.freebsd.org/D17275
yp*: fix -fno-common buildThis is mostly two problems spread out far and wide:- ypldap_process should be declared properly- debug is defined differently in many programsFor the latter, just ext
yp*: fix -fno-common buildThis is mostly two problems spread out far and wide:- ypldap_process should be declared properly- debug is defined differently in many programsFor the latter, just extern it and define it everywhere that actually needsit. This mostly works out nicely for ^/libexec/ypxfr, which can remove theassignment at the beginning of main in favor of defining it properly.-fno-common will become the default in GCC10/LLVM11.MFC after: 3 days
Correct path in EXAMPLES ypldap.conf.5PR: 244743Submitted by: [email protected]Patch by: [email protected]Approved by: bcr@(mentor), 0mpMFC after: 1 dayDifferential Revision: https://reviews.freebsd.
Correct path in EXAMPLES ypldap.conf.5PR: 244743Submitted by: [email protected]Patch by: [email protected]Approved by: bcr@(mentor), 0mpMFC after: 1 dayDifferential Revision: https://reviews.freebsd.org/D24144
ypldap(8): Fix absent va_end() in 'goto fail' pathIn this path, we used va_start() without pairing it with va_end(). Add theva_end(). (va_start() without paired va_end() is undefined behavior pe
ypldap(8): Fix absent va_end() in 'goto fail' pathIn this path, we used va_start() without pairing it with va_end(). Add theva_end(). (va_start() without paired va_end() is undefined behavior per the Cstandard.)"In many implementations, [va_end] is a do-nothing operation; but thoseimplementations that need it probably need it badly." - Rationale for the ANSIC Programming Language, § 4.8.1.3.Reported by: CoverityCID: 1340539
Increase YPMAXRECORD to 16M to be compatible with Linux.Since YP protocol definition uses the constant to declarevariable-size opaque byte strings, the change should be binarycompatible with exis
Increase YPMAXRECORD to 16M to be compatible with Linux.Since YP protocol definition uses the constant to declarevariable-size opaque byte strings, the change should be binarycompatible with existing installations which do not expose keys orvalues larger than 1024 bytes.All uses of local variables with YPMAXRECORD sizes were removed toavoid insane stack use. On the other hand, variables with staticlifetime should be fine and only result in increased VA use.Glibc made same change, increasing the allowed length for keys andvalues in YP to 16M, in 2013.Reviewed by: markjDiscussed with: ianSponsored by: Mellanox TechnologiesMFC after: 3 weeksDifferential revision: https://reviews.freebsd.org/D20900
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
Log when we have finished pushing users and groups.Obtained from: OpenBSD (rev 1.4)MFC after: 3 weeks.
Simplify parseval() by allocating a buffer the size of the input string,which will always be big enough to hold the output string.Obtained from: OpenBSD (revision 1.36)
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesThis simplifies pathing in make/displayed output.MFC after: 1 weekSponsored by: Dell EMC Isilon
Use memset(3) instead of bzero(3).Obtained from: OpenBSD (r1.12, r1.20, r1.18 and r1.37)
String terminators are called NUL, not NULL, also the variablementioned in the comment is p and not u.Obtained from: OpenBSD (r1.34)
DIRDEPS_BUILD: Update dependencies after a 'make bootstrap-tools'.MFC after: 1 weekSponsored by: EMC / Isilon Storage Division
DIRDEPS_BUILD: Add some missing dirctories to the build.Sponsored by: EMC / Isilon Storage Division
Do not allow whitespace in macro names.Obtained from: OpenBSD (r1.19).
Bump date in both manpages.Reported by: rodrigc
Add an entry on rc.conf(5) explaining the new optionsnis_ypldap_enable and nis_ypldap_flags.Also add an entry on ypldap(8) that it is a feature ready andappears on FreeBSD 11.0.Requested by: ro
Add an entry on rc.conf(5) explaining the new optionsnis_ypldap_enable and nis_ypldap_flags.Also add an entry on ypldap(8) that it is a feature ready andappears on FreeBSD 11.0.Requested by: rodrigcRelnotes: Yes
123