Commit Graph

6716 Commits

Author SHA1 Message Date
ache
4364a2703f Document newly added "paste" keyword 2001-03-12 07:05:44 +00:00
gad
98888ae888 Add a comment pointing to the freebsd-print@bostonradio.org mailing list. 2001-03-12 02:13:08 +00:00
gad
6ac51f4201 Change the usage() message to include the recently-added -4 and -6 options. 2001-03-12 02:03:53 +00:00
gad
9ae2f51b1c Fix "lprm -" (remove all jobs) processing for remote printer queues.
PR:		bin/25544
2001-03-12 01:16:09 +00:00
gad
d6751ab525 Improve a few error messages wrt if= filters on remote print queues. 2001-03-12 00:22:03 +00:00
jkh
14f81c1c62 Update to use proper nomenclature for the security profiles.
Submitted by:	olgeni
2001-03-11 23:47:12 +00:00
ache
0206e7bb79 Implement keyboard paste
PR:		25499
Submitted by:	Gaspar Chilingarov <nm@web.am>
2001-03-11 22:51:05 +00:00
rwatson
cc128d39d2 o Replace part-wise instructions for building world for jail(8) with
a simple make world; while this does a bit more work, it means that
  jail(8) doesn't have to be kept in sync with /usr/src/Makefile{,.inc1}
  which is a moving target.  MFC candidate.

Submitted by:	FUJISHIMA Satsuki <sf@FreeBSD.org>
Reviewed by:	phk
Also pointed out by:	Phil Kernick <Phil@Kernick.org>
2001-03-11 20:37:11 +00:00
jkh
93bcc12612 Document the softupdate stuff and also warn people against using
it on root unless root is very large.
2001-03-11 04:24:52 +00:00
jkh
59ae413597 Support setting soft updates from the label editor. 2001-03-10 19:51:04 +00:00
ps
7d3d16dce4 Allow for the last arugment to be the mountpoint of a filesystem,
not just the device.
2001-03-10 12:12:47 +00:00
brian
fd7742d126 MAXHOSTNAMELEN includes the NUL 2001-03-09 21:24:13 +00:00
brian
38e76e0a72 MAXHOSTNAME includes space for a NUL 2001-03-09 20:31:02 +00:00
phk
75afbf0041 Make md(4) and mdconfig(8) take over the role of vn(4) and vnconfig(8)
entirely as previously advertised.

md(4) adopted all assets of vn(4) some time back and has proper devfs
support and cloning abilities to boot.
2001-03-09 20:09:28 +00:00
ru
0e735035b6 mdoc(7) police revision 1.15:
- replaced Oo/Oc enclosures with Op;
- removed hard sentence breaks;
- removed doubled space.
2001-03-09 11:02:01 +00:00
babkin
095a13973a The new version of the daylight time saving support. This time it works
for any change of the time zone offset from GMT. To enable use the
option -s.
2001-03-09 03:14:09 +00:00
brian
d2ab739e87 Talk a little more about the differences between PPPoE on FreeBSD & OpenBSD. 2001-03-09 00:12:09 +00:00
brian
20774849ad MAXPATHLEN -> PATH_MAX
Don't assume MAXHOSTNAMELEN includes the NUL
Correct a diagnostic
Use "localhost" in our prompt instead of ""
2001-03-08 23:51:50 +00:00
jkh
a6bf572ca6 Fix a paste-o which introduced a syntax error. 2001-03-08 10:41:40 +00:00
brian
c62886557e TUNSIFINFO now requires uid 0 to change the interface MTU.
Reviewed by:	Mark Knight <markk@knigma.org>
2001-03-08 10:33:30 +00:00
jkh
d17d484792 Fix some of the security profile messages to be more explanatory
and also obey most of the rules of english in their construction.

Add a help screen for the security menu which gives the user a rough idea
just what the various security profiles do.
2001-03-08 10:16:56 +00:00
jkh
928ab95b8d Change check_sign to proper "pkg_sign" reference.
Noted by:	Andrew Hesford <ajh3@chmod.ath.cx>
2001-03-08 02:26:33 +00:00
billf
2fb7c26395 zeropad mac address ouput
PR:		bin/25584
Submitted by:	David Xu <davidx@viasoft.com.cn>
Reviewed by:	wollman, billf
2001-03-08 01:52:49 +00:00
peter
2cee486f7f Properly detach at startup. We could be passing revoked fd's to
child processes or starting children with no fd 0 (stdin) at all etc.
This is currently breaking on hub.freebsd.org.
2001-03-07 10:38:46 +00:00
dmlb
62ac5f3713 replace the custom type of comments (`'\"'') with the standard one (`.\" '').
remove the duplicate $FreeBSD$ tag.

Submitted by:	ru
2001-03-07 09:17:26 +00:00
jkh
0ecc68728f Sawfish is invoked by the gnome stuff automatically if it exists -
we don't need to start it explicitly.

Noted by:	"Jose M. Alcaide" <jose@we.lc.ehu.es>
2001-03-06 21:46:03 +00:00
ru
9106bb17a4 mdoc(7) police: misc markup fixes. 2001-03-05 14:09:45 +00:00
dwmalone
c2bc1ba707 Change types of "numeric" function to match that of a qsort comparison
function.
2001-03-05 12:13:12 +00:00
dougb
1b0d083ef2 * Add two requested features, source'ing of /etc/mergemaster.rc, and
asking the user to actually run the recommended commands related
  to installation of files such as aliases or login.conf.

* Return to using grep for CVS $Id comparison. Using ident caused too
  many problems for people with local CVS/RCS tags in their stuff.
  Attempt to make portability a little easier to maintain in spite of
  this change by defining the name of the tag to search for. This
  is a slightly different change that solves the problem in the PR.

PR:		bin/24564
Submitted by:	Tony Finch <dot@dotat.at>
2001-03-05 10:13:21 +00:00
wes
31f5ca2df2 Build package signing tools if OpenSSL is included in the build.
Prodded-by:	kkenn, this time.
2001-03-05 04:42:37 +00:00
kris
279e311e78 Switch from using rand() or random() to a stronger, more appropriate PRNG
(random() or arc4random())

Reviewed by:	bde
2001-03-05 02:15:38 +00:00
brian
91e4f0c6fb A NetBSD specific fix
Kind-of obtained from: NetBSD
2001-03-05 00:59:53 +00:00
roberto
a8c009f2c8 When called with the "-n" command line argument, pkg_delete
is supposed to inform the user of all steps it would take.

The current code does not issue any messages regarding actions
that would be performed by delete_package (removing files and
executing @unexec commands), because when the Fake variable
is 1, delete_package (which itself respects Fake and prints
messages rather than taking action when it is 1) is not called
at all.

Fix this.

PR:		bin/24971
Submitted by:	Thomas Quinot <thomas@cuivre.fr.eu.org>
2001-03-04 17:38:38 +00:00
ru
b5a960e3c7 setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.
2001-03-02 16:52:14 +00:00
peter
1a766b6517 Ack! I finally got annoyed enough to actually kill this. There is no
need to manually force the network_interfaces variable in /etc/rc.conf,
and it only ever gets in the way.  rc.network and rc.network6 DTRT with
the default of 'auto'.  This should have died over a year ago.
2001-03-02 08:15:41 +00:00
ru
6d5ccea354 Fix brokeness in rev. 1.6: this manpage appeared in NetBSD 1.4.
Obtained from:	NetBSD
2001-03-01 17:09:01 +00:00
sobomax
3804739dd0 Put back several lines that I erroneously deleted in my previous commit. This
should fix recent segfault of `pkg_info -e'.

Submitted by:	Garrett Rooney <rooneg@electricjellyfish.net>, knu
2001-03-01 13:08:07 +00:00
imp
4ea3e95fe6 h_errno is declared in netdb.h. 2001-03-01 06:41:43 +00:00
imp
bb6565fee7 Include <unistd.h> for getopt's interface rather than declare things
individually here.
2001-03-01 06:22:46 +00:00
imp
2d30de85a5 optarg and optind are declared in unistd.h, so don't redundantly
declare them here.
2001-03-01 06:20:51 +00:00
gshapiro
f307b308ba Move installation of sendmail helpfile into etc/sendmail/Makefile. It is
a user configurable file and it would benefit from mergemaster.
2001-03-01 03:50:28 +00:00
ru
0b7f07b8e5 Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
ru
51489be40f Prepare for mdocNG. 2001-02-28 13:18:04 +00:00
peter
a67dba13cc newbus_ioconf() is long gone 2001-02-28 02:55:15 +00:00
peter
5fb30e0ec8 Some more tidying up. we dont use config-dependent anyware. Eliminate
some duplicate code (cut/paste bug?). tidy up some other minor stuff.
2001-02-28 02:53:32 +00:00
peter
298a181906 s/special/compilewith/ (so I stop confusing myself) and GC an unused
function I missed before.
2001-02-28 02:30:30 +00:00
peter
f6762efb3f Untangle some special magic that happened for conflicting defintions for
local files.* and options.* files on the third pass.
2001-02-28 02:07:47 +00:00
peter
de8125f09d Remove some more dead code. :-/ 2001-02-28 01:38:01 +00:00
peter
78b5e6060c GC some leftover stuff (device-driver suffix) 2001-02-28 01:17:04 +00:00
sobomax
af0c997828 Properly detect and report malloc(3) failures. 2001-02-27 11:15:04 +00:00
ru
37887c06ae Print a diagnostic message if no interface could be determined
when attempting to create a published ARP entry.  For example:

# arp -s 1.1.1.1 auto pub

PR:		bin/7753
Submitted by:	Jonathan Hanna <pangolin@home.com>
2001-02-27 09:02:10 +00:00
sobomax
40faa396f6 - Merge recently added into pkg_info(1) regex/glob matching functionality into
pkg_delete(1) as well;
- add a new `-a' option for pkg_delete(1) to delete all installed packages;
- add a new `-i' option for pkg_delete(1) to request simple rm(1)-like
  interactive confirmation before attempting to delete each package.

Silently approved by:	jkh, -ports
2001-02-27 09:00:18 +00:00
ru
0b8c9cff2d Prepare for mdocNG. 2001-02-26 09:05:48 +00:00
gj
bba8b29dc7 Use vsnprintf in logmsg() to avoid overflowing the array on the stack.
The problem was noted with an older model 3Com 3C589 which seems
to return more than 256 bytes of data.
2001-02-25 19:52:42 +00:00
dwmalone
8976a47f33 Stop pac dereferencing a null pointer if accounting is not enabeled.
PR:		24798 18191
Submitted by:	Nick Hilliard <nick@netability.ie>
Reviewed by:	gad
2001-02-25 13:50:29 +00:00
sobomax
6b5ebb18e6 Add two missed modifiers into usage message (-G' and -x'). 2001-02-24 14:10:31 +00:00
wpaul
fc52b9c1b8 Fix typo that was causing a compiler warning.
Submitted by:	Alfred Perlstein
2001-02-23 20:04:20 +00:00
peter
4edd281771 Move the 'dont forget "make depend"' to be the last thing that people see,
after the warnings.
2001-02-23 00:22:04 +00:00
peter
ef94eb09d5 Futher cleanups. Since we have two options lists, one for proper options
and one for Makefile options, pass in the list head and use a common
newopt() routine.
Fix the 'config vmunix' support glue which was broken for a few minutes.
2001-02-22 04:00:29 +00:00
gshapiro
e1bca22966 Move creation of the sendmail statistics file from the usr.sbin/sendmail
Makefile to the etc/sendmail Makefile to be consistent with all of the
other /var file creations.  In doing so, change the Makefile target from
etc-sendmail.cf to distribution as it installs more than just the sendmail.cf.
2001-02-22 03:55:08 +00:00
peter
c6fac12f8d Collect together a handful of copies of the option generator code into a
single newopt(char *name, char *value) function.  Change newdev() to
do the same thing rather than depending on the evil 'cur' device hack.
2001-02-22 03:40:50 +00:00
jkh
357f28a1c9 Properly preserve /etc/mail during upgrades.
PR:		misc/23048
Submitted by:	jack@germanium.xtalwind.net
2001-02-21 07:47:31 +00:00
sobomax
94066190c5 Fix a typo, that in some cases may lead to incorrect packages reordering. 2001-02-21 02:01:10 +00:00
jkh
2b9bf2f75f Use the more logical author syntax from pkg_version and quote
email addresses properly.
2001-02-20 21:57:19 +00:00
ru
73e94cebc6 Install manpages into machine-specific (i386) subdir. 2001-02-19 16:01:05 +00:00
sobomax
5a9e495e6c Improve pkg_delete(1) behaviour when deleting several packages at once.
Instead of trying to delete packages in the same order as they were specified
in the command line, reorder deletion in such a way that if package A depends
on package B then package A will be deleted before B no matter in which order
they were specified in the command line.

Reviewed by:	jkh, will
Approved by:	jkh
2001-02-19 13:26:13 +00:00
mckay
f9fd3e8185 There is an arbitrary file size limit in ctm of 20MB. By my reckoning,
ports/INDEX,v is currently 19.97MB and will blow this limit on the next
update.  Let's try doubling the limit again, to give us time to get
around to removing the limit altogether.
2001-02-19 12:04:46 +00:00
peter
0e21fde5f1 ${BDECFLAGS} work. And fix a real error in the process. A "MAXUSERS"
string could have been passed to free();  There are some warnings here
I am not sure how to fix as they are in the lex scanner code, etc.
2001-02-19 04:43:21 +00:00
peter
6c9db53b02 Devices are NOT compiled with the "special c2 option -i".. 2001-02-18 22:42:15 +00:00
green
79abd4ce26 Switch to using a struct xucred instead of a struct xucred when not
actually in the kernel.  This structure is a different size than
what is currently in -CURRENT, but should hopefully be the last time
any application breakage is caused there.  As soon as any major
inconveniences are removed, the definition of the in-kernel struct
ucred should be conditionalized upon defined(_KERNEL).

This also changes struct export_args to remove dependency on the
constantly-changing struct ucred, as well as limiting the bounds
of the size fields to the correct size.  This means: a) mountd and
friends won't break all the time, b) mountd and friends won't crash
the kernel all the time if they don't know what they're doing wrt
actual struct export_args layout.

Reviewed by:	bde
2001-02-18 13:30:20 +00:00
asmodai
4fc55cdfe7 Preceed/preceeding are not english words. Use precede and preceding.
Add $FreeBSD$.
2001-02-18 10:44:00 +00:00
asmodai
d8144cf92b Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:43:53 +00:00
obrien
4e8aaaefdb MFS: getpackagesite() from RELENG_4 that allows the code to be the same. 2001-02-17 20:04:41 +00:00
asmodai
b76ffd7ebe Remove old DNS setup document. We have long past the times where
BIND 4 was the thing of the day.
2001-02-17 15:19:00 +00:00
ru
2f55fad0ba mdoc(7) police: sanitize previous commit. 2001-02-16 11:28:22 +00:00
brian
78f15de19d Don't even look at af_family if accept() returns sa->sa_len == 0 2001-02-13 12:33:34 +00:00
ru
128310ec7a mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
obrien
f951713a44 In light of the dismal transfer times from ftp.FreeBSD.org, add a new
`PACKAGEROOT' env var which you would set to a proper mirror of
ftp.FreeBSD.org (say "export PACKAGEROOT=ftp://ftp3.FreeBSD.org"), to
fetch from an alternate place.  This is easier to use than `PACKAGESITE'
for true mirrors, and can be used in your dot files across all versions
of FreeBSD.
2001-02-13 09:49:14 +00:00
brian
b4c627d4ba A better fix for the PacketAliasProxyRule() call.
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
2001-02-10 17:26:14 +00:00
bmah
adfae33d1f Prevent the commands output of pkg_version.pl from being executed without the
user actually editing the output.  Too many people were rampantly abusing
this feature via "pkg_version -c | sh" without really being cognizant
of the dangers involved (ports upgrade kits) or the fact that it
just plain wasn't designed for it (dependencies).  We'll try to keep
people from shooting themselves in the foot.

Will be MFC-ed to RELENG_4 and RELENG_3 after cooling-off period.
2001-02-09 20:07:06 +00:00
murray
749ba582df Teach sysinstall about the `compat4x' distribution.
Approved by:	jkh
2001-02-09 19:01:49 +00:00
ru
81000dc04a mdoc(7) police: cosmetics. 2001-02-09 07:54:59 +00:00
sobomax
8a3534831e - By default treat supplied arguments as a shell globs to be matched against
names of installed packages;
- add new `-G' option to disable glob matching and revert to previous
  behaviour (I have no idea why this could be necessary, though);
- add a new `-x' option, which instructs pkg_info(1) to treat supplied
  arguments as a regular expressions.

For example:
$ pkg_info foo\* - displays information about all packages whose names start
		   from foo
$ pkg_info -G foo\*-1.1 - displays information about package named "foo*-1.1"
$ pkg_info -x ^foo.\* - displays information about all packages whose names
			start from foo

Original idea submitted by:	Edwin Groothuis <mavetju@chello.nl> (bin/24695)
Reviewed by:			jkh, roam
Approved by:			jkh
2001-02-08 17:44:00 +00:00
ru
9fb09ea791 mdoc(7) police: replace two -unfilled displays with -tag lists.
This works only because of bugs in current implementation: the
first .It after ``.Bd -unfilled'' re-enables filling mode and
does not restore (disable) it back afterwards.
2001-02-07 16:02:21 +00:00
ru
74ecc06fa7 mdoc(7) police: Change -filled displays (which just happen
to be the same as -ragged in the current implementation) to
-ragged.  With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00
obrien
61affd13ce Bump the i386 default root by another 30MB to 100MB total. The Alpha
default root bumps 20MB to 110MB.

Requested by:	kris
2001-02-07 11:26:41 +00:00
obrien
437f1c1543 Add 20MB to the default / size for this in-development branch. 2001-02-07 09:29:29 +00:00
ru
989970a3e3 mdoc(7) police: removed leading (non-sense) .Ns call. 2001-02-06 16:22:17 +00:00
asmodai
9bb829b9c2 Fix typo: compatability -> compatibility.
Compatability is not an existing english word.
2001-02-06 12:05:58 +00:00
asmodai
79d2ee04e3 Fix typo: seperate -> separate.
Seperate does not exist in the english language.
2001-02-06 11:21:58 +00:00
phk
35fa86c971 Convert if_multiaddrs from LIST to TAILQ so that it can be traversed
backwards in the three drivers which want to do that.

Reviewed by:    mikeh
2001-02-06 10:12:15 +00:00
wes
5f462ab099 Add package signing utilities; somebody might actually want them.
These are not enabled in the pkg_install Makefile as of yet;
adding the "sign" directory to the SUBDIR list will enable
building of sign.

Submitted by:	Wes Peters
Obtained from:	Original framework from OpenBSD 2.7, X.509 bits from DoBox.
2001-02-06 06:46:42 +00:00
ru
964ef0887f mdoc(7) police: modifiers should be marked with .Cm, not .Ar. 2001-02-05 17:01:07 +00:00
ru
24810105f7 Make the ``arp -d hostname proxy'' really do something useful.
Specifically, ``proxy'' modifier tells the code to delete only
Proxy ARP entry for the ``hostname''; the usual ARP entry will
be unaffected by this operation.
2001-02-05 16:57:56 +00:00
sobomax
5e6b32613d -pedantic mode:
- Add a missed prototype for the recently added show_cksum() function;
- put in "explicit braces to avoid ambitious else" suggested by gcc(1).
2001-02-05 09:56:52 +00:00
brian
c191dd1965 Add a ``Usable'' function to the ccp switch. The function
is called prior to sending a CCP configure request for a
given protocol.  The default is to send the request, but
this is overridden for MPPE which checks to see if the lcp
negotiations agreed CHAP81, and if not fails.

Use the same function to decide if we should reject peer
requests for MPPE.

This should get rid of those boring messages about not being
able to initialise MPPE when we don't negotiate CHAP81.
2001-02-04 22:53:11 +00:00
dwmalone
2c33ac35e8 This seems to stop syslog console messages looping. The problem
is that LOG_FAC doesn't do quite what you think it does.

PR:		24704
2001-02-04 15:16:08 +00:00
peter
0c1d736543 Remove the need to list each and every cpu platform. Config will now
take your word for the 'machine' switch.
2001-02-04 13:17:38 +00:00
brian
9c8ec2f5c3 MPPE_MasterKeyValid is only there if HAVE_DES is defined. 2001-02-04 01:20:33 +00:00
brian
57d6da5117 Don't send an authentication failure response if we fail sending
a radius accounting packet.
2001-02-04 01:08:26 +00:00