Commit Graph

6950 Commits

Author SHA1 Message Date
lukem 777a16793a Fix description of firmware. From Damien Bergamini. 2004-08-27 00:05:04 +00:00
wiz 6045854359 Remove duplicate include. Noted by Jeff Ito. 2004-08-26 20:26:08 +00:00
wiz 9029210e32 Avoid printing a useless \0. From SHIMIZU Ryo in PR 26766. 2004-08-26 13:05:14 +00:00
wiz c648671766 Sync usage with man page, and fix a typo in a comment. 2004-08-25 18:49:06 +00:00
wiz f8b131dd8f Minimally describe -g and -h; some consistency changes. 2004-08-25 18:48:54 +00:00
wiz ab0dd82b9c Bump date for -A documentation, and sort option descriptions. 2004-08-25 18:34:54 +00:00
wrstuden 2cf9ffa1ee Document recently-revived -A option, which sets the authentication
type. Eventually we want ifconfig to handle this, but we support
it here until ifconfig gets updated.
2004-08-25 18:29:28 +00:00
snj 8561540c0d Avoid comma abuse, remove a redundant word, and add a missing period. 2004-08-23 19:45:36 +00:00
cube 0d6cfa8af6 Provide a correct description of -R flag, as suggested by Jim Bernard in
PR 26698.
2004-08-23 19:41:05 +00:00
lukem 1b561b425f only build ipwctl on i386; it is not much use elsewhere 2004-08-23 13:51:05 +00:00
lukem 970073daaf descend into ipwctl 2004-08-23 13:27:38 +00:00
wiz a13de4f0f5 Move ipw(4) from usr.sbin/ipwctl to share/man/man4. 2004-08-23 13:25:40 +00:00
lukem 9aba85d110 Document where to get the firmware from, and the differences between
the firmware files.
2004-08-23 13:25:11 +00:00
wiz 35b794816f New sentence, new line; remove (R) after Intel. 2004-08-23 13:24:14 +00:00
wiz 894603cac1 New sentence, new line; remove explanations from synopsis;
remove (R) after Intel; style improvement.
2004-08-23 13:23:47 +00:00
wiz afbced614e Drop trailing whitespace. 2004-08-23 13:20:21 +00:00
lukem 6a94083b97 tweak usage 2004-08-23 13:11:45 +00:00
lukem ef381d40a5 NetBSD RCSID & style tweaks 2004-08-23 11:54:28 +00:00
lukem b1227d8619 ipwctl(8) - configure Intel(R) PRO/Wireless 2100 (ipw(4)) network adapter
Written by Damien Bergamini, from http://damien.bergamini.free.fr/ipw/
2004-08-23 11:45:37 +00:00
he c388a506cb Move the local array declaration of flist[] to the variable declaration
section, so that this compiles with gcc 2.95.3 as well.  Fixes build
problem for vax.
2004-08-18 19:10:15 +00:00
yamt b012ef443f revert a part of the previous. (uint -> u_int)
to make tools/installboot compile again.
2004-08-16 05:57:52 +00:00
dsl 0b10fdb3b8 Add an option to set bp_consaddr (serial console IO port address)
Only complain about small patch area if we would write something non-zero there.
2004-08-15 22:00:12 +00:00
jrf ea0b6a43d0 Add -v option to usage message. 2004-08-14 02:16:13 +00:00
wiz e682d869e8 Bump date for previous. 2004-08-13 13:45:53 +00:00
wiz bf78254603 Sort options, add -K to usage. 2004-08-13 13:45:46 +00:00
wiz 25ac688cb9 Bump date for new -q. 2004-08-13 13:38:14 +00:00
wiz 8a623e1980 Sort options in SYNOPSIS. 2004-08-13 13:37:14 +00:00
wiz 6579bae669 Add all options to usage. 2004-08-13 13:37:04 +00:00
agc 938f9f0f4f Modify pkg_info so that it will only print information on uninstalled
binary packages in the current working directory if -. is given on the
command line. If no -. is given, pkg_info will look for its information
in the ${PKG_DBDIR}.

This addresses a long-held gripe on the part of a number of people,
including myself, which completely violated the POLS.

