summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall
Commit message (Collapse)AuthorAgeFilesLines
* Fix an indentation.jkim2008-01-311-1/+1
|
* Do not sanitize disk geometry if it is set by scripts in non-interactive mode.jkim2008-01-311-8/+8
| | | | MFC after: 3 days
* - Add new NTP servers provided by NIC.br (http://www.ntp.br)mnag2008-01-221-7/+10
| | | | | | | | - Remove nonfunctional servers PR: 119884 Approved by: simon MFC after: 3 days
* Change sysinstall's handling of X11 stuff. Doing it in pieces waskensmith2008-01-014-268/+5
| | | | | | | | | | | | | | | | | probably the right thing to do a while ago but xorg has progressed to the point that for novice users (who are the ones expected to think installing X11 during an install...) it's best to just install the whole x11/xorg metaport for them. This removes the X11 sub-menus and sets it up so you just select whether or not you want X11. While here garbage collect an X11 configuration menu I missed removing when I removed support for attempting xorg configuration from inside sysinstall a while ago. Discussed with: rwatson, kris No objection from: re Release build tested by: rwatson MFC after: 1 week
* Plug a memory leak. Once any given package (e.g. perl) was installedkensmith2007-12-291-1/+3
| | | | | | | | | | we would leak a saved screen for every other package we tried to install that listed perl as one of its dependencies. When installing things like gnome and kde that wound up being a LOT of leaked memory. Insta-MFC request coming so this can be tested as part of 6.3-RC2... Testing help from: kris
* Adjust the some error messages as suggested during re@ review, andkensmith2007-12-291-3/+10
| | | | adjust a comment that won't be true shortly.
* The limit on datasize in the install environment is 128M. That's a bitkensmith2007-12-281-0/+10
| | | | | | | | | | | | | | | too small for today's standards. While loading packages sysinstall blows past this by a LOT but I think (hope...) that's caused by other bugs. I'll look more into why sysinstall's memory use has gotten so out of control as it loads packages but independent of that there really is no reason to leave the limits on datasize and stacksize in place. And they can cause problems for some of the things "modern packages" might be doing via pkg_add which gets run by sysinstall and would inherit the limits. Another insta-MFC probably coming, this is holding up 6.3-RC2. Sysinstall's memory use is so out of control it blows past the current limit before it finishes loading either of the meta-packages kde or gnome...
* For the INDEX file to be used on disc1 of the 7.0-RELEASE the longestkensmith2007-12-241-5/+17
| | | | | | | | | | "build dependencies" field is 5,108 characters which overflows the length of the junk buffer by a teeny bit. This whole section needs much more error checking but for now just completely ignore stuff we have no interest in instead of copying it to someplace we don't use in the process. Insta-MFC probably coming since this is holding up 7.0-RC1...
* A few more adjustments needed because of changes in xorg. Just installingkensmith2007-12-172-2/+6
| | | | | | | | | xorg-server doesn't include any video drivers so install xorg-drivers as well. And if font-alias isn't installed the X server won't start, complaining it can't find the font "fixed". Insta-MFC coming, this was tested with a RELENG_6_3 release build and the necessary packages as part of the first round of testing for 6.3-RC2.
* Be more consistant and use UNZIPPER everywhere.obrien2007-12-092-6/+5
|
* xorg-printserver still exists in the ports tree but it's marked askensmith2007-11-103-4/+0
| | | | | | | depreciated and scheduled to be removed. Confirmed by: kris MFC after: 3 days
* Teach source installation shell script and sysinstall(8) aboutru2007-11-093-1/+5
| | | | | | the 'scompat' source dist that holds src/compat/. Reported by: Mars G Miro
* Update X11 dists for xorg-7.3 layout.kensmith2007-11-083-12/+4
| | | | X-MFC-after: Insta-MFC may be coming so this can get into 6.3-BETA2.
* Selecting amd and a few other things in the Networking config sectionkensmith2007-10-302-5/+14
| | | | | | | | | | | | | | caused a segfault. It turns out that in pre-7.0 systems if you do getenv("amd_enable=YES") it will return the setting of the environment variable "amd_enable" but now it returns NULL. I think I found the places where sysinstall was potentially relying on that old behavior. Fix is to make a copy of the string to be used for the getenv(3) call, look for a '=' character in it, and replace it with '\0' if one is found. Stuck to sysinstall's typical coding standards despite urges to do otherwise. PR: 117642 MFC after: 2 days
* Disconnect the soon-to-be removed installation notes from sysinstall(8)bmah2007-08-141-17/+15
| | | | | | menus. Approved by: re (blanket for installation notes removal)
* Significantly reduce the memory leak as noted in BUGS section forscf2007-07-042-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | setenv(3) by tracking the size of the memory allocated instead of using strlen() on the current value. Convert all calls to POSIX from historic BSD API: - unsetenv returns an int. - putenv takes a char * instead of const char *. - putenv no longer makes a copy of the input string. - errno is set appropriately for POSIX. Exceptions involve bad environ variable and internal initialization code. These both set errno to EFAULT. Several patches to base utilities to handle the POSIX changes from Andrey Chernov's previous commit. A few I re-wrote to use setenv() instead of putenv(). New regression module for tools/regression/environ to test these functions. It also can be used to test the performance. Bump __FreeBSD_version to 700050 due to API change. PR: kern/99826 Approved by: wes Approved by: re (kensmith)
* Remove reference to 'phosphor' in the screensaver menu as this is lessmurray2007-06-291-1/+1
| | | | | | | meaningful in the LCD world. Submitted by: Ben Kaduk <minimarmot@gmail.com> Approved by: re (kensmith)
* Teach sysinstall about the 'scddl' source dist.jhb2007-06-283-1/+5
| | | | Approved by: re (kensmith)
* - Add new virtual category kldpav2007-06-281-0/+1
| | | | | MFC after: 3 days Approved by: re (mux)
* Fix a number of documentation-lags-behind-reality bugs in sysinstall(8).philip2007-06-2512-41/+49
| | | | | | | While here, fix a couple of comments too. Submitted by: Oliver Fromme <olli -at- lurza.secnetix.de> Approved by: re (kensmith)
* Create group ftp by default. This is gid 14 as this is the historicalceri2007-06-111-3/+3
| | | | | | | | | | | | id used by sysinstall when enabling anonymous FTP. Change the default group used by sysinstall for setting up anonymous FTP from operator to ftp; there is no reason to use operator and there are potential security issues when doing so. PR: 93284 Approved by: ru (mentor) Reviewed by: simon
* Write to slice name instead of directly to the disk device.delphij2007-06-051-1/+1
| | | | | | | | This fixes writing boot code upon upgrade. PR: bin/61587 Submitted by: Nobuyuki Koganemaru <n-kogane syd.odn.ne.jp> MFC after: 1 month
* Add new x11-drivers category.flz2007-05-191-0/+1
| | | | | Reminded by: miwi MFC after: 3 days
* o Fix typo: firwalling -> firewalling.maxim2007-05-191-1/+1
| | | | | | PR: docs/112776 Submitted by: asmodai MFC after: 1 week
* Tighten IP address check, prevent '..' from being passeddelphij2007-05-171-5/+8
| | | | | | | from the check. Submitted by: Ren Zhen <bg1tpt gmail com> MFC after: 2 weeks
* Back out all POSIXified *env() changes.ache2007-05-012-2/+2
| | | | | | | | | 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.
* Preparing for upcoming POSIXed putenv() rewrite:ache2007-04-301-1/+1
| | | | don't allow const as putenv() arg, dup it
* Prepare for upcoming POSIXed putenv() rewrite:ache2007-04-301-1/+1
| | | | don't allow putenv() arg be on the stack, use strdup()
* Update postfix MTA selection code to point at postfix 2.4 which is thesimon2007-04-051-1/+1
| | | | | | current version. MFC after: 3 days
* - Update for new tcl categoriespav2007-04-031-1/+2
| | | | MFC after: 3 days
* remove WARNS=2: we're not ready for it yet.matteo2007-03-231-1/+0
|
* Make sysinstall's code WARNS=2 clean .matteo2007-03-233-2/+5
| | | | MFC after: 1 week
* One more s/ethernet/Ethernet/ I missed in the previous revision.brueffer2007-03-191-1/+1
|
* Update postfix MTA selection code to point at postfix 2.3 which is thesimon2007-03-171-1/+1
| | | | | | | | current version. PR: misc/110447 Submitted by: Chris Fletcher <fletch.AT.brightsparks.net.au> MFC after: 1 week
* - Add cxgb(4) entry, remove stale wx(4) entrybrueffer2007-03-161-39/+39
| | | | | | | - (gigabit|fast) ethernet -> (Gigabit|Fast) Ethernet Approved by: rwatson (mentor) MFC after: 3 days
* Use sizeof() for calculating the buffer size instead of hard-coded values.kevlo2007-03-061-2/+2
|
* Use the RB_AUTOBOOT define over 0.ceri2007-02-231-1/+1
| | | | Approved by: ru (mentor)
* If floppies are used to boot the machine, the user lets the machinekensmith2007-02-221-1/+6
| | | | | | | | | | | | | | 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
* Bring these files up-to-date.ceri2007-02-182-27/+29
| | | | PR: docs/108536
* Clarify the description of the shutdown command.ceri2007-02-181-2/+3
|
* Add gnustep and ports-mgmt ports categories.erwin2007-01-311-0/+2
| | | | | Reviewed by: simon MFC after: 3 days
* Provide a more accurate description of the size of the ports collection.murray2007-01-161-1/+1
|
* During an upgrade, if /boot/kernel.prev exists then the backup ofceri2007-01-011-0/+18
| | | | | | | | | | /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
* Clarify a comment.ceri2006-12-311-1/+1
|
* - Add geography and spanish ports categorieserwin2006-12-191-1/+3
| | | | | | | | - 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
* Add msk(4) to the list of supported network interface.yongari2006-12-131-0/+1
|
* Fix a typo ceri found while reviewing and I forgot to commiterwin2006-12-111-1/+1
| | | | | | | | | | in the previous version. Submitted by: ceri, matteo Reviewed by: cperciva Also note that the last revision was: Reviewed by: ceri, simon
* Update the list of ports categories.erwin2006-12-111-24/+15
| | | | | | | | | This is an updated version of: PR: 85367 Submitted by: linimon Reviewed by: simon MFC after: 3 days
* Add a new turkish mirrorerwin2006-12-101-0/+4
| | | | | | Submitted by: Evren Yurtesen <yurtesen@ispro.net> Reviewed by: simon MFC after: 3 days
* Add ftp.il.freebsd.org to the IPv6 server section.erwin2006-12-021-0/+2
| | | | | | Submitted by: Rostislav Krasny <rosti.bsd@gmail.com> Reviewed by: simon (also previous commit) MFC: 3 days
OpenPOWER on IntegriCloud