Commit Graph

7411 Commits

Author SHA1 Message Date
apb
1f082bb8d2 Wording changes to clarify some the options presented after
a file is merged.
2006-02-19 14:56:56 +00:00
apb
32c588d6a3 Fix errors in previous. I accidentally committed the wrong code. 2006-02-19 11:36:10 +00:00
apb
7e321ef839 Give etcupdate the ability to use etc.tgz and xetc.tgz.
* Expand the "-s" flag to -s {srcdir|tgzfile|tempdir}.
* Deprecate the "-b" flag.  It is replaced by "-s tempdir".
* Change "-s srcdir" to refer to the top of the source tree (e.g.
  /usr/src) instead of the etc subdirectory.

In etcupdate's interactive phase, enhance the "s" command to be able
to invoke alternative diff commands.

Also some style changes.

Approved by christos
2006-02-18 19:29:48 +00:00
dsl
959e130a7f Changes to allow support for a reduced set of architectures.
In particular if SMALLPROG is set (eg for installation crunched ramdiskbin)
only build for the current MACHINE.
2006-02-18 14:54:53 +00:00
dsl
2fdbc8bd5f The fstypes table is only needed for adding 'stage2' bootstraps on some
platforms.  Compile out the code if NO_STAGE2 is defined.
2006-02-18 12:45:15 +00:00
dsl
200e1792a1 Define the ib_mach_xxx entries here in a way that will allocate them into
the bss if the MD file isn't linked into the installboot image.
2006-02-18 12:43:36 +00:00
dsl
b22a0afa5c Ignore entre is in the 'machines' table that have no name.
Use terminal with to break line of machine names.
2006-02-18 12:42:26 +00:00
dsl
8c767ff592 Remove support for byteswapped file systems if NO_FFS_SWAP is defined.
For SAMLLPROG builds.
2006-02-18 12:39:38 +00:00
dsl
13b9ae1e99 Best to declare these structures 'extern' ... 2006-02-18 11:01:51 +00:00
dsl
cce659e230 Move the MD definitions into the MD files, leaving machines.c with just
a list of the supported machines.
2006-02-18 10:08:07 +00:00
rpaulo
39c9cdcdbf Show MPLS ICMP extensions. Only available if -M is passed.
Example:
	RC02-02 (195.245.142.66)  45.707 ms  20.418 ms  34.042 ms [MPLS: label: 515, exp: 0x0, ttl: 1]
	gr1-p340.attga.ip.att.net (12.123.20.190)  241.878 ms  251.945 ms [MPLS: label: 32133, exp: 0x0, ttl: 1]


Based on PR 22523: By Jesper Skriver (updated by ww@parc.styx.org and Mihai
CHELARU).

Things not in the PR that I changed/added:
       * changed exp and label to lower case
       * added ttl (probably not worth it but who knows..)
       * KNF/style/indent
       * C99 uintXX_t
2006-02-17 21:31:18 +00:00
tsarna
55551a76e2 Add postinstall item for the rwhod de-preivledging.
Check and correct permissions on /var/rwho files so rwhod
will be able to update them.
2006-02-14 17:14:21 +00:00
dsl
9f26f448bf Need to read and swap cpustats separately from the dkstats.
I wonder how many more programs use the code in vmstat/dkstats.c
2006-02-12 22:11:54 +00:00
yamt
16b7c5d1dd print a header on each outputs if and only if the output has 2 or more lines. 2006-02-12 11:23:31 +00:00
christos
4fa128a6ab rcsids. 2006-02-11 23:02:10 +00:00
christos
8b766b8af0 New version from David Boggs. 2006-02-11 23:01:10 +00:00
agc
5fc129c4a1 Descend into the iscsi directory. 2006-02-08 18:59:39 +00:00
agc
97f0c7d9de Reachover files for the iSCSI target.
The test harness files are included here, but are not built or installed.
It is not envisaged that a typical NetBSD user will have much use for an
iSCSI test harness.
2006-02-08 18:57:49 +00:00
christos
db38881997 Bye bye sushi (moved via repository copy to othersrc) 2006-02-08 00:46:13 +00:00
christos
a04e414992 update to 6.1.3; bump library version 2006-02-05 16:29:00 +00:00
christos
d8d9c20820 pass WARNS=4 2006-02-05 14:11:18 +00:00
christos
f3d0b6c690 PR/32747: Michael van Elst: Set close on exec on /dev/power fd so that it
is not open from the child process. While I am here:
- KNF, pass lint.
- Fix a bug where the outer loop index was re-used in the inner loop.
- Check the return code of wait.
2006-02-05 14:03:46 +00:00
wiz
4679714200 Sort SEE ALSO. 2006-02-04 18:48:01 +00:00
dyoung
9d2dd62a57 Stop duplicating the ISO9660 sources in sys/fs/cd9660/ for makefs(8). 2006-02-01 22:19:34 +00:00
christos
5883cf1e6d PR/32681: Yves-Emmanuel JUTARD: Fix and document -d [hostname [pub]] 2006-01-31 17:47:04 +00:00
dsl
16ca1f6da7 Fix the detection of the bootstrap magic number when run on big-endian systems.
Correct another typo.
2006-01-30 21:15:37 +00:00
christos
f49dbe00ee - use sizeof() instead of the buffer size.
- check write return.
- use MAXPATHLEN instead of BUFSIZ for a path buffer.
2006-01-29 18:55:46 +00:00
christos
85d0017934 Initialize loop master to -1 so that we don't accidentally close fd 0; should
fix smb's problem.
2006-01-29 17:52:38 +00:00
jmmv
1cd43a0b52 Add a missing space in the usage message. 2006-01-26 17:24:52 +00:00
martin
91378840b8 Add reference to installboot(8), as suggested by Patrick Welche. 2006-01-26 15:05:27 +00:00
joerg
32ce5ba905 Add conditional code to ignore the non-numeric part of an OS version
for the sake of compatibility tests in pkg_add.
E.g. DragonFly versions like
	1.4.0-RELEASE