Bump version for this and previous pkg_admin modification.
2004-08-13 13:34:42 +00:00
agc 50a555ad6a Add a -q switch to pkg_admin, which allows it to work in a quiet manner.
Fixes the change request in PR 26583, but in a different manner,
preserving existing behaviour and making the new behaviour dependent
upon a command line option.
2004-08-13 13:28:46 +00:00
hubertf 207fff285e pkg_info will not DTRT when applied to a binary package that doesn't
have all the files from ALL_FNAMES -- meta pkgs don't have +MTREE-files,
and as such it's impossible to retrieve _any_ information on them.
The fix is to only extract those +-files that are needed (as determined
by the command line options).

Problem noted by gavan@, code reviewed by grant@ and gavan@.
2004-08-07 01:55:06 +00:00
junyoung d4277bb7d5 Add -fno-strict-aliasing to CFLAGS to avoid gcc warning
"dereferencing type-punned pointer will break strict-aliasing rules"
which occurs when compiling crypto_openssl.c with -O[23s].
This should be gone once a new release of kame with a fix applied
is imported.
2004-08-05 17:13:54 +00:00
agc ef020cc402 Re-work the code which checks the recorded build versions of a binary
package to make pkg_add work properly when no +BUILD_INFO file exists.

Modify the return value from read_buildinfo() to return 1 for success
and 0 for failure.

Use symbolic constants, rather than integers.

If we can't read the build information, always tell of this fact.

Bump version to 20040730

Addresses PR 26429; a different version of these mods were verified to
allow a +BUILD_INFO-less binary package to be added by Martin Husemann.
2004-07-30 11:35:46 +00:00
dbj 2446aaf129 include <sys/statvfs.h> if HAVE_STRUCT_STATVFS_F_IOSIZE
addresses part of PR toolchain/26415
2004-07-24 16:30:50 +00:00
martti 7ff15b917f Upgraded IPFilter to 4.1.3 2004-07-23 05:39:03 +00:00
lukem 9cc32040b1 Implement -M to "merge" entries, even with different types.
This can be used in /etc/security to allow special.local to override
types of entries in special (e.g, replacing a dir with a link).

Rename Wflag to mtree_Wflag, to be more "external namespace" friendly.
2004-07-22 16:51:45 +00:00
atatat d2dd73eec2 More better description of current state of sendmail stuff in more
places.  This is intended to make some people a tad happier.
2004-07-22 03:44:12 +00:00
mycroft b96803cc00 Revert part of rev 1.31. It is *not* necessary to leave the executable
unstripped to load modules.  The symbol table that we strip isn't even loaded
or used by the dynamic linker.
2004-07-21 07:00:27 +00:00
wiz d776e96213 New sentence, new line; drop trailing whitespace; sort sections; use
\*[Lt]\*[Gt] instead of <>; use Dq foo instead of ``foo''; use
standard section headers; fix history: until pulled up, this appeared
in 3.0, not 2.0.
2004-07-16 14:53:13 +00:00
dyoung e0ca220c2c Add wlanctl(8), a utility for examining 802.11 node tables. 2004-07-16 03:13:48 +00:00
mycroft 20e25f9518 Fix portability problems, per PR 5783. 2004-07-06 13:05:25 +00:00
uch bfd65ea205 add hpcsh 2004-07-04 15:55:35 +00:00
drochner f375ea19c6 -before adding a "partition", check for an ISO9660 filesystem,
and print out volume label and creation time
-if the drive cannot be open()ed read-write, try read-only and
 print the information
