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