are reduced to
	1.4.0

This code is disabled by default on NetBSD.
2006-01-25 00:17:34 +00:00
dsl
6c51ef9cb5 Fix spelling mistake in message 2006-01-24 18:35:18 +00:00
wiz
ec5cd4a9b7 New sentence, new line. Bump date for previous. Properly case PostScript. 2006-01-22 21:31:17 +00:00
wiz
2d00c446d6 Bump date for previous. 2006-01-21 23:34:45 +00:00
rpaulo
78678b130a Better support of IPv6 scoped addresses.
- most of the kernel code will not care about the actual encoding of
  scope zone IDs and won't touch "s6_addr16[1]" directly.
- similarly, most of the kernel code will not care about link-local
  scoped addresses as a special case.
- scope boundary check will be stricter.  For example, the current
  *BSD code allows a packet with src=::1 and dst=(some global IPv6
  address) to be sent outside of the node, if the application do:
    s = socket(AF_INET6);
    bind(s, "::1");
    sendto(s, some_global_IPv6_addr);
  This is clearly wrong, since ::1 is only meaningful within a single
  node, but the current implementation of the *BSD kernel cannot
  reject this attempt.
- and, while there, don't try to remove the ff02::/32 interface route
  entry in in6_ifdetach() as it's already gone.

This also includes some level of support for the standard source
address selection algorithm defined in RFC3484, which will be
completed on in the future.

From the KAME project via JINMEI Tatuya.
Approved by core@.
2006-01-21 00:15:35 +00:00
wiz
771b656bd0 Add missing .El. From Nicolas Joly in PR 32546. 2006-01-20 21:50:54 +00:00
wiz
5fb854a4b2 Add reference to RFC 3164. From Pavel Cahyna in PR 32578. 2006-01-20 21:48:41 +00:00
christos
c681304808 Instead of dealing with port@host in many places, do it where it is needed.
It reduces code and complexity and at the same time allows as to use symbolic
ports instead of just numeric everywhere.
2006-01-20 17:30:00 +00:00
garbled
79363b714f Add control file documentation for 'o' handling, and fix the
documentation on the DVI handling, the correct letter is 'd' not 'r'.
2006-01-20 08:51:40 +00:00
garbled
bd7bcee846 Add a simple filter that encapsulates ascii text into HP PJL format.
Script written by Ross Harvey.
2006-01-20 08:37:26 +00:00
elad
3281cee076 Default socket owner to operator:operator. 2006-01-20 00:21:35 +00:00
garbled
fad94e160d Fix PR bin/30272 Lpd would create the tempfile "remotexxxxx" and send
that, but then fill out the control file with the "df" filename.  Fix by
sending the remote file with the "df" filename, as suggested by Robert
Vargason on tech-userlevel.  lpd -r now works properly with an if (input
filter)
2006-01-19 19:17:59 +00:00
garbled
2d58d3d4c7 If we set SIGCHLD to SIG_IGN then any wait()'s on the child processes will
return -1.  This causes filters to fail because we get a value for
child_pid we weren't expecting.  Set SIGCHLD to SIG_DFL instead to clear
the reapchild setting when forking the child lpd.
2006-01-18 23:17:38 +00:00
garbled
9ca158e136 change return(0) to return(rv). We went to all the trouble to calculate the
return value, we might as well return it. (fixes lpq -a, and probably lpd)
2006-01-18 19:11:25 +00:00
garbled
d1a9ef55c4 per PR bin/12958 change buf[MAXPATHLEN] to buf[BUFSIZ] to avoid potential
future problems if either should change.
2006-01-17 19:41:49 +00:00
garbled
517b1ba160 Update a comment regarding control file WRT "o" 2006-01-17 19:12:17 +00:00
garbled
fae257a066 Fix PR bin/14247
This PR claims that MacOSX 10.1 cannot print postscript files to a NetBSD
lpd because the mac will tag the file with an "o" for postscript, which
we do not handle.  Rather than simply mapping o -> f as was done in the
PR, or mapping o -> l as was done in FreeBSD, I have implemented full
support for the "o" option.  If a postscript filter does not exist in the
printcap file however, it will default to "l" handling.

With this change, you can now specify a "pf" or postscript filter in your
printcap, and have it handle postscript files sent to it with "lpr -o".

The "o" format in lpd is specified in RFC1179 as being a valid format flag.
2006-01-17 19:11:12 +00:00
garbled
e76be65112 in ckqueue() if "sd" is not an existing capability, than sd will be
uninitialized, causing the free() in out: to explode.  Initialize sd to NULL.
2006-01-17 18:38:12 +00:00
is
def92bcab5 Fix obvious error, hopefully correctly. 2006-01-15 13:17:15 +00:00
agc
9823410edb Use a CPP definition for "/sbin/nologin" - it's at the top of the
file.

Modify the logic in the previous but one commit - /sbin/nologin should
be considered a valid user shell, since otherwise, with the addition
of the checks for a valid user shell, useradd with a shell of
/sbin/nologin will fail.

Modify some of the code here to conform to the standards in the rest
of this file.
2006-01-14 22:00:52 +00:00