2004-07-04 14:11:44 +00:00
uch 0afeae9aa7 add hpcsh 2004-07-03 12:55:47 +00:00
agc b186672660 Now that we have SHA1 passwords, modify useradd(8) so that it will accept
an encrypted SHA1 password on the command line.
2004-07-02 12:01:00 +00:00
itojun e090b691c1 pflog if support for tcpdump. Peter Postma 2004-06-29 04:46:35 +00:00
heas ca470f56bb Carriage return missing in error message. 2004-06-27 02:59:46 +00:00
he 30a10ee7dd Since spamdb and it's man page is in the set lists, we ought to
descend into the subdirectory to build and install it as well.
2004-06-26 13:14:27 +00:00
dsl 4114f04963 Put altq back - which Itojun deleted for us in the same revision. 2004-06-25 18:57:37 +00:00
itojun 344e6a89ca spamdb(8) and spamd.conf(5). noted by Thomas Klausner 2004-06-25 16:25:00 +00:00
wiz 9eb2f51613 Document amd64; from Nicolas Joly in PR 26026. 2004-06-25 15:08:45 +00:00
wiz e6d8e1c083 -a cannot be specified with an interface; remove it from that part
of the usage. Closes PR 25917 by Kouichirou Hiratsuka.
2004-06-25 14:52:36 +00:00
itojun e3e62063f0 authpf from OpenBSD 3.5 PF 2004-06-25 00:06:09 +00:00
lukem be48f412fd Define FFS_MAXBSIZE to 65536 and use instead of MAXBSIZE.
Deprecate unused MAXINOPB.
Should fix PR [toolchain/25603].
2004-06-24 22:30:13 +00:00
jmc b2f782612f Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944
2004-06-20 22:20:14 +00:00
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
kleink 5f593fa3da Bump to 20040510: readlink(2) buffer handling fixes. 2004-05-10 20:39:37 +00:00
kleink 48c51a151e Ensure readlink(2) result termination within buffer bounds. 2004-05-10 19:59:59 +00:00
kleink 25d6af944a Undo a pointless instance of readlink(2) buffer termination. 2004-05-10 19:23:48 +00:00
elric a4f71a0494 np->h_net is not a pointer. 2004-05-09 15:54:59 +00:00
jlam 7b5bb00500 Bump date of manpage after addition of -Q flag to pkg_info(1). 2004-05-08 21:05:02 +00:00
grant 0f204e9fc9 fix typo. 2004-05-08 16:50:37 +00:00
jlam 04d5477295 Fix up definition of SHOW_BI_VAR, the prototype for show_var(), and the
usage string for pkg_info(1).  Also bump the version to 20040508.  From
pkg/25494 by FUKAUMI Naoki.
2004-05-07 21:38:57 +00:00
jlam 19baba8fb8 Add a new flag -Q (for "query") to pkg_info(1) to query the build
information for the definitions of specific variables that were saved
from build time, e.g.

	$ pkg_info -Q PKGPATH glib
	devel/glib
	$ pkg_info -Q PROVIDES glib
	/usr/pkg/lib/libglib.so.13
	/usr/pkg/lib/libgmodule.so.13
	/usr/pkg/lib/libgthread.so.13

Bump the version number of pkg_install(1) to 20040507.
2004-05-07 16:40:30 +00:00
martin 812e909997 Make "local-phone-dialout" optional.
This makes creating standard config files for peers that do not care about
the calling number easy and helps roaming users.
2004-05-06 21:13:28 +00:00
wiz fe669e0931 Add comma in enumeration; use Aq instead of \*[Lt]\*[Gt]. 2004-05-03 14:23:12 +00:00
kochi 78ac4f02fc Describe AC adapter events. 2004-05-03 07:54:59 +00:00
kochi 00996ca57b Add AC adapter event type. 2004-05-03 07:45:37 +00:00
tv f3215814d5 20040428: In pkg_add, set the umask nice and early, and remove an absolute
setting of mode in a mkdir command.
2004-04-28 15:37:29 +00:00
dsl 1074bd3a3f Allow for ROOTINO when deciding whether their are enough inodes in the
created filesystem.  Otherwise this fails when asked for 63 inodes for
i386 ramdisk-big.
This code really needs to use the current version of newfs/mkfs.c where
the actual inode count can be passed in (instead of the density).
Fixes a build problem when I add /mountroot to mtree.common for sysinst.
2004-04-26 21:06:55 +00:00
kochi ffaf7e29a6 add references to ACPI man pages. 2004-04-25 03:13:00 +00:00
kleink 9ef6a94e02 Update for new pci_devinfo(3) signature. 2004-04-24 13:41:51 +00:00
christos 70229c52ba constify printcapdb 2004-04-24 02:59:19 +00:00
simonb 9bc855a931 s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
2004-04-23 02:58:27 +00:00
itojun 2a4c071a4f do not disclose endian/pid. henning@openbsd 2004-04-22 01:41:22 +00:00
tv 5b799f00cc Hi there. I'm a stack-allocated array. I'm filled with garbage until
someone puts something useful in me, like zero bytes.

