Commit Graph

77 Commits

Author SHA1 Message Date
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
wiz c594b29834 bootparams, not bootparms. 2003-12-25 19:01:35 +00:00
tsutsui 3422a6eafe Fix Typo. 2003-08-20 13:07:41 +00:00
itojun e195d590d8 make it possible to obtain default router address from any interface (-i).
-r might be sufficient.
http://pc.2ch.net/test/read.cgi/unix/1050823044/377
2003-06-26 05:38:45 +00:00
grant 806593a806 The correct capitalisation of 'NetBSD.org' is (you
guessed it) 'NetBSD.org'.

some mdoc fixes.
2003-02-14 16:11:34 +00:00
thorpej 7ee41d4310 Need to -I${RPC_XDIR} now, since we don't generate the .h file
locally anymore.
2003-01-06 02:26:53 +00:00
sommerfeld 8f6f405641 Use <bsd.rpc.mk> 2003-01-05 19:24:06 +00:00
christos d0deebbba7 Add a simple test to see if the whoami functionality works. 2002-09-11 18:19:42 +00:00
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
lukem a4af05a5cc provide "gateway" example "file" 2002-02-28 01:19:48 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
tv eef7548a36 Move CLEANFILES up so it is actually used. Noted by Bernd Ernesti. 2002-02-02 17:11:38 +00:00
wiz fa58e5cf9d Sort sections, use standard headers, drop a .Pp. 2002-02-02 01:42:22 +00:00
tv 2b7bf32264 Make sure DESTDIR is set before using it in a dependency. 2002-01-31 15:16:21 +00:00
jhawk 4ac5e36af2 Improve error messages; instead of "getfile failed", now:
getfile can't resolve client %s
  getfile can't resolve server %s for %s
  getfile lookup failed for %s
(the second condition had me chasing my tail for a while recently...)
2001-04-11 06:21:49 +00:00
wiz aa3d785edc Add section to a .Xr. 2001-04-03 11:28:44 +00:00
cgd 25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
lukem 13220245b2 use explicit name rather than __progname in openlog 2001-01-11 01:43:25 +00:00
cgd 4bf5f7086b ${RPCGEN}, not hard-coded rpcgen 2000-07-25 06:29:44 +00:00
thorpej 29ea834f56 If we don't get direct match on the token, only attempt to canonicalize
the token if it does not contain globbing characters, and just skip onto
the next line if it does.
2000-07-20 06:21:51 +00:00
enami e9aaacc880 If the line wasn't for the client we are looking for, skip it.
While I'm here, I indented the continuation line properly.
2000-07-04 08:18:44 +00:00
thorpej c1b4b34401 Add support for globbing when matching the host name in the
bootparams(5) file, a'la Solaris.  This is extremely useful
for configuring Jumpstart servers.

From Dan Mercer <dmercer@zembu.com>.
2000-06-28 01:30:56 +00:00
tron a3b6375d9a Add comment to prevent further bogus commits. 2000-06-14 11:15:58 +00:00
explorer 7dca1ce955 Ok, back out previous change. It seems wrong that 'rm -rf /usr/include/*' doesn't DTRT... 2000-06-14 06:54:20 +00:00
explorer 4d23eb7241 Use %lu since BOOTPARAMVERS is defined as ((u_long)1) 2000-06-14 06:27:25 +00:00
mycroft 45d698dd33 Make the rpcsvc dependencies work a bit better. 2000-06-12 01:57:25 +00:00
dan 03facbbdb8 back out previous. I tried hard to make sure that i had up to date
rpcgen and headers so that I didn't do something stupid, but somehow
I still did something stupid.
2000-06-08 12:00:46 +00:00
dan 4891c17d26 tidy up a warning - format specifier for a u_long parameter 2000-06-08 11:40:32 +00:00
cjs d0814a7d34 Revert last change; one needs a new rpcgen and has to do a bit of other
magic described in current-users by fvdl.
2000-06-06 02:18:05 +00:00
cjs a5b96ca6ad BOOTPARAMVERS is apparently a long, so use %lu rather than %u to print it. 2000-06-06 01:40:19 +00:00
veego dc3bf4930d Back out the last commit. It seems that your includes are out of date. 2000-06-04 13:49:21 +00:00
perry f47416ac02 BOOTPARAMVERS is an unsigned long now, it seems 2000-06-04 03:49:49 +00:00
fvdl 643a284d5b Fix printf argument mismatch for version number. 2000-06-03 14:25:20 +00:00
itojun 03b1bcc663 net/if.h is necessary for IFF_LOOPBACK.
accept lo[0-9] or lo$ if we check if_name.
2000-04-27 09:48:59 +00:00
itojun 08507c14c9 declare new function for getting my IPv4 address.
get_myaddress() is not usable any more for security reasons.
the change addresses PR8119.
2000-04-14 12:14:40 +00:00
kleink 03126e1c99 Use full month names with .Dd, as per mdoc.samples(7). 1999-09-12 18:47:10 +00:00
christos d3964689a5 add better debugging info 1999-08-23 01:09:42 +00:00
thorpej 653c3855f5 Use pidfile(3). 1999-06-06 02:38:00 +00:00
abs bf094b728a If -s and/or -d set, report invalid host entries in bootparams when parsed.
Currently an invalid entry will cause any subsequent entries to fail
if hostlookups take take several seconds (This can happen with DNS).
Now we can more easily detect this situation.
1999-04-26 02:35:17 +00:00
cgd b22750720f change:
.Sh "SEE ALSO"
to:
	.Sh SEE ALSO
The doc macros check for the latter (actually just for 'SEE' as the first
argument to .Sh) to set the section header SEE ALSO flag, which modifies
some behaviour (e.g. references done with .Rs/.Re).
1999-04-06 04:54:19 +00:00
nathanw 88e775014b Avoid using a long to store an IP address and simplify slightly.
Makes this work on the Alpha.
(What, nobody's netbooted a sun from an alpha before?)
1999-03-24 22:01:38 +00:00
garbled d1407362ba 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:43:46 +00:00
lukem e8664c7183 revert; we can't break the existing ABI and API 1998-02-12 03:32:51 +00:00
lukem 80d1e4afc8 use %d instead of %ld to print rpc version 1998-02-10 06:46:10 +00:00
lukem 0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
lukem 7e8074195e use memcmp/memset/memmove instead of bcmp/bzero/bcopy 1997-10-18 11:27:49 +00:00
lukem 6d66b6be40 WARNSify; generate ansi c code with rpcgen, cleanup manpage 1997-10-17 15:59:05 +00:00
mrg ddc2dd4f02 be safe with buffers, from dholland@eecs.harvard.edu in pr#4138 1997-09-23 07:28:29 +00:00
mikel 312c78327b kill excess newlines in debug output; from Enami Tsugutomo in PR bin/4076 1997-09-08 02:21:52 +00:00
mikel e72c8b76e8 eliminate extra dashes before option arguments; from Enami Tsugutomo
in PR bin/4000.
also add xref to syslog(3) and fix some typos.
1997-08-19 04:20:40 +00:00