Commit Graph

211 Commits

Author SHA1 Message Date
John Baldwin
491a165843 Fix an annoying bogon in the form of a missing tab when generating CD-ROM
mount points in /etc/fstab.

Requested by:	obrien
2000-07-27 00:46:29 +00:00
Jordan K. Hubbard
cf07fd263a Terminate, with extreme prejudice, the USAResident hack which
does bad things to /etc/make.conf in certain situations.  Also
soften the "don't install crypto from the USA!" messages since,
except for RSA (which is still noted), that's not so true anymore.
2000-07-24 18:00:16 +00:00
Hajimu UMEMOTO
2931df8a40 IPv6 support.
IPv6 configuration is only done by rtsol.  Does someone really
need manual configuration? :-)
You can specify IPv6 DNS server as well.
We have only one server ftp7.jp.freebsd.org that speaks IPv6
in this time.  ftp7.jp speaks IPv4 as well and also listed as
Japan #7.

Approved by:	jkh
2000-07-14 08:33:10 +00:00
Bill Fumerola
26b0377cc1 Refresh the aout ldconfig info so things like compat22 when installed can
be detected by netscape and such.

PR:		bin/17659
Submitted by:	Murray Stokelay <murray@cdrom.com>
Approved by:	jkh

jkh made updates that conflict with the submitters patch, so I updated
accordingly, any mistakes are mine, not the submitters.
2000-03-31 01:03:41 +00:00
Jordan K. Hubbard
260efb1efd Search for the proper hints file in an ELF world. 2000-03-30 08:18:19 +00:00
Jordan K. Hubbard
8b80a8837b Really fix the USA_RESIDENT botch.
Submitted by:	Dmitry Valdov <dv@dv.ru>
2000-03-03 20:33:21 +00:00
Jordan K. Hubbard
b9452ccfa1 Do USA_RESIDENT properly. 2000-02-24 08:28:06 +00:00
Jordan K. Hubbard
da8a39382b If user says they're in the USA, record that fact in /etc/make.conf 2000-02-19 23:22:22 +00:00
Jordan K. Hubbard
d294a07a7f Various cosmetic fixes, stop saying "DES" when we really mean "crypto",
go for more sensible defaults in a couple of menus.
2000-02-17 06:15:11 +00:00
Jordan K. Hubbard
74ffe8004b Do better things with router configuration (use proper display variable,
for one thing - it's router_enable to check, not router).
1999-12-19 22:38:59 +00:00
Jordan K. Hubbard
e23b011f50 Bah, I got the MFC and this commit backwards. :) 1999-12-19 19:42:02 +00:00
Jordan K. Hubbard
8932007887 Better screen handling in X desktop setup.
Don't get cute with nested dialogs now.
1999-12-18 02:04:02 +00:00
Jordan K. Hubbard
3b7657d80d Add another strategic screen clear. 1999-12-17 03:00:28 +00:00
Jordan K. Hubbard
7025aeb16e Completely rip-out and redesign sysinstall's refresh model as well
as redoing all the menus to have proper, or at least non-hallucinogenic,
keyboard accelerators.

This requires my recent update to libdialog to work properly and will
probably also exhibit some other "interesting" behavior while the last
few missing screen clears are found (which is why I'm not going to MFC
immediately).  At least now, however, sysinstall does not gratuitously
redraw random screens at the drop of a hat and drive serial console
installers out of their minds.
1999-12-14 04:25:29 +00:00
Jordan K. Hubbard
bbf0b709cd Make sure modes on new skeleton files are correct. 1999-11-05 11:04:30 +00:00
Jordan K. Hubbard
eeeeec707a MF3: various small tweaks. 1999-09-17 09:32:22 +00:00
Jordan K. Hubbard
b1da34ca31 If enlightenment is present, gnome-session starts it automagically. 1999-09-15 02:52:56 +00:00
Jordan K. Hubbard
3349701ae5 Provide another installation option for GNOME so we have the more "classic
GNOME" desktop that Debian does as an option.
1999-09-08 04:48:26 +00:00
Jordan K. Hubbard
3910e95363 Oh crud, did I ever screw the pooch! Rather than sync this with -stable,
I backed-out the changes in -current and didn't touch stable at all (I
thought I had my patch order reversed, not what actually happened).
AIEEE!  I can't even blame the crack for this one since I broke my
crack pipe a few weeks ago.  I think sleep deprivation gets the blame
for this one.

