summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Oops, forgot this cosmetic tweak to the perl menu item in my previousjhb2002-12-032-2/+2
| | | | | | commit. Approved by: re (this is what they actually reviewed)
* - Convert the installation of the X package to using installPackage()jhb2002-12-034-3/+16
| | | | | | | | | | | rather than installX11package(). - Add a perl psuedo-dist that installs the perl package. The perl distribution is selected by default when a User distribution set is selected. It is not selected when a Minimal distribution set is selected. The perl distribution may be toggled manually in the custom menu just as other distributions. Approved by: re
* Rename installX11package() to installPackage() and tweak it so that itjhb2002-12-034-12/+8
| | | | | | can be used to install any arbitrary package. Approved by: re
* Fix a bug in the fdisk editor that partially masked the chunk deletionjhb2002-12-032-4/+4
| | | | | | | | bug fixed yesterday. New slices created in the fdisk editor and slices whose sub-type is changed are of type 'mbr' if their sub-type is not a magic type, not type 'unknown'. Approved by: re
* The default CD drive is /dev/cd0, not /dev/cd0c.des2002-12-031-1/+1
| | | | | Reviewed by: jhb Approved by: re (rwatson)
* Mdoc markup and language fixes.rwatson2002-12-032-9/+14
| | | | | | | Submitted by: ru Approved by: re (jhb) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Replace the perl versions of adduser and rmuser with shell script versions.scottl2002-12-037-2291/+1458
| | | | | Submitted by: Mike Makonnen <mtm@identd.net> Approved by: re
* Replace the remaining strcpy() instances with strlcpy(), fixing a segfaultroam2002-12-021-8/+6
| | | | | | | | when parsing a malformed command-line parameter. Rearrange a risky usage of sprintf() in a loop. Reported by: phrail@division7.us via the vuln-dev mailing list Approved by: re (rwatson)
* ia64 specific.marcel2002-12-026-6/+106
| | | | | | | | | | | | | | o Mount the EFI file system as msdosfs and not ufs as it's a FAT file system. Introduce Mount_msdos() for this to go side-by-side with Mount(). o Also, since mounting is performed as a command (which means it's queued, sorted, lost, found and executed), we cannot create a directory on the file system by calling mkdir. We must make sure the mkdir happens after the mount. Introduce Mkdir_command() to allow mkdir operations to be queued, sorted, lost, found and executed as well. Approved by: re (jhb, rwatson)
* Cast argument to (long), missed in prior pass.rwatson2002-12-021-1/+1
| | | | | Approved by: re Submitted by: marcel
* Fix 32-bit/64-bit bug in format string.rwatson2002-12-021-1/+1
| | | | | | Approved by: re Submitted by: marcel Pointy hat to: green
* Add support for -R for file relabel operations.rwatson2002-12-023-47/+508
| | | | | | | | | | | | Add 'setfsmac' link, which permits labels to be provided in a label specification file, making it easier to provide initial file system labeling specifications. This is used by the new mac_lomac to provide initial system labeling and policy, and by sebsd, the port of SELinux FLASK/TE to FreeBSD. Approved by: re (jhb) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* In general, prefer WARNS to CFLAGS+=-Wall. Tend towards a morerwatson2002-12-014-8/+16
| | | | | | | BSD-esque Makefile style. Submitted by: obrien Approved by: re
* ia64: make link /boot->efi/boot relative.marcel2002-11-302-2/+12
| | | | Approved by: re (murray)
* mdoc(7) police: sweep.ru2002-11-292-13/+13
|
* - Only declare the MBR menu for i386 that is not PC98.jhb2002-11-272-2/+18
| | | | | | | | - Only declare mouse menus if WITH_MICE. - Only declare syscons menus if WITH_SYSCONS. - Only declare fdisk editor functions if WITH_SLICES. Approved by: re
* Only include the fdisk editor and associated code if WITH_SLICES isjhb2002-11-272-16/+20
| | | | | | | defined. Tested on: i386, alpha, sparc64 Approved by: re
* Only define the MBR or IPL menu on i386 (PC98 uses IPL, other i386 usejhb2002-11-272-0/+4
| | | | | | MBR). Approved by: re
* - Only define syscons menus and syscons menu items in other menus ifjhb2002-11-272-12/+48
| | | | | | | | | | | | | | | WITH_SYSCONS is defined. - Only define mouse menus and mouse menu items if WITH_MICE is defined. - Use WITH_SLICES instead of explicit lists of architectures to control the layout of menus dependent on if slices are used on this arch or not. - Only include the linux startup option if WITH_LINUX is defined. - Only include the SVR4 startup option on i386. It doesn't work on sparc64, and it is debatable that it even works on i386. - Change the OSF1 startup option to execute configOSF1() instead of just setting the variable so that /compat/osf1 gets created. Tested on: i386, alpha, sparc64 Approved by: re
* If the user choose to Undo everything in the label editor, only run thejhb2002-11-272-0/+4
| | | | | | | | fdisk editor if WITH_SLICES. Before this on arch's that didn't support slices such as alpha and sparc64 you would drop into the fdisk editor after doing an Undo in the label editor. Approved by: re
* - Use WITH_SLICES to conditionalize the fdisk editor during install insteadjhb2002-11-272-12/+28
| | | | | | | | | | | | | | | | of an explicit list of architecture defines. - Tweak the message prior to the label editor in the !WITH_SLICES case to make it slightly less awkward since this is the first dialog we see after starting an install. - Only offer to customize syscons settings if WITH_SYSCONS. - Offer to enable Linux compat if WITH_LINUX. Before we only did this for i386. - On the alpha, offer to enable OSF/1 compat after asking about Linux compat. - Only offer to configure moused(8) if WITH_MICE is defined. Tested on: i386, alpha, sparc64 Approved by: re
* Only include the diskPartitionEditor script command if WITH_SLICES isjhb2002-11-272-0/+4
| | | | | | defined. Approved by: re
* Only try to setup moused(8) before setting up the X server if WITH_MICE isjhb2002-11-272-0/+8
| | | | | | defined. Approved by: re
* - Add a configOSF1() function (#ifdef __alpha__) that creates /compat/osf1jhb2002-11-274-0/+38
| | | | | | | in addition to setting osf1_enable to YES. - Only define configLinux() #ifdef WITH_LINUX. Approved by: re
* Add some helper macros to make #ifdef's in sysinstall easier to readjhb2002-11-272-0/+28
| | | | | | | | | | | | | | and more maintainable. - WITH_SYSCONS: defined on all arch's that support syscons (currently i386, alpha, and ia64) - WITH_MICE: defined on all arch's that support moused(8) (currently i386, alpha, and ia64) - WITH_SLICES: defined on all arch's that use disk slices (currently i386 and ia64) - WITH_LINUX: defined on all arch's that support Linux binary compat (currently i386 and alpha) Approved by: re
* Only display the APM option in the Startup menu on i386.jhb2002-11-272-0/+4
| | | | Approved by: re
* Use #elif defined(__alpha__) instead of #elif __alpha__.jhb2002-11-272-2/+2
| | | | Approved by: re
* Enable the compat4x distribution on Alpha as well as i386.jhb2002-11-271-0/+2
| | | | Approved by: re
* - Assume __FreeBSD__ is greater than 3.jhb2002-11-272-16/+2
| | | | - Only include compat4x distribution if this is either i386 or alpha.
* Expand X_AS_PKG so that we don't declare distribution bitmasks or menusjhb2002-11-278-17/+84
| | | | | | | for the X distributions if X_AS_PKG is defined. Tested on: i386 Approved by: re
* Don't use fake 'c' or 'a' BSD partitions for CD-ROM devices. This fixesjhb2002-11-272-10/+10
| | | | | | | sysinstall to create /cdrom entries in /etc/fstab that just use the raw CD-ROM device /dev/cd0, etc. Approved by: re
* Removed the vestiges of modems(5).ru2002-11-271-1/+0
| | | | Approved by: re
* mdoc(7) police:ru2002-11-271-6/+12
| | | | | | | Added the -h option to the synopsis, documented the -a option, sorted options descriptions according to style(9). Approved by: re
* mdoc(7) police: markup fixes.ru2002-11-2712-82/+95
| | | | Approved by: re
* mdoc(7) police: kill whitespace at EOL.ru2002-11-275-36/+36
| | | | Approved by: re
* mdoc(7) police:ru2002-11-2716-63/+64
| | | | | | | | | | Removed whitespace at EOL. Removed hard sentence breaks. Removed empty lines. Spell FreeBSD correctly. Sort xrefs. Approved by: re
* configXEnvironment doesn't work in sysinstall now.keramida2002-11-262-2/+12
| | | | | | | Change the manpage to reflect that it's now called configXSetup. Also document configXDesktop. Submitted by: pirat <pirat@access.inet.co.th>
* Add GNOME 2 to the sysinstall desktop configuration menu, removebmah2002-11-264-46/+20
| | | | | | | | | | the two GNOME 1-based alternatives. While here, note that a majority of the items in this menu are not sentences, and remove trailing dots to make the remainder consistent. Reviewed by: marcus Approved by: re (bmah)
* The second try a committing the bluetooth codejulian2002-11-2027-0/+6743
| | | | | | | | | | | | | | | | Has been seen to work on several cards and communicating with several mobile phones to use them as modems etc. We are still talking with 3com to try get them to allow us to include the firmware for their pccard in the driver but the driver is here.. In the mean time it can be downloaded from the 3com website and loaded using the utility bt3cfw(8) (supplied) (instructions in the man page) Not yet linked to the build Submitted by: Maksim Yevmenkin <myevmenk@exodus.net> Approved by: re
* Add several new real categories and virtual categories.knu2002-11-181-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Those marked with an asterisk (*) are virtual categories] - accessibility* : Ports to help disabled users PR: ports/39103 Requested by: trevor - finance : Monetary, financial and related applications PR: ports/39102 Requested by: trevor - haskell* : Software related to the Haskell language PR: ports/41959 Requested by: obraun - hungarian : Hungarian language support PR: ports/37576 Requested by: Janos Mohacsi <janos.mohacsi@bsd.hu> - multimedia : Multimedia software Requested by: many - parallel* : pplications dealing with parallelism in computing PR: ports/39094 Requested by: trevor - portuguese : Portuguese language support PR: ports/35991 Requested by: trevor
* Create a link /boot -> /<efi>/boot, where <efi> is the mountpointmarcel2002-11-182-0/+30
| | | | | | | | of the EFI file system. This makes the EFI partition non-optional. I don't think that the links are actually correct, given that all the mount points are under /mnt when sysinstall is run as init. (ie a non-upgrade). Thus: I think I need to go in once more, but at least this doesn't get lost...
* Enable selecting the type of partition menu on pc98.nyan2002-11-162-34/+34
|
* These two patches makes it easier to compile custom versions ofroberto2002-11-162-2/+6
| | | | | | | | | | | NTP on FreeBSD: The first one allows one to avoid installing the html files. The second one allows one to override the CLOCKDEFS on the make command line. Submitted by: phk
* utmp.ut_time and lastlog.ll_time are explicitly int32_t rather thanpeter2002-11-152-2/+2
| | | | | | | | | | | | time_t. Deal with the possibility that time_t != int32_t. This boils down to this sort of thing: - time(&ut.ut_time); + ut.ut_time = time(NULL); and similar for ctime(3) etc. I've kept it minimal for the stuff that may need to be portable (or 3rd party code), but used Matt's time32 stuff for cases where that isn't as much of a concern. Approved by: re (jhb)
* Fix to build for pc98.nyan2002-11-152-2/+2
|
* Assume that packages passed on stdin are in bzip2 format, not gzip.bmah2002-11-141-1/+2
| | | | | | (sysinstall depends on this feature for package addition.) Comment on hard-coded bzip2 usage in the spirit of rev. 1.58.
* Add a new newsyslog.conf flag - 'G', which if set tells newsyslog(8) thatsobomax2002-11-142-1/+29
| | | | | | | | | | the specified filename of the log to be rotated is in fact shell glob pattern. In this case, all files matching this pattern will be rotated using the same options. Useful in the case when there is no pre-defined name for the logfiles (e.g. xtradius, samba etc). Sponsored by: PortaOne Software Ltd MFC after: 2 weeks
* Add conditional code specific to ia64 to allow newfs(8)-ing FATmarcel2002-11-144-6/+118
| | | | | | | | | | | partitions marked as being of type efi. This change adds code to 1. actually run the newfs command at mount time (install.c), 2. display the newfs state on screen (label.c) 3. allow toggling of the newfs state (label.c) Even though newfs(8)-ing FAT partitions can be of use on i386 machines in general, it has been opted to minimize impact for now.
* mtree(8) wasn't a bootstrap tool since 2000/07/23 (Makefile.inc1,v 1.161).ru2002-11-131-5/+0
|
* Bootstrapping aid for 4.0-RELEASE.ru2002-11-131-0/+6
|
OpenPOWER on IntegriCloud