summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Reveal sacred spells necessary for putting kbdmux(4) to real use.sobomax2005-12-291-0/+15
| | | | Hopefully gods of RTFS and RTFCL will not go after me.
* An i386 machine with 32MB of RAM requires a 700MB disk for auto-layout toceri2005-12-292-4/+4
| | | | | | | 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
* Add an example for WEP.wilko2005-12-251-0/+14
| | | | OK-ed by: sam
* When generating profiles (-g) warn about shared objects that werejkoshy2005-12-251-4/+12
| | | | not found.
* - Don't print an errno string when reporting dropped samples.jkoshy2005-12-241-3/+4
| | | | | - Prevent an unsuccessful exec() of a target program from triggering a false 'dropped samples' message.
* Bump .Dd before I get told off.ceri2005-12-231-1/+1
|
* Commands like gmirror, graid3, ... and others which use dlopen() to loadceri2005-12-232-4/+95
| | | | | | | | | | | | | | | | | classes from say, /lib/geom, cannot be statically linked completely. Moreover, those shared objects may require other shared objects (i.e. for geom, libraries like -lmd, -lcrypto). The libs_so extension to crunchgen fixes this by allowing some libraries to be linked in dynamically. This requires that a copy of rtld and the shared libraries be made available to the crunched binary, and so is not suitable for all environments. Crunchgen configurations which do not use the 'libs_so' keyword are unaffected and produce identical binaries with and without this commit. Approved by: murray (mentor, in spirit), jhb In collaboration with: Adrian Steinmann <ast at marabu dot ch> MFC After: 6 weeks
* Copy the description for the -r option from the traceroute(8) mandd2005-12-221-0/+10
| | | | | | page. I'm pretty sure that this description applies the same way to ipv6, and at least mentioning SO_DONTROUTE is better than having no description at all.
* Previous revision was broken on SPARC, fix it by using more appropriate type.delphij2005-12-211-1/+1
| | | | | Reported by: tindebox Pointy hat to: delphij
* Change the default for deleting stale files from yes (which violatesdougb2005-12-211-5/+5
| | | | | | | the general principle that mm should do nothing by default) to no. PR: bin/85449 Submitted by: Kevin Oberman <oberman@es.net>
* Use size_t for length.delphij2005-12-211-1/+2
|
* Add a knob to suppress logging of attempts to modifyglebius2005-12-181-1/+8
| | | | | | permanent ARP entries. Submitted by: Andrew Alcheyev <buddy telenet.ru>
* Make our ELF64 type definitions match standards. In particular thismarcel2005-12-188-13/+13
| | | | | | | | | | | | | means: o Remove Elf64_Quarter, o Redefine Elf64_Half to be 16-bit, o Redefine Elf64_Word to be 32-bit, o Add Elf64_Xword and Elf64_Sxword for 64-bit entities, o Use Elf_Size in MI code to abstract the difference between Elf32_Word and Elf64_Word. o Add Elf_Ssize as the signed counterpart of Elf_Size. MFC after: 2 weeks
* Explicitly cast ELF_R_TYPE() to the right type.marcel2005-12-181-1/+1
|
* Remove usbd(8) and all references to it. It is no longer necessaryiedowse2005-12-1514-1533/+2
| | | | | | since devd(8) now provides the same functionality. Submitted by: Anish Mistry
* [mdoc] add missing space before a punctuation type argument.ru2005-12-131-1/+1
|
* Fix typo in rfcomm_pppd(8) man page.emax2005-12-121-1/+1
| | | | | Noticed by: Ronald Klop MFC after: 1 day
* o move programs to separate directories and use stock Makefiles;sam2005-12-112-0/+244
| | | | | this simplifies including them in crunchgen images o rename 80211* programs to wlan* as was originally intended
OpenPOWER on IntegriCloud