(Read:  Fix uninitialized array member access in pkg_add.  Bump to 20040421.)
2004-04-21 20:10:10 +00:00
christos 6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
itojun 1e803d1e8b missing period at the end of sentence 2004-04-19 18:43:26 +00:00
itojun 26cf1d701e do not compile in print-isakmp.c, as src/dist/tcpdump contains ancient version
which could be vulnerable to attacks.
2004-04-12 04:01:27 +00:00
itojun b4a3a9e6c1 properly validate phase 1 signature.
http://www.vuxml.org/freebsd/d8769838-8814-11d8-90d1-0020ed76ef5a.html
2004-04-12 03:34:05 +00:00
wiz 0f952b0c54 Bump date for previous. 2004-04-11 13:31:17 +00:00
rh 56d86cdd8c Make pkg_add recognise binary packages built with ignored recommendations
(IGNORE_RECOMMENDED set in the presence of RECOMMENDED pre-requisites).
This change is fully backward-compatible: binary packages have set the
corresponding BUILD_INFO since RECOMMENDED was implemented.  Packages
built before that time will install as before.
Bump PKGTOOLS_VERSION to 20040411.
This closes PR pkg/24712 by Thomas Klausner.
2004-04-11 06:13:46 +00:00
darrenr 221fa57241 With recent changes to BPF, pushing the default buffer size to 1MB, running
a bunch of small daemons that seem small packet flows can easily chew up
significant kernel memory (each BPF device opened takes 2*buffersize of
wired memory.)  In each of these applications, add code to set the buffer
size to 32k before setting the interface.
2004-04-10 17:53:05 +00:00
abs 0be46fce4e Fix file descriptor leak in read_buildinfo() which caused one leaked
descriptor per package inspected. 'pkg_add *' in a large directory now
works.  Update PKGTOOLS_VERSION to "20040410"
2004-04-10 09:10:17 +00:00
he 1a3822fca0 Wait for libpfkey to build before descending into racoon, as the
latter depends on the existence of the result of the former.
Fixes parallel build problem.
2004-04-09 22:23:14 +00:00
tv 84c1ac8b80 Datestamp as 20040409 to mark umask change. 2004-04-09 18:36:08 +00:00
tv 94b8c2cf60 Re-add umask() setting, and parameterize it so that pkgsrc/bootstrap based
pkgsrc platforms can override the value.
2004-04-09 18:27:48 +00:00
agc 1915cbb83e Fix signature verification after pkg_add and friends were changed to use
fexec() - trying to exec "gpg --verify %s" won't work with fexec, so split
up the command into separate words.
2004-04-06 05:56:07 +00:00
wiz 136d7943d4 When adding an IPv4 host, one can not leave the IPv4-address field if
one has entered invalid data (like an incomplete IP).
Their was no feedback about this, though.
Apply a patch from Peter Postma that gives feedback in this case.
Closes problem noted when re-testing PR 16937.
2004-04-05 10:25:12 +00:00
mrg 625248bde9 install ippool(5) manual as well. from peter postma in PR#25053. 2004-04-04 15:59:44 +00:00
he bf8f08004d Move kvm library spec to Makefile.inc, so that it gets specified
after the ipf library, since the ipf library depends on some functions
from the kvm library.

