summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Gratuitous "typo in comment" fix.ceri2006-02-052-2/+2
|
* Bring these files somewhat into the present.ceri2006-02-0514-149/+126
| | | | | | | Perform some rewording while here. Remove register.hlp, since the code that deals with it was removed nearly 7 years ago.
* Perform minor rewording and grammatical improvement. Add a missing Xr.ceri2006-02-041-31/+40
|
* Add a -A argument to mergemaster to allow explicitly specifying anrwatson2006-02-042-8/+17
| | | | | | | | | architecture to pass through to the underlying makefiles. This is quite useful when building on an i386 box to populate an amd64 NFS root. Head nod: dougb MFC after: 1 week
* Allow newer config versions to config older versions with the sameimp2006-02-032-21/+30
| | | | | | | | major number. Reviewed by: ru@, jhb@, arch@ (a few months ago) # this is subject to refinement based on experience.
* Remove reference to auditon(8), this tool has been superseded byrwatson2006-02-021-1/+0
| | | | | | auditd(8), and was committed in error. Obtained from: TrustedBSD Project
* Enable building of OpenBSM command line tools:rwatson2006-02-025-0/+62
| | | | | | | | | | | - audit(8) - audit subsystem management tool - auditd(8) - audit trail and subsystem management daemon - auditreduce(1) - audit trail reduction tool - praudit(1) - audit trail printing tool Could probably use a NO_AUDIT make.conf flag. Obtained from: TrustedBSD Project
* Expand contractions.joel2006-02-012-3/+3
|
* Fix typo.krion2006-01-291-1/+1
|
* Use ".Pa" for path names.jkoshy2006-01-291-12/+12
| | | | MFC after: 3 days
* - Hide 'incorrect geometry warning' in non-interactive mode. A user shouldjkim2006-01-272-22/+36
| | | | | | know what they are doing in non-interactive mode. Less scarier warning goes to debugging info instead. - Print sanitized geometry to debugging info.
* Add `mediaOpen' function. This function mounts selected media device.jkim2006-01-277-0/+36
| | | | | | | | | | | | | | | 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.
* Merge from accidental commit to RELENG_5:cperciva2006-01-271-1/+1
| | | | | Correctly identify the host and port values on a failed getaddrinfo lookup.
* After changing hostres from libdisk to libgeom, it now compileserwin2006-01-261-5/+1
| | | | | | | and runs on amd64, so revert the stopgap from rev. 1.10 Approved by: harti Hardware borrowed from: simon
* Replace ki_ocomm by ki_comm. The former will go away.harti2006-01-262-5/+5
| | | | | Submitted by: Victor Cruceru <soc-victor> Suggested by: Julian Elischer
* Fix a bug in the processor load code: the wrong process was used toharti2006-01-261-3/+3
| | | | get the inital processor load. Also fix compilation on sparc64 without NDEBUG.
* Fix false positives when searching for disks. Things like adv(4) are notharti2006-01-261-0/+9
| | | | | | disks. Submitted by: Victor Cruceru <soc-victor@>
* Fix the MIB to use libgeom instead of libdisk.harti2006-01-263-48/+170
| | | | Submitted by: Victor Cruceru <soc-victor>
* An old patch from Dan Lukes <dan at obluda.cz>:delphij2006-01-232-2/+6
| | | | | | | | | + Include netinet/in.h for ntohl() * Since the return value was tested separately, cast the values to size_t in order to shut up compiler warnings. + Raise WARNS= level to 6 PR: bin/71666
* Replace "fetch" with "fetch -r" when downloading the initial ~38MBcperciva2006-01-221-2/+1
| | | | | | | | | snapshot in order to avoid unnecessary re-downloading. Remove the earlier "rm -f ${SNAPSHOTHASH}.tgz" to make this work. Suggested by: Lars Engels MFC after: 7 days
* Honour the "uuid" directive in adduser.confmatteo2006-01-221-1/+4
| | | | | | PR: conf/87914 Approved by: philip (mentor) MFC after: 3 days
* Improve error-handling related to the fork() done to compress files aftergad2006-01-201-15/+38
| | | | | | | | they have been rotated. Among other things, use warnx() instead of warn() for some messages where the value if errno is irrelevant to the problem being reported. MFC after: 5 days
* Revert previous commit for now, which seems to have (re)introduced somedelphij2006-01-183-150/+227
| | | | | | | old bugs, as well as some unwanted side effects. I will do more investigation and fix these issues first. Pointed out by: dwmalone
* Improves and cleanups over inetd(8):delphij2006-01-183-227/+150
| | | | | | | | | | | | - Teach inetd(8) about kqueue, originally implemented by jmg@[1]. - Use new C99 style function prototypes instead of K&Rs. - Raise WARNS from 2 to 6 Glanced at by: ru MFC After: 2 weeks [1] http://people.freebsd.org/~jmg/inetd.kq.patch, http://people.freebsd.org/~jmg/inetd.kq.html
* Mention that the random time slept by "portsnap cron" is between 1 andcperciva2006-01-171-1/+2
| | | | | | | 3600 seconds. Suggested by: Niki Denev MFC after: 3 days
* Add ntp.cgi.cz.ceri2006-01-152-0/+6
| | | | | | | PR: bin/90095 Submitted by: Jakub Chromy <hicks at cgi dott cz> Approved by: jhb (proxy mentor) MFC after: 3 days
* Preserve any additional arguments to ifconfig that were specified in theceri2006-01-151-1/+1
| | | | | | | | DHCP case too. PR: bin/74406 Approved by: jhb (proxy mentor) MFC after: 3 days
* If sysinstall was used to configure an anonymous FTP area, it wasceri2006-01-151-1/+1
| | | | | | | | | | | | | 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
* Correct obsolete chown syntax.ceri2006-01-151-2/+2
| | | | | | | | 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
* - Change the exit message from "make cleandepend; make depend" toflz2006-01-141-1/+1
| | | | | | | | | "make cleandepend && make depend". PR: bin/91765 Submitted by: Soeren Straarup <xride@x12.dk> Approved by: cpercival MFC after: 3 days
* Unbreak the AMD64 build by forgoing the 'snmp_hostres' functionality.obrien2006-01-131-1/+5
| | | | Approved by: harti
* Use posix_memalign() rather than assuming that malloc() provides adequatejasone2006-01-121-5/+7
| | | | | | alignment. Approved by: markm (mentor)
* Fix build without -DNDEBUG.harti2006-01-123-7/+7
| | | | Spotted by: obrien
* assert(3) is not used here.obrien2006-01-121-1/+0
|
* Update usage to reflect the fact that the -d -a now accepts -i <interface>.brooks2006-01-101-1/+1
| | | | | Reminded by: ru Pointy hat: brooks
* - Fix: documentation for -m option was inserted halfway thru the text of -lpav2006-01-101-3/+3
| | | | | | | | option. PR: docs/90359 Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> MFC after: 3 days
* /etc/crontab is similar enough to parse as correct if you runbrooks2006-01-101-0/+4
| | | | | | | | | "crontab /etc/crontab", but not the same format due to the who field. Add some limited anti-foot-shooting support and refuse to load /etc/crontab as someone's crontab. Users wishing shoot their foot in this manner may copy /etc/crontab elsewhere. :) MFC After: 1 week
* Allow the -i <interface> option with -d -a to allow all arp entries forbrooks2006-01-102-1/+2
| | | | a given interface to be removed.
* Fix -r causing SIGSEGV due to parse_args() being called before font_current ↵flz2006-01-091-3/+3
| | | | | | | is set. Approved by: krion MFC after: 3 days
* Add -K option to pkg_add and pkg_info.flz2006-01-0910-18/+71
| | | | | | | | | This option saves packages to PKGDIR (if defined or current directory by default) as they are downloaded. Silent a warning when -n is used and package has a +DISPLAY file. Approved by: krion MFC after: 1 week
* Connect the HOSTRES MIB to the build.harti2006-01-091-0/+1
|
* msgharti2006-01-0918-0/+7005
|
* When using @cwd %%FOO%%, we must ensure to return in the originalkrion2006-01-076-9/+42
| | | | | | | | | | | | | | | prefix later, but doing so with @cwd %%OLDPREFIX%% (having PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing list. That's not really a problem when dealing with ports but that's a problem with packages since pkg_add -p option only overrides the first @cwd occurrence. This patch allow us to use @cwd without any argument. If no directory argument is given, it will set current working directory to the first prefix given by the @cwd command. PR: bin/77212 Submitted by: flz
* Make "portsnap extract" automatically create ${PORTSDIR} if necessarycperciva2006-01-061-2/+6
| | | | | | | | instead of complaining that "Directory does not exist or is not writable". Suggested by: {tlp, siep} via IRC MFC after: 1 week
* Don't use threads when there's no real reason to.des2006-01-032-158/+142
| | | | MFC after: 2 weeks
* - Fix possible memory leak due to repetetive strdup(3) without matchingariff2006-01-011-14/+21
| | | | | | | | | | free(3). - print_recsrc() should honor shortflag and give appropriate output for later consumption by /etc/rc.d/mixer. This will ensure that recording device selections survived across reboot. Output everything to stdout instead if stderr. MFC after: 3 days
* On i386, 7.0 requires 106MB on /usr. 6.0 requires 101MB.ceri2005-12-302-2/+2
| | | | | | | 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
* - Avoid adding devices multiple times to the device list.ru2005-12-302-33/+66
| | | | | | - Avoid adding options multiple times to the option list. Based on a patch by: Matt Emmerton <matt@gsicomp.on.ca>
* Clean up most of the "XXX"-tagged items:ru2005-12-304-17/+39
| | | | | | | | | | | - The code that creates hints.c and env.c from the skeleton files moved into separate functions. - Sanity checks for missing "ident" and "cputype" directives moved into main(), alongside the existing check for "machine". PR: bin/90310 Submitted by: Matt Emmerton <matt@gsicomp.on.ca>
* inetd(8) requires that /etc/netconfig be present, and contain entriesceri2005-12-301-0/+29
| | | | | | | | | | for each of udp and tcp (and their IPv6 equivalents when INET6 is enabled). Note that dependency here. PR: docs/90435 Submitted by: Dmitry Kazarov <kazarov at mcm dot ru> Pointed out by: Daniel Gerzo <danger at rulez dot sk> MFC after: 8 days
OpenPOWER on IntegriCloud