summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Allow ``ip4'' as an ``upperspec'' value, and update the manbrian2001-05-172-0/+4
| | | | | | | | | | | | | | | | | | page with *all* the permissible values. This should really be spelt ipencap (as /etc/protocols does), but a precedent has already been set by the ipproto array in setkey.c. It would be nice if /etc/protocols was parsed for the upperspec field, but I don't do yacc/lex... This change allows policies that only encrypt the encapsulated packets passing between the endpoints of a gif tunnel. Setting such a policy means that you can still talk directly (and unencrypted) between the public IP numbers with (say) ssh. MFC after: 1 week
* Style policy: reformat multiline comments to conform to style(9).sobomax2001-05-1710-46/+83
|
* digiModel_t -> enum digi_modelbrian2001-05-172-3/+1
| | | | Remove special -I flags that are no longer needed.
* Fix man page markup.joerg2001-05-161-23/+28
| | | | Submitted by: ru
* Remove forgotten -Wallbrian2001-05-161-1/+0
| | | | Reminded by: ru
* mdoc(7) police: fix markup and spelling.ru2001-05-161-13/+17
|
* mdoc(7) police: uppercase abbreviations in revision 1.34.ru2001-05-161-4/+4
|
* mdoc(7) police: double spaces in plain text chunks aren't good.ru2001-05-161-1/+1
|
* Save one fork on a buildworld. env FOO=foo bar -> FOO=foo bar.imp2001-05-152-2/+2
|
* If PASTE isn't defined, define it as a transitional measure. Thisimp2001-05-151-6/+13
| | | | | | | allows me to complete make buildworld on my stable machine. Also change termination case to be clearer what is going on while searching for map files.
* Print longer package names. Some of them were running off the rightbmah2001-05-151-3/+3
| | | | | | | | edge of Perl field specifications. PR: bin/26664 Submitted by: philip@eilio.com MFC after: 3 days
* The aliases file now lives in /etc/mail/.gshapiro2001-05-151-1/+1
| | | | | PR: misc/26648 MFC after: 3 days
* Add battery state monitoring to apmd.nsayer2001-05-154-8/+238
| | | | | | | | | | | | | | | | | | | | | | The new syntax available in the config file is: apm_battery [0-9]+(%|[Mm) (dis|)charging { ... } The stuff in the braces is the same as the existing case. nn% checks for a certain percentage of life remaining and nnM checks for a cerain number of minutes remaining. Specifying "discharge" means that you're interested in knowing when the battery reaches a certain level while AC power is off, "charging" the opposite. The man page needs to be updated. The code can be fooled. If you SIGHUP the daemon and the battery level matches a rule it will be performed once per SIGHUP. If the battery level matches a rule and you repeatedly apply and take away AC power, the rule will be run once per occurance. This, however, is a feature. :-) The code also only runs when select() times out, so getting APM events more often than the timeout interval will result in the rules not being run. These are things that remain to be overcome.
* Include fdread(1) into the parent Makefile.joerg2001-05-141-0/+1
|
* This commit was generated by cvs2svn to compensate for changes in r76589,joerg2001-05-143-0/+497
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Initial import of fdread(1), a logical counterpart to fdwrite(1).joerg2001-05-143-0/+497
| | | | | | | | | | | | | | | | Its main purpose is to adapt automatically to the floppy parameters (in particular the track size for efficient reading), and to allow a simple error recovery for CRC-errored sectors. Requires the newly added fdc(4) options.
* | Fix a possible segfault introduced in my previous commit.sobomax2001-05-141-2/+3
| |
* | Check for both hint files in /var/run (elf and aout) and eventually createolgeni2001-05-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | them. Sysinstall used to check /var/run/ld.so.hints (aout related) and create hints with the ldconfig command, but the ldconfig command alone will generate elf hints only. The correct behavior is: * If /var/run/ld-elf.so.hints does not exist, generate elf hints * If /var/run/ld.so.hints does not exist, generate aout hints (using ldconfig with the -aout option) This will help ports that check for aout libraries using ldconfig in their pkg-req scripts. Approved by: jkh MFC after: 1 weeks
* | Fixed a missing library in DPADD.bde2001-05-121-4/+5
| | | | | | | | Fixed some style bugs.
* | Fixed missing DPADD.bde2001-05-121-2/+2
| | | | | | | | | | | | Don't clobber CFLAGS by assigning to it using "=". Fixed some style bugs.
* | Clean up some of the evil string handling in this code, replacekris2001-05-123-47/+91
| | | | | | | | | | | | | | | | warnx()+exit() with errx() and replace a big if..then..else construct to determine the package download directory with a lookup table. Reviewed by: jkh MFC after: 2 weeks
* | Take keyboard map files from ${.CURDIR}/../../share/syscons/keymaps, not fromsobomax2001-05-122-2/+4
| | | | | | | | | | | | | | /usr/share/syscons/keymaps. This should prevent word breakage when new keymaps have been added. Prompted by: Matthew D. Fuller <fullermd@over-yonder.net>
* | Allow path where keyboard maps are looked for to be altered using environmentsobomax2001-05-122-8/+16
| | | | | | | | variable.
* | Bring the interface IFF_UP from ipcp_InterfaceUp() (called from IPCP'sbrian2001-05-111-0/+7
| | | | | | | | | | | | | | | | TLU event handler). This used to be done as a side effect of SIOCAIFADDR'ing the interface, but now that duplicate SIOCAIFADDRs are optimised out, we can't depend on that behaviour.
* | Add support for gigabit ethernet cards based on the NatSemi DP83820wpaul2001-05-112-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and DP83821 gigabit ethernet MAC chips and the NatSemi DP83861 10/100/1000 copper PHY. There are a whole bunch of very low cost cards available with this chipset selling for $150USD or less. This includes the SMC9462TX, D-Link DGE-500T, Asante GigaNIX 1000TA and 1000TPC, and a couple cards from Addtron. This chip supports TCP/IP checksum offload, VLAN tagging/insertion. 2048-bit multicast filter, jumbograms and has 8K TX and 32K RX FIFOs. I have not done serious performance testing with this driver. I know it works, and I want it under CVS control so I can keep tabs on it. Note that there's no serious mutex stuff in here yet either: I need to talk more with jhb to figure out the right way to do this. That said, I don't think there will be any problems. This driver should also work on the alpha. It's not turned on in GENERIC.
* | Add exact names for suggested screenmapsache2001-05-112-4/+4
| |
* | Sync KOI8-U with latest KOI8-R changes. Also restore correct numberingsobomax2001-05-102-10/+6
| | | | | | | | | | | | | | in the font selection dialog broken by the removal of KOI8-R. Prompted by: ache MFC after: 2 weeks
* | Add Romania to ftp mirrors.jkh2001-05-102-2/+6
| |
* | Add mousechar_start=3 for Russian fontache2001-05-102-2/+2
| | | | | | | | (-current only)
* | Move cons25w entry last, index is off by one otherwise if RunningAsInitache2001-05-102-4/+8
| |
* | Remove CP866 keyboard and KOI8-R font to not confuse users.ache2001-05-102-12/+6
| | | | | | | | Explain more about CP866 font usage.
* | Add support for Ukrainian console.sobomax2001-05-104-12/+38
| | | | | | | | | | Submitted by: Olexander Kunytsa <kunia@istc.kiev.ua> MFC after: 2 weeks
* | Add the ability to specify alternate PID file for syslogd.dwmalone2001-05-102-6/+14
| | | | | | | | | | | | PR: 25784 Submitted by: Jon Villarreal <jonv@ivmg.net> Reviewed by: iedowse
* | Patches from OpenBSD:kris2001-05-091-12/+33
| | | | | | | | | | | | | | | | | | | | - check the msg.tsp_type value prior to using it as an index into char *tsptype[] - use strlcpy's instead of strcpy's - & handle short packets properly. Submitted by: "Andrew R. Reiter" <arr@watson.org> Obtained from: OpenBSD
* | Fix what was clearly a 3am brain-o; Boolean should be signed, notjkh2001-05-092-2/+2
| | | | | | | | | | | | unsigned. C is kinda loose about this sort of thing but it's no excuse. Spotted by: kenny
* | Unbreak world, IN_SHLOCK/IN_EXLOCK haven't existed in a while andalfred2001-05-092-18/+0
| | | | | | | | Kirk finally has ditched them. While I'm here also ditch FSHLOCK.
* | rcsid style fix.obrien2001-05-091-6/+5
| |
* | A WIP snuck in the rev 1.34 commit.obrien2001-05-091-8/+3
| |
* | Use constants in <pccard/cis.h> for scannign the memory window with.dmlb2001-05-071-4/+4
| | | | | | | | Approved by: imp
* | Ensure that pccardd sets up memory windows correctly for drivers otherdmlb2001-05-071-8/+36
| | | | | | | | | | | | | | than if_ed. The code for if_ed to set the offset and memory width remains. Approved by: imp
* | Fix a minor printing bug that prints incorrect information for memorydmlb2001-05-071-1/+1
| | | | | | | | | | | | | | | | | | | | block sizes. This orginally worked in PAO-3 and worked on their r330 branch but got broken in PAO-3 around December 1998! Approved by: imp Obtained from: PAO-3
* | * fix ctm(8) to use mkstemp() instead of tempnam() for tempfilekris2001-05-065-7/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | creation. * Tag the internal err() function with __printflike to allow checking for non-constant format string arguments (none exist) * Use fmtcheck() to sanitize the tar command obtained via -t to make sure it doesn't contain extraneous format operators. Reviewed by: mikeh MFC after: 1 week
* | Make soft updates option print more nicely and stop overflow ofjkh2001-05-062-10/+16
| | | | | | | | | | right-hand margin when set in 2nd column. Also do a small amount of code cleanup.
* | Replace an instance of the "watch" word with the ".Nm" macro: it is used toolgeni2001-05-041-1/+3
| | | | | | | | specify the command name.
* | Off by one in counting the number of MIB entries.dmlb2001-05-031-1/+1
| |
* | make isdnd less verbose while calculating times: fix another message to behm2001-05-031-2/+2
| | | | | | | | logged at DL_VALID instead at DL_MSG.
* | Remove now obsolete check for root filesystems > cyl 1024. The bootjkh2001-05-032-28/+8
| | | | | | | | | | | | loader can handle such cases. Noted by: olgeni
* | * include/elf.h has been repo copied to include/elf-hints.h, and it noobrien2001-05-023-5/+8
| | | | | | | | | | | | | | | | longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers.
* | Add a missing free(3).yar2001-05-021-0/+1
| | | | | | | | | | | | PR: bin/27001 Submitted by: alex <ml-freebsd-net@phobgate.de>, Matthew Emmerton <matt@gsicomp.on.ca>
* | Handle situations where we've already got a P2P interface addressbrian2001-05-021-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of a/x -> b and then negotiate a/x -> c by simply expecting SIOCAIFADDR to do the change. This was broken by the last commit that optimised out the deletion and re-addition of the same a/x -> b combination, and forgot to compare the old/new destination addresses. Conveniently enough, this problem didn't effect setups where the default route goes via the ppp link, and most other setups don't care what the the destination address is actually set to. It broke test environments where ppp connects to the local machine rather badly though....
OpenPOWER on IntegriCloud