Home | History | Annotate | only in /src/usr.sbin/ypserv/yppush
History log of /src/usr.sbin/ypserv/yppush
RevisionDateAuthorComments
 1.7 03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

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.
 1.6 13-Oct-2019  mrg introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
 1.5 02-Oct-1997  lukem branches: 1.5.110;
- build common/* once, into a library, rather than recompiling each of
the files multiple times in the other subdirectories (saves about
10% on compilation time)
- clean up the manual pages
 1.4 18-Jul-1997  thorpej Fix compiler warnings (and an awful lot of annoying little bugs).
 1.3 08-May-1997  gwr Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
 1.2 06-May-1997  gwr Use .PATH.c: ...
 1.1 09-Aug-1996  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 09-Aug-1996  thorpej A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
 1.5.110.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.13 08-Apr-2012  wiz Remove unnecessary Bk/Ek pairs from SYNOPSIS.
No effective change except where I used the opportunity to sort options
and/or option descriptions.
 1.12 20-Oct-2009  snj branches: 1.12.6;
Follow upstream's lead and remove third and fourth clauses (except on
from usr.sbin/mopd/common/pf.c, where only the ad clause is removed,
because it has a shared UCB copyright) on Mats O Jansson's files.

thorpej OK'd usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c, where he shares
copyright.
 1.11 26-Feb-2005  thorpej YP -> NIS
 1.10 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.9 02-Feb-2002  wiz Use standard headers, mark up AUTHORS section.
 1.8 19-Jan-2002  wiz Whitespace nits.
 1.7 07-Mar-1999  mycroft Clean up SYNOPSIS formatting.
 1.6 19-Aug-1998  tv "featch" -> "fetched"
 1.5 18-Nov-1997  lukem rewritten yppush from Chuck Cranor.
 1.4 08-Nov-1997  lukem use ".Tn YP" instead of "YP", fix up some .Nd entries, use .Pa for mapnames
 1.3 07-Oct-1997  lukem branches: 1.3.2;
cleanup typos, grammaros, thinkos, and misuse of mdoc macros
 1.2 02-Oct-1997  lukem - build common/* once, into a library, rather than recompiling each of
the files multiple times in the other subdirectories (saves about
10% on compilation time)
- clean up the manual pages
 1.1 09-Aug-1996  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 09-Aug-1996  thorpej A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
 1.3.2.1 28-Nov-1997  mellon Pull rev 1.4 and 1.5 up from trunk (lukem)
 1.12.6.1 17-Apr-2012  yamt sync with head
 1.25 24-Jul-2021  andvar Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.
 1.24 30-Aug-2011  joerg static + __dead
 1.23 01-Feb-2011  chuck udpate license clauses on my code to match the new-style BSD licenses.
remove no-longer-valid wustl email address for me.

no functional change with this commit.
 1.22 19-Apr-2009  lukem branches: 1.22.2;
Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
 1.21 29-Feb-2008  lukem branches: 1.21.10;
Simplify ypdb_open() API and just use it for opening the DB for reading.
Provide a separate ypdb_mktemp() API to open a temporary file read-write.
Use mkstemp() instead of mktemp().

NOTE: makedbm & mkalias tested ok. I couldn't test ypxfer.
 1.20 27-Feb-2008  lukem Correct the argument order to ypdb_open().
 1.19 30-Oct-2004  dsl branches: 1.19.16; 1.19.22;
Add (unsigned char) cast to ctype functions
 1.18 06-Jul-2002  wiz ANSIfy, de-__P(), and remove unused SIG_PF define.
 1.17 19-Feb-2001  cgd convert to use getprogname()
 1.16 11-Jan-2001  lukem oops, forgot syslog.h
 1.15 11-Jan-2001  lukem add openlog(...,pid, daemon)
 1.14 13-Sep-2000  thorpej Don't abort if pushing to one server in the ypservers map fails.
There might be serveral more waiting to be pushed to.

This is only 1/2 of the fix. ypxfer(8) also needs a change to
avoid a false error, but this allows pushes to continue to work,
at least.

Problem noted by aflury@zembu.com and agordon@zembu.com.
 1.13 04-Jul-2000  matt More #include <stdlib.h> string, etc. cleanup
 1.12 03-Jun-2000  fvdl branches: 1.12.2;
The interal SVCXPRT field xp_sock was used, but this is now xp_fd.
 1.11 25-Jul-1999  lukem branches: 1.11.6;
don't call ypdb_close() until after we're finished using data returned
by a previous ypdb_*() operation. seems to fix a problem noted in [bin/8064]
 1.10 11-Jan-1999  kleink In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
of errno.
 1.9 18-Nov-1997  thorpej Need <string.h> for prototypes.
 1.8 18-Nov-1997  lukem rewritten yppush from Chuck Cranor.
 1.7 19-Oct-1997  mycroft branches: 1.7.2;
Use S_IS*(), not S_IF*.
 1.6 13-Oct-1997  lukem add rcsid
 1.5 07-Oct-1997  lukem use err instead of errx, so the user has some idea why the file wasn't opened
 1.4 18-Jul-1997  thorpej Fix compiler warnings (and an awful lot of annoying little bugs).
 1.3 09-Aug-1996  thorpej Error out if we can't determine the YP domain name to be used for
the RPC.
 1.2 09-Aug-1996  thorpej Use the key, not the val from the datum when reading the `ypservers'
map. SunOS ypservers maps place the host name in the key and the val,
but HP-UX and NetBSD ypservers maps place the hostname only in the
key, leaving the val empty. Since there is no clear standard for this map,
best to play it safe.
 1.1 09-Aug-1996  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 09-Aug-1996  thorpej A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
 1.7.2.1 28-Nov-1997  mellon Pull rev 1.8 and 1.9 up from trunk (lukem)
 1.11.6.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.12.2.1 19-Sep-2000  thorpej Pull up rev. 1.14:
Don't abort if pushing to one server in the ypservers map fails.
There might be serveral more waiting to be pushed to.

This is only 1/2 of the fix. ypxfer(8) also needs a change to
avoid a false error, but this allows pushes to continue to work,
at least.

Problem noted by aflury@zembu.com and agordon@zembu.com.
 1.19.22.1 24-Mar-2008  keiichi sync with head.
 1.19.16.1 23-Mar-2008  matt sync with HEAD
 1.21.10.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.22.2.1 08-Feb-2011  bouyer Sync with HEAD
 1.5 20-Oct-2009  snj Follow upstream's lead and remove third and fourth clauses (except on
from usr.sbin/mopd/common/pf.c, where only the ad clause is removed,
because it has a shared UCB copyright) on Mats O Jansson's files.

thorpej OK'd usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c, where he shares
copyright.
 1.4 19-Apr-2009  lukem Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
 1.3 12-Nov-2003  grant branches: 1.3.40;
s/netbsd.org/NetBSD.org/i
 1.2 06-Jul-2002  wiz ANSIfy, de-__P(), and remove unused SIG_PF define.
 1.1 09-Aug-1996  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 09-Aug-1996  thorpej A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
 1.3.40.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.6 20-Oct-2009  snj Follow upstream's lead and remove third and fourth clauses (except on
from usr.sbin/mopd/common/pf.c, where only the ad clause is removed,
because it has a shared UCB copyright) on Mats O Jansson's files.

thorpej OK'd usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c, where he shares
copyright.
 1.5 19-Apr-2009  lukem Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
 1.4 06-Jul-2002  wiz branches: 1.4.40;
ANSIfy, de-__P(), and remove unused SIG_PF define.
 1.3 13-Oct-1997  lukem add rcsid
 1.2 18-Jul-1997  thorpej Fix compiler warnings (and an awful lot of annoying little bugs).
 1.1 09-Aug-1996  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 09-Aug-1996  thorpej A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
 1.4.40.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.6 20-Oct-2009  snj Follow upstream's lead and remove third and fourth clauses (except on
from usr.sbin/mopd/common/pf.c, where only the ad clause is removed,
because it has a shared UCB copyright) on Mats O Jansson's files.

thorpej OK'd usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c, where he shares
copyright.
 1.5 06-Jul-2002  wiz ANSIfy, de-__P(), and remove unused SIG_PF define.
 1.4 18-Nov-1997  lukem use warn("%s", func()) instead of warn(func())
 1.3 13-Oct-1997  lukem branches: 1.3.2;
add rcsid
 1.2 18-Jul-1997  thorpej Fix compiler warnings (and an awful lot of annoying little bugs).
 1.1 09-Aug-1996  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 09-Aug-1996  thorpej A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
 1.3.2.1 28-Nov-1997  mellon Pull rev 1.4 up from trunk (lukem)
 1.10 30-Aug-2011  plunky Apply casts to cases where xdrproc_t is expected but is not
strictly passed, for example because the second argument is
a different kind of pointer.
 1.9 21-Oct-2009  snj Remove 3rd and 4th clauses. Approved by Mats O Jansson (copyright holder).
 1.8 19-Apr-2009  lukem Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
 1.7 12-Nov-2003  grant branches: 1.7.40;
s/netbsd.org/NetBSD.org/i
 1.6 06-Jul-2002  wiz ANSIfy, de-__P(), and remove unused SIG_PF define.
 1.5 18-Nov-1997  lukem use warn("%s", func()) instead of warn(func())
 1.4 13-Oct-1997  lukem branches: 1.4.2;
add rcsid
 1.3 07-Oct-1997  lukem use err instead of errx, so the user has some idea why the file wasn't opened
 1.2 18-Jul-1997  thorpej Fix compiler warnings (and an awful lot of annoying little bugs).
 1.1 09-Aug-1996  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 09-Aug-1996  thorpej A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
 1.4.2.1 28-Nov-1997  mellon Pull rev 1.5 up from trunk (lukem)
 1.7.40.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed