Commit Graph

6474 Commits

Author SHA1 Message Date
christos
43c0378045 PR/23971: Robert Elz: Quotacheck fails when max uid is present and takes
forever if there are large gaps in the uid space. It also does not work
properly with the fsck preen code it uses.
2004-01-05 00:17:07 +00:00
martin
06eb7200cc Add support to call scripts at carrier detect/drop time (on network
interfaces that report this).
Basically from Brian Grayson, fixes his PR bin/23191.
2004-01-04 22:19:51 +00:00
jdolecek
0d3df21f35 use system() to spawn editor, so that it's possible to use EDITOR
setting which includes options; this reinstates functionality lost in rev 1.18
2004-01-04 09:09:56 +00:00
hubertf
d7b7063649 In the "quick depends pre-scan", first print all bad matching depends,
then exit (instead printing one conflicting pkg/version on each run).
2004-01-04 01:47:35 +00:00
dbj
1c29b89d88 add stddef.h include and remove shadowed local var. 2004-01-04 00:21:29 +00:00
lukem
f64aa6de5c Only build ntp-keygen if ${MKCRYPTO}!="no".
(There appears to be partial support in the ntp-keygen sources
for compiling without -DOPENSSL, but it's not functional).
2004-01-04 00:06:34 +00:00
lukem
5e982c6b1f Only define OPENSSL and use -lcrypto if ${MKCRYPTO}!="no" 2004-01-04 00:04:52 +00:00
wiz
7aab07409d Bump date for previous. 2004-01-03 21:05:21 +00:00
dbj
94c4dbf954 restore traditional output for older filesystems
add byte swapping support for inode printing
2004-01-03 19:32:58 +00:00
lukem
986979b8c9 Consistently check ${TOOLCHAIN_MISSING} against "no". 2004-01-03 14:04:27 +00:00
lukem
922c63e0b6 use != "no" 2004-01-03 13:46:30 +00:00
wiz
d495306cc1 Bump date for pid file removal. 2004-01-03 13:10:27 +00:00
itojun
592be49540 remove call to pidfile(3), it was just for debugging (and there was no proper
cleanup code).  from kame
2004-01-03 06:16:40 +00:00
itojun
85d26f975b rtsol: factor out dump.c if -DSMALL (for boot floppy)
use __func__ not __FUNCTION__
use timeradd() and timersub() from sys/time.h

from kame
2004-01-03 01:40:31 +00:00
dbj
f38b976b4c don't drop -v option when using other defaults 2003-12-29 14:25:07 +00:00
fredb
040043b21a Back out last, in favor of adding a trailing dot to "localhost", as
discussed on current-users.
2003-12-29 00:44:05 +00:00
dbj
5dacb54521 fix two bugs with argument parsing:
missing break statement caused -F to give usage
  -v argument caused default options to be dropped
2003-12-28 06:06:55 +00:00
dbj
9361c55211 add DPADD+=${LIBUTIL} 2003-12-28 06:04:23 +00:00
wiz
97129337d3 Immediately return from dhost() if host is localhost, to
avoid a warning from host(1).
From Nicolas Joly in PR 23897.
2003-12-27 00:58:35 +00:00
martin
25943be498 Use the new SPPPGETSTATUSNCP ioctl, if supported, to avoid reporting
intermitent changes on "volatile" interfaces based on if_spppsubr.c.
This interfaces used to cause ifwatchd to call the up and down scripts
with 0.0.0.0 addresses between entering PPP phase network and IPCP
completition.
2003-12-27 00:05:46 +00:00
wiz
8bdfbd91ec Fix typo ($stratum -> stratum), from Nicolas Joly in PR 23891. 2003-12-26 17:43:02 +00:00
wiz
92c9805148 server is an Ar, not a Fl. From Nicolas Joly in PR 23890. 2003-12-26 16:52:18 +00:00
wiz
c594b29834 bootparams, not bootparms. 2003-12-25 19:01:35 +00:00
wiz
d707a66aa2 Sort options; drop trailing spaces; fix wording of
a sentence.
2003-12-21 11:39:17 +00:00
agc
2bd28cbd5e Add a simple text menu-based binary package manager, bpm(1).
bpm uses ftp(1) and pkg_add(1) to allow a menu-based addition of
binary packages from a URL.  It first displays a list of categories,
and, within categories, binary packages, which can be added to the
local system simply by choosing them from a menu.

If no valid categories are found, a warning message will be displayed
(it is usually caused by people running NetBSD-current, and there are
rarely binary packages provided for such a fast-moving target, and the
"-r release" command-line switch to bpm(1) should be used).

Bump the pkg_install version number for this.
2003-12-21 11:31:46 +00:00
mrg
61b5ab403f bump date for previous 2003-12-21 02:52:02 +00:00
mrg
9bf440d20b support "-g" and "-m" as well as "-k" and "-h". swapctl & swaplist code
from Martin Weber, adapted for pstat by myself.
2003-12-20 13:31:42 +00:00
mrg
5fd013c40d add a "-h" (humanize_number(3)) option to swapctl(8) and pstat(8), from
Martin Weber in PR#23805.

ps: now we only need someone to do ls(1) :-)
2003-12-20 11:22:25 +00:00
grant
16fffca4df avoid uninitialized variable. noted by wiz. 2003-12-20 10:09:20 +00:00
grant
fc04f37975 crank version. 2003-12-20 03:41:31 +00:00
grant
dd46f97f58 use the --use-compress-program argument to tar and do away with
the file descriptor handling mess in lib/file.c.