Fixes a build problem observed when building for sun2 (though I
won't claim understanding why this doesn't show up elsewhere).
2004-04-03 22:16:27 +00:00
lukem 3a06421e87 After populating the file system, update superblock->fs_old_cstotal from
superblock->fs_cstotal.  Fixes inconsistencies found by FreeBSD's fsck.
Problem noted by Luigi Rizzo <luigi@FreeBSD.org> via Colin Percival.
2004-04-02 11:27:56 +00:00
mrg 36fa2ebfb9 note that hosts_allow does not affect internal services 2004-04-02 10:13:57 +00:00
jmmv cdf47afe60 Remove duplicate include, fixes PR bin/25017 from Jeff Ito. 2004-04-02 09:58:33 +00:00
reed ef78b0e16e Some package names are extra long, like xscreensaver-gnome-4.13
and gdk-pixbuf-gnome-0.22.0nb1, so make sure that lines don't wrap.
Instead of having maxline based on MAXNAMESIZE, have it be based
on the length of the package name if longer than MAXNAMESIZE.
(This was discussed on tech-pkg list in November, 2003.)
2004-04-01 02:37:24 +00:00
tron 98f96f8aa4 Add missing "m" option in SYNOPSIS.
Remove duplicate "d" in getopt(3) call.
The patches were provided by Jeff Ito in PR bin/24971.
2004-03-31 12:00:57 +00:00
jmmv 7ac0ae8c23 Fix two typos, reported as part of PR bin/22581. 2004-03-31 11:15:36 +00:00
lukem 6c3d359a9b Simplify `bar.c: bar.y' (et al) rules by moving header dependencies which
bar.o (not bar.c) needs to DPSRCS, and using {.ALLSRC} in the target now
that only bar.y is a source.
2004-03-31 00:34:32 +00:00
tv fd77b8c8a1 20040330: changes for Interix; in particular, pkg_add(8) no longer sets
umask explicitly.
2004-03-30 15:16:17 +00:00
jmc e971cb7b6d Add -I. to CPPFLAGS or else the generated .c files lose 2004-03-29 23:28:11 +00:00
tv 45669ab694 Changes to make these work on Interix: remove nonroot warnings if on
Interix, and remove absolute setting of umask in pkg_add.
2004-03-29 21:41:39 +00:00
lukem f02de56de4 use iplang_l.l instead of iplang_l.c in SRCS, and tweak appropriately 2004-03-29 05:06:44 +00:00
lukem bfd4f974d0 de-lint makefiles:
* fix -j N parallel build issues
* support MAKEVERBOSE
* move NOxxx= to before <bsd.own.mk>
* remove unnecessary -ll (except for ipsend)
* remove unnecessary CPPFLAGS
* only build libipf.a (we don't need libipf_p.a or libipf_pic.a)
* fix dependencies upon libipf.a

(more could be done, but that requires fixing dist/ipf/*)
2004-03-29 04:39:59 +00:00
jmc c1a4072ecf Don't call 'yacc'...Call ${YACC} 2004-03-29 02:30:08 +00:00
pooka 3c143ba9cd * Make isdnd unlearn that an isdn interface has two B channels, so that it
is possible to support 30-channel primary rate adapters.
  Mostly from jml@cubical.fi via FreeBSD.
* Follow kernel naming trend: bri => isdnif
2004-03-28 20:49:22 +00:00
mrg 9d85438b05 give explicit dependancies where needed.. 2004-03-28 09:35:26 +00:00
martti 93c07ca49d Remove generated iplang_l.c 2004-03-28 09:21:10 +00:00
martti 84f2cae1d0 Added missing deps 2004-03-28 09:17:33 +00:00
martti 09d643ce42 Added ippool and libipf 2004-03-28 09:03:38 +00:00
martti 621e9bac7f Sync with official IPFilter 2004-03-28 09:01:26 +00:00
dsl c89c679638 fffv2 might not have FS_FLAGS_UPDATED set 2004-03-27 13:11:47 +00:00
dsl 893680a09a ffsv2 might not have FS_FLAGS_UPDATED set 2004-03-27 13:08:50 +00:00
dsl 709ea0150b Rework previous to avoid checking FS_FLAGS_UPDATED for ffsv2 2004-03-27 11:31:22 +00:00
mrg 1505f78b5b - move the row printing code into it's own function.
- pay attention to interval processing with row printing (-r -iN).

the latter fixes PR#24522.
2004-03-25 01:26:57 +00:00
garbled 59b0a9509c Move the "Form Page:" status over slightly. Suggested by Peter Postma 2004-03-24 22:03:17 +00:00
garbled 0c0dadc4d9 Apply patch from PR 24832 to allow line lengths longer than 80 chars in
sushi forms.  By Peter Postma.
2004-03-24 19:14:07 +00:00
garbled 732560ccbd Add patches from Peter Postma in PR 24755 to cleanup output in sushi:
* hide the cursor everywhere except in forms (looks nicer)
        * fix repaint with lists (from TODO)
        * fix the form page (removes XXX)
        * force a pos_form_cursor() after every keypress in the forms
          to ensure that the selected field got the focus.
        * tweak the status message a bit.
2004-03-24 19:10:58 +00:00
wiz 4db64d9590 Bump date for previous, and use Em for
emphasis instead of Sy for symbolic for marking up a warning.
2004-03-24 11:26:16 +00:00
fair 91a52bbfc3 Document that TCP wrappers do not work on UDP services, per PR 18960 2004-03-24 04:31:34 +00:00
jdc 4c3bfcd943 Change the "exact match" parameter of set_field_type() to TRUE, to match
the change to match_enum() in libform (src/lib/libform/type_enum.c:r1.8).
From Brett Lymn.
Fixes PR bin/24604.
2004-03-22 19:03:19 +00:00
wiz eca6d46226 Check pkgdb_open for correct return value.
From Peter Postma in PR 24863.
2004-03-22 11:42:51 +00:00
dsl a78ca7231d When searching for the superblock, don't pick an ffsv1 superblock from the
location where we expect to find an ffsv2 superblock.
It could be the first alternate for a ffsv1 filesystem with 64k blocks.
Fixes part of PR kern/24809
2004-03-21 22:07:22 +00:00
dsl 43d718b987 When searching for the superblock, don't pick an ffsv1 superblock from the
location where we expect to find an ffsv2 superblock.
It could be the first alternate for a ffsv1 filesystem with 64k blocks.
Fixes part of PR kern/24809
2004-03-21 21:18:40 +00:00
martin 3259bd6456 Bail out with a proper error message when mandatory configuration entries
are missing. While there improve error messages slightly.
Inspired by PR kern/24807.
2004-03-21 16:31:22 +00:00
dsl 42e3b20f75 Fix PR kern/24809 properly... 2004-03-21 12:37:48 +00:00
mrg 057c3b737e in -r mode, if given "-s sensor_list", only list the given sensors instead
of always listing them all
2004-03-21 10:52:26 +00:00
wiz 08abac00be New sentence, new line; use Ev for environment variable;
use "its" where correct; use standard section headers; add missing .Os.
2004-03-20 18:54:33 +00:00
dsl 9d06a8cddd When searching for the superblock, check that the fs_sblockloc field
matches the location we read it from to ensure we don't have one of the
alternate superblocks.
Fixes part of PR kern/24809
2004-03-20 14:09:44 +00:00
jdolecek ac4f86b471 log also the time when the job finishes (with CMD FINISH tag), and change
the tag for job start log to ``CMD START''

adresses PR bin/22201 by John Hawkinson
2004-03-20 10:42:00 +00:00
jdolecek 098027866f when encoding the command for printing in logs, use strvisx() instead
of homegrown code, and skip leading white space
2004-03-20 10:38:34 +00:00
jdolecek 580f716bfc document -x - adresses PR bin/22201 by John Hawkinson
reference rc.d framework instead of rc/rc.local
sprinkle couple more .Pa's
2004-03-20 10:04:13 +00:00
jdolecek 251e6a062a convert to mandoc, bump date 2004-03-20 09:18:03 +00:00
jmc 6fe4ead562 Convert to usage of UUDECODE_FILES and standardize on filename extension 2004-03-19 08:07:22 +00:00
keihan 21e07a3de8 s/netbsd.org/NetBSD.org/g 2004-03-16 14:31:15 +00:00
lukem 709e718d29 fix a typo in a comment, and expand the description of x86_boot_params. 2004-03-14 23:05:47 +00:00
wiz 46d960757a Add example to keymap description. Use more macros. Bump date. 2004-03-13 23:43:45 +00:00
dsl 7b024ef69c Add a -o keymap=zyz option that will set the boot keymap.
If a character in the map is typed, it gets replaced by the one following.
2004-03-13 22:51:50 +00:00
garbled c5fb5d0d44 Apply patch from Peter Postma to fix the handling of nfsd_flags in rc.conf. 2004-03-10 19:03:16 +00:00
garbled 8a2d792237 Apply revised patch from bin/24647 by Peter Postma:
Adds a confirmation check before processing the data you have entered, or
sushi has entered for you on a form.
2004-03-09 20:26:24 +00:00
garbled 0f7c881113 Apply patch from Peter Postma on tech-userlevel:
I've made a patch for sushi(8) for setting environment variables at startup.
This might be useful when a user needs a different terminal type.
The patch also fixes the searchpaths when the config file does not
contain any.
2004-03-09 20:16:16 +00:00
garbled 0e2f4ba6c4 Apply patches from bin/24642 by Peter Postma to fix the "no help is
available" message from sushi's help system.
2004-03-09 19:22:22 +00:00
garbled 1c06ce13b0 Apply patch from PR bin/24559 to fix incomplete lines in some forms.
From Peter Postma
2004-03-09 19:10:20 +00:00
itojun 3e6b951d2a use "volatile sig_atomic_t" for gothup; Havard Eidnes 2004-03-06 20:29:25 +00:00
itojun 451af9862c make SIGHUP handler very small, and call init() from the main poll() loop.
should fix PR bin/24682.
2004-03-06 14:41:59 +00:00
itojun 26e2172ca7 MAX_IFS is no longer needed. Maxim Konovalov 2004-02-28 19:27:49 +00:00
enami 0790d0f46f Set DO[WM]_STAR if we mean `*' so that @yearly/@monthly/@weekly are
interpreted as documented/expected rather than "0 0 1 1 0-7" /
"0 0 1 * 0-7" / "0 0 1-31 * 0" respectively.  Fixes PR#24547.
2004-02-27 23:22:09 +00:00
dbj c4278791eb for -x -I output, use just MB instead of MB/s in header 2004-02-25 03:39:14 +00:00
wiz d5d52b4515 Fix some typos. 2004-02-24 15:12:18 +00:00
jdc d853cbbaf4 Make pstat -f work on sparc by adjusting the offset of the buffer passed
to sysctl in getfiles().

