Commit Graph

5996 Commits

Author SHA1 Message Date
atatat a9c9b3a125 Use awk instead of fgrep and sed, and default to 80 if we get
something that is arithmetically equal to 0.
2003-04-02 22:32:19 +00:00
he 2a70d2a4a1 With the new UFS2 code, alternative places are searched for a super-block.
This includes block #0.  Therefore, allow read of block #0 in
ffs_read_disk_block(); change assert (blkno > 0) to (blkno >= 0).
2003-04-02 22:02:56 +00:00
wiz a90c0085c1 Some Bl improvements; drop trailing whitespace; don't comma-separate
"a, and b"; mention arguments in option listing; list options in SYNOPSIS
in default order (those without arguments first).
2003-04-02 19:30:57 +00:00
perry 2b097fd2fc Massive cleanup of the document, although there is a lot more work to
do still.
2003-04-02 16:47:40 +00:00
perry 35b6bc735d Automatically figure out how wide the terminal is with an ugly
`stty | fgrep | sed` expression.
Really, sdiff should figure this out by default but it does not.
2003-04-02 16:30:25 +00:00
perry 889c8a5b3a set USETOOLS=never when doing make distribution, so that users don't have
to set it themselves or set TOOLDIR to use etcupdate.

Closes PR install/19752 from Oliver Tonnhofer
2003-04-02 15:00:53 +00:00
fvdl 42614ed3f3 Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2003-04-02 10:39:19 +00:00
perry 939003f2a8 Remove a NO_SENDMAIL=1 in the construction of the reference etc/ -- it
was needlessly preventing the update of sendmail configs like submit.cf
Should close PR misc/20968 from Martin Weber
2003-04-02 04:04:29 +00:00
perry fec4dbea24 Add a -l option telling etcupdate to skip any file who's RCS id has
not been changed.
(-l means "skip local modifications".)
Code and documentation from Christopher Richards in PR bin/20200
2003-04-02 03:07:30 +00:00
christos 367ffb5e14 PR/3272: Wailer: Don't send lcp echo's if we are not opened. 2003-04-01 15:12:12 +00:00
drochner 594e5ccb92 remove some #includes which are unneeded since the transition
to getifaddrs(3)
2003-04-01 08:46:10 +00:00
perry ba7c369fa0 explain what "Microwave Oven Robustness" means.
An attempt to close PR bin/12177 by jhawk.
2003-03-31 21:19:06 +00:00
perry 225230174b Spelling errors (some from Igor Sobrado, PR misc/19909)
XXX this needs to be fed back to the altq maintainers, but I don't
know who they are.
XXX This man page needs a lot of cleanup.
2003-03-31 17:21:41 +00:00
wiz 0de6cf8c45 Some typo fixes from Igor Sobrado in PR 20743. Sent back to the ntp
people.
2003-03-31 09:27:52 +00:00
wiz dc0174806b millisecond with two is. From Igor Sobrado in PR 20742, and sent back to
the ntp people.
2003-03-31 09:27:15 +00:00
grant f125cd44b3 grammar tweak. 2003-03-31 08:44:22 +00:00
wiz c57dfd43a9 A script, not an script. 2003-03-31 08:23:32 +00:00
perry 6562f25909 treashold->threshold, from Igor Sobrado in PR misc/20740 2003-03-31 01:34:57 +00:00
perry 4eabc653ac OpenProm -> openprom (apparently how Sun prefers it.)
inteteger -> integer
rts/cts -> RTS/CTS
xon/xoff -> Xon/Xoff
All from Igor Sobrado, PR misc/20737
2003-03-31 01:31:39 +00:00
perry 339d3e41ad Incresed->Increased, Micheal->Michael, from Igor Sobrado PR misc/20739 2003-03-31 01:23:30 +00:00
perry e774a083b5 exeeds->exceeds, from PR misc/20741 (Igor Sobrado) 2003-03-31 01:14:14 +00:00
perry bbf77a1edf dialling->dialing (from me)
substition->substitution (from Igor Sobrado, PR misc/20744)
2003-03-31 01:09:08 +00:00
perry 893cb2b5a6 spelling fixes, including some pointed out by Igor Sobrado in
PR misc/20745
I've submitted the changes back to paulus@samba.org
2003-03-31 01:00:13 +00:00
perry 338db96096 recieving->receiving, escript->script, fixes PR misc/20746 (Igor Sobrado) 2003-03-31 00:45:39 +00:00
perry eafc4fe7d1 MERCHANTIBILITY->MERCHANTABILITY
4.4bsd->4.4BSD
PR misc/20747 from Igor Sobrado
Note he also asked for NSFNet -> NSFNET which I didn't do -- it seems
arbitrary and unneeded.
XXX Patch submitted back to traceroute@ee.lbl.gov -- are they still active?
XXX Should this be converted to mdoc?
2003-03-31 00:32:54 +00:00
perry e1b82b39a9 ipng->IPng, from Igor Sobrado in PR misc/20755 (though its a nit, ipng is fine. 2003-03-30 23:53:22 +00:00
wiz d59e6d5863 HP-UX, not HPUX. Igor Sobrado, PR 19678. 2003-03-30 21:37:52 +00:00
wiz e12ef9aab2 Uppercase DEC. PR 19678 by Igor Sobrado. 2003-03-30 21:24:48 +00:00
wiz 3425830569 Uppercase ULTRIX. Igor Sobrado in PR 19678. 2003-03-30 21:20:17 +00:00
lukem 6ddeaceaff Tweak Jason's -x support to pass its state around as part of fsinf_t,
just like all the other "global" options.
Update the usage for -x.
Crank date on man page.

(Thanks to Jason for adding -x; I've been meaning to add that
functionality for a while :-)
2003-03-30 00:05:07 +00:00
thorpej 1bcb9d76fb Add a -x option which causes makefs(8) to exclude any file system node
not explicitly listed in the specfile.
2003-03-29 00:12:12 +00:00
perry f13ae3a980 fix the fix, from Brian Ginsbach 2003-03-28 17:40:39 +00:00
perry 687a657d3e Add a -R flag to lpr, which prints the print job number
Make lp use the -R flag to lpr unless the lp -s flag is used.
This fixes standards/17917, patches and PR from
Brian Ginsbach <ginsbach@cray.com>
2003-03-28 14:37:43 +00:00
jdolecek 1a1dbfb0b3 enable SMB support 2003-03-28 11:06:32 +00:00
perry 266f8437dd Fix the broken -q option to lpr, apparently broken long ago after lpr
was converted to getopt.
Also, document the -q option.

Fix supplied by Brian Ginsbach in PR #20890
2003-03-27 16:25:28 +00:00
yamt 4962bbeda1 bump date. 2003-03-27 16:00:50 +00:00
yamt 0aaf666dea add a new option, -r; read-only configuration. 2003-03-27 15:36:02 +00:00
hubertf 25f2d6e581 Bump to "20030325" after today's changes from seb and me 2003-03-24 23:33:44 +00:00
seb f34edd6ece Pkg_add fix: if an install script is present move it into LogDir
(PKG_DBDIR/PKGNAME).  Address PR pkg/20856 and part of PRs pkg/20852,
pkg/20853 and pkg/20854 by FUKAUMI Naoki <naoki at fukaumi dot
org>.

Note: with this change pkg_tarup can now produce reusable binary
packages from installed packages when they depend on an install
script.
2003-03-24 22:13:54 +00:00
seb 3273d1bc8b Consistently check findmatchingname() return value for error condition.
Among other this fixes 'pkg_info -e whateverpkg' exit status when
/var/db/pkg is missing: it is now 1 and not 0.
2003-03-24 21:44:45 +00:00
hubertf 6b5ef93cc3 Implement remaining TODO item in pkg upgrade (pkg_add -u):
* Upgrade step 1/4: Check if the new version is ok with all pkgs
 * (from +REQUIRED_BY) that require this pkg

Inspired by bsd.pkg.mk's upgrade(?) target.
2003-03-24 13:47:13 +00:00
wiz 41a412a662 Uppercase MASSBUS, addresses PR 20722. 2003-03-21 23:42:45 +00:00
wiz 70fd69c1f5 New sentence, new line; bump date for recent changes. 2003-03-17 08:19:22 +00:00
wiz c434363e30 Bump date for recent change. 2003-03-17 08:16:10 +00:00
wiz 5ef9540a69 hexadecimal, not hexidecimal. 2003-03-16 21:55:14 +00:00
wiz 8d68f8869a hexadecimal, not hexidecimal. PR 20738 by Igor Sobrado. 2003-03-16 20:41:33 +00:00
yamt f9cc84c69d getlock: detect duplicated locks slightly correctly.
XXX how should we do for byte range lock?
2003-03-16 09:05:56 +00:00
matt e86e032c61 Make cfroots const. 2003-03-16 08:09:58 +00:00
yamt acc9d6c0f9 for lock/unlock requests, log svid as well as client name. 2003-03-16 06:55:47 +00:00
wiz 83de4abed2 Use "its" instead of "it's" where appropriate.
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
wiz 66793552fe Fix two typos, from Igor Sobrado in PR 20722. 2003-03-15 22:30:37 +00:00
hubertf 89b4984304 Catch one more place that could result in Current not being set properly
(and thus in the execution of "rm -fr /") if ^C is pressed at the wrong time.

See also PR 19436.
2003-03-15 20:54:25 +00:00
agc 9d52ce445c Bump version string for pkgdb_dump changes. 2003-03-15 20:50:13 +00:00
agc 2c442ad8d2 Introduce a pkgdb_dump() function, which dumps the cache file of
(filename, package) pairs.

Modify calling functions to use pkgdb_dump() directly, rather than
sequences of
	pkgdb_open
	{ pkgdb_iter, pkgdb_retrieve }
	pkgdb_close
calls.

Remove the now unnecessary pkgdb_iter function.
2003-03-15 20:49:25 +00:00
wiz 37a402fc28 IPv4/IPv6, not IPV4/IPV6. 2003-03-15 19:26:08 +00:00
wiz 46ebb6111a Correct spelling of "overridden". Found in follow-up to PR 20718. 2003-03-15 19:24:02 +00:00
christos c2b5bf99ef PR/15142: Kevin P. Neal: cron does not pay attention to login_cap(3)
I simplified the patch addressed certain security concerns. I only
allowed setusercontext() to set resource limits/priority and umask,
because these are the values that are relevant from login.conf. The
rest of the settings (uid/gid/initgroups) should be done using e->uid
and e->gid like they were before, not from:

	struct passwd *pwd = getpwnam(getenv("LOGNAME"));

Finally login_cap's (path/env) are irrelevant in this context since
we want to use our e->envp anyway to execute the command.
2003-03-14 21:56:07 +00:00
itojun 626b1896ed correct use of sizeof 2003-03-14 18:43:52 +00:00
itojun b34ce1c186 add missing ND option length validation. from kame 2003-03-14 18:32:42 +00:00
jrf 151509e229 This addresses PR 20156. isalnum(), isdigit() and isspace() are used with
char as a parameter. On platforms with char signed by default, those are wrong.
Thanks to Christian Biere christianbiere@gmx.de for the patch he supplied.
I tested the patch and agc approved it for commit.
2003-03-14 16:56:39 +00:00
yamt 3f4a2b19c2 fix a typo in the previous. 2003-03-14 14:10:00 +00:00
yamt c5c265a7aa use strlcpy instead of strncpy. 2003-03-14 14:08:44 +00:00
yamt f947a8c4c1 use LIST_FOREACH macro. 2003-03-14 14:03:00 +00:00
yamt 44f53bece1 for fork'ed children, use _exit instead of exit. 2003-03-14 13:53:08 +00:00
yamt 3337a32246 - protect from pid reusing.
- fix a null dereference on the error.
2003-03-14 13:46:23 +00:00
thorpej 0164fc61c8 We don't actually need libutil when building as a hostprog. 2003-03-13 04:50:53 +00:00
lukem e5f384735d support 1234 and 4321 as valid byte-order arguments for -B 2003-03-10 10:02:58 +00:00
wiz 97808774c1 Restore RCS Id, lost during last update. 2003-03-09 17:57:50 +00:00
mjl b0d37030cd Revert previous changes. Add a comment to the source explaining the
reason things are as they are -- Perry said:
This (using err("mailwrapper")) is intentional. Mailwrapper plays ugly
games with argv[0] and thus it is often difficult for people to know
that the error isn't from "mailq" or "sendmail" but from
mailwrapper -- having mailwrapper add an indication that it was really
mailwrapper running was a requested feature.
2003-03-09 08:10:43 +00:00
christos a9085b5c40 disable YP and HESIOD in config.h, and mention why... (thanks uwe) 2003-03-09 01:55:48 +00:00
christos 37deef3cda adjust to 6.1b2 2003-03-09 01:36:38 +00:00
mjl f20e680162 Correct args to err(), no need to include "mailwrapper:" prefix manually.
Triggered by posting to OpenBSD mailing list.
2003-03-08 22:57:51 +00:00
perseant af18198dff Add option to check partial-segment data checksums. 2003-03-07 22:50:09 +00:00
fvdl c6fc01f541 Use both -I. for generated .h files, and -I${.CURDIR} for include "foo" 2003-03-07 01:31:30 +00:00
fvdl 2130087152 This seems to need a -I${.CURDIR} these days. 2003-03-07 01:06:05 +00:00
martin 5005fdb656 Run "arrival" scripts too in the inital pass on startup.
Open the routing socket before this pass to close a small window where
we would miss messages at startup (and get state kept by the scripts
out of sync).
Patch supplied by KOIE Hidetaka in private mail.
2003-03-06 13:33:29 +00:00
wiz 54ad96333d Build map-mbone, mrinfo, mrouted, and mtrace from usr.sbin again instead
of gnu/usr.sbin, now that the license has been cleared.
2003-03-05 22:09:07 +00:00
wiz 22c010e66d Update license, from OpenBSD. 2003-03-05 22:04:59 +00:00
wiz e6f08c9f93 Move back here from gnu/dist/mtrace now that mrouted license is cleared. 2003-03-05 22:02:03 +00:00
wiz 9aeb2c2f6a Add license, from OpenBSD. 2003-03-05 21:59:59 +00:00
wiz ba718fd8b9 Move back here from gnu/dist/mrinfo now that mrouted license is cleared. 2003-03-05 21:58:20 +00:00
wiz d67d82e27f Add license, from OpenBSD. 2003-03-05 21:56:26 +00:00
wiz b22b38318c Move back here from gnu/dist/map-mbone now the mrouted license is cleared. 2003-03-05 21:55:51 +00:00
wiz 7f3982ff72 Add RCS Id; new sentence, new line; at least one mdoc fix; sort sections. 2003-03-05 21:48:59 +00:00
wiz 6b7e50194b mdocified man page from mpech@openbsd.org 2003-03-05 21:40:08 +00:00
wiz 2dd997ff9e ANSIfy one more. 2003-03-05 21:32:51 +00:00
wiz ff2bebb731 Use vsnprintf instead of vsprintf. From OpenBSD. 2003-03-05 21:15:18 +00:00
wiz b4cca63351 Add license (from Xerox), from OpenBSD. 2003-03-05 21:12:26 +00:00
wiz f74dd12ce6 License update from Stanford, via OpenBSD. 2003-03-05 21:07:14 +00:00
wiz c60d41a9de Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
2003-03-05 21:05:38 +00:00
jmmv fc6e93306c Make the global XConsole variable static. 2003-03-05 10:51:43 +00:00
martin 549d82b84d Add support for watching coming/going pccard interfaces.
Patch from KOIE Hidetaka in PR bin/20584.
2003-03-05 09:03:49 +00:00
jmmv b74771a131 Create a pidfile while running (which can be tuned with the new "pidfile"
configuration variable). Ok'ed by christos.
2003-03-04 22:31:15 +00:00
jmmv 2ea5d53fe3 Avoid writing things to the fifo if it was not opened. 2003-03-04 19:43:09 +00:00
jmmv 73b21378a4 Check if configuration data exists before freeing memory. 2003-03-04 19:28:59 +00:00
jmmv 1d2af97bbf Remove trailing whitespace. 2003-03-04 17:16:15 +00:00
jmmv ba49f26643 Configuration file is optional, as well as sections inside it. 2003-03-04 14:38:25 +00:00
jmmv 68e2c80483 Add support to parse a configuration file, /etc/wsmoused.conf by default.
This file lets users tune the behavior of the daemon in a easy way, without
having to mess with command line options (nor in rc.conf).
It will also simplify future integration of new functionality within the
program as multiple "modes" of operator are recognized.
The new wsmoused.conf(5) manpage contains all related details.

Some error message cleanup and minor manpage fixes too.

Ok'ed by christos.
2003-03-04 14:33:55 +00:00
martti f925d156c3 Checksum files produced by "etcupdate -a" should not be stored in /etc
as / might be a read-only filesystem (PR#20201).
2003-03-03 14:07:11 +00:00
wiz 7be6adb676 Bump date for mini-sendmail reference; add its pkgsrc path to SEE ALSO section. 2003-03-03 07:28:29 +00:00