Commit Graph

8197 Commits

Author SHA1 Message Date
Jake Burkholder
fa5fb2ec22 Get byte swapping primitives from sys/endian.h now that they are exported
to userland.  This makes elf2aout work as a cross tool.
2002-05-17 15:46:08 +00:00
Brian Somers
27a0cd1ccf MFS: Extend a buffer size so that packages with particularily deep dependency
lists install properly.
2002-05-17 09:46:46 +00:00
Juli Mallett
2244ec0163 Stop this program's abuse of malloc(3). Its return value doesn't need these
ugly explicit casts, and its argument doesn't need explicitly cast to u_int,
especially if sizeof() is being used.
2002-05-17 05:27:52 +00:00
Brian Somers
5bc74cd68f Put back <string.h> 2002-05-17 00:44:54 +00:00
Andrew R. Reiter
1effc132ba - Convert a bunch of macros to the actual function they're calling. These
include:

          UM_ALLOC        -> calloc, malloc
          UM_FREE         -> free
          UM_COPY         -> bcopy
          UM_ZERO         -> bzero

    This is the first step towards removing these macros.
2002-05-16 23:57:37 +00:00
Andrew R. Reiter
d58f1bc48b - Convert a bunch of macros to the actual function they're calling. These
include:

	UM_ALLOC 	-> calloc, malloc
	UM_FREE		-> free
	UM_COPY		-> bcopy
	UM_ZERO		-> bzero

  This is the first step towards removing these macros.
2002-05-16 23:28:40 +00:00
Eric Melville
595d77f913 Remove cross reference to pkg_update(1).
Submitted by:	dd
2002-05-16 22:46:53 +00:00
Mark Murray
d99142426b Replace the perl script version of this with a sh(1) script.
Submitted by:	Riccardo "VIC" Torrini <riccardo@torrini.org>
2002-05-16 18:51:57 +00:00
Hajimu UMEMOTO
9b1222a712 Don't install scriptdump which is written in Perl. This is
corresponding to removal of Perl from base system.
2002-05-16 15:44:08 +00:00
Brian Somers
52c555907f Add some OpenBSD includes 2002-05-16 14:47:19 +00:00
Brian Somers
6573c25286 Fix a mis-placed #else/#endif 2002-05-16 14:28:32 +00:00
Brian Somers
a16061b236 Handle MS-CHAPv2 authentication correctly via the RADIUS server (if it's
configured).
Handle internal failures in radius_Authenticate() correctly.
Bump the ppp version number.

This doesn't yet work with MPPE.  More will follow.

Sponsored by: Mozoon
2002-05-16 13:34:20 +00:00
Tom Rhodes
3468b317cb more file system > filesystem 2002-05-16 04:10:46 +00:00
Tom Rhodes
67c8020f12 Consistancy check: s/file system/filesystem/g 2002-05-16 02:28:39 +00:00
Tom Rhodes
89408e839c pciconf(8) has an incorrect synopsis which argues the output from the
actual program.
2002-05-15 17:47:58 +00:00
Dag-Erling Smørgrav
cb20e5a97a Explicitly cast NCONTINENTS to int to silence an overflow warning. 2002-05-15 09:39:31 +00:00
Dag-Erling Smørgrav
80e9dc4f08 Remove bogus cast. 2002-05-15 09:36:46 +00:00
Dag-Erling Smørgrav
0c89fa0c34 Unbreak Alpha build. 2002-05-15 09:20:06 +00:00
Dag-Erling Smørgrav
9f60cc9e43 Unbreak Alpha build. 2002-05-15 08:01:31 +00:00
Ian Dowse
91ca1a918f Use fgetln to remove the static limit on the length of lines in
/etc/exports. Oversized lines were unlikely due to the large 10k
limit, but any found would cause mountd to exit with an error. Also
fix one or two compiler warnings.
2002-05-14 23:24:28 +00:00
Maxim Sobolev
dd3a3dfc3b - Make use of DEPOROGINs (if there are any) when installing package;
- fix few bogosities here and there;
- move some common routines into the library.

MFC after:	2 weeks
2002-05-14 21:42:37 +00:00
Daniel Harris
35213a76a9 Trivial language fixes.
PR:		38015
Submitted by:	Chris Pepper <pepper@mail.rockefeller.edu>
2002-05-14 21:09:05 +00:00
Brian Somers
6f4cd65600 Fix an include for NetBSD 2002-05-14 17:50:25 +00:00
Brian Somers
d76a00091c Avoid a rather bizarre warning from gcc 3.1:
/usr/src/usr.sbin/ppp/cbcp.c:566:61: warning: trigraph ??! ignored
2002-05-14 13:32:30 +00:00
Brian Somers
de59e178aa o Clean up some #includes
o Bump version number to 3.0.4
o When talking to a RADIUS server, provide a NAS-Port-Type.

  When the NAS-Port-Type is Ethernet, provide a NAS-Port value equal
  to the SESSIONID from the environment in direct mode or the
  NGM_PPPOE_SESSIONID message in other modes.  If no SESSIONID is found,
  default to the interface index in client mode or zero in server mode.

  When the NAS-Port-Type is ISDN, set the NAS-Port to the minor number
  of the physical device (ie, the N in /dev/i4brbchN).

  This makes it easier for the RADIUS server to identify the client
  WRT accounting data etc.