Medal for noticing this one goes to:	Jim Bloom <bloom@acm.org>
1999-09-02 00:51:16 +00:00
Jordan K. Hubbard
d03dcaa779 MFC: Catch 3.2-stable sysinstall up to 4.0-current level functionality,
bringing in DHCP support.  The only thing I left out were Poul-Henning's
newfs changes since I'm not sure if he's brought the rest of that support
into -stable yet.  If it turns out that this is the case, I'll MFC those
changes too.
1999-09-01 04:29:30 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Jordan K. Hubbard
d49c1fb83f Deal with new linux compat package naming.
Submitted by:	Marcel Moolenaar <marcel@scc.nl>
1999-07-22 09:18:12 +00:00
Jordan K. Hubbard
eb31d123ad XFree86 3.3.4 seems to require "XWINHOME" to be set for the setup tool
to work (fnark).
1999-07-20 21:06:18 +00:00
Jordan K. Hubbard
ad4faaa504 invoke fvwm properly 1999-07-07 09:47:41 +00:00
Jordan K. Hubbard
2618634bae Add an option for more fully enabling linux compatibility. 1999-07-06 08:45:40 +00:00
Jordan K. Hubbard
4ee02f4bb8 deal with a.out ldconfig paths also. 1999-05-18 00:44:28 +00:00
Jordan K. Hubbard
de37d1149a Small typo in windowmaker startup line. 1999-05-15 15:05:08 +00:00
Jordan K. Hubbard
b7f708e677 o Prevent alpha installs from grabbing x86 bits and vice-versa, at least
on CDs and FTP sites.

o Collapse some redundant code.

o Fix typo'd menu.

o Restrict searches properly to packages rather than categories.

o Small tweaks to signal handling.

All RELENG_3 candidates.
1999-05-15 14:34:22 +00:00
Jordan K. Hubbard
be06522a93 Do more impressive things for windowmaker. 1999-05-14 15:04:24 +00:00
Jordan K. Hubbard
e71d157614 Add some extra checks to make *sure* we got what we were told we got. 1999-05-12 09:22:47 +00:00
Jordan K. Hubbard
b9ad2ee3d4 Completely change the way package_add() does its work. Now we
handle dependencies at a lower level and use package add for this.
Also made index searches stricter.
1999-05-12 09:02:37 +00:00
Jordan K. Hubbard
703e69c29c Fix a couple of bogons in the X server/desktop setup menus. 1999-05-12 04:52:41 +00:00
Jordan K. Hubbard
2d49c1f84a Another round of updates for -current and 3.2 1999-05-05 11:34:03 +00:00
Jordan K. Hubbard
da95ac4842 Write config files to /usr/share/skel as well as root's profile. 1999-04-28 07:20:11 +00:00
Jordan K. Hubbard
a5a953fc61 Do the right thing for windowmaker installation if it's picked. Add some
seat belts for failed desktop installations.
1999-04-28 06:39:25 +00:00
Jordan K. Hubbard
4d24621b10 o Make package matching for specific package loading use the Latest/
feature of packages now so that no version info is embedded.

o Add a default X desktop menu offering afterstep, enlightenment, KDE, GNOME
  and Windowmaker desktops instead of the boring twm(1) based one if the
  user so chooses.  This will require a little testing.
