Commit Graph

6695 Commits

Author SHA1 Message Date
itojun 166adfa9e5 sync w/ 20040617. 2004-06-17 03:42:55 +00:00
dbj 7223a7a4c2 when printing alternate superblocks, cast result of
fsbtodb() to (off_t) before multiplying by dev_bsize.
2004-06-14 07:22:04 +00:00
wiz d1625473fe though -> through. 2004-06-08 03:28:42 +00:00
snj 54ad3f67bb Spelling fixes, English tweaks, avoid using < and > directly. 2004-06-07 21:25:51 +00:00
fredb 6ff51429b0 Make this a shell script (invoking awk), rather than an awk script, to
make the option parsing work as expected. Patch submitted by Geoff Wing
in PR pkg/25553, which this closes.
2004-06-07 18:48:29 +00:00
itojun 62f70e2fb5 suppress -Wunused 2004-06-05 05:07:02 +00:00
thorpej ee3cac8241 Tweak the grammar so that conditional makeoptions work in files.* files
as intended.

Problem noted by itojun on tech-kern.
2004-06-05 03:21:53 +00:00
thorpej ea6a34247c vmunix -> netbsd 2004-06-04 23:44:35 +00:00
thorpej 7729811d27 One final place for strtolower() treatment. 2004-06-04 23:41:14 +00:00
thorpej 05c577b03f Use strtolower() in a couple more places. 2004-06-04 23:36:50 +00:00
thorpej 2d9180a3cc Add "conditional appending makeoptions". Syntax is:
makeoptions selector FOO+=bar

"selector" may be anything used as a key in the selecttab, i.e. an option,
a "device" name, an "attach" name, a file system, etc.

Semantics: FOO+=bar when the selector is set.  For example, if you have:

makeoptions pickle CPPFLAGS+=-I${S}/picklesrc

then "options PICKLE" will cause "CPPFLAGS+=-I${S}/picklesrc" to be
added to the Makefile.

Suggested by Matt Thomas.
2004-06-04 07:28:26 +00:00
thorpej b8ef2fe993 Add support for "appending makeoptions". The syntax in the config file is:
makeoptions FOO+=bar

Multiple appending makeoptions are allowed.  These are then emitted at
the %MAKEOPTIONSAPPEND token in the Makefile template.

Syntax suggested by Matt Thomas.
2004-06-04 04:38:27 +00:00
matt 84db866b89 Make the token be alphabetical (mostly) and each starting letter has
its own line(s).
2004-06-03 18:37:59 +00:00
wiz 996e601d13 One r in the option string is enough; from Jeff Ito. 2004-06-03 16:48:53 +00:00
uebayasi 5e494b866c Flags need Fl, not Ar. 2004-06-03 15:54:09 +00:00
wiz 50c34bcf41 Remove unhandled option letter c from option string, noted by Jeff Ito. 2004-06-03 15:47:04 +00:00
heas 4e29cf9d07 Reference rndc(8) instead of bind8's ndc(8).
ISC-Bugs #11509
2004-06-03 15:05:45 +00:00
wiz 856533536c Sync usage with man page.
From Kouichirou Hiratsuka in PR 25798.
2004-06-03 14:51:32 +00:00
uebayasi 14e27a0be3 Change "for ... `find ...`" to "find ... | while read ..." loop so that
save invocations of sed(1).

