Commit Graph

1988 Commits

Author SHA1 Message Date
Xin LI
cbfaeb5fe3 Tighten IP address check, prevent '..' from being passed
from the check.

Submitted by:	Ren Zhen <bg1tpt gmail com>
MFC after:	2 weeks
2007-05-17 06:08:42 +00:00
Andrey A. Chernov
ba174a5e38 Back out all POSIXified *env() changes.
Not because I admit they are technically wrong and not because of bug
reports (I receive nothing). But because I surprisingly meets so
strong opposition and resistance so lost any desire to continue that.

Anyone who interested in POSIX can dig out what changes and how
through cvs diffs.
2007-05-01 16:02:44 +00:00
Andrey A. Chernov
903fd42535 Preparing for upcoming POSIXed putenv() rewrite:
don't allow const as putenv() arg, dup it
2007-04-30 15:16:19 +00:00
Andrey A. Chernov
322627150d Prepare for upcoming POSIXed putenv() rewrite:
don't allow putenv() arg be on the stack, use strdup()
2007-04-30 13:07:33 +00:00
Simon L. B. Nielsen
77fd7369c1 Update postfix MTA selection code to point at postfix 2.4 which is the
current version.

MFC after:	3 days
2007-04-05 10:23:30 +00:00
Pav Lucistnik
f9d0273a09 - Update for new tcl categories
MFC after:	3 days
2007-04-03 08:19:31 +00:00
Matteo Riondato
793a8b5fd4 remove WARNS=2: we're not ready for it yet. 2007-03-23 22:09:02 +00:00
Matteo Riondato
69298755a5 Make sysinstall's code WARNS=2 clean .
MFC after:	1 week
2007-03-23 19:57:27 +00:00
Christian Brueffer
1bc7218621 One more s/ethernet/Ethernet/ I missed in the previous revision. 2007-03-19 16:36:34 +00:00
Simon L. B. Nielsen
ffd07a5307 Update postfix MTA selection code to point at postfix 2.3 which is the
current version.

PR:		misc/110447
Submitted by:	Chris Fletcher <fletch.AT.brightsparks.net.au>
MFC after:	1 week
2007-03-17 16:43:28 +00:00
Christian Brueffer
bd922f4060 - Add cxgb(4) entry, remove stale wx(4) entry
- (gigabit|fast) ethernet -> (Gigabit|Fast) Ethernet

Approved by:	rwatson (mentor)
MFC after:	3 days
2007-03-16 12:56:20 +00:00
Kevin Lo
d069140339 Use sizeof() for calculating the buffer size instead of hard-coded values. 2007-03-06 09:32:41 +00:00
Ceri Davies
6c11797498 Use the RB_AUTOBOOT define over 0.
Approved by:	ru (mentor)
2007-02-23 21:15:14 +00:00
Ken Smith
10fa77a3a9 If floppies are used to boot the machine, the user lets the machine
complete the boot and enter into sysinstall, and only then inserts
a CD into the CDROM drive and tries to select that as the install
media the first call to mount(2) generates EIO but the second call
to mount(2) will succeed.  This was 100% reproducible on 6.2-RELEASE,
RELENG_6, and HEAD.  If the user inserts the disc into the CDROM
while the machine is booting off the floppies the first call to mount(2)
succeeds with no problems.  The problem was originally reported in
PR #56952 against 5.1-CURRENT so it's been there for a while now.

PR:		bin/56952
MFC after:	2 weeks
2007-02-22 20:29:53 +00:00
Ceri Davies
aaf6f0feaa Bring these files up-to-date.
PR:		docs/108536
2007-02-18 22:41:41 +00:00
Ceri Davies
c12e775489 Clarify the description of the shutdown command. 2007-02-18 22:04:14 +00:00
Erwin Lansing
d43c17aa76 Add gnustep and ports-mgmt ports categories.
Reviewed by:		simon
MFC after:		3 days
2007-01-31 19:13:08 +00:00
Murray Stokely
71ed4e3258 Provide a more accurate description of the size of the ports collection. 2007-01-16 10:29:10 +00:00
Ceri Davies
e2ad49199c During an upgrade, if /boot/kernel.prev exists then the backup of
/boot/kernel can fail.  Try to remove /boot/kernel.prev and cope the
best we can if that fails.

PR:		bin/106376
Submitted by:	Nobuyuki Koganemaru
Approved by:	ru
MFC after:	2 weeks
2007-01-01 17:25:51 +00:00
Ceri Davies
bb3d40ed84 Clarify a comment. 2006-12-31 19:12:00 +00:00
Erwin Lansing
db8e6345c3 - Add geography and spanish ports categories
- Use "related to" instead of "relating to" consistently [1]

Submitted by:   Rostislav Krasny <rosti.bsd@gmail.com> [1]
Reviewed by:    simon
MFC after:      3 days
2006-12-19 16:46:44 +00:00
Pyun YongHyeon
6451876451 Add msk(4) to the list of supported network interface. 2006-12-13 02:51:26 +00:00
Erwin Lansing
ab5e0c9ec1 Fix a typo ceri found while reviewing and I forgot to commit
in the previous version.

Submitted by:	ceri, matteo
Reviewed by:	cperciva

Also note that the last revision was:
Reviewed by:	ceri, simon
2006-12-11 11:01:13 +00:00
Erwin Lansing
60be46aeff Update the list of ports categories.
This is an updated version of:
PR:             85367
Submitted by:   linimon

Reviewed by:    simon
MFC after:      3 days
2006-12-11 08:54:17 +00:00
Erwin Lansing
6c99f866c8 Add a new turkish mirror
Submitted by:   Evren Yurtesen <yurtesen@ispro.net>
Reviewed by:    simon
MFC after:      3 days
2006-12-10 16:33:38 +00:00
Erwin Lansing
1de945d663 Add ftp.il.freebsd.org to the IPv6 server section.
Submitted by:	Rostislav Krasny <rosti.bsd@gmail.com>
Reviewed by:	simon (also previous commit)
MFC:		3 days
2006-12-02 09:58:01 +00:00
Erwin Lansing
e48b3d7ad7 - Add israeli mirror [1]
- Add an IPv6 main site now both ISC and TDC have IPv6

Submitted by:	Rostislav Krasny <rosti.bsd@gmail.com> [1]
MFC:		3 days
2006-12-01 22:49:51 +00:00
Yoshihiro Takahashi
983bba070e Increase USR_MIN_SIZE to 160 because it requires more disk space.
MFC after:	3 days
2006-11-28 11:48:34 +00:00
Ken Smith
d91461f372 Oops - what people refer to as linux_base-fc4 calls itself linux_base-fc
and that's what pkg_add needs.

MFC after:	1 day
2006-11-23 00:57:10 +00:00
Ken Smith
baddd88f3f Move the check for which disc volume we have/want to after we install
the package dependencies.  Installation of the dependencies may leave
us on the wrong disc volume.

