summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bootparamd
Commit message (Collapse)AuthorAgeFilesLines
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-1/+3
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Pass -C to rpcgen.stefanf2005-02-091-3/+3
|
* Sort sections.ru2005-01-181-3/+3
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.bz2004-11-132-0/+17
| | | | | | | | | | | If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* - Don't use argv[i] when i is uninitialised.stefanf2004-06-081-3/+2
| | | | | | | - Cast isdigit's argument to unsigned char. - Remove the now unused variable i. Approved by: das (mentor)
* Make this compile cleanly. Switch to using rpcgen to generatepeter2003-10-262-5/+7
| | | | | code that can be compiled on an ansi-C compiler, so that it puts the xdrproc_t casts in. This also implies a slight function name change.
* fix problem with uninitalized ptr (from PR)jmg2003-06-201-8/+13
| | | | | | | other minor clean up. PR: bin/2785 Submitted by: mpp
* The .Nm utilitycharnier2002-07-141-2/+3
|
* can not -> cannotsheldonh2001-08-081-1/+1
|
* s/adress/address/kris2001-07-231-2/+2
| | | | | Inspired by: OpenBSD MFC After: 1 week
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-204-2/+8
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove whitespace at EOL.dd2001-07-151-3/+3
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-2/+1
| | | | - MAN[1-9] -> MAN.
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-191-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul
* mdoc(7) police: Remove the debug line that prevents hyphenationru2001-01-241-1/+0
| | | | | for the purposes of spelling checking that left in after my last visit to this file.
* Mdoc(7)ify.ru2000-12-142-22/+45
|
* Add a workaround in the EXAMPLE section for booting diskless SPARC/SunOSwilko2000-12-111-0/+8
| | | | | | Xkernel machines. Might save people some hair pulling.. Submitted by: rene@tcja.nl
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-3/+6
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$peter1999-08-287-7/+7
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* #include <arpa/inet.h> for inet_* definitions.peter1998-06-122-4/+8
|
* o be careful about buffer overflowsimp1998-06-091-5/+7
| | | | | | o Use snprintf rather than sprintf This is only lightly tested.
* Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogusbde1998-05-091-6/+7
| | | | | dependencies of generated .c files on generated headers (these made `make -JN' work provided `depend' was made first). Sorted sources lists.
* Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogusbde1998-04-261-5/+6
| | | | | dependencies of generated .c files on generated headers (these made `make -JN' work provided `depend' was made first). Sorted sources lists.
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-1/+1
|
* Restored xref to diskless(8). diskless(8) existed but was not installed.bde1998-01-011-2/+3
| | | | PR: 2153
* Fix a number of buffer overflow conditions.joerg1997-10-191-9/+17
| | | | | PR: bin/4610 Submitted by: David Holland (dholland@burgundy.eecs.harvard.edu)
* Use err(3). Add usage and prototypes. Remove Xref: Diskless(8) does notcharnier1997-09-045-109/+108
| | | | exist. Use An/Aq macros for Author.
* Show the real revision date and not the date that thissteve1997-06-231-1/+1
| | | | manpage is being viewed.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-226-6/+6
|
* #include <string.h> to help silence -Wall.mpp1997-02-201-0/+1
|
* Sort cross references.wosch1997-01-201-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-146-6/+6
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Convert to mdoc format.mpp1996-12-231-52/+34
|
* Correct the syntax of the example to reflect reality, and note that themsmith1996-11-251-6/+6
| | | | | | 'host:' element is mandatory. A better fix would involve reworking bootparamd not to require a ':' in the response string.
* Change references from rpc.bootparamd to bootparamd.mpp1996-04-072-3/+3
|
* Add bootparams.5.joerg1996-03-282-1/+81
| | | | Obtained from: NetBSD
* This commit was generated by cvs2svn to compensate for changes in r13122,peter1995-12-303-347/+0
| | | | which included commits to RCS files with non-trunk default branches.
* main.c:wpaul1995-07-252-24/+9
| | | | | | | | | | - use daemon() to daemonify ourselves - the 'Usage' printf() was missing an argument - remove declaration of rindex and #include <string.h> instead bootparam.c: - get rid of local declarations of YP functions and include headers from /usr/include/rpcsvc instead.
* Add a dependency on the .x source file and avoid copying it.bde1995-07-042-30/+20
| | | | | | | bootparam_prot.x was changed for nfsv3 but bootparamd and callbootd kept using the old version which fortunately failed at build time. Copying hasn't been necessary since path handling was fixed in rpcgen/rpc_main.c some time ago.
* Remove trailing whitespace.rgrimes1995-05-305-52/+52
|
* Stop callbootd from dumping core when attempting to directly query awpaul1995-03-261-1/+6
| | | | | bootparam server on a host that isn't running bootparamd: if clnt_create() comes back with a NULL pointer, bail out with an error.
* Took out .include "../../Makefile.inc" which shouldn't be needed now that Iwpaul1995-03-022-4/+2
| | | | | put a proper Makefile.inc in the top level of the bootparam heirarchy. (Someday I'll learn. *sigh*)
* Whoops. I knew I was forgetting something.wpaul1995-03-021-0/+3
|
* My patch this morning was not complete. I never tested make install - stupidlyjkh1995-03-012-2/+4
| | | | | | | | | | | thinking that it would work :( The install program never get a destination directory. Here is another patch that should also be added. I think this should be the last one for these makefiles :) [Note: I realize that there are more things wrong than this, but this should at least get the tree compiling again! -jkh] Submitted by: John Hay <jhay@mikom.csir.co.za>
* The current bootparamd makefiles break if you do a make obj first. It doesphk1995-03-012-27/+22
| | | | | | | | | work if you don't have the obj link. Here is a patch for it. It will still work if you don't have an obj link:) (I stuck a ${DESTDIR} in front of the absolute path to /usr/include... /phk) Reviewed by: phk Submitted by: John Hay <jhay@mikom.csir.co.za>
* Obtained from: The Xkernel source distributionwpaul1995-02-2611-0/+1203
I hope I'm doing this right. This is an initial version of bootparamd for FreeBSD based on a public domain rpc.bootparamd implementation by a gentleman named Klas Heggemann. This program has apparently been around for a while. The README explicitly lists the code as public domain, so I guess it's safe to use. This program is needed for booting diskless SunOS and Solaris machines. rarpd is also required, but that's in the works too. I have made two changes to this code: - Implemented NIS lookups. If /etc/bootparams contains a '+' then the bootparams map is consulted. - Allow 0.0.0.0 as a user-specified router address. The SunOS rpc.bootparamd returns this value in many cases.
OpenPOWER on IntegriCloud