1999-04-27 14:33:29 +00:00
Jordan K. Hubbard
c8f07a79f8 Remove the registration stuff; we're redoing this and the emailed
registrations have a high failure rate for various reasons.
1999-04-24 01:53:55 +00:00
Jordan K. Hubbard
21300d38a6 Put a convenient marker in rc.conf to show updates.
Better screen saver descriptions.
1999-02-14 21:35:02 +00:00
Jordan K. Hubbard
0616103816 rc.conf vars no longer "dirty" by default. 1999-02-14 07:35:27 +00:00
Jordan K. Hubbard
37e9b7b068 Preserve existing rc.conf contents. 1999-02-14 05:52:57 +00:00
Jordan K. Hubbard
58dd43480c Write changes out to /etc/rc.conf again; rc.conf.site is dead! 1999-02-09 22:18:10 +00:00
Jordan K. Hubbard
63cad5499d Totally change the way variables are accounted for in sysinstall.
Now we know which variables are internal and which need to be
backed to /etc/rc.conf.site.  rc.conf is not touched now.

Also kget kernel change information back properly and set up a loader.rc
file to use it.
1999-02-05 22:15:52 +00:00
Jordan K. Hubbard
86784dbcd2 Show dependencies in package menu.
PR:		7454
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1999-02-02 15:57:14 +00:00
Jordan K. Hubbard
750eba274b Man, was I ever smoking crack when I wrote this. Don't free()
values I'm going to use again. :-}
1999-02-01 16:35:40 +00:00
Jordan K. Hubbard
6f6f564445 1. Install /boot/loader correctly on boot.flp
2. Back up old rc.conf.site if it exists.
1999-01-30 22:15:36 +00:00
Jordan K. Hubbard
24c1db52ef Write changes out to /etc/rc.conf.site now rather than mucking with
rc.conf.  There were many different ways I could have done this, some of
them "cleaner", but this represented the lowest impact.
1999-01-27 02:32:47 +00:00
Jordan K. Hubbard
18c434c8f2 o Break fixups into binary fixups and XFree86 based fixups.
o Move fixups into extraction routine so all consumers don't have to duplicate
  the right behavior.
o Make some things more orthogonal (just for asthetics sake)
o Add option to go back and do it again if XF86Setup fails (possibly with
  a different setup - this one has always annoyed me).