XXX: Possibly the correct fix is to make sysctl() not return an array which
contains structs with different alignment constraints.
2004-02-22 12:30:11 +00:00
lukem 804acb39e4 be more explicit in describing how the default local IP address is determined 2004-02-22 11:34:16 +00:00
wiz e3fc4b66c3 Spell the plural of suffix "suffixes", not "suffices".
Inspired by PR 24400 by Todd Vierling.
2004-02-13 17:56:17 +00:00
wiz d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
wiz f582138c1b Uppercase CPU. 2004-02-13 10:11:56 +00:00
itojun 5d2c970d68 fflush(stdout) on -A. KAME-PR-584 2004-02-10 14:44:32 +00:00
wiz d77d1962dd s/transmitts/transmits/
From Gavin Atkinson (FreeBSD bug 62346) via jmc@openbsd
2004-02-09 15:43:05 +00:00
jdolecek c98a00090a minor constification 2004-02-07 12:31:15 +00:00
grant 47af3cdb37 no .Ek before .Bk. 2004-02-07 09:41:36 +00:00
jmmv fb74f324b6 Use the correct size when clearing an array. 2004-02-05 16:11:31 +00:00
jmmv 046f9ce786 Print a new line after an information message. 2004-02-05 16:07:51 +00:00
wiz d03fd459c0 New sentence, new line. 2004-02-04 14:25:13 +00:00
jdolecek 93ce8444b4 note DMA is only used in ECP mode, and only with enabled interrupts
also move the DMA section after the mode section
2004-02-03 21:50:27 +00:00
jdolecek 80b6d6890a make 'dma' yes|no as rest of the flags 2004-02-03 21:46:39 +00:00
jdolecek e2ea95d4b0 support the new intr, prime and autolf flags, and update manpage
accordingly
2004-02-03 21:32:02 +00:00
jdolecek 223035c365 add RCS Id 2004-02-03 20:04:56 +00:00
jdolecek bf888d66c5 adapt to changed lpt_mode_t elements, too 2004-02-03 20:04:10 +00:00
jdolecek 4330b5a40e adapt to ioctl interface changes, and g/c the verbose action messages 2004-02-03 20:00:22 +00:00
soren 12e7c81811 As pointed out by Dave Huang, revert back to using 273.15 rather than 273.16
when converting between kelvin and celsius.
2004-02-02 10:36:19 +00:00
soren cf458c9f73 C = K + 273.16. 2004-02-02 07:55:14 +00:00
ross 4875c0a7d0 Handle new-style error return from mknod/pack_dev.c 2004-01-30 19:09:03 +00:00
reed 027c7dd739 Make sure that the Fake mode would give a Verbose message about
the package to be deleted.  (Previously, the Fake mode only mentioned
deinstalling other dependent packages but didn't say anything
Verbose about the package itself.)
2004-01-29 17:41:49 +00:00
reed ab83e1a00d Improve explanations of the -R and -r options. This is partially
based on ideas from Greg A. Woods posted to netbsd-bugs list on
23/Jan/2004.
2004-01-29 01:56:17 +00:00
jdolecek dac0c48d86 copyright police 2004-01-28 17:54:03 +00:00
jdolecek e38936f913 simplify print_lpt_info() 2004-01-28 09:21:55 +00:00
lukem 041ddd7062 Fix dependency for .version.
Noted by Geoff Wing in [bin/24244]
2004-01-27 02:17:46 +00:00
seb fb913be01a Add missing flags from the synopsis.
Fix pasto in -S flag description.

