Commit Graph

52 Commits

Author SHA1 Message Date
thorpej 9c33b55e7c Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

	* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
	  of the infratsructure (libraries, support programs, etc.)

	* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
	  building of support for using the corresponding API
	  in various libraries/programs that can use it.

As discussed on tech-toolchain.
2002-03-22 18:10:19 +00:00
wiz bc5b87e7e0 Sort SEE ALSO. 2001-12-20 20:03:29 +00:00
tv a2291b79c0 MKfoo=no -> NOfoo= 2001-12-12 00:07:45 +00:00
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
lukem f819878ce7 use more standard %ll_ in favour of %q_ 2001-01-04 15:39:50 +00:00
thorpej df83a2a3cd Add MK... variables to enable/disable various aspects of building
crypto support into the system.  See share/mk/bsd.README for more
a full description.
2000-06-23 06:01:10 +00:00
thorpej e7d6b96938 Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so.  Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.
2000-06-20 06:00:24 +00:00
drochner 85cbf55d16 Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
mrg 51a96a002f optionally include CRYPTOPATH Makefile.frag files. 1999-07-20 09:35:18 +00:00
thorpej a3281f7249 Use bsd.crypto.mk. 1999-07-12 22:04:09 +00:00
garbled f124765044 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:25:43 +00:00
scottr 8481f548e2 Remove the crypto-related bits until such time as we have a fully-
integrated source tree.  Export-controlled versions of these are now
built during the domestic build process.
1999-02-18 21:22:51 +00:00
scottr 78bcd3e136 Check the rlogin source for headers ifdef KERBEROS 1999-02-17 06:47:51 +00:00
scottr cf184145f7 Make this compile ifdef KERBEROS. 1999-02-17 06:45:38 +00:00
christos 09fb774d70 s/MODEMASK/RCPMODEMASK/
From Darrin Jewell.
1998-11-05 14:00:58 +00:00
christos 040da092ae char -> unsigned char
work around missing futimes.
1998-11-04 19:43:50 +00:00
mycroft ee9e50eacb Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
mycroft 9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
mycroft 620e5b5b8b Deal with GCC warnings. 1998-02-03 07:48:32 +00:00
tv b6573fcec0 Add xrefs to new hosts.equiv(5)/rhosts(5) man page. 1997-11-26 18:06:51 +00:00
christos b021feb71d PR/4284: Tatoku Ogaito: rcmd(3) get be called with getpwent(3) results as
arguments, leading to memory corruption.
1997-10-21 13:47:17 +00:00
mycroft 2d6dc609e6 Use futimes(2).
Send microseconds over the wire, rather than just 0.
1997-10-19 13:12:04 +00:00
enami 24d6ac8931 - Use ``.Nm ""'' instead of ``.Nm rcp'' in SYNOPSIS.
- Use ``.Nm "" .'' instead of ``.Nm rcp .''.
1997-10-11 02:20:18 +00:00
christos e230a48b57 CFLAGS->CPPFLAGS 1997-10-10 19:47:50 +00:00
lukem 76e13a0128 all but the first .Nm in SYNOPSIS need to be spelt out. [bin/4256] 1997-10-10 16:12:45 +00:00
lukem 7ff9d68cb5 - cleanup use of .Nm in man page
- getopt returns -1 not EOF
1997-09-14 08:17:11 +00:00
thorpej fc68ce7e4e Cast some printf arguments to keep the compiler happy on the Alpha. 1997-07-30 05:07:22 +00:00
christos 23edbe3557 Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
christos e800d25ed8 Fix compiler warnings
Add WARNS=1
1997-07-20 20:47:31 +00:00
jeremy 59f8247d38 Fix incorrect use of name vs. pwd->pw_name and wrong logic in strdup() test.
[PR/3718]
1997-06-07 07:11:34 +00:00
mrg 66bc7bd651 fix PR#3710, reported by Tatoku Ogaito <tacha@trap.fukui-med.ac.jp>.
- don't pass pw->pw_name into functions; make a copy.
1997-06-05 16:10:46 +00:00
mrg ccb39c10a2 oops, forgot to commit these: garbage collect setuid stuff. 1997-05-28 00:32:18 +00:00
mrg 4925873939 remove the setuid bit. 1997-05-27 08:45:52 +00:00
mrg bf5e0e4892 use rcmd(); garbage collect junk. 1997-05-27 07:09:51 +00:00
mrg 6992846f36 use orcmd() for now. 1997-05-26 15:18:25 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
jtc 429c5e2f3b Rename struct timespec fields to conform to POSIX.1b 1996-02-01 00:02:24 +00:00
jtc 23e6aab105 Use "utility" instead of "command". Modern definitions of these terms
are distinct (See POSIX.2 glossary).

A utility is a executable, script or shell builtin; while a command
can be any of those things plus lists, pipelines, compound commands
(if, for, while) and shell function definitions.
1995-07-25 19:36:36 +00:00
mycroft ca80d8a15f Rearrange Kerberos stuff. 1995-03-23 08:46:35 +00:00
cgd 6ff461a4e8 actually do the import. rcp appears to have been previously imported
but not merged(?!?!?).
1995-03-21 08:18:58 +00:00
mycroft 705a6ebacb Use S_IS*(). 1995-01-30 19:39:36 +00:00
mycroft f5ad44b6ac Use S_IS*(). 1995-01-30 19:30:13 +00:00
cgd 5dad143982 from James Jegers <jimj@miller.cs.uwm.edu>: quiet -Wall, and squelch
some of the worst style errors.
1994-12-04 07:11:37 +00:00
mycroft e40b06360c Import original 4.4-Lite version. 1994-09-22 03:04:15 +00:00
cgd a689451976 more off_t 1994-03-27 10:28:21 +00:00
mycroft 8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00