Reviewed By:	seb
2004-06-03 13:13:42 +00:00
uebayasi 165341b35c Delete superfluous `;'. 2004-06-03 12:50:37 +00:00
minskim 7f2ed1973b Bump to 20040601.
- Handle symlinks in a view correctly.
  - Remove superfluous escapes in BRE.
2004-06-01 16:17:22 +00:00
minskim 2972ec435c If symlink integrity check fails, try the target of the symlink. This
is needed when linkfarm creates a symlink to a symlink in the depot.
OK'ed by silence on tech-pkg@.
2004-06-01 16:15:31 +00:00
minskim e7f62cf2e3 Remove superfluous escapes in BRE. OK'ed by uebayasi@. 2004-06-01 16:08:10 +00:00
lukem 5e4b83e60b Use uint64_t instead of uint32_t to store a host inode when checking
for duplicate inodes, as Cygwin's stat(2) has a 64 bit st_ino.
Fix from Ian Lance Taylor in private email.
2004-05-31 22:24:51 +00:00
lukem bb07f837f4 minor typo 2004-05-31 22:21:12 +00:00
hannken 8c21bc6224 Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.
- Not enabled by default. Needs kernel option FFS_SNAPSHOT.
- Change parameters of ffs_blkfree.
- Let the copy-on-write functions return an error so spec_strategy
    may fail if the copy-on-write fails.
- Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock.
- Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer.
- Add a function ffs_checkfreefile needed for snapshot creation.
- Add special handling of snapshot files:
    Snapshots may not be opened for writing and the attributes are read-only.
    Use the mtime as the time this snapshot was taken.
    Deny mtime updates for snapshot files.
- Add function transferlockers to transfer any waiting processes from
  one lock to another.
- Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through
  a vnode.
- Add snapshot support to ls, fsck_ffs and dump.

Welcome to 2.0F.

Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2004-05-25 14:54:55 +00:00
itojun 62eb5fae68 close(2) missing. Andrey Matveev 2004-05-24 03:51:04 +00:00
tron f4ae533fa6 Really set "MKPRIVATELIB" and not "INTERNALLIB". 2004-05-23 14:05:39 +00:00
lukem a7bdccd7ef Improve how the various helper libraries are added to LDADD/DPADD, including
supporting caching the OBJDIRS (via .MAKEOVERRIDES) to speed up subdir makes.
(Based on similar work in gnu/usr.sbin/postfix)
2004-05-23 03:16:40 +00:00
lukem deb5b059d1 use MKPRIVATELIB=yes (instead of setting various other stuff to no) 2004-05-23 02:49:26 +00:00
lukem b817247988 Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
grant 1d410ae5a8 tweak "abc cannot attach to xyz" error to read a little clearer. 2004-05-22 04:04:13 +00:00
wiz c50b05e3d3 Some more or less mechanic updates for bind8 -> bind9.
Also, refer only to latest DNSSEC RFC. Bump date.
2004-05-21 23:34:31 +00:00
christos 14b88f7570 The Makefile.inc determines if we have threads or not, so don't hard-code this. 2004-05-21 16:05:51 +00:00
martin ad1c3f227e Decrease log severity to debug if a protocol is not supported by the
kernel. This avoids "rpcbind: cannot create socket for tcp6" messages
at startup on IPv4-only kernels.
2004-05-20 12:22:23 +00:00
wiz 552e912079 Use Sq, Dq; sort sections; new sentence, new line;
refer to DNSSec RFCs in SEE ALSO (since they are mentioned in the text;
XXX: text should be updated to refer to latest one only);
XXX: refers to BIND 8.
2004-05-20 01:01:33 +00:00
wiz fcff0031f7 New sentence, new line; use more macros; sort sections;
sort SEE ALSO; replace > with \*[Gt].
2004-05-20 00:37:51 +00:00
wiz 810322e03d Drop trailing whitespace. 2004-05-20 00:26:19 +00:00
itojun d405fc4436 build and install rndc-confgen (needed to create rndc.key) 2004-05-19 10:29:21 +00:00
christos b1fa643acc remove old makefiles 2004-05-18 00:13:44 +00:00
christos d981be40cf remove garbage file 2004-05-18 00:11:33 +00:00
christos 5862d9d92c Resolve conflicts 2004-05-18 00:10:39 +00:00
christos 9c2ff49b1e Import bind9 build framework 2004-05-18 00:06:57 +00:00
wiz 846b6d9564 Describe default polling rate correctly, from Jeff Ito in PR 25589.
New sentence, new line while here; bump date.
2004-05-16 10:54:12 +00:00
christos eba562cd86 PR/20066: John F. Woods: Supply a loadable lcpstatus command. 2004-05-13 19:37:58 +00:00
christos 1345b8cdf5 PR/20066: John F. Woods: Add plugin lcp hooks. 2004-05-13 17:31:57 +00:00
christos 18289afe56 PR/21178: Christian Biere: Potential misuse of ctype functions [pppd] 2004-05-13 17:02:32 +00:00
tron b174c24825 Fix handling of interface aliases if "rarpd" is not invoked with "-a". 2004-05-12 16:48:44 +00:00
wennmach 0269a1249b Problem: rpc.yppasswdd didn't work if invoked with the "-noshell" option.
Reason: In routine make_passwd() in yppasswdd_mkpw.c, fgets() is used
to read master.passwd line-by-line. The lines are then parsed using
pw_scan(), without removing the trailing \n from the line. pw_scan()
fills in the shell name into pw.pw_shell, including the trailing \n.

Subsequently, rpc.yppasswdd calls pw_copy(), which copies master.passwd
to ptmp, updating the entry for pw.pw_name. pw_copy() terminates the
updated entry with an additonal \n, so that there is now an empty line
in ptmp.

Finally, rpc.yppasswdd calls pw_mkdb(3), which exec's /usr/sbin/pwd_mkdb
to install ptmp to master.passwd (and to create the pwd.db and spwd.db
data bases). pwd_mkdb chokes on the empty ptmp line.

Fix: remove the trailing \n from the buffer fgets() returns. As a side
effect, this gets us some additional error checking.

Reviewed by <tron>.
2004-05-12 08:25:53 +00:00
christos 455c8493fb foliage from pack_dev change :-) 2004-05-11 17:11:03 +00:00