Commit Graph

1341 Commits

Author SHA1 Message Date
David E. O'Brien
ca7d5f8ab6 Revert the warning elimination in rev 1.292. It breaks the Alpha build with:
/usr/src/usr.sbin/sysinstall/menus.c:1323: initializer element is not computable at load time
/usr/src/usr.sbin/sysinstall/menus.c:1323: (near initialization for `MenuNetworking.items[9].aux')
2001-03-24 17:28:06 +00:00
Jordan K. Hubbard
fb52a2c4e1 Preserve ssh directory across upgrades.
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
PR:		conf/25633
2001-03-24 05:40:43 +00:00
Jordan K. Hubbard
386deae89c afterstep doesn't need an explicit xterm started for it either. 2001-03-24 03:17:35 +00:00
Jordan K. Hubbard
7257af7aa3 s/dependant/dependent
Submitted by:	rwatson
2001-03-24 01:26:51 +00:00
Jordan K. Hubbard
4f2348e52e Make wizard mode get out of raw mode first before going interactive with
the user.

Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
PR:		bin/24061
2001-03-23 08:26:43 +00:00
Jordan K. Hubbard
468255abf1 Fix a bug with setting the soft updates option from a script.
Eliminate an old warning brought about by insufficient foresight when creating
the Menu structure.  Have I ever mentioned that sysinstall really needs to
be rewritten?
2001-03-23 08:06:19 +00:00
Jordan K. Hubbard
6a74b0f7e2 Switch from lynx to "links" as the default doc browser.
Submitted by:	jim
2001-03-23 07:53:45 +00:00
Jordan K. Hubbard
2feddabf1d Include docs with "default X dist" so XF86Config won't complain about it. 2001-03-22 05:36:54 +00:00
Jordan K. Hubbard
8eea31b1d5 Don't install Kerberos stuff if user has selected minimal or "user"
modes.
2001-03-22 05:33:15 +00:00
Ruslan Ermilov
c73e22c3d4 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
Jordan K. Hubbard
a19e33bde9 properly document the loadConfig option 2001-03-18 05:38:11 +00:00
Jordan K. Hubbard
7416da67e9 Very small cosmetic tweak - avoid starting an extra xterm for the fvwm
desktop case.
2001-03-16 03:32:13 +00:00
Yoshihiro Takahashi
9a9c149572 Moved '#endif' to correct position. (previous commit broke pc98 support) 2001-03-15 12:33:52 +00:00
Murray Stokely
8d5f3cc751 Document the HTTP proxy install method.
PR:		21451
2001-03-14 11:08:28 +00:00
Murray Stokely
0916708e8f Avoid sending a pointless `CWD .' command which confuses some
non-standard ftp servers.

PR:		21856
2001-03-14 10:05:48 +00:00
Jordan K. Hubbard
369e272fb6 Argh! Why can't I stop breaking the fvwm desktop option? *I* use
fvwm as my desktop, yet I've broken this damn thing 3 times in a row
now while all the desktops I don't actually use continue to work fine! :)
2001-03-14 09:39:54 +00:00
Jordan K. Hubbard
56d6f15dca OK, *now* we only sort the file once (red face). 2001-03-14 03:26:40 +00:00
Jordan K. Hubbard
becf6bce0e Document (with warnings) the otherwise undocumented `F' command. 2001-03-13 06:52:07 +00:00
Jordan K. Hubbard
401e1ee5c1 Be a better rc.conf citizen and create an initial file which:
1. Has a time-stamp to show when it was created

2. Sorts and uniq's the output to only contain single instances of a
   given setting. This doesn't mean you still can't have settings which
   override one another, that's still possible since it's too much
   trouble to do the redundancy checking here.

Requested by: 	lots of people
2001-03-13 06:42:12 +00:00
Jordan K. Hubbard
c95f3d84ce Properly deal with the fvwm desktop - this should restore that option
to functionality.
2001-03-12 22:43:27 +00:00
Jordan K. Hubbard
061de247e0 Allow a script-using to disable the emergency holographic shell as
a security measure.

Requested by:	"David E. Cross" <crossd@enterprise.cs.rpi.edu>
2001-03-12 21:26:06 +00:00
Jordan K. Hubbard
dd689bd571 Really finish softupdate setting from the label editor and fix
a few cosmetic problems:

o Allow it to work with scripts (see man page or install.cfg file).
o Preserve old softupdates flag across newfs toggles
o Clean up partitioned/labelled flag handling
o Don't ask for MBR choice again if you've already written it out.
o Actually document the new features.
2001-03-12 10:18:54 +00:00
Jordan K. Hubbard
a225c1f77f Update to use proper nomenclature for the security profiles.
Submitted by:	olgeni
2001-03-11 23:47:12 +00:00
Jordan K. Hubbard
abbc9c16f2 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
Jordan K. Hubbard
b2cb10e515 Support setting soft updates from the label editor. 2001-03-10 19:51:04 +00:00
Jordan K. Hubbard
7e2f1eda7a Fix a paste-o which introduced a syntax error. 2001-03-08 10:41:40 +00:00
Jordan K. Hubbard
717bd36c83 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
Jordan K. Hubbard
e18638480d 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
Peter Wemm
8ca420e7fa 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
Jordan K. Hubbard
5127091073 Properly preserve /etc/mail during upgrades.
PR:		misc/23048
Submitted by:	jack@germanium.xtalwind.net
2001-02-21 07:47:31 +00:00
Murray Stokely
7f78342d7c Teach sysinstall about the `compat4x' distribution.
Approved by:	jkh
2001-02-09 19:01:49 +00:00
David E. O'Brien
3e52f85a2b 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
David E. O'Brien
2dfcc3fa0d Add 20MB to the default / size for this in-development branch. 2001-02-07 09:29:29 +00:00
Peter Wemm
26379603c0 Create a build-tools target for sysinstall and rtermcap. This is still
not right because rtermcap would be reading the *host* termcap, not
from the termcap in the src tree.  Besides, /usr/sbin/sysinstall
(not the crunched one in /stand) should use the runtime termcap
not the precompiled set.
2001-01-19 09:24:00 +00:00
John Baldwin
d3fe3a0af7 The example install.cfg now lives in /usr/src/usr.sbin/sysinstall. 2001-01-17 19:52:16 +00:00
John Baldwin
25edf1a5eb Look for help files in /usr/src/usr.sbin/sysinstall instead of
/usr/src/release/sysinstall.
2001-01-17 19:51:08 +00:00
John Baldwin
86cf061fe4 - We live in /usr/sbin now, so don't set special veriables to build a
static version that installs in /stand.  Also, don't use an extra
  before-install target to create /stand.
- Add missing $FreeBSD$.
- Fix dependencies to handle keymap.h. (*)

Submitted by:	obrien (*)
2001-01-17 03:32:00 +00:00
Peter Wemm
8c614ff6fe Backtrack a bit.. Put the dangerously dedicated option under a
non-advertised option (F = "FreeBSD only"), and leave the A key with
standard partitioning.  It seems people still want a runtime backdoo
to get to dangerously dedicated mode.
2001-01-15 08:15:19 +00:00
Peter Wemm
f357eb9800 Don't invite trouble by waving the 'Dangerously Dedicated' (DD) option
at people.  This has been sitting in my tree for a few months now.  I
have spoken with quite a few folks about this and the support for doing
this was pretty strong.  I dont remember names though, so I cannot share
the blame :-(.  Note that this does not *remove* DD mode, it just stops
waving it at new users.  You can still set it via config files etc, and
the bootblocks and kernel still support it.  You can still use disklabel
to make true DD disks.
2001-01-15 05:29:53 +00:00
David E. O'Brien
6704216fbb Add the us.pc-ctrl and us.unix keymaps. 2001-01-11 20:53:36 +00:00
Ruslan Ermilov
4303e19e3a Prepare for mdoc(7)NG. 2000-12-27 14:22:05 +00:00
Jordan K. Hubbard
d97b90c7fc Fix an informational message a little and properly check status of a yes/no
question which I bollicked up in my previous commit.
2000-12-16 05:36:10 +00:00
Eivind Eklund
44084c9348 Add better IP, netmask and gateway checks.
- IP addresses are verified as being correct dotted quad format.
- Netmasks are verified as being in correct dotted quad or 0x* format,
  and being consecutive 1 bits followed by consecutive 0 bits.
- The gateway is verified as being correct dotted quad format and
  being reachable through the configured IP address and netmask.
2000-12-14 13:59:10 +00:00
Jordan K. Hubbard
621005e3cb Adapt sysinstall to use the new msgNoYes() function which assumes
no as a default.  Sysinstall should be both less dangerous and less
annoying as a result of this change, though that's just my opinion
(since they're the defaults which annoy ME the least :).
2000-12-14 02:49:02 +00:00
Yoshihiro Takahashi
418754d037 Moved the snc driver position before the sn driver.
Submitted by:	Tomokazu HARADA <tkhara@osk4.3web.ne.jp>
2000-12-09 04:51:13 +00:00
Jordan K. Hubbard
a630ff9a60 Fix bug where minimal dist selection didn't check off the right
menu item.

Noticed by:	Dan "Sheepdip" Langille <dan@freebsddiary.org>
2000-12-07 20:04:35 +00:00
Jordan K. Hubbard
3796819e5c Enable the same path deduction as for ftp install (great for snapshot tests)
Allow user to change proxy server
Allow user to change ftp path

Submitted by:	pho
2000-12-06 00:47:54 +00:00
Hajimu UMEMOTO
06617fbb29 Wait DAD complete after ifconfig up. 2000-12-04 18:06:49 +00:00
Daniel Harris
7e4f887975 Lose an extra paragraph break.
PR:		23179
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-29 21:44:46 +00:00
Tatsumi Hosokawa
247fc4628e Filename of install help file is "INSTALL.TXT", not "install.hlp".
Typing [F1] did not popup install help file window on main menu, and so on.
2000-11-27 13:35:11 +00:00
Ben Smithurst
759ca2b99f Fix a layout problem (.It Li -> .Fx)
PR:		23055
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-24 11:17:28 +00:00
Jun Kuriyama
d83edf4e44 Remove extra ")". 2000-11-23 08:09:45 +00:00
Jordan K. Hubbard
d3ae70097d Finish the job of conditionalizing the PC98 stuff. 2000-11-22 22:28:34 +00:00
Jordan K. Hubbard
c46073c0d0 Update source description to note that everything is now included.
Submitted by:	Chris Faulhaber <jedgar@fxp.org>
2000-11-21 02:22:31 +00:00
Jordan K. Hubbard
a41801c68a finish conditionalizing the PC98 specific options off the PC98
compilation variable.
2000-11-20 19:44:17 +00:00
Jordan K. Hubbard
cf47e60dd8 Really turn off srcs for upgrades. 2000-11-14 21:21:53 +00:00
Jordan K. Hubbard
2d16329250 Replace GNOME + Afterstep choice with GNOME + sawfish. This is a more
popular configuration now.
2000-11-14 00:03:52 +00:00
Jun Kuriyama
c162a66b48 Minimal distribution now gets cropto binaries.
This can avoid waring about "no sshd" at booting after installation.

Approved by:	jkh
2000-11-11 02:09:18 +00:00
Ruslan Ermilov
726b61ab5f Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
Jun Kuriyama
ecefc8cf96 Make numeric shortcut key behaving correctly in "Installation Media" menu.
Approved by:	jkh
2000-11-10 09:50:22 +00:00
Jordan K. Hubbard
3a335eb7a7 Set BATCH and PACKAGE_BUILDING to environment before exec()ing pkg_add
in order to suppress onwonted package interaction.

Submitted by:   steve
2000-11-10 09:34:06 +00:00
Jordan K. Hubbard
17d7bfc3fc For High security profile, set securelevel to 1 to protect /dev/*mem
and mounted disks, among other things.

Requested by:	kirk
2000-11-07 23:05:14 +00:00
Tatsumi Hosokawa
b986543ddf Added Intel Gigabit Ethernet card to device menu. 2000-11-07 09:16:14 +00:00
Tatsumi Hosokawa
b1d6bbc98d release/sysinstall/lndir.c has not been used, but statically linked
to sysinstall for long time.  Remove it.
2000-11-06 09:28:54 +00:00
Don Lewis
e1a8c6b64e Back out change to prepend /sbin:/bin to $PATH, just overwrite $PATH
with these in the normal case.

Set MAKEDEVPATH in sysinstall to include the /mnt2 stuff before starting
the fixit shell.
2000-11-05 17:59:29 +00:00
Jordan K. Hubbard
5dbd2e5b4e Update ports count to "over 4000" 2000-11-03 10:05:26 +00:00
Tatsumi Hosokawa
b98c5f70ff Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp.
http://people.freebsd.org/~hosokawa/driver-floppy/ for details.

Reviewed by:	current@FreeBSD.org
2000-10-31 07:39:07 +00:00
Jordan K. Hubbard
a911f71629 Changes have been made to support a concept of VAR_FIXIT_TTY being
standard or serial.  This change needs to be done to the entire system that
depends on this.  This way we don't have some code using OnVTY checks
and other doing
        strcmp(variable_get(VAR_FIXIT_TTY), "standard") == 0
checks.  Also we need to set VAR_FIXIT_TTY to "serial" if we come up on
a serial console.

Also fixed a dialog problem in that dialog was used when dialog was
disabled causing some troubles such as not letting the cursor keys
work when exiting the fixit mode on media (ie. not the fixit shell but
for example fixit on a floppy).

Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
PR:		22352
2000-10-30 23:46:12 +00:00
Søren Schmidt
18993f4eb3 Add the ATA RAID device 'ar'. 2000-10-29 13:04:04 +00:00
Eivind Eklund
dd92980bbd Teach sysinstall how to restart itself on Ctrl-C (as an addition to its old
tricks of rebooting and continuing where it was.)

Reviewed by:	jkh, jhb
2000-10-29 09:57:50 +00:00
MIHIRA Sanpei Yoshiro
33eb563d67 add PC-Card melody beep(PC Card bus, kludge version)
Original idea from:	PAO3
2000-10-28 13:35:34 +00:00
Jordan K. Hubbard
d9be478b74 More explicitly set crypto bits.
Partially submitted by:	Jeff Kletsky <jeff@spotlife.com>
2000-10-26 13:19:02 +00:00
Jordan K. Hubbard
5b4d40c638 Shorten the labels in the keymap menu so it fits smaller screens.
Submitted by:	pho
2000-10-26 12:32:28 +00:00
Jun Kuriyama
b3530b8293 Trim right column messages to display correctly in 80-column terminal.
Reviewed by:	jkh
2000-10-25 11:36:31 +00:00
Hajimu UMEMOTO
f3581390d2 Popup IPv6 dialog, again. 2000-10-21 14:06:24 +00:00
Jordan K. Hubbard
042c61e58d Add another security configuration profile, call it "high" and
rename the previous one to indicate that it's not just high, it's
extreme (everything off, secure level raised).

Submitted mostly by:	Tony Finch <dot@dotat.at>
2000-10-14 21:02:31 +00:00
MIHIRA Sanpei Yoshiro
7713ddd380 Fix bug in ``the selection of pccard IRQs fully selectable''
in rev.1.12.
card_irq is local variable, not global variable
(variable_set2 and variable_get)

Reviewed by:	jkh
2000-10-13 09:51:18 +00:00
Poul-Henning Kamp
00d25f512c Initiate deorbit burn sequence for <machine/console.h>.
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
2000-10-08 21:34:00 +00:00
Murray Stokely
d665d812e2 PR: 21729
Approved by:	jkh

Write kern_securelevel_enable variable to rc.conf if user selects
medium or low security in sysinstall.  This overrides the case where a
user selects fascist security and then tries to go back to a lower
setting.
2000-10-05 23:27:32 +00:00
Jordan K. Hubbard
9913f234db If user selects no distributions at all, assume "User" as
a default.  This should prevent people from whacking return at
the Distributions menu and getting nothing selected as a result
(a minimal "standard" system will at least install).

Flagged as big tech support headache by: Chris Shumway <cshumway@osd.bsdi.com>
2000-10-05 18:02:09 +00:00
Yoshihiro Takahashi
0a917604f0 Added NEC PC-9801-83, 84, PC-9801-103, 104, PC-9801N-25 and PC-9801N-J02R
support which use National Semiconductor DP8393X (SONIC) as ethernet
controller. Currently, this driver is used on only PC-98.

Submitted by:	Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
Obtained from:	NetBSD/pc98
2000-10-02 14:27:20 +00:00
Jordan K. Hubbard
a1aa3a40fd Adjust for new location and name of kernel.
PR:		21423
Reported by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2000-09-29 07:47:19 +00:00
Jordan K. Hubbard
55124436ab Fix specification for ftp5.fr.freebsd.org
Reported by:	Jean-Claude Christophe <jch@oleane.net>
2000-09-27 17:23:57 +00:00
Jordan K. Hubbard
bd7064a794 Fix the http proxy fetch code.
Submitted by:	Philipp Mergenthaler <p@i609.hadiko.de>
PR:		21449
2000-09-25 20:19:43 +00:00
Jordan K. Hubbard
8ad4728c5d Fix a small bogon with a boolean yes/no question check. 2000-09-25 07:15:19 +00:00
Jordan K. Hubbard
706669fd9b Add Lithuania.
Submitted by:	Domas Mituzas <midom@dammit.lt>
2000-09-24 06:53:04 +00:00
Jordan K. Hubbard
53447cc7b9 One small tweak on the security profile code; don't be verbose if
setting up default values for an express/custom install.  It would
be confusing to see the informational popup completely out of context.
2000-09-24 06:44:00 +00:00
MIHIRA Sanpei Yoshiro
8436d169fe add ``xe'' driver
Approved by:	jkh
2000-09-22 23:48:27 +00:00
Jordan K. Hubbard
b9d13dac47 One whack at the idea of having "security profiles" which select the
appropriate(?) defaults for "low", "medium" and "high" security
environments.  Medium is basically what we currently have with a little
seat-belt tightening where it made sense.  Low is the same as medium but
without the tightening.  High is positively fascist with nothing turned
on by default and an automatic call to 911 if it can find a modem.
2000-09-22 19:12:41 +00:00
Jordan K. Hubbard
5e90bdab10 Remove the bogus check against "none" for release names (which
really doesn't make any sense, what was I smoking) and allow
the more canonical usage of "any" for either side of the comparison
for release name or architecture (meaning you can also set CD_VERSION=any
in a cdrom.inf file to cause sysinstall to always match it and likewise
with the architecture, if specified).

Sensibly suggested by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2000-09-22 08:13:36 +00:00
Maxim Sobolev
301a545c0d "zope language" --> "zope platform".
Requested by:	asami
2000-09-22 06:53:44 +00:00
Satoshi Asami
418c506d48 Add french and zope. 2000-09-22 06:32:55 +00:00
Bill Paul
73334a4329 Add a new driver for the AMD PCnet/FAST, FAST+ and Home PCI adapters.
Previously, these cards were supported by the lnc driver (and they
still are, but the pcn driver will claim them first), which is fine
except the lnc driver runs them in 16-bit LANCE compatibility mode.
The pcn driver runs these chips in 32-bit mode and uses the RX alignment
feature to achieve zero-copy receive. (Which puts it in the same
class as the xl, fxp and tl chipsets.) This driver is also MI, so it
will work on the x86 and alpha platforms. (The lnc driver is still
needed to support non-PCI cards. At some point, I'll need to newbusify
it so that it too will me MI.)

The Am79c978 HomePNA adapter is also supported.
2000-09-20 17:30:22 +00:00
Jordan K. Hubbard
a6ee521120 Simplify the ftp directory search code a little and eliminate a warning. 2000-09-19 07:45:08 +00:00
Jordan K. Hubbard
f295f79cb9 Enable crypto by default with "canned" distributions (it can still
be deselected or simply not chosen in a custom install).
2000-09-16 21:15:21 +00:00
Andrey A. Chernov
93ddf54615 Remove unneded -lmytinfo 2000-09-16 03:56:25 +00:00
Jordan K. Hubbard
b7bbaa3ca9 Correct variable check for VAR_TRY_DHCP. 2000-09-15 08:15:14 +00:00
Mike Smith
8e847be836 Teach sysinstall about 'aac'. 2000-09-13 06:15:53 +00:00
Jordan K. Hubbard
c0953990e0 MFS: sync with -stable by removing the now-vestigal X_AS_PKG stuff. 2000-09-07 16:05:52 +00:00
Jacques Vidrine
248aee623c Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
  functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
    . getgrent, getgrnam, getgrgid
    . getpwent, getpwnam, getpwuid
    . getusershell
    . getaddrinfo
    . gethostbyname, gethostbyname2, gethostbyaddr
    . getnetbyname, getnetbyaddr
    . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc.  rc.network has been modified
  to warn that host.conf is no longer used at boot time.  In addition, if
  there is a host.conf but no nsswitch.conf, the latter is created at boot
  time from the former.

Obtained from:	NetBSD
2000-09-06 18:16:48 +00:00