Commit Graph

47 Commits

Author SHA1 Message Date
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 e5b09b7d10 Do something I've wanted to do for quite some time - collapse all the
common layout code into some work functions and make all the layout-using
routine adopt them.  Also reorganize includes and generally clean up.
1997-01-03 06:32:39 +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 5def50038a Use macros for package names so it's easier to update them in one
place (sysinstall.h) when packages change rev.

Change the way that the routing daemon is configured entirely, to
placate Joerg.  Also auto-load gated if it's specified, while we're at it.
1996-11-04 12:56:33 +00:00
Jordan K. Hubbard 0383bc6a90 Some cosmetic tweaks, attempt to fix package wait problem by checking
for error return as well (not sure if this is it, but it's one possible
explanation).
1996-10-12 19:30:26 +00:00
Jordan K. Hubbard 48addbfd79 Better PKG_TMPDIR handling. 1996-10-06 03:18:55 +00:00
Jordan K. Hubbard e783f4c9a8 Wait for any stray processes we might be sent while running as init.
I have cautious hopes that this will fix the package installer zombie
accumulation problem.
1996-10-05 12:28:36 +00:00
Jordan K. Hubbard 96a9d7fb41 Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().
1996-08-03 10:11:56 +00:00
Jordan K. Hubbard caa8175236 Handle SIGPIPE in a couple of crucial places. 1996-08-01 12:35:51 +00:00
Jordan K. Hubbard a0e34b44a2 Better error checking in helpfile expander.
Tart up some of the output a little.
1996-07-10 11:38:29 +00:00
Jordan K. Hubbard 8658743f95 A number of improvements in the way statistics are printed, add a "chroot"
option for installing distributions and/or packages to somewhere other than /,
say for a case where you're installing to an external disk on some other
machine's behalf.  More miscellaneous fixes to various problems I stumbled
across while adding this stuff.
1996-07-09 14:28:22 +00:00
Jordan K. Hubbard cf1647cd2f Whoops! Now that I'm decompressing docs into /tmp, it's important to
make sure that /tmp is there first! :-)  While I'm at it, clean up the
somewhat inexplicably bogus Mkdir() function.
1996-07-08 08:54:36 +00:00
Jordan K. Hubbard 16805608c8 Copy the documentation files up into the release area - I've been doing
this by hand all along.  Silly.
1996-06-29 02:22:48 +00:00
Jordan K. Hubbard d3688aae1c Handle tabs in INDEX files.
Display full, un-truncated version of description in status line.
1996-06-25 04:28:23 +00:00
Jordan K. Hubbard 02ba3f92c8 Catch and DTRT with SIGPIPE 1996-05-27 22:12:05 +00:00
Jordan K. Hubbard 2f833c17e4 Have both distribution and package extraction screens display the
transfer speed in KB/sec while fetching stuff; this gives you a better
idea if your link has crashed or is behaving oddly.
1996-05-23 16:34:30 +00:00
Jordan K. Hubbard 16185b823a Fix some long-standing malloc bugs in the package handling code (freeing garbage
in one place, leaking memory in another).

Add a facility to invoke subsystems directly by naming them on
sysinstall's command-line when running post-install.  A replacement
for pkg_manage might, for example, be `/stand/sysinstall configPackages'

Fix bogon where upgrade shell was entered with tty modes spammed.

Fix bug with release name checking in ftp_strat.  Turned a bunch of
bogus exit()s into proper calls to systemShutdown().
1996-05-16 11:47:46 +00:00
Jordan K. Hubbard f848fa52b6 Add a missing close that left ftpd's scattered around on pkg_installs 1996-04-30 06:13:50 +00:00
Jordan K. Hubbard 478d4fc5da Make sure package-installers refresh the screen properly. 1996-04-30 05:40:15 +00:00
Jordan K. Hubbard 89592e552b Fix an ancient index list bug.
Make FTP re-initializion work.
Fix fix fix.
1996-04-28 03:27:26 +00:00
Jordan K. Hubbard 2113a60c4b Bring this into sync.
I still have a _very very annoying_ display bug which occurs when a menu
item causes a submenu to be displayed - the screen repaints for the original
menu (which is restored upon return from the submenu) are off by about 4
characters.  I've tried restoring the screen, the cursor position, you name
it - same deal.  Grrrr!  This commit is my first step in trying to get someone
else to help me look into this one since I'm just tearing my hair out at this
point!
1996-04-23 01:29:35 +00:00
Jordan K. Hubbard af4cbec4e1 1. Update all the copyrights to delete useless clauses 3 and 4.
2. Change more of the menu code over to new system.
3. Streamline label editor.
1996-04-13 13:32:15 +00:00
Jordan K. Hubbard 871ef591ef Major enhancements to the package adder (next step is to use the new dialog
functions to make the menus far less klunky, but one thing at a time).

Fix bug that had debug output spewing uselessly on vty2 when running multiuser.
1996-03-21 09:30:18 +00:00
Jordan K. Hubbard 40ae4689df Lots of fixes:
1. Revamp package installer to use new dependency lists and also
   pkg_add's new `read from stdin' mode to prevent a copy of the package
   from hitting the disk unnecessarily.

2. More fixes for running "not as init" - don't get upset if CDROM already
   mounted, do the right thing instead.