also use --fast-read where applicable.

result of pkg_info -B on 1.5ghz pentium4, linux:

			before		after
mozilla-1.4nb1.tgz	1.96sec		0.04sec
mozilla-1.4nb1.tbz	18.66sec	0.21sec

866mhz pentium3, NetBSD:

			before		after
mozilla-1.4nb1.tgz	2.22sec		0.07sec
mozilla-1.4nb1.tbz	16.29sec	0.34sec

-rw-r--r--    1 grant    users    13816195 Dec 20 13:59 mozilla-1.4nb1.tbz
-rw-r--r--    1 grant    users    15814227 Dec 20 13:58 mozilla-1.4nb1.tgz

XXX fetches over ftp/http still read the whole file.
2003-12-20 03:31:56 +00:00
grant
683625bd0a suppress a diagnostic message unless -v is used. 2003-12-20 02:37:49 +00:00
grant
15fff85a6b always print an error when package addition fails (rather than only
when -v is used), tweak error.
2003-12-20 02:19:21 +00:00
grant
70ba7aa408 check the OS, architecture and version of a package against the host
and spit out a warning if any of them differ. bail if the OS or arch
differ. installation can be forced with -f.

sanity checked by simonb. fixes PR pkg/18966 from mrg.
2003-12-20 00:47:18 +00:00
wulf
4a58b169c3 Fixed a bug that made lastlogin ignore the first user argument 2003-12-16 15:40:29 +00:00
wiz
68c32a13a8 Drop trailing spaces; new sentence, new line; fix width
argument to avoid confusion (indent is only magic for -offset); add a comma
for easier reading.
2003-12-11 17:12:11 +00:00
jdolecek
662f5a1d48 John Brezak (now jbrezak at windows dot microsoft dot com) kindly
agreed to remove advertising clause from his code, so update
the licence accordingly.
2003-12-10 17:10:34 +00:00
agc
7db1d33cba Modify the licences of code written by Theo De Raadt from a 4-clause
to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR
22409 from Joel Baker, approved by Theo de Raadt, and ratified by
myself - the only discrepancy being the handling of the original
clause 3 in src/usr.sbin/yppoll/yppoll.c.
2003-12-10 12:06:25 +00:00
hannken
fbae381aaa The file system snapshot pseudo driver.
Uses a hook in spec_strategy() to save data written from a mounted
file system to its block device and a hook in dounmount().

Not enabled by default in any kernel config.

Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-12-10 11:40:11 +00:00
drochner
af7cac9798 "msntp"->"sntp, and adjust location of runtime data files 2003-12-09 11:15:18 +00:00
matt
3c12447a00 Make building IPv6 support controllable by MKINET6 2003-12-07 21:57:22 +00:00
scw
801bdc886f Gcc3 for sh5 gets an ICE compiling ns_main.c at -O2.
Drop to -O1 for now when building for sh5.
2003-12-07 19:57:39 +00:00
is
0534dcc9c5 Report read errors, too. 2003-12-07 16:50:43 +00:00
wiz
0b46b8198f Fix typo, reported by Soren Jacobsen in PR 23666. 2003-12-06 08:25:39 +00:00
jonathan
52315e5149 Increase userspace (/usr/sbin/nfsd) limit on nfsd count from 20 to 1024.
Jason Thorpe suggests removing the limit altogether; anyone who needs
more than 1024 nfsds can still do "nfsd -n 1024" multiple times, and
this provides _some_ saftey-net against nfsd (issued by root) from
eating all the avaiable process slots.
2003-12-06 03:01:16 +00:00
fredb
fd7b604de5 Fix my email address. 2003-12-05 21:24:10 +00:00
drochner
3b1892c380 remove orphaned files 2003-12-05 12:15:49 +00:00
drochner
b82a8746e3 put pid file to /var/run and saved state to /var/db 2003-12-05 11:34:58 +00:00
wiz
6c159667a9 Fix some nits.
XXX: This man page talks about msntp, not sntp....
2003-12-05 00:07:12 +00:00
drochner
2f4d5f72db also build the sntp (rfc2030) program which comes with ntp-4.2 2003-12-04 18:14:59 +00:00