MFC after:	3 days
2006-11-19 08:12:54 +00:00
Ken Smith
b720454e87 Switch to linux_base-fc4 for the Linux emulation package.
MFC after:	3 days
2006-11-16 19:09:41 +00:00
Ceri Davies
9741b9d59b Remove a warning regarding disk entries in /dev.
Approved by:	ru (mentor)
MFC after:	4 days
2006-11-11 12:59:59 +00:00
Ceri Davies
6e92263034 Fix a pair of user-visible typos.
Approved by:	ru (mentor)
2006-11-11 10:43:11 +00:00
Ceri Davies
6de4428149 Back up /boot/kernel rather than /kernel for non-interactive upgrades.
Approved by:	ru (mentor)
MFC after:	4 days
2006-11-11 10:42:04 +00:00
Ceri Davies
c615ed418d Add /lib and /libexec to the list of directories that have the schg
flag removed prior to an upgrade.

Approved by:	ru (mentor)
MFC after:	4 days
2006-11-11 10:38:10 +00:00
Ceri Davies
46bcfc7375 Fix typos in comments. 2006-11-07 23:54:14 +00:00
Erwin Lansing
82336c7dbb If the user did not chose a distribution from the menu, a sensible
default distribution (user) will be installed, however, no kernel
will be installed.  Fix this by installing a sensible default kernel,
SMP/GENERIC, depending on WITH_SMP and number of CPUS found.

Reviewed by:    jhb
2006-10-23 20:49:49 +00:00
Ceri Davies
297a4b8352 When using sysinstall on a running system and editing a disk label
fails, suggest setting kern.geom.debugflags to 16.

PR:		bin/94409
Submitted by:	Markus Oestreicher <m punkt oe at x dash trader dot de>
MFC after:	10 days
2006-10-08 21:16:00 +00:00
Marius Strobl
d647ed4cf6 - Improve the description of gem(4); the Sun chips it supports are
termed ERI and GEM rather than GMAC.
- Bring the description of le(4) in line with the current le(4); it
  was still refering to the old i386 ISA-only le(4) which was nuked
  along with ISA_COMPAT while HEAD was FreeBSD 5.
- Add an entry for hme(4).
- Remove the obsolete entry for lnc(4).