3. If running as init, assume first-time install and _don't show the
   (W)rite option in the fdisk screen.

4. Many other little tweaks, some of which will have to wait for fuller testing
   until I can create a boot floppy (testing certain system-destroying
   features of sysinstall can be a royal pain).  Expect some more commits.
1996-03-18 15:28:10 +00:00
Jordan K. Hubbard 65e4d1b9b3 mountdbtab -> mountdtab; whoops!
A small extra diagnostic for loading packages.
1995-12-04 02:22:02 +00:00
Jordan K. Hubbard 1c0aaa3778 More helpful error messages. 1995-11-12 20:47:15 +00:00
Jordan K. Hubbard 24bf38d797 Initialize ld.so.hints if necessary. 1995-11-12 11:02:43 +00:00
Jordan K. Hubbard a9ae218af3 Also set PKG_PATH when adding from media types other than FTP. 1995-11-10 15:10:07 +00:00
Jordan K. Hubbard cf01259085 Leave hints for pkg_add so that it can do dependency over FTP. This
was formerly impossible due to the way pkg_add was insulated from where
a package actually came from.
1995-11-10 06:49:03 +00:00
Jordan K. Hubbard 593ecf888e Some general fixes for the package menu (still need to fix the "more than 10
items checked bug though).  Now allow user to specify a PKG_TMPDIR.  If
not selected, we try to make one.
1995-11-06 12:49:27 +00:00
Jordan K. Hubbard bc32adf3b0 Last minute nits. 1995-10-27 03:07:14 +00:00
Jordan K. Hubbard fa31ce4fab Clean up some last bogons with the WEB server setup (now that I'm far
enough along to worry about such things!).
1995-10-27 02:12:58 +00:00
Jordan K. Hubbard 4ea85d4592 o Fix installUpgrade to start the holographic shell as well.
o  Lots of documentation fixes.
o  Rename FTP active to "FTP" and explain passive mode better.
o  Make tcpip screen a bit more friendly.
o  Literally dozens of nits.
1995-10-26 08:11:24 +00:00
Jordan K. Hubbard 6094230b54 Make upgrades actually work (thanks, Julian).
Many other bug fixes.
1995-10-24 02:18:23 +00:00
Jordan K. Hubbard f064a971a1 Reshuffle the network config code a little so that it's actually
usable.  Also fix the package extraction code.
1995-10-23 13:19:51 +00:00
Jordan K. Hubbard 9e08ad4bbe Don't use tar to add packages, use cpio in tar mode. Works better.
Make the apache setup try to load the package first..
1995-10-22 23:20:45 +00:00
Jordan K. Hubbard 0b518254c0 1. Add Coranth Gryphon's Apache WWW server setup screen.
2. Fix an infinite recursion bug in FTP retry.  Tricky, this FTP install!
3. Add messaging routines for scripts.
4. Fix yet more bogons.  I think I'm fixing them faster than they're growing,
   but it's hard to say.  I'm really glad we're throwing this code away for
   2.2!
1995-10-22 20:15:07 +00:00
Jordan K. Hubbard b462d27c89 Style changes. Clear the screen before a lot of error dialogs so that they
don't bogusly restore the screen to the message that was the cause of the
abort.  That resulted in lots of weird flickering dialog boxes that appeared
to be displayed out of sequence.
1995-10-22 17:18:36 +00:00
Jordan K. Hubbard c731441db2 Fix a bug in dist extraction when a dist was missing.
Allow instrumentation for adding packages from scripts.
1995-10-22 11:32:58 +00:00
Jordan K. Hubbard 2c4c63e4c9 Style police throughout.
Fix the ppp startup code.
Make the disklabel and fdisk screens "automatable"
1995-10-22 01:33:02 +00:00
Jordan K. Hubbard a2df9ce22c Error message reform. Make an unnecessarily fatal error a warning. 1995-10-21 20:03:07 +00:00
Jordan K. Hubbard 263f40b52b Change the pkg_info check back - it was correct before! 1995-10-20 22:36:06 +00:00
Jordan K. Hubbard e266bc3386 Slip some fixes under the wire. Mostly cosmetic cleanup and
an attempt to make the package installer a little more robust (it's
still a little shakey, but will improve between now and the release)..
1995-10-20 20:10:49 +00:00
Jordan K. Hubbard 8ca961b3b4 Sync with today's sources:
o Implement the 2.0.5->2.1 upgrade procedure (gah).
o Bring in Coranth's support for configuration of anon ftp and Samba
  plus some changes of my own.
o More attempts to actually write the documentation in english.
o Update docs to contain more 2.1-centric information.
1995-10-19 15:57:23 +00:00
Jordan K. Hubbard 3b9d53b13a Almost snapshot time..
Merge today's work.

Now support an attributes file loaded at startup (true front-loaded install).
Add fuller debugging support to all device I/O routines.
Lots-o-bug fixes.
1995-10-18 00:12:55 +00:00
Jordan K. Hubbard 3cc7679dca Fix many more bogons, add some stuff to make the docs folk happy. 1995-10-16 15:14:28 +00:00
Jordan K. Hubbard e0e95a6911 Sync. Split into more rational package support functions and clients
of those functions.
1995-10-15 12:41:09 +00:00