Approved by wiz@.
2004-01-26 09:28:10 +00:00
atatat 3e0cc7e92c Print device names and mount points, if at all possible, instead of
just printing device numbers.
2004-01-25 21:49:04 +00:00
cube 6894b27b47 Allow quoting using single or double quotes inside inetd.conf. Closes
PR 24192 by Tyler Retzlaff.
2004-01-25 10:00:17 +00:00
itojun c0819ecd5d do not disclose endian/alignment by probe packet. from dreaadt@openbsd
via kame
2004-01-25 03:26:30 +00:00
wiz 27ccd5bd0f Remove trailing whitespace. 2004-01-23 20:55:19 +00:00
fair 60093a49f7 Commit patch from PR 22539 to document adding ".SYS" to filenames.
New sentence, new line. Change date. Expand "MOP" as Maintenance
Operations Protocol for permuted index.
2004-01-23 20:46:38 +00:00
wiz e07bd1cab3 Use more macros; |fmt. 2004-01-23 19:56:07 +00:00
wiz e6e47632f7 Drop trailing whitespace. 2004-01-23 19:51:26 +00:00
wrstuden 00675c7efd Re-add support for wiconfig wiX -A #, which chooses between OpenSys and
Shared Key authentication.

From discussions with dyoung regarding how to get my Prism-based Netgear
card working with my Airport base station. Latter now works with
wiconfig wi0 -A 2. :-)
2004-01-23 02:32:52 +00:00
bjh21 f782033436 Add RCSID comments. 2004-01-21 00:33:37 +00:00
matt da824b22a2 Forgot to remove #include <stdbool.h> 2004-01-20 22:24:28 +00:00
matt d6276d7620 Remove "bool" support for now since some platforms are still not able to
cope with it.
2004-01-20 22:11:02 +00:00
jdolecek 7b931f4e42 make standard userland Makefile and enable WARNS=3 2004-01-19 23:34:15 +00:00
jdolecek 8808fb2847 g/c some mdoc.template remains, add info to HISTORY and sprinkle
some .Pa
2004-01-19 23:32:42 +00:00
jdolecek 9062e24a41 some KNF, use err(), make some stuff static and get buildable
with WARNS=3
2004-01-19 23:31:18 +00:00
jdolecek e23cd1a78a Import Gary Thorpe's netbsd-ppbus 1.3. This is NetBSD port
of FreeBSD Parallel Port Bus framework. Work in progress.
2004-01-19 23:22:23 +00:00
itojun a69a0241a1 bump date 2004-01-16 02:28:42 +00:00
agc 478a76b17a At package creation time, record the targets of symbolic links which
are installed as part of the package.