Prompted by:	lsz8425 <lsz8425@mail.cd.hn.cn>
2002-05-14 12:55:39 +00:00
Brian Somers
cb36028eff Mention the ``end of output'' for each periodic script.
Submitted by:	David Wolfskill <david@catwhisker.org>
PR:		37036
MFC after:	1 week
2002-05-14 01:15:35 +00:00
Brian Somers
a43e859d63 Calculate the number of open links properly when deciding on whether to
just send PROTO_IP packets when we've got only one link up in multi-link
mode.

Problem noted by:	Adrian Close <adrian@fernhilltec.com.au>
MFC after:		1 week
2002-05-14 00:59:28 +00:00
Brian Somers
e0ae8e1950 Fix a syntax error 2002-05-13 20:25:47 +00:00
Ruslan Ermilov
423e9124d9 Mark all internal libraries with INTERNALLIB. 2002-05-13 11:24:03 +00:00
Ruslan Ermilov
46f8fdc34e Removed now unused INTERNALSTATICLIB.
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
2002-05-13 11:09:07 +00:00
Giorgos Keramidas
e4e67dfec7 o Uncapitalize .Nd macro arguments and remove punctuation
o  Minor grammar fixes.
o  Sort SEE ALSO references, and add iostat(8).
o  Delete punctuation at end of AUTHORS' section only line

Reviewed by:	rwatson, Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-13 08:40:07 +00:00
Giorgos Keramidas
1a6b42c84b Remove EOL space.
This is a whitespace only change.

Reviewed by: rwatson, Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-13 08:37:46 +00:00
Poul-Henning Kamp
386f1d1bf2 Sigh... Yet a BBSIZE breakage. 2002-05-12 21:43:02 +00:00
Robert Watson
11e4779e45 Add a man page for the devinfo command; I'd argue devinfo is the single
most useful new command added to FreeBSD 5.0, but maybe that's just
me :-).

Submitted by:	Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-12 14:23:15 +00:00
Dima Dorfman
361817b059 demon -> daemon
Submitted by:	zhuravlev alexander <zaa@box.ulstu.ru>
2002-05-11 23:20:53 +00:00
Brian Somers
413205628d We don't need to include arpa/inet.h here. In fact, only FreeBSD needs
netinet/in.h.
2002-05-11 17:04:01 +00:00
Eric Melville
003f849311 Remove cross reference to pkg_update(1). 2002-05-11 16:27:19 +00:00
Brian Somers
b50574e8bc #include netinet/in.h when !__FreeBSD__ to silence some warnings from
the inclusion of arpa/inet.h
2002-05-11 10:54:45 +00:00
Dima Dorfman
ff8ac0d53c sysctl -w -> sysctl
Approved by:	ume
2002-05-11 05:55:05 +00:00
Dima Dorfman
9bbb043ee9 Beware the log demon! (Fix typo: s/demon/daemon/)
Submitted by:	zhuravlev alexander <zaa@ulstu.ru>
2002-05-11 05:16:02 +00:00
Alfred Perlstein
f7bb25f702 replace __FUNCTION__ with standardized __func__.
Requested by: jhb
2002-05-11 04:17:55 +00:00
Alfred Perlstein
40e7772b07 unbreak build: fix multi-line string literal 2002-05-11 04:10:49 +00:00
Alfred Perlstein
a74d1691fe unbreak build: ditch multi-line string literals 2002-05-11 03:54:21 +00:00
Alfred Perlstein
a2bcd1a09f fix build:
you may not use string concatination with __FUNCTION__, replace all occurances
of:
__FUNCTION__ ": error string"
with:
"%s: error string"
2002-05-11 03:48:49 +00:00
Brian Somers
35bed99ba9 NetBSD keeps des.h in /usr/include/openssl these days 2002-05-11 03:47:15 +00:00
Masafumi Max NAKANE
0434bdb78c Typo. 2002-05-10 03:53:00 +00:00
Brian Somers
ff8e577bc6 Add support for MS-CHAP authentication via a RADIUS server.
Add support for Reply-Message and MS-CHAP-Error.

Sponsored by:	Monzoon
2002-05-10 03:11:35 +00:00
David E. O'Brien
67b831cca6 Turn off pppctl -- it won't like with an in-tree Gcc 3.1 built libc_r. 2002-05-10 00:48:33 +00:00
Maxim Sobolev
8ae0995264 When packing installed package into a file (pkg_create -b) make sure to
include all package files into resulting tarball.

PR:		34007
Submitted by:	olgeni

While I here:

- Remove bogus comment;
- ensure that we return the proper exit code in the case of -b failure.

MFC after:	5 days
2002-05-10 00:03:14 +00:00
Ollivier Robert
80077d2cc1 Fix buildworld breakage.
Submitted by:	Maxim Konovalov <maxim@macomnet.ru>
2002-05-09 14:15:57 +00:00