1998-11-15 09:06:20 +00:00
Jordan K. Hubbard
f73e2ce42e Don't generate a spam-friendly /etc/hosts by default.
Suggested by:	jmb
1998-10-14 01:04:44 +00:00
Jordan K. Hubbard
fb386e7c77 Fix english in prompt. 1998-09-30 12:33:28 +00:00
Jordan K. Hubbard
9bb1c20147 various bits of overdue cleanup. 1998-09-30 11:49:37 +00:00
Jordan K. Hubbard
bf05096f52 MF22: Important fixes for loading XFree86 distributions I forgot to
merge after 2.2.7 (I was wondering why that bug looked so familiar!).
Also update some docs accordingly.
1998-09-23 12:13:51 +00:00
Jordan K. Hubbard
ac4c856698 Sync with 2.2-stable branch. 1998-03-24 09:51:58 +00:00
Jordan K. Hubbard
bd002b6bd8 Be careful not to spam ld.so.hints in multi-user case.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1998-03-13 11:12:53 +00:00
Jordan K. Hubbard
1a8a1188c0 Correct misfeature with quoting, better error reporting. 1998-03-10 17:24:08 +00:00
Jordan K. Hubbard
9f8db01318 Remove deprecated XIG support - that project never
happened.
1998-03-09 15:01:02 +00:00
Jordan K. Hubbard
dd3a83ba63 MF22: nuke compat slice for root. 1998-03-09 08:39:46 +00:00
Jordan K. Hubbard
7f2c35c3f8 Add a mouse configuration menu.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1998-03-07 08:59:32 +00:00
Paul Traina
69ac164732 Put all variables in VAR_ #define's to force a single location for all
of these magic knobs.  This is purely cosmetic and a documentation issue
so we don't have to glop through the source code looking for gems.
1997-09-17 16:18:22 +00:00
Jordan K. Hubbard
ea2b79b03e Fix fstab sequence number bug.
Add a few more strategic screen clears.
Fix registration form bug.
1997-08-18 21:47:34 +00:00
Jordan K. Hubbard
a6d56f6e65 Sync with rc.conf change for weak_mountd_authentication 1997-08-17 10:08:25 +00:00
Jordan K. Hubbard
31377e1f1f Change the way that X configuration method is selected. 1997-06-21 15:45:15 +00:00
Jordan K. Hubbard
08e6881746 YAMF22 1997-06-13 14:21:22 +00:00
Jordan K. Hubbard
ba40d0fede YAMF22 - Bugs Of Evil in variable handling and rc.conf editing.
PR#: 3218 [partial]
1997-06-11 08:41:10 +00:00
Jordan K. Hubbard
8e45ec2c8c Resurrect / implement some of the more esoteric scripting features,
such as partitioning a disk or overriding an interactive prompt.
1997-06-05 09:48:03 +00:00
Jordan K. Hubbard
b3c112739c Fix typos (of the printed output kind). 1997-05-30 01:03:09 +00:00
Jordan K. Hubbard
e40c79386c Correct SNAP server paths.
Bring in CDE fixes.
1997-05-27 16:41:52 +00:00
Jordan K. Hubbard
cfca7bde42 Lame typo fix here too. 1997-05-26 05:33:16 +00:00
Jordan K. Hubbard
92973a80f9 YAMF22 1997-05-26 04:57:56 +00:00
Jordan K. Hubbard
8b6ecf92cf Merge from 2.2 - XiG support updates. 1997-05-23 18:54:29 +00:00
Jordan K. Hubbard
53f741779c Adjust config variables to more closely match rc.conf 1997-05-22 21:26:11 +00:00
Jordan K. Hubbard
00137300da Adapt routing configuration glue to rc.conf format. 1997-05-05 06:32:44 +00:00
Jordan K. Hubbard
8681ebdcd1 YAMF22 1997-04-29 09:14:24 +00:00
Jordan K. Hubbard
3de5b08eda Adapt to rc.conf file format. 1997-04-28 10:31:14 +00:00
Jordan K. Hubbard
7499a04abf YAMF22 1997-04-28 06:15:49 +00:00
Jordan K. Hubbard
0aa615d28d Sync with 2.2 and clean up some tortured english that was added. 1997-04-20 16:46:36 +00:00
Jordan K. Hubbard
db9fff5761 Tidy up generated fstab 1997-03-12 02:31:28 +00:00
Jordan K. Hubbard
7c8f98f5b7 Add a registration screen so we can finally start counting our little user
puppies.
1997-03-09 22:25:49 +00:00
Jordan K. Hubbard
c29c9ac418 YAMF22 1997-03-08 12:58:29 +00:00
Peter Wemm
b97fa2ef50 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
Jordan K. Hubbard
96a6cda5d6 Compensate for an underpopulated MFS. 1997-02-17 13:42:21 +00:00
Jordan K. Hubbard
80beefc082 1. Always write out /etc/hosts.
2. Back out my change to ask about UTC/Localtime here.  This *really* needs
   to be done in tzsetup instead since putting it here only handles about
   1/4 of the places where it needs to be.
1997-02-16 23:35:05 +00:00
Jordan K. Hubbard
c92de5fe1d Replace bogus strncmp() with strcmp(). 1997-02-16 10:20:05 +00:00
Jordan K. Hubbard
3937aa2158 Make configSysconfig() less chatty.
Now that this is becoming (dare I even say it?) more useful for
post-configuration, no longer leave sysinstall.debug files around
by default.  Only do this if environment variable SYSINSTALL_DEBUG
is set.
1997-02-15 15:40:37 +00:00
Jordan K. Hubbard
e33c24a2d2 Read /etc/resolv.conf information as well as /etc/sysconfig info, making
this a little more robust.
1997-02-15 15:24:14 +00:00
Jordan K. Hubbard
136b318913 Only add interface lines if they're not there already. 1997-02-15 12:24:02 +00:00
Jordan K. Hubbard
fb8327b7c3 Add a safety belt to configSysconfig() that should have been in there
from the beginning.
1997-02-15 11:20:54 +00:00
Jordan K. Hubbard
ea7c446076 Add better quote elimination (and fix a bug). 1997-02-14 21:17:00 +00:00
Jordan K. Hubbard
c5566bcff7 o Try to be more aggressive about reading in old configuration data
so that we're more useful in multi-user mode.  This is still not
  100%, but it pulls in a lot more than it used to.  Some of the "composite"
  variables in /etc/sysconfig are going to take more work.

