aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bootparamd
Commit message (Collapse)AuthorAgeFilesLines
* Pass -C to rpcgen.Stefan Farfeleder2005-02-091-3/+3
| | | | Notes: svn path=/head/; revision=141569
* Sort sections.Ruslan Ermilov2005-01-181-3/+3
| | | | Notes: svn path=/head/; revision=140442
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.Bjoern A. Zeeb2004-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 Notes: svn path=/head/; revision=137675
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* - Don't use argv[i] when i is uninitialised.Stefan Farfeleder2004-06-081-3/+2
| | | | | | | | | | - Cast isdigit's argument to unsigned char. - Remove the now unused variable i. Approved by: das (mentor) Notes: svn path=/head/; revision=130243
* Make this compile cleanly. Switch to using rpcgen to generatePeter Wemm2003-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. Notes: svn path=/head/; revision=121554
* fix problem with uninitalized ptr (from PR)John-Mark Gurney2003-06-201-8/+13
| | | | | | | | | | other minor clean up. PR: bin/2785 Submitted by: mpp Notes: svn path=/head/; revision=116598
* The .Nm utilityPhilippe Charnier2002-07-141-2/+3
| | | | Notes: svn path=/head/; revision=99968
* can not -> cannotSheldon Hearn2001-08-081-1/+1
| | | | Notes: svn path=/head/; revision=81298
* s/adress/address/Kris Kennaway2001-07-231-2/+2
| | | | | | | | Inspired by: OpenBSD MFC After: 1 week Notes: svn path=/head/; revision=80203
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-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. Notes: svn path=/head/; revision=80029
* Remove whitespace at EOL.Dima Dorfman2001-07-151-3/+3
| | | | Notes: svn path=/head/; revision=79755
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-2/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andAlfred Perlstein2001-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 Notes: svn path=/head/; revision=74462
* mdoc(7) police: Remove the debug line that prevents hyphenationRuslan Ermilov2001-01-241-1/+0
| | | | | | | | for the purposes of spelling checking that left in after my last visit to this file. Notes: svn path=/head/; revision=71573
* Mdoc(7)ify.Ruslan Ermilov2000-12-142-22/+45
| | | | Notes: svn path=/head/; revision=70008
* Add a workaround in the EXAMPLE section for booting diskless SPARC/SunOSWilko Bulte2000-12-111-0/+8
| | | | | | | | | Xkernel machines. Might save people some hair pulling.. Submitted by: rene@tcja.nl Notes: svn path=/head/; revision=69870
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-3/+6
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57673
* $Id$ -> $FreeBSD$Peter Wemm1999-08-287-7/+7
| | | | Notes: svn path=/head/; revision=50479
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-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 Notes: svn path=/head/; revision=48791
* #include <arpa/inet.h> for inet_* definitions.Peter Wemm1998-06-122-4/+8
| | | | Notes: svn path=/head/; revision=36917
* o be careful about buffer overflowsWarner Losh1998-06-091-5/+7
| | | | | | | | | o Use snprintf rather than sprintf This is only lightly tested. Notes: svn path=/head/; revision=36794
* Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogusBruce Evans1998-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. Notes: svn path=/head/; revision=35891
* Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogusBruce Evans1998-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. Notes: svn path=/head/; revision=35466
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-231-1/+1
| | | | Notes: svn path=/head/; revision=34809
* Restored xref to diskless(8). diskless(8) existed but was not installed.Bruce Evans1998-01-011-2/+3
| | | | | | | PR: 2153 Notes: svn path=/head/; revision=32160
* Fix a number of buffer overflow conditions.Joerg Wunsch1997-10-191-9/+17
| | | | | | | | PR: bin/4610 Submitted by: David Holland (dholland@burgundy.eecs.harvard.edu) Notes: svn path=/head/; revision=30570
* Use err(3). Add usage and prototypes. Remove Xref: Diskless(8) does notPhilippe Charnier1997-09-045-109/+108
| | | | | | | exist. Use An/Aq macros for Author. Notes: svn path=/head/; revision=29102
* Show the real revision date and not the date that thisSteve Price1997-06-231-1/+1
| | | | | | | manpage is being viewed. Notes: svn path=/head/; revision=26826
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-311-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24428
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-226-6/+6
| | | | Notes: svn path=/head/; revision=22997
* #include <string.h> to help silence -Wall.Mike Pritchard1997-02-201-0/+1
| | | | Notes: svn path=/head/; revision=22954
* Sort cross references.Wolfram Schneider1997-01-201-2/+2
| | | | Notes: svn path=/head/; revision=21880
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Convert to mdoc format.Mike Pritchard1996-12-231-52/+34
| | | | Notes: svn path=/head/; revision=20827
* Correct the syntax of the example to reflect reality, and note that theMike Smith1996-11-251-6/+6
| | | | | | | | | 'host:' element is mandatory. A better fix would involve reworking bootparamd not to require a ':' in the response string. Notes: svn path=/head/; revision=19953
* Change references from rpc.bootparamd to bootparamd.Mike Pritchard1996-04-072-3/+3
| | | | Notes: svn path=/head/; revision=15126
* Add bootparams.5.Joerg Wunsch1996-03-282-1/+81
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=14890
* recording cvs-1.6 file deathPeter Wemm1995-12-303-347/+0
| | | | Notes: svn path=/cvs2svn/branches/ATT/; revision=13122
* main.c:Bill Paul1995-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. Notes: svn path=/head/; revision=9718
* Add a dependency on the .x source file and avoid copying it.Bruce Evans1995-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. Notes: svn path=/head/; revision=9394
* Remove trailing whitespace.Rodney W. Grimes1995-05-305-52/+52
| | | | Notes: svn path=/head/; revision=8857
* Stop callbootd from dumping core when attempting to directly query aBill Paul1995-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. Notes: svn path=/head/; revision=7385
* Took out .include "../../Makefile.inc" which shouldn't be needed now that IBill Paul1995-03-022-4/+2
| | | | | | | | put a proper Makefile.inc in the top level of the bootparam heirarchy. (Someday I'll learn. *sigh*) Notes: svn path=/head/; revision=6843
* Whoops. I knew I was forgetting something.Bill Paul1995-03-021-0/+3
| | | | Notes: svn path=/head/; revision=6841
* My patch this morning was not complete. I never tested make install - stupidlyJordan K. Hubbard1995-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> Notes: svn path=/head/; revision=6805
* The current bootparamd makefiles break if you do a make obj first. It doesPoul-Henning Kamp1995-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> Notes: svn path=/head/; revision=6798
* Obtained from: The Xkernel source distributionBill Paul1995-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. Notes: svn path=/cvs2svn/branches/bootparamd/; revision=6751