aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo that stopped ypset's -h option from working with aIan Dowse2004-02-091-1/+1
| | | | | | | | | | | | | hostname rather than an IP. The code was copying the pointer to the IP address instead of the IP address itself. The bug has existed ever since ypset was first imported in 1994. PR: bin/62550 Submitted by: aardvark@saintaardvarkthecarpeted.com MFC after: 1 week Notes: svn path=/head/; revision=125613
* The "bin" distribution was renamed to "base" in CURRENT.Jimmy Olgeni2004-02-072-2/+2
| | | | Notes: svn path=/head/; revision=125540
* Correct typo.Lukas Ertl2004-02-061-1/+1
| | | | Notes: svn path=/head/; revision=125532
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).Ruslan Ermilov2004-02-053-5/+5
| | | | Notes: svn path=/head/; revision=125503
* Fix typo, s/transmitts/transmits/Johan Karlsson2004-02-041-1/+1
| | | | | | | | PR: 62346 Submitted by: Gavin Atkinson (gavin at ury.york.ac.uk) Notes: svn path=/head/; revision=125456
* Removed unnecessary dependencies on librpcsvc.Ruslan Ermilov2004-02-042-4/+4
| | | | | | | Prodded by: des Notes: svn path=/head/; revision=125433
* Put libdevstat before libkvm, because the former depends on the latter.Ruslan Ermilov2004-02-041-2/+2
| | | | Notes: svn path=/head/; revision=125431
* Drop unused dependencies.Ruslan Ermilov2004-02-041-3/+0
| | | | Notes: svn path=/head/; revision=125430
* Move the checks for whether or not to build pppctl toDaniel Eischen2004-01-311-8/+15
| | | | | | | | | the architecture-dependent sections of the Makefile. Submitted by: ru Notes: svn path=/head/; revision=125279
* Use strtol to parse the <%d> tags in printline() and printsys().Ian Dowse2004-01-311-18/+18
| | | | | | | | | Sort local variables declarations in these functions. Submitted by: bde Notes: svn path=/head/; revision=125271
* Apply s/LIBC_R/LIBPTHREAD/ to the DPADD variable. The LDADD variableMarcel Moolenaar2004-01-311-1/+1
| | | | | | | already had s/libc_r/libpthread/ applied to it. Notes: svn path=/head/; revision=125270
* Add some logic so that pppctl isn't built if the correct threading libraryDaniel Eischen2004-01-311-1/+5
| | | | | | | | | is not present. Noticed by: ru Notes: svn path=/head/; revision=125267
* s/-lc_r/-lpthread/Daniel Eischen2004-01-301-1/+1
| | | | Notes: svn path=/head/; revision=125232
* In checkLabels(), deal with the fact that on ia64 we do not have aMarcel Moolenaar2004-01-302-0/+24
| | | | | | | disklabel. Notes: svn path=/head/; revision=125223
* Add NO_BLUETOOTH knob to the build processMaksim Yevmenkin2004-01-281-0/+2
| | | | | | | | Requested by: phk Reviewed by: imp (mentor), ru Notes: svn path=/head/; revision=125123
* Get rid of all (but one in write.c) static size buffers.Ruslan Ermilov2004-01-276-37/+56
| | | | Notes: svn path=/head/; revision=125115
* Some Windows .INF files are deliberately sabotaged to prevent them fromBill Paul2004-01-271-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | loading on a particular version of Windows. For example, a .INF file for a Windows 2000 driver may have an empty [foo.NT.5.1] section which will be ingored on Win2K (whose .INF parser won't look for sections decorated with .NT.5.1) in favor of a [foo] section. Likewise, a WinXP file will have an empty [foo] section which will be ignored in favor of [foo.NT.5.1]. The problem is, we can handle both Win2K and WinXP drivers, and we don't want to exclude either one. As a workaround, we try to pretend we are WinXP by default and search for sections decorated with .NT.5.1, but if we don't turn up any records, we assume that maybe we're being fooled by a sabotaged .INF file and make one more pass looking for undecorated sections instead. This allows us to parse the .INF files for both the Win2K and the WinXP Centrino wireless drivers. I'd give anything for 5 minutes alone in a room with whoever wrote Microsoft's .INF file parser. Just 5 minutes. That's all. Notes: svn path=/head/; revision=125073
* Make a message less scary (based on user feedback)Eivind Eklund2004-01-261-1/+1
| | | | Notes: svn path=/head/; revision=125027
* Make this WARNS=3 clean.Ruslan Ermilov2004-01-2613-19/+28
| | | | Notes: svn path=/head/; revision=125011
* Use malloc() instead of alloca() to allocate a (potentially) large bufferStephen McKay2004-01-261-1/+2
| | | | | | | | | | for storing the "diff -n" output. Some files (eg ports/INDEX,v) are too big nowadays to fit on the stack. Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu> Notes: svn path=/head/; revision=124994
* The log file is more useful when line buffered.Stephen McKay2004-01-261-0/+1
| | | | | | | Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu> Notes: svn path=/head/; revision=124993
* Be much more strict about parsing tagged log messages from /dev/klog;Ian Dowse2004-01-261-10/+20
| | | | | | | | | | | | | | | if the line doesn't match ^<%d>, then treat it as a regular kernel printf line. Previously if a kernel printf message started with "<" it would be interpreted as a log message, often with LOG_EMERG level. This was triggered by some printfs in sys/dev/aic7xxx/, and can also happen with the partial lines that result if syslogd cannot keep up with the rate of arrival of kernel messages. Reviewed by: dwmalone MFC after: 1 week Notes: svn path=/head/; revision=124992
* Cleanup CFLAGS in libsdp(3) MakefileMaksim Yevmenkin2004-01-252-1/+15
| | | | | | | | | Connect sdpd(8) to the build Reviewed by: ru, imp (mentor) Notes: svn path=/head/; revision=124986
* I don't normally use my middle name, so remove it from attributions inDag-Erling Smørgrav2004-01-253-4/+4
| | | | | | | | man pages (though not from copyright notices). While I'm here, add email addresses where appropriate. Notes: svn path=/head/; revision=124963
* Rename the makefile variable MIBS to BMIBS so that it does notHartmut Brandt2004-01-241-3/+3
| | | | | | | conflict with the environment variable MIBS that is used by net-snmp. Notes: svn path=/head/; revision=124927
* Rename the MIBS makefile variable to BMIBS so that it does not conflictHartmut Brandt2004-01-242-4/+4
| | | | | | | with the environment variable MIBS that is used by net-snmp. Notes: svn path=/head/; revision=124926
* Instead of bogusly complaining about odd file names, handle them properlyDag-Erling Smørgrav2004-01-241-11/+27
| | | | | | | | | by escaping all suspicious characters. MFC after: 3 days Notes: svn path=/head/; revision=124922
* Try to apply consistent indentation.Dag-Erling Smørgrav2004-01-241-20/+19
| | | | Notes: svn path=/head/; revision=124921
* Deal with keys with descriptions that have empty fields in some ofBill Paul2004-01-231-4/+12
| | | | | | | | | | | their lines. Properly discard PCMCIA device declarations. I plan to support PCMCIA cards, but they don't work yet, and it appears some .INF files declare both PCI and PCMCIA device instances. Notes: svn path=/head/; revision=124886
* Create the OID and tree files while building the modules and the daemonHartmut Brandt2004-01-238-187/+32
| | | | | | | | | | | instead of creating them by hand and storing them in the CVS tree. Add gensnmptree to the bootstrap tools (it is used to generated these files). This simplifies the update procedure. Submitted by: ru Notes: svn path=/head/; revision=124873
* Update generated files.Hartmut Brandt2004-01-233-3/+21
| | | | Notes: svn path=/head/; revision=124868
* Catch up with import of version 1.5a of bsnmp.Hartmut Brandt2004-01-231-1/+2
| | | | Notes: svn path=/head/; revision=124867
* Catch up with the import of version 1.5a of bsnmp.Hartmut Brandt2004-01-231-2/+4
| | | | | | | | Fix the script to insert $FreeBSD$ into the generated file instead of the script's FreeBSD id. Notes: svn path=/head/; revision=124866
* Style: remove an empty line.Hartmut Brandt2004-01-231-1/+0
| | | | Notes: svn path=/head/; revision=124865
* Userland signed char fixes for PPC build. Problems were using a charPeter Grehan2004-01-228-15/+14
| | | | | | | | | | | | return for getopt() and comparing to -1, ditto with fgetc() and EOF, and using the kg_nice value from <sys/user.h> Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Reviewed by: obrien, bde (a while back) Tested lightly on: ppc, i386, make universe Notes: svn path=/head/; revision=124830
* Use the length of the interface name, not the length of its address whenBrooks Davis2004-01-211-1/+1
| | | | | | | | | printing the name. Approved by: brian Notes: svn path=/head/; revision=124815
* Disable constant merging in isdnd and isdnmonitor. This is a "make myColin Percival2004-01-212-0/+8
| | | | | | | | | | | life easier" patch: I doubt this will affect anyone else, but the FreeBSD Update build code was getting very confused by this. Approved by: rwatson (mentor) PR: bin/61087 Notes: svn path=/head/; revision=124800
* This is Sparc64-only.Ruslan Ermilov2004-01-212-1/+2
| | | | Notes: svn path=/head/; revision=124788
* This is i386-only.Ruslan Ermilov2004-01-212-1/+2
| | | | Notes: svn path=/head/; revision=124787
* Mark APM manpages as i386-only.Ruslan Ermilov2004-01-214-2/+4
| | | | Notes: svn path=/head/; revision=124786
* Import sdpd(8) sources. This is Bluetooth Service Discovery Protocol daemon.Maksim Yevmenkin2004-01-2026-0/+4284
| | | | | | | | | | | Extend libsdp(3) API to allow service registration and removal. Fix uninitialized variable bug in sdpcontrol(8). Reviewed by: imp (mentor) No objection: ru Notes: svn path=/head/; revision=124758
* Also sort ignoring case -- makes finding things by browsing easier.Ruslan Ermilov2004-01-201-2/+2
| | | | Notes: svn path=/head/; revision=124745
* Clean up makefiles.Ruslan Ermilov2004-01-193-15/+11
| | | | | | | Reviewed by: harti Notes: svn path=/head/; revision=124726
* add missing setusershell() calls.Philippe Charnier2004-01-181-0/+1
| | | | | | | | PR: bin/2442 Reviewed by: Friedemann Becker <zxmxy33@mail.uni-tuebingen.de> Notes: svn path=/head/; revision=124687
* Put chkey(1), newkey(8), and keyserv(8) into the crypto distribution.Ruslan Ermilov2004-01-181-0/+1
| | | | Notes: svn path=/head/; revision=124664
* Do not install SYMLINKS if both NO_MAILWRAPPER andJohan Karlsson2004-01-171-0/+2
| | | | | | | | | | | | | NO_SENDMAIL is defined. PR: 57058 Reported by: Henri Hennebert <hlh@cocoon.cercle.be> Melvyn Sopacua on current@ Submitted by: ru@ MFC after: 2 weeks Notes: svn path=/head/; revision=124644
* - Properly build both crypto and non-crypto versions of theRuslan Ermilov2004-01-178-28/+10
| | | | | | | | | | package management tools. - Drop redundant dependency of pkg_create(1) and pkg_delete(1) on crypto libraries now that they do not link with libfetch. Notes: svn path=/head/; revision=124633
* Replaced black magic with white magic.Ruslan Ermilov2004-01-171-5/+2
| | | | Notes: svn path=/head/; revision=124632
* Fixed the fatal bug: CFLAGS should be added to, not overridden.Ruslan Ermilov2004-01-171-1/+1
| | | | | | | This prevented CPU and optimization flags to be added here. Notes: svn path=/head/; revision=124604
* - Build things in pure dictionary order (see sort(1)).Ruslan Ermilov2004-01-161-91/+144
| | | | | | | | | | | | | - Unify the conditional assignments section so that architectural exclusions come first, then options and !options, sorted by the option name, also in directory order, then architecture specific sections, sorted by the architecture name, with i386 being a traditional exception. Prodded by: bde Notes: svn path=/head/; revision=124587