o Always write /etc/resolv.conf and /etc/hosts if it makes sense to do
  so.

o Reset media properly when reselecting.  Longstanding bogon.

o Pull SIGPIPE handling out of package.c; I'm actually hoping to handle
  this differently shortly.

o Fix bug where cancel in TCP setup dialog still checked data fields.
  I think this closes a PR, but I will have to go look.
1997-02-14 20:59:07 +00:00
Jordan K. Hubbard
6858c47aeb It's not an error to call configResolv() early. 1997-02-14 02:55:25 +00:00
Jordan K. Hubbard
89972e50e4 Allow user to delete as well as install packages from the package
installer menu.

Fix status line code so informationals show up properly again.
1997-01-29 22:35:05 +00:00
Jordan K. Hubbard
7ce6b270fd Allow both types of XFree86 setup script to be run at user choice. 1997-01-24 20:20:12 +00:00
Jordan K. Hubbard
6dfa1330e5 A couple of cosmetic tweaks to tape install method and fstab file format.
Submitted-By: Flemming Jacobsen <fj@schizo.dk.tfs.com>
1997-01-20 19:36:31 +00:00
Jordan K. Hubbard
0f18f7f84e Add extra variables for the configuration of all packages, not just
the lynx browser.

Submitted-By: David O'Brien <obrien@cs.ucdavis.edu>
1997-01-20 16:13:43 +00:00
Jordan K. Hubbard
3b9b7e6177 Now that I know which parts of the installation really need it (since
there's no menu display bug to work around now), be far more selective
in my use of DITEM_RECREATE (which is slow and involves much screen I/O).
1997-01-17 08:47:13 +00:00
Jordan K. Hubbard
9b1696b002 Fix several problems:
1. Bus mouse selection didn't show up properly in mouse menu.
2. U&G management screen didn't respect cancel properly.
3. Novice not prompted to add users or set root password during installation.
4. Username length changes screw up user management form.
1997-01-15 03:57:50 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Jordan K. Hubbard
507372af02 Now that I've got my source tree sorted out, bring all the things
I've been committing into 2.2 directly all this time.
1996-12-14 23:09:10 +00:00
Jordan K. Hubbard
3cd31ab739 Add some additional smarts for XFree86 configuration.
Fix a bogon I thought I fixed in the last commit.
1996-12-12 22:38:41 +00:00
Jordan K. Hubbard
0fd6d431cf Do a few things I've been threatening to do for a long time:
1. Don't use the MSDOSFS code for accessing FreeBSD distribution data.
   Use Robert Nordier's stand-alone DOS I/O library for the purpose.
   It this works as well as Robert says it does, it should drastically reduce
   (or even eliminate) our "I can't install from my DOS partition!" calls.

2. As a result of the above, go to stdio file descriptors for all
   media types.

3. Taking advantage of #2, start using libftpio for FTP transfers instead
   of maintaining our own parallel version of the FTP transfer code.
   Yay!  I ripped something out for a change!

#1 Submitted-By: Robert Nordier <rnordier@iafrica.com>
1996-12-11 09:35:06 +00:00
Jordan K. Hubbard
00b69db338 As Paul has just pointed out, much of my strncpy() usage was either
bogus or overly complex and really needed to be done more consistently
and sanely throughout - no question about it.  Done.

Suggested-By: Paul Traina <pst@Shockwave.COM>
1996-12-09 08:22:19 +00:00