Enable the verification of the integrity of any symbolic links
in the package in "pkg_admin check".

Add a check to pkg_delete to verify the integrity of the symbolic link
before deletion, and to act in the same way as an MD5 failure if the
symbolic link has been modified since package creation time.

Bump version number.

Addresses PR 23048 from Klaus Klein.
2004-01-15 09:33:38 +00:00
jlam 0c45ef07f3 Don't warn and abort if a package with the same ${PKGBASE} already exists
if we're installed a depoted package.
2004-01-14 23:32:36 +00:00
yamt 45717cbc50 init_file: copy status_info from static storage so that
statd doesn't always use the same "status" number.
2004-01-14 10:29:46 +00:00
yamt 65c4e197a1 reset_host: reset actual host infos rather than reset copies of them. 2004-01-14 10:28:17 +00:00
agc f8d5e607b8 Add -S argument to useradd, usermod and userdel, which allows the use of
a trailing '$' character in user names.

Requested in PR 23922 by Takahiro Kambe.

Also, fix a bug in the previous fix to usermod.
2004-01-14 09:35:33 +00:00
itojun bde9df6596 bump version string 2004-01-14 09:21:41 +00:00
agc e75d2f492c Fixes from Todd Miller in PR 24070.
Revert fgetln/asprintf changes from rev 1.26 - fgetln(3) does not return
a NUL-terminated string, so using strchr(3) is inappropriate. As the entry
from the password file is a known size, there's no need to use fgetln(3),
just use fgets(3) for consistency. This also means that an inappropriate
cast to int from asprintf(3) is unneeded, which was apparently causing
problems on OpenBSD's sparc64 port - just be consistent and use snprintf(3).
2004-01-14 08:25:30 +00:00
grant 83867bd596 no need to include errno.h. 2004-01-14 01:50:06 +00:00
grant 99871d087e use ${MACHINE_ARCH} instead of what uname() puts into utsname.machine.
the former represents the CPU architecture, which is what is recorded
in binary packages.

also allow the OS name to be overridden, as pkgsrc doesn't always use
the value of utsname.sysname.

bump version to 20030113.
2004-01-13 08:30:34 +00:00
lukem 8c09d1d81a support MKSHARE=no 2004-01-12 01:18:12 +00:00