MFC after:	1 day
2006-09-01 22:34:49 +00:00
Brooks Davis
0fffba68bd When generating localhost entries in /etc/hosts, put localhost before
localhost.domain so that naive users of gethost* think 1:: and 127.0.0.1
are "localhost" which is what the user expects.  This also matches the
sample hosts file in src/etc/hosts.
2006-08-30 15:14:00 +00:00
Christian Brueffer
ae277cc673 Add several missing NIC drivers, remove two obsolete ones (el, ix).
Approved by:	rwatson (mentor)
MFC after:	1 week
2006-08-21 09:25:59 +00:00
Ruslan Ermilov
7b64620d93 Fix the output glitch. 2006-08-21 09:15:17 +00:00
Pyun YongHyeon
267682d3e5 Add stge(4) to the list of supported network interface. 2006-07-25 01:03:55 +00:00
Simon L. B. Nielsen
62fad4a13f Add FreeBSD version information to the menu title so it's possible to
see which release you are installing (really which FreeBSD version the
installer is running, but that shouldn't matter in all normal cases).

PR:		bin/100309
Submitted by:	Joao Barros <joao.barros@gmail.com> (original version)
Idea from:	FreeBSD ideas page
MFC after:	1 week
2006-07-15 12:23:56 +00:00
Ceri Davies
4ec07c5e93 Bring the "just copy" hit list closer to date.
Approved by:	jhb
MFC after:	1 month
2006-05-31 19:16:34 +00:00
Ceri Davies
04e273bfb1 Update the location of the kernel for upgrades.
I considered leaving /boot/kernel out of the chflags noschg line, but I
seem to remember that there was a period where /boot/kernel was schg, so
have left it in for safety's sake.

Approved by:	jhb
MFC after:	1 month
2006-05-31 19:15:20 +00:00
Colin Percival
2cb56dabe9 If the user asks for "kernel sources" to be installed, extract the
SRC_BASE package (src/[A-Z]*) as well as SRC_SYS (src/sys/*).  This
allows users who only install the kernel source code to use the
modern "make buildkernel" approach.

Discussed with:	re (scottl, kensmith)
MFC after:	3 days
2006-05-24 03:34:57 +00:00
John Baldwin
9aa6ce1642 Alpha doesn't support linux ABI compat now. 2006-05-10 18:44:10 +00:00
Ceri Davies
38e5cff20e Fix binary upgrades by accounting for the schg flag on /var/empty.
PR:		96711, 96780
Submitted by:	Nobuyuki Koganemaru, Martin Jackson
Approved by:	re (scottl)
MFC after:	1 day
2006-05-04 20:10:34 +00:00
Scott Long
1b355c2dc7 Document sysinstall's limitation on operating on mounted disks. 2006-04-30 06:28:29 +00:00
Jung-uk Kim
566ae23a6f Fix copy-and-pasto in comment. 2006-04-14 18:34:57 +00:00
Jung-uk Kim
a3ca22fc1f Fix minimal installation check. 'X' was not displayed when it was selected.
Reported by:	Ian J. Hart <ianjhart at ntlworld dot com>
		Pieter de Goeje <pieter at degoeje dot nl>
2006-04-14 18:18:43 +00:00
Scott Long
cf3dcc9f57 Teach sysinstall about mfi(4). 2006-03-29 10:02:26 +00:00
Colin Percival
256c62e23f Only set the size of /usr to whatever-is-left is whatever-is-left is
greater than the size we autosized.  Without this fix, systems with
drives under 10GB can end up with very small /usr partitions...

Broken since:	January 2002
Tripped over by: simon
2006-03-24 22:45:24 +00:00
Yoshihiro Takahashi
c97afd4d2f - Use jp.pc98 as default keymap for pc98.
- Remove an extra argument.
2006-03-16 15:50:21 +00:00
Andrew Thompson
01eb65dbbf If a keymap file is not found for the selected country then default to the more
common USA ISO rather than index 0 (Belgian).

Reviewed by:	jhb
MFC after:	1 day
2006-03-15 21:20:01 +00:00
Sam Leffler
7969539b67 use the same test as release/Makefile to select WITH_SMP
Reviewed by:	ru
2006-03-11 19:00:05 +00:00
Yoshihiro Takahashi
fe91068c3c Disable an SMP detection on pc98. 2006-03-10 12:18:41 +00:00
Sam Leffler
15b7ca11cd missed a case that needs WITH_SMP
Noticed by:	kensmith
2006-03-09 21:54:32 +00:00
Sam Leffler
9fe7600bbe Revamp base system packaging of kernels to enable up/smp selection
at runtime and to support distributing additional kernels:
o remove kernel from the base tarball
o add new kernel tarballs
o build + package both SMP and GENERIC kernels when an <arch>/conf/SMP
  config file is present
o add sysinstall support for multiple kernels
o update sysinstall to probe for the number of cpus on a system
  and auto-select smp/up kernel accordingly
o add a post-kernels install hook to fixup /boot/kernel
o add -ldevinfo to boot crunch for sysinstall's cpu probing logic

Notes:
1. On HEAD this code is not currently used because GENERIC kernels
   include SMP.  This work is mainly intended for RELENG_6 where the
   GENERIC kernel is UP.  If HEAD changes to match then just enable
   WITH_SMP in sysinstall/Makefile.
2. The cpu probing support is done with acpi and MPTable; this means
   some systems will require work for auto-detection to work.
3. The handling of /boot/kernel may need to be revisited; for now
   we rename one kernel at the last moment (SMP if installed, otherwise
   GENERIC).  There are other, possibly better, approaches.

Lots of help from ru, emaste, scottl, and jhb.
2006-03-08 18:02:32 +00:00
Ceri Davies
9afd3aec66 Add new NTP servers for Taiwan.
PR:		bin/92160
Submitted by:	Jose Liang <jose at jose dot idv pinkt tw>
Approved by:	jhb
MFC After:	2 days
2006-03-01 18:37:41 +00:00
John Baldwin
8898b46b1a Wrap keymap menu helper functions in #ifdef WITH_SYSCONS to unbreak the
build on archs that don't include syscons support in sysinstall.

Reported by:	sparc64 tinderbox
2006-03-01 16:37:09 +00:00
John Baldwin
9d4514b0fd Fix numerous warnings. Aside from menu items in system.c and menu.c
this now compiles on i386 with WARNS?= 3.  Most of the fixes included
adding missing 'static' keywords to internal functions, using fully-defined
terminators in statically defined arrays of structs, and various
signed vs unsigned mismatches.  Also G/C'd unused configSecurity()
function.
2006-02-28 21:49:33 +00:00
John Baldwin
9280ac29c3 Use some helper macros for the device table so it can fit in 80 columns and
to allow us to use default values in some entries to quiet warnings.  This
table is actually readable again now.
2006-02-28 21:12:16 +00:00
John Baldwin
9ab25bd7d5 Drop unused major, minor, and delta values from device table. 2006-02-28 20:56:58 +00:00
John Baldwin
e9582526d3 G/C some cruft. 2006-02-28 20:34:50 +00:00
John Baldwin
d30d1cdee6 - Autogenerate a menu containing a list of countries and keymaps supported
by syscons.
- If we are running as init, popup the country menu before the main menu.
  If a non-default country is chosen, then a second menu is brought up
  to let the user choose a keymap.  By default the default keymap for
  the country that was selected is highlighted.  If the user chooses the
  default country, then the default keymap is just assumed and the user
  is not presented with the keymap menu.  Currently the default country
  is set to "United States" except for PC98 which assumes "Japan".

PR:		bin/93853
Submitted by:	Seth Kingsley sethk at magnesium dot net
MFC after:	3 days
2006-02-28 20:29:43 +00:00
Jung-uk Kim
6637b6368e - Back out 1.155. I mismerged my ancient local patch. Luckily it was
completely noop.
- Geometry sanitization for non-interactive mode is moved to correct place.

Reported by:	Anton Yuzhaninov <citrin at citrin dot ru>
Pointyhat:	me
2006-02-23 23:41:42 +00:00
Ceri Davies
79c034867a s/lp/plip/ for PLIP interfaces.
Approved by:	jhb
MFC after:	1 week
2006-02-13 20:49:32 +00:00
Xin LI
f32c4f1dbd Actually fix the DHCP handling, by using more robust detection of DHCP
setting.  While there, add some more debug messages explaining what is
happening, and some comments to improve readability.

Submitted by:	ceri
2006-02-09 14:43:42 +00:00
Ceri Davies
b64ff0e36e Remove attempts to use mknod.
Approved by:	jhb
2006-02-07 11:34:41 +00:00
Xin LI
11d5abebd2 Attempt to fix DHCP address acquisition which was broken by rev. 1.133.
MFC After:	3 days
2006-02-06 06:49:57 +00:00
Ceri Davies
67e4c7efd5 Another update for reality: "dangerously dedicated" mode is now
achieved by hitting 'F', which is no longer undocumented.

PR:		bin/92533
Submitted by:	Rudolf Cejka <cejkar at fit.vutbr dot cz>
2006-02-06 00:06:39 +00:00
Ceri Davies
759d68677f Correct a user-visible typo. 2006-02-05 18:57:01 +00:00
Ceri Davies
a8d7f86323 Gratuitous "typo in comment" fix. 2006-02-05 18:49:52 +00:00
Ceri Davies
9ca95cfad3 Bring these files somewhat into the present.
Perform some rewording while here.

Remove register.hlp, since the code that deals with it was removed
nearly 7 years ago.
2006-02-05 18:46:46 +00:00
Jung-uk Kim
b5b86d9583 - Hide 'incorrect geometry warning' in non-interactive mode. A user should
know what they are doing in non-interactive mode.  Less scarier warning
goes to debugging info instead.
- Print sanitized geometry to debugging info.
2006-01-27 21:41:49 +00:00
Jung-uk Kim
910d8ea0aa Add `mediaOpen' function. This function mounts selected media device.
For example, you can dynamically generate and load configuration file
depending on the hardware configuration with the following template:

	mediaSetCDROM
	mediaOpen
	command='/dist/rescue/sh /dist/scripts/install.sh'
	system
	mediaClose
	configFile=/tmp/generated.cfg
	loadConfig

Now we have full access to files on the media before installation begins.
2006-01-27 21:00:31 +00:00
Ceri Davies
7ac386ccec Add ntp.cgi.cz.
PR:		bin/90095
Submitted by:	Jakub Chromy <hicks at cgi dott cz>
Approved by:	jhb (proxy mentor)
MFC after:	3 days
2006-01-15 23:15:41 +00:00
Ceri Davies
d5d399e113 Preserve any additional arguments to ifconfig that were specified in the
DHCP case too.

PR:		bin/74406
Approved by:	jhb (proxy mentor)
MFC after:	3 days
2006-01-15 23:00:07 +00:00
Ceri Davies
c371d3ffd7 If sysinstall was used to configure an anonymous FTP area, it was
possible for information to be copied from the group file to the group
file in the FTP area.  This patch based on a patch from Zak Johnson
<zakj at nox dot cx>.

PR:		bin/25851
Submitted by:	Ted Mittelstaedt <tedm at toybox punkt placo period com>
Approved by:	jhb (proxy mentor)
MFC after:	3 days
MFC to:		RELENG_5, RELENG_6
Security:	Prevents possible group information leakage
2006-01-15 22:57:17 +00:00
Ceri Davies
80ed316e5c Correct obsolete chown syntax.
PR:		bin/90057
Submitted by:	Charlie M. McDonald <BoredOutkast at yahoo punkt com>
Approved by:	jhb (mentor by proxy)
MFC to:		RELENG_5, RELENG_6
MFC After:	3 days
2006-01-15 22:42:38 +00:00
Ceri Davies
17418fea72 On i386, 7.0 requires 106MB on /usr. 6.0 requires 101MB.
Bump USR_MIN_SIZE to 128MB, so that an auto-layout install won't fail
due to /usr being too small.

MFC After:	8 days
2005-12-30 21:45:10 +00:00
Ceri Davies
cb1dcbdeae An i386 machine with 32MB of RAM requires a 700MB disk for auto-layout to
succeed, whilst an i386 with 256MB of RAM requires more.  Up the amount
of disk hinted at as a minimum requisite for auto-layout.

MFC after:	1 week
2005-12-29 19:25:17 +00:00
Ian Dowse
2e46a159cc Remove usbd(8) and all references to it. It is no longer necessary
since devd(8) now provides the same functionality.

Submitted by:	Anish Mistry
2005-12-15 01:04:51 +00:00
Yoshihiro Takahashi
277ab543d3 MACHINE is changed to "pc98" on FreeBSD/pc98. 2005-12-08 12:43:20 +00:00
Philip Paeps
0ed0acce8d Preserve /etc/sysctl.conf when doing a binary update. This prevents, for
instance, the dreaded shared memory problem in PostgreSQL coming back to
haunt you after a binary update.

PR:		89817
Submitted by:	edwin
MFC after:	2 days
2005-12-01 21:39:43 +00:00
Ruslan Ermilov
78ad54210f -mdoc sweep. 2005-11-18 10:56:28 +00:00
Xin LI
bd1509e0cd Sync whitespace change that is found uniquely in RELENG_6, to reduce diff
against it.
2005-10-09 04:44:51 +00:00
Yoshihiro Takahashi
819766797e Switch from OLDCARD to NEWCARD on pc98. 2005-09-27 13:10:24 +00:00
Murray Stokely
7623747c2e Update number and size of Ports Collection.
MFC after:	1 day
2005-08-28 02:30:50 +00:00
Craig Rodrigues
91d7f332e0 - Remove NTP servers which do not resolve in DNS.
- Use pool.ntp.org servers where possible, thanks to
  Chuck Swiger <cswiger at mac dot com> .
- Update list of Swedish NTP servers, thanks to
  Fredrik Lindberg <fli+freebsd-current at shapeshifter dot se> .

PR:		bin/75479
MFC after:	1 day
2005-08-24 02:21:12 +00:00
Colin Percival
398b037d7d Change the default partition sizing code in order to
1. Provide larger /, /var, and /tmp partitions (the last increase was
in 2001, and we now have both larger hard drives and more space-hungry
software.)
2. If there is enough space available, allocate extra space to /var
sufficient to store a crash dump.

On systems where harddrivesize > 3 * RAMsize + 10GB, the default sizes
will now be as follows:
swap	RAMsize * 2
/ 	512 MB
/tmp	512 MB
/var	1024 MB + RAMsize
/usr	the rest (8GB or more)

On systems where harddrivesize > RAMsize / 8 + 2 GB, the default sizes
will be in the following ranges, with space allocated proportionally:
swap	RAMsize / 8 -- RAMsize * 2
/	256 MB	    -- 512 MB
/tmp	128 MB      -- 512 MB
/var	128 MB      -- 1024 MB
/usr	1536 MB     -- 8192 MB

On systems with even less disk space, the existing behaviour is not
changed.

Approved by:	re (kensmith)
MFC after:	1 day
		(or once people stop arguing about colours of paint)
2005-08-16 13:19:17 +00:00
Ken Smith
d44cf58f45 The /stand directory now disappears out from under sysinstall while
it is running during installations.  The vsystem() function does get
used after this happens (e.g. if you manually configure the network
interface and ask it to enable the interface) so it needs to be a
little smarter about whether it uses /stand/sh or /bin/sh.

MFC after:	3 days
2005-08-05 13:39:08 +00:00
Peter Grehan
77ba29982f Recognise GEM ethernet adapter (sparc64/ppc).
reviewed by:	scottl
MFC after:	3 days
2005-07-21 03:33:19 +00:00
Peter Grehan
a0d592f606 Make sure /etc/fstab is written out for Apple-partitioned drives
reviewed by:	scottl
MFC after:	3 days
2005-07-21 03:32:29 +00:00
David E. O'Brien
b46cfec222 Catch up with menus.c revision 1.399. 2005-07-17 03:24:11 +00:00
Scott Long
2beec8e0a5 Adapt sysinstall to the new dhclient. This includes explicitely telling
it about the lease file location and not invoking it with the (non-existant)
'-r' option.  Releasing leases works vastly different now, so this isn't
needed.

Submitted by: sam
Approved by: re
2005-07-11 03:57:04 +00:00
Simon L. B. Nielsen
8ce8e4b34f Update hardcoded postfix version number to the current postfix version
2.2.x.

PR:		i386/82030
Prodded by:	matteo
MFC after:	1 week
Approved by:	re (scottl)
2005-07-04 07:53:35 +00:00
Doug White
c23f4ee59f Don't ask about CD numbers if not installing from CD.
Approved by:	re
2005-07-02 22:34:22 +00:00
Ruslan Ermilov
ece6831d38 Provide 32-bit runtime support on amd64 as a separate distribution, lib32.
Prodded by:	obrien
Nodded by:	peter
Approved by:	re
2005-06-16 18:16:14 +00:00
John Baldwin
47519fc952 The current NTP servers for .nl do not work with ntpdate, so switch to
using the servers provided by nl.net instead.

PR:		bin/80659
Submitted by:	Jilles Tjoelker jilles at stack dot nl
MFC after:	3 days
2005-05-06 19:14:36 +00:00
Xin LI
c46578bd27 Use static for static variables. This fixes gcc4 build. 2005-05-02 14:18:08 +00:00
Makoto Matsushita
efd61bb045 Add ntp.jst.mfeed.ad.jp and ntp1.v6.mfeed.ad.jp (IPv6 only) to
the NTP server list.

The servers are by Internet Multifeed Co., and connected to their
IX service JPNAP.  It would be a good NTP server for machines in Japan.

See also http://www.jst.mfeed.ad.jp/ for more details (Japanese only).

Reviewed by:	nork
2005-05-01 08:19:54 +00:00
John Baldwin
a568c78877 Explicitly install linux_base 8 to make sure the right version is
installed.

PR:		bin/74593
Submitted by:	Matteo Riondato rionda at gufi dot org
MFC after:	3 days
2005-04-12 01:05:50 +00:00
Yoshihiro Takahashi
4fe043b760 Add over 32GB disk support on pc98 (userland part).
Submitted by:	Hirokazu WATANABE
2005-03-30 13:03:33 +00:00
John Baldwin
9f54ed72d5 Change the Romania NTP server to point to a working server.
Submitted by:	Ion-Mihai Tetcu itetcu at people dot tecnik93 dot com
MFC after:	3 days
2005-03-28 22:24:32 +00:00
Ken Smith
4bef1beb18 Update parsing of the ports INDEX file to accomodate some new
fields that got added to it recently-ish.  While here document
what each of the fields is based on discussion with portmgr@.

Patch from:     murray (slightly adapted)
MFC after:	1 day
2005-03-24 23:03:39 +00:00
Murray Stokely
ca8fc5b90f Add Central European and Slovak keymaps to sysinstall.
PR:		misc/78701
MFC after:	1 week
2005-03-19 02:28:02 +00:00
Murray Stokely
912faad0ea Use the correct variable name for the description of multi-volume
support in cdrom.inf.  Should be CD_VOLUME.
2005-03-18 01:05:46 +00:00
Murray Stokely
06060d5d6d Recover gracefully if the user puts in the wrong CD volume after being
prompted to insert another CD for a package.

MFC After:	3 days
2005-03-18 00:55:12 +00:00
John Baldwin
7238c70c3b Automatically switch to ttyv3 where the fixit shell is running when using
the standard console and any fixit mode.

MFC after:	1 day
2005-03-02 22:48:13 +00:00
John Baldwin
d61e43fe1e - Fix a bug in sysinstall related to mounting CD-ROMs. If mount(2) fails
with EBUSY and a cdrom is not mounted at /cdrom, sysinstall fails to
  treat it as an error and thinks that the disk mounted ok.  However, it
  doesn't find a cdrom.inf file so it complains.  Later when it tries to
  unmount the disk due to a mediaClose() umount(2) returns an error, and it
  never clears its internal mounted flag.  The fix here is to properly
  handle EBUSY as an error if there isn't a CD already mounted at /cdrom.
- Add a new CDROMInitQuiet variable that can be used to shut up the dialog
  box about the mount(2) system call failing when trying to mount a CD-ROM.
  This is used by the feature described below.
- When using a fixit CD, first try to see if we can mount the disc in the
  drive now and use it as a fixit CD.  If not, then prompt the user to
  insert the disc and try again.  If we do succeed on the first "silent"
  probe then we don't ask the user to eject the disk after leaving fixit
  mode.
- Add a simple file existence test to make sure that the disc that we mount
  really is a livefs disc.
- Explicitly switch back to ttyv0 when using the standard console after
  the fixit shell dies.  Previously this behavior worked accidentally
  because all the fixit modes popped up a dialog box which contained a
  hidden switch to ttyv0.

MFC after:	1 day
2005-03-02 22:27:22 +00:00
Ruslan Ermilov
36a142c455 Expand contractions. 2005-02-13 23:45:54 +00:00
David E. O'Brien
bf716a5a75 Remove /stand when we are done with it.
Submitted by:	Ryan Sommers <ryans@gamersimpact.com>
2005-02-07 04:25:34 +00:00
Makoto Matsushita
8272aecfc7 Add "NTP pool servers" to the list, including Worldwide, Asia, Europe,
Oceania, and North America.

Obtained from:	http://ntp.isc.org/bin/view/Servers/NTPPoolServers
MFC after: 1 week
2005-01-25 02:56:17 +00:00
Makoto Matsushita
beda0fa4ef ntp.cyber-fleet.net is not in DNS database, remove it.
Reported by: sarumaru at ReichaNet IRC, users-jp@jp.FreeBSD.org, etc.
2005-01-25 02:51:47 +00:00
Ruslan Ermilov
59a3c79da6 Sort sections. 2005-01-18 20:02:45 +00:00
Ruslan Ermilov
17100a2a55 Removed bitrot. 2005-01-13 13:34:00 +00:00
Ken Smith
dedb9eb854 Minor comment fix.
MFC after:	1 week
2005-01-07 04:07:48 +00:00
Yoshihiro Takahashi
34a9937988 Remove old wdc driver completely. 2005-01-04 11:04:03 +00:00
Pyun YongHyeon
45ae467e85 Due to unknown reasons, Disk_Names() returns SCSI CDROM as a valid
disk. This is main reason why sysinstall presents SCSI CDROM to
available disks in Fdisk/Label menu. In addition, adding a blank
SCSI CDROM to the menu generates floating point exception in sparc64.
Disk_Names() just extracts sysctl "kern.disks". Why GEOM treats SCSI
CDROM as a disk is beyond me and that should be investigated.
For temporary workaround, ignore SCSI CDROM device.

PR:		sparc64/72962
Tested by:	R. Tyler Ballance < tyler AT tamu DOT edu>
MFC after:	1 week
2004-12-22 08:26:48 +00:00
Ruslan Ermilov
18cd97621d Use the source of the termcap database when available. 2004-12-21 15:16:36 +00:00
David E. O'Brien
ddede49cfd Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].
PR:		73878
Submitted by:	Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-11-19 03:53:36 +00:00
David E. O'Brien
36d4953214 Make logic more readable. 2004-11-19 03:52:41 +00:00
Simon L. B. Nielsen
a98d8c790a Only write the rc.conf header when a new rc.conf is written. This was
accidentally removed in v. 1.211.

Submitted by:	Olafur Osvaldsson <oli@isnic.is>
PR:		bin/73692
MFC after:	1 week
Approved by:	trhodes
2004-11-16 21:59:00 +00:00
John Baldwin
60ede768f7 Various updates to the anonymous ftp support:
- Allow the upload directory to be optional.  If the upload directory
  field is cleared to the empty string then no directory will be created.
- Don't create a bin/ subdirectory in ftp's home dir containing ls(1) and
  date(1) as ftpd(8) no longer requires it.
- Create a pwd.db file in etc/ instead of a passwd file.
- Ignore NIS compat entries in /etc/group and /etc/master.passwd when
  building the anonymous files.

PR:		bin/60662
Submitted by:	Olafur Osvaldsson oli at isnic dot is
2004-11-16 19:06:42 +00:00
John Baldwin
c3f8d76206 Add Estonian keyboards.
PR:		bin/73232
Reported by:	Mart Tõnso tm at hwg dot edu dot ee
Submitted by:	Olafur Osvaldsson oli at isnic dot is
MFC after:	1 week
2004-11-11 18:49:24 +00:00
Josef El-Rayes
24286a2292 Add ftp8.de.freebsd.org
Requested by:	vs
Approved by:	ssouhlal
2004-11-06 14:38:54 +00:00
David E. O'Brien
834fc2d5ad Fix braino where I didn't fix the file path from when the line was
copied from the test program.
2004-11-04 15:46:59 +00:00
David E. O'Brien
dc43dfcd09 Stop listening to bug reports with wrong solutions and commit a fix to the '
problem I know will work.
2004-11-04 01:28:43 +00:00
Ken Smith
d713872fde Update the list of package names/descriptions.
Last second MFC candidate?
2004-11-03 18:26:06 +00:00
David E. O'Brien
1b0f4fd1db fix typo in generated /etc/exports: escape all ' 2004-11-01 16:32:09 +00:00
Ralf S. Engelschall
1ada9fda01 fix typo in generated /etc/exports: s/synatx/syntax/ 2004-10-04 15:13:51 +00:00
John Baldwin
6215d389ac Force a redraw if all dists are selected so the checklist is updated.
Submitted by:	Rostislav Krasny rosti_bsd at yahoo dot com
MFC after:	3 days
2004-09-20 19:24:15 +00:00
Bruce A. Mah
3d4fc5c73f Revert rev. 1.351 of this file, which allowed users to read the
(now obsolete and disconnected on HEAD) Early Adopters Guide from
within sysinstall.
2004-09-18 16:31:44 +00:00
Xin LI
ed32349f00 Clear all "active partition" bits before we set a new one.
This adds a safebelt that prevents users to mark more than
one "active" partitions, which will lead to a unbootable
machine, especially in multi-boot configurations.

PR:		bin/71404
MFC After:	3 days
Approved by:	murray (mentor)
2004-09-15 08:19:03 +00:00
Bill Paul
a07bd003bf Add device driver support for the VIA Networking Technologies
VT6122 gigabit ethernet chip and integrated 10/100/1000 copper PHY.
The vge driver has been added to GENERIC for i386, pc98 and amd64,
but not to sparc or ia64 since I don't have the ability to test
it there. The vge(4) driver supports VLANs, checksum offload and
jumbo frames.

Also added the lge(4) and nge(4) drivers to GENERIC for i386 and
pc98 since I was in the neighborhood. There's no reason to leave them
out anymore.
2004-09-10 20:57:46 +00:00
Ken Smith
83c7f6e5de Remove support for configuring the X server from sysinstall. General
concensus seems to be that is best left for doing post-install.

Discussed on:	freebsd-current@
Tested with:	make release
Approved by:	re@
MFC after:	3 days
2004-08-30 21:03:09 +00:00
David E. O'Brien
c6d8b958f1 Start the de-orbital burn of our previous FreeBSD version compat libs
living in usr/src.  We need to use them from ports to record dependencies.

Discussed with:	re(scottl)
2004-08-29 18:27:00 +00:00
David E. O'Brien
bd3be3789f No longer do special handling of Perl. FreeBSD users have all of 5.x
to get used to the fact that Perl is no longer part of the base system.
It is practically impossible to install any useful package and not get
Perl automatically pulled in as a dependency.  So the typical user will
get their Perl.

This change greatly reduces the amount of manual labor in building the
miniinst.iso in release building.
2004-08-25 03:38:05 +00:00
Josef El-Rayes
492a63d6a0 Add snapshots.se.freebsd.org to list of available ftp mirrors.
Dont forget to use X-LATEST as Release Name (where X is version major number)
when you choose a snapshot server.
2004-08-24 21:37:46 +00:00
Bruce A. Mah
5c7be533e1 Fix installing from SCSI tape drives by catching up device names with
reality.

PR:		70279
Submitted by:	Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
2004-08-16 03:13:12 +00:00
Yoshihiro Takahashi
fab2e602fb A media type of floppy is detected automatically.
Submitted by:	Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
2004-08-15 13:00:07 +00:00
Colin Percival
d87a987086 Teach sysinstall about the "srescue" distribution, which contains the
contents of /usr/src/rescue.  Until now, the files were shipped with
releases but sysinstall would ignore them (resulting in a non-buildable
source tree).

Sanity checked by:	jhb
2004-08-10 18:18:42 +00:00
Ken Smith
83e386eb06 Initial pass at shifting sysinstall(8) to install X.org instead of XFree86.
There are still a few nits to work out (graphical config non-functional).

Patches by:	anholt@, adapted slightly
Reviewed by:	'make release'
2004-08-10 02:18:28 +00:00
Simon L. B. Nielsen
7226ecc0ce During FTP installs, when installing Postfix as an alternate MTA, the
install of Postfix fails since Postfix 1 is picked from INDEX instead
of Postfix 2.

The problem is that the package_add function matches multiple Postfix
packages and then installs a "random" version (the last one found in
INDEX).  This does not occur with a CD-ROM install since there is only
one Postfix package on the CD-ROM.

The correct solution to this would be to check the origin field from
INDEX instead of the package name, but due to the way sysinstall is
made that is not trivial, so instead work around the problem by
hard-coding the Postfix major and minor revision (for the current
stable version) to install directly into the package_add call.

PR:		misc/65426
Reported by:	Harold Kachelmyer <bugs@princessharold.net>
Approved by:	trhodes
2004-08-09 21:50:10 +00:00
Marcel Moolenaar
2508030586 Create an EFI partition when the user wants auto defaults. There's
some confusion as to how large the EFI system partition should be,
but 100MB seems to be either the maximum, the minimum or the default
size, so make the EFI partition 100MB.
2004-08-07 04:03:18 +00:00
Marcel Moolenaar
e66a84ac14 o Save pointers to the chunks for root, home, swap, usr, var and tmp in
global variables. On ia64, save a pointer to the efi chunk as well.
o  At the same time, change checkLabels() to define these globals instead
   of having the caller of checkLabels() pass addresses to variables for
   these. Change the two callers correspondingly.
o  Spent a bit more time adjusting try_auto_label() to prepate for having
   the EFI partition created on ia64.
o  Remove efi_mountpoint(). The EFI chunk is now available without having
   to iterate over the disks and chunks to find it every time we need it.
o  On ia64, now that the root chunk is globally available, set the
   vfs.root.mountfrom tunable in loader.conf. This avoids that one cannot
   boot into FreeBSD after an install. The kernel cannot find the root
   device without a little help...
2004-08-07 01:19:54 +00:00
Colin Percival
d37df47d31 Join the 21st century: Cryptography is no longer an optional component
of releases.  The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by:	re (scottl), markm
Discussed on:	freebsd-current, in late April 2004
2004-08-06 07:27:08 +00:00
Marcel Moolenaar
486b7efd12 ia64 specific:
o  Remove the code that creates the boot directory on the EFI file
   system after it has been mounted, as well as remove the code
   that creates the symlink from /boot -> /efi/boot (*). As a result,
   /boot will be extracted onto the root file system.
o  Add a function efi_mountpoint() that returns the mount point of
   the EFI file system or NULL if no EFI partition is created. This
   function is used to both check whether there's an EFI file system
   and to return what its mount point is.
o  When there's no EFI file system, ask the user if this is what he
   or she wants. Since we extract /boot onto the root file system,
   we do not actually need an EFI file system for the installation to
   work. Whether one wants to install without an EFI partition is
   of course an entirely different question. We allow it...
o  When we're done installing and need to fix up the various bits
   and pieces, check if there's an EFI partition and if yes, move
   /boot to /efi/boot and create a symlink /boot -> /efi/boot (*).
   This is a much more reliable way to get /boot onto the EFI
   partition than creating the symlink up front and hope its being
   respected. It so happened that we never had the boot directory
   end up on the EFI partition. We make the symlink relative.

(*) /efi is a place holder for the actual EFI mount point of course.
2004-08-04 23:04:14 +00:00
Marcel Moolenaar
711cc43515 Pass the partition type to get_mountpoint() and new_part(). This way
we'll actually create an EFI partition with a FAT file system instead
of an UFS file system. It also allows us to give a sensible default
mount point for EFI partitions so that people don't have to guess.
This also means that we can now remove new_efi_part(), which did the
same thing as new_part(), except it created a FAT file system. The
function wasn't called when the EFI partition was created from scratch
though, which was the problem. By passing the partition type to the
various functions, we can deal with EFI without having to duplicate
code.
2004-08-04 05:40:15 +00:00
Marcel Moolenaar
498609452e Move the inclusion of libdisk.h from sysinstall.h to the source files
that actually need it. This makes it easier for a platform porter to
find the files that may need tweaking to support whatever MD specific
partitioning is needed. It also helps to prevent that the libdisk API
gets exposed and/or used where it's not needed.
2004-08-02 23:18:48 +00:00
Marcel Moolenaar
1903a591c9 Remove unnecessary use of the __ia64__ conditional. This slightly improves
maintainability and generally avoids confusion.
2004-08-01 22:44:40 +00:00
Poul-Henning Kamp
2d084f1168 Remove reference to fla driver. 2004-07-20 16:25:20 +00:00
Ruslan Ermilov
455fb174df Eliminated double whitespace. 2004-07-03 18:35:53 +00:00
Stefan Farfeleder
358f61ce32 Use C99 conforming designated initialisers rather than the obsolete GCC syntax. 2004-07-03 16:52:57 +00:00
Ruslan Ermilov
07bfccd71e Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
Andrey A. Chernov
13256c45c8 Add latinamerican.iso.acc 2004-06-01 06:12:01 +00:00
Andrey A. Chernov
897ade31a2 lat-amer -> latinamerican keymap
PR:             67365
2004-06-01 04:02:24 +00:00
Ken Smith
9b70da0af7 Pressing 's' in the initial menu should result in selecting the 'Standard'
installation as far as most people are concerned but both 'Standard' and
'Select' begin with S and 'Select' is winning.  This makes it so 'Select'
is not select-able using a keystroke but that is probably for the best
and the text on the screen adequately describes how to move back and forth
between 'Select' and 'Exit'.

Adapted from work by:	josef@
PR:			i386/37999
MFC after:		1 week
2004-05-18 16:18:04 +00:00
Peter Grehan
ee607da1b8 Mods for powerpc.
Submitted by:  Suleiman Souhlal <refugee@segfaulted.com>
2004-05-15 05:06:19 +00:00
John Baldwin
1cbf549da4 Minor fixes for ia64 installs:
- Don't look for partitions inside a FreeBSD chunk on ia64 when mounting
  the filesystems just before the chroot and install.
- Write entries out to /etc/fstab for filesystems that aren't inside a
  FreeBSD chunk, but are a top-level chunk under the disk.
2004-05-07 19:15:56 +00:00
Murray Stokely
a0bb20b07b Update number of ports 2004-04-19 09:46:56 +00:00
Ken Smith
a2bb60d180 Sync list of FTP sites with current reality.
MFC after:	1 day
Approved by:	rwatson (mentor)
2004-04-12 13:21:46 +00:00
John Baldwin
707e509a1e Change libdisk and sysinstall to use d_addr_t rather than u_long for disk
addresses.  For arch's with 64-bit longs, this is a nop, but for i386 this
allows sysinstall to properly handle disks and filesystems > 1 TB.

Changes from the original patch include:
- Use d_addr_t rather than inventing a blkcnt type based on int64_t.
- Use strtoimax() rather than strtoull() to parse d_addr_t's from config
  files.
- Use intmax_t casts and %jd rather than %llu to printf d_addr_t values.

Tested on:	i386
Tested by:	kuriyama
Submitted by:	julian
MFC after:	1 month
2004-03-16 17:07:06 +00:00
Bruce Evans
b3eb982698 Unremoved a used variable in the PCCARD_ARCH case.
Reported by:	tinderbox
2004-03-12 15:28:13 +00:00
John Baldwin
c686ba3b94 Remove unused variables. 2004-03-11 18:50:05 +00:00
Bruce Evans
03f0d9e8ae Fixed assorted misuses of NULL in integer context. 2004-03-11 11:58:16 +00:00
Jimmy Olgeni
d97ec53412 The "bin" distribution was renamed to "base" in CURRENT. 2004-02-07 00:34:11 +00:00
Marcel Moolenaar
04b01085a5 In checkLabels(), deal with the fact that on ia64 we do not have a
disklabel.
2004-01-30 05:21:32 +00:00
Eivind Eklund
9220eb85cb Make a message less scary (based on user feedback) 2004-01-26 13:45:21 +00:00
Philippe Charnier
c433c9daac add missing setusershell() calls.
PR: bin/2442
Reviewed by: Friedemann Becker <zxmxy33@mail.uni-tuebingen.de>
2004-01-18 21:29:33 +00:00
David E. O'Brien
2b19680751 Add 'fwe' so one doesn't get "<unknown network interface type>". 2004-01-04 21:04:02 +00:00
David E. O'Brien
75fcf8a737 I missed a s/package_exists/package_installed/ in the last commit. 2004-01-02 09:52:49 +00:00
David E. O'Brien
b4fe6d086f s/package_exists/package_installed/g as that's much more descriptive of
what the function does.
2004-01-02 09:52:14 +00:00
David E. O'Brien
b0d55f3fc9 I think we can stop doing 'ldconfig -aout' during the install now.
The base install doesn't have any a.out bits anymore and hasn't for years.
2004-01-02 09:33:58 +00:00
David E. O'Brien
1618a91860 s/package_exists/package_installed/g as that's much more descriptive of
what the function does.
2004-01-02 09:19:13 +00:00
David E. O'Brien
c67aadb969 FBSD nit. 2004-01-02 08:31:00 +00:00
Scott Long
0e1cbf3725 Teach the Fixit environment how to deal with a dynamic root. Symlink
/libexec to /mnt2/libexec, and execute /mnt2/rescue/ldconfig to add
the /mnt2/lib and /mnt2/usr/lib library directories.  Thanks to John Baldwin
for working to track this down.

Submitted by:	jhb
2003-12-21 17:16:44 +00:00
Ken Smith
fa44461b3c - Add new FTP mirror site in Turkey (first/only one).
Approved by:	murray (re@)
2003-12-21 05:42:00 +00:00
John Baldwin
e5d1715e5e Do an update mount operation to mount the mfsroot as read/write rather
than read/only when sysinstall is running as init.  This fixes several
install issues.
2003-12-20 16:34:45 +00:00
Robert Watson
7cecfcc8c9 Install 100dpi fonts by default when installing X11: fun as using 75dpi
fonts on a 100dpi display is, the jaggies just aren't worth it.  DPMI
auto-configures higher DPIs on many modern displays now.
2003-12-17 23:08:13 +00:00
Robert Watson
1d1daa2f00 Re-linewrap help file on securelevels in sysinstall: sysinstall is
mostly used on 80x25 displays, and the actual window is about ten
characters narrower than that, resulting in the need for horizontal
scrolling.  No functional change.

RELENG_5_2 candidate.
2003-12-16 22:55:28 +00:00
Scott Long
b4fdd9becf Once upon a time, DEVFS was optional, major numbers where static, and /dev
needed to be statically populated with device nodes.  The first two are no
longer true, which makes the third pretty moot.  In fact, we don't seem to
put device node bits into the distribution archives at all anymore.
So..... remove the god-aweful nasty hack that force unmounted devfs during
installation so that static device nodes could land in /dev.  Now that the
vnode cleaner handles this case better this isn't strictly needed, but
axeing code in sysinstall is almost always benficial.  Thanks to Don Lewis
for pointing out this attribute of sysinstall.
2003-12-16 17:58:24 +00:00
Tom Rhodes
a27f75251a Provide a way to deal with rc.conf which may already be populated in certain
cases.
2003-12-13 16:12:55 +00:00
Joe Marcus Clarke
504fbf4e1e Replace the KDE and GNOME 2 desktops with KDE (Lite Edition) and GNOME 2
(Lite Edition) respectively.  These "lite" packages are streamlined to
provide users with the core essentials for each desktop and to fit on the
release disc 1.

Approved by:	re (scottl)
2003-12-02 20:49:46 +00:00
Robert Watson
9d5880f42b Spell SSHd as sshd.
Requested by:	jhb
Approved by:	re (jhb)
2003-12-01 18:58:14 +00:00
Robert Watson
4b51d758d5 Add a Securelevel sub-menu to the Security configuration menu,
permitting the administrator to select a securelevel top operate
at.  Include a helpfile summarizing some of the information from
init(8).  This allows for explicit configuration of securelevels,
which was previously implicit in Security Profile selection.
Currently, there are no checkboxes for the active securelevel,
because sysinstall's facilities for deriving "current settings"
from rc.conf may use only one variable, not two, and I opted for
the simplest approach at this point.

Approved by:	re (scottl)
2003-11-29 21:44:51 +00:00
Robert Watson
7fba2041a7 Remove security profiles from sysinstall. Currently, security profile
selection is used to drive two configuration parameters:

(1) Default enable/disable for sshd
(2) Default enable/disable for securelevels

Replace this with an explicit choice to enable/disable sshd.  A
follow-up commit will add a configuration option to the Security
post-install configuration menu to set the securelevel in rc.conf
explicitly.  This should reduce the level of foot-shooting associated
with accidental enabling of securelevels, make the nature and
implications of the securelevel configuration options more explicit,
as well as make the choice to enable/disable sshd more explicit.

Approved by:	re (scottl)
2003-11-28 18:47:45 +00:00
Ken Smith
be4e6b7f95 - Drop down to one snapshots FTP site since that's all we have now
- Adjust names of IPv6 FTP hosts a bit
	- Sync list of FTP sites with reality

Approved by:	rwatson (re@)
2003-11-24 15:27:20 +00:00
John Baldwin
1ca261efe1 Add Greek keymaps to sysinstall.
PR:		bin/59078
Submitted by:	Panagiotis Astithas <past@noc.ntua.gr>
Approved by:	re (rwatson)
2003-11-20 20:43:06 +00:00
Marcel Moolenaar
16918a3363 o Don't tell that there's such a thing as a C suffix for specifying
a partition size on ia64. It's not true.
o  Ask for a mountpoint for EFI partitions as well and check that it
   isn't "/".
o  On ia64 we may need to add EFI partitions. Make sure we pass the
   right arguments to Create_Chunk_DWIM() in that case.
2003-11-04 02:04:36 +00:00
Marcel Moolenaar
697defc485 o Add PART_EFI so that we can use it instead of PART_FAT on ia64
to better deal with the fact that we need an EFI partition and
   that we need to have a mountpoint for it.
o  When creating a new partition, add EFI to the list of types
   the user can select from. This makes it easy to create an EFI.
o  Do not include wizard.c on ia64.
o  The user cannot create a partition on ia64 that's a multiple of
   the cylinder size. We don't have a notion of cyclinders.
2003-11-02 08:58:57 +00:00
Marcel Moolenaar
ceeef1c666 o Do not define WITH_SYSCONS and WITH_MICE on ia64. We cannot have
a generic kernel with syscons.
o  Do not define WITH_SLICES on ia64. We only label because we're
   going to create GPT disks.
2003-11-01 20:17:11 +00:00
Marcel Moolenaar
f7da19f20b o Compile-out "wizard" mode on ia64.
o  Also allow swap and filesystem partitions outside a freebsd slice.
   This is typically the case for GPT.
o  Allow chunks of type "whole" to be displayed at the top. This is
   to allow a GPT disk to be labeled. We need a slice out of which we
   can make partitions, but a GPT disk doesn't have slices. For GPT
   disks a chunk of type "whole" can then be used as a placeholder.
2003-11-01 20:14:06 +00:00
Marcel Moolenaar
fb8ce55cf5 o Compile-out "wizard" mode on ia64.
o  Do not set bootblocks on ia64. It's not even a functionality in
   libdisk on ia64.
2003-11-01 20:04:12 +00:00
Peter Wemm
817a5d2482 When we pass a string as auxillary data (type long), be sure to convert
it to a suitable type for the initialization.
2003-10-26 03:12:47 +00:00
John Baldwin
147c4b81bb - Renumber the skerberos4 dist to fill in the gaps left when krb4 was axed.
- Update the DIST_CRYPTO_ALL value to match reality.
2003-10-24 20:55:15 +00:00
Dag-Erling Smørgrav
79ef1f32da Various NFS-related bug fixes (mostly related to using variable_get()
instead of variable_cmp() to test boolean rc.conf variables).

Submitted by:	hmp
2003-10-19 13:37:12 +00:00