summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Improve wording for -f and -F.dd2006-08-141-12/+11
|
* Don't push a map on a master server which will fail anyway.ru2006-08-131-1/+11
| | | | | PR: bin/72881 Submitted by: thomas (slightly coloured by me)
* Undefine __DATE__ in order to avoid placing a build timestamp intocperciva2006-08-131-0/+3
| | | | | | | | /usr/sbin/{named, lwresd}. Note that POSIX / C99 doesn't technically allow __DATE__ to be (un|re)defined, but gcc does what we mean anyway. Approved by: dougb MFC after: 1 month
* Fix "pkg_version -Io" coredump, if some packages have no origin atkrion2006-08-121-1/+1
| | | | | | | | all. PR: bin/101932 Submitted by: novel, sat MFC after: 5 days
* Remove extraneous trailing \0 in string literal.thomas2006-08-111-2/+1
| | | | MFC after: 2 weeks
* (sm_mon_1_svc): Fix debugging output: when establising a monitoringthomas2006-08-111-2/+3
| | | | | | | | | request, correctly report the location (usually localhost) to which a callback will be made when a notification is received for the monitored host. Previsouly, the name of the monitored host was reported instead. MFC after: 2 weeks
* Cosmetic: fix indentation.des2006-08-111-2/+2
|
* Readd sade, the problem should be fixed.netchild2006-08-091-0/+1
|
* Remove the keymap stuff too, it is not needed in sade.netchild2006-08-094-152/+2
|
* Get rid of the rtermcap stuff (embedding termcaps into the program). Thisnetchild2006-08-095-119/+5
| | | | | | | is needed in sysinstall on boot, but not in sade on a fully working system. After this change I noticed no change in behavior on a vty when TERM is not set.
* Bump WARNS level to 3.delphij2006-08-091-0/+1
| | | | Tested with: make universe
* Unbreak sparc64 build.delphij2006-08-091-3/+3
| | | | Reported by: tinderbox
* Fix PC98 build.delphij2006-08-091-1/+1
| | | | Spotted by: make universe
* disconnect sade until someone fixes tinderbox buildssam2006-08-091-1/+0
|
* Partitions are only meaningful for i386 and amd64 architectures, so disabledelphij2006-08-085-45/+8
| | | | these code on other architectures.
* Make sade(8) WARNS=3 clean.delphij2006-08-0814-221/+55
|
* Typo (favour -> favor).delphij2006-08-081-1/+1
|
* Shutdown curses when exit. While I am there, remove a staledelphij2006-08-081-1/+4
| | | | comment which does not apply to sade(8).
* - Pass pointer to fd_set in ReadSockets.glebius2006-08-081-8/+9
| | | | | | - style(9) nits. Submitted by: ru
* Connect sade to the build.netchild2006-08-071-0/+1
|
* Say welcome to 'sade', the SysAdmins Disk Editor. It's the fdisk and ↵netchild2006-08-0723-6355/+131
| | | | | | | | | | | | disklabel part of sysinstall. So sysinstall may retire now, we have the important non-install part of it covered. ATM it doesn't understand GEOM stuff (like mirror, stripe, raid, ...), but patches to change this and to clean it up internally are more than welcome. Submitted by: mami@nyitolap.hu
* Forced commit to note repo copy from sysinstall.netchild2006-08-071-0/+1
| | | | Repo copy by: markm
* Add line edit and history support to ngctl(8) via editline(3).glebius2006-08-072-22/+168
| | | | | | | | | | | | | | | | | | Details: - The main thread runs editline(3) functions, that can block. - A separate thread is launched to monitor netgraph sockets. - The access to the descriptors is protected by a mutex. At runtime the monitoring thread owns the mutex. When the main thread reads a command from el_gets() it asks the monitoring thread to release a mutex and sleep until the main thread processes the command. This makes ngctl(8) depend on libedit, and libpthread. Thus, the new functionality isn't compiled in if release is being built with -DRELEASE_CRUNCH. PR: bin/87352 Reviewed by: ru, Nuno Antunes <nuno.antunes gmail.com>
* Update NetBSD and OpenBSD SCM tags to match the reality. Note thatdelphij2006-08-071-2/+2
| | | | | | NetBSD revisions 1.8 and 1.9 are not actually applied to our code base because we have solved the problem differently, therefore, these changes can be safely skipped.
* Merge all applicable NetBSD and OpenBSD improvements over this manpagedelphij2006-08-071-9/+11
| | | | | | | | | | till NetBSD mailwrapper.8,v 1.11 and OpenBSD mailwrapper.8,v 1.8: - Separate exit status out from diagnostics section. - Fix typos. Obtained from: NetBSD, OpenBSD MFC After: Along with mailwrapper(8) updates.
* Use safe strlcpy rather than unsafe strncpy. After marcel's last fix,imp2006-08-051-4/+2
| | | | | | there was still one overflow possible. strlcpy is faster anyway because it doesn't unexpectedly zero the entire length of the string when copying short strings....
* Build shared on PowerPC now that the bug has been found and fixed.marcel2006-08-041-4/+0
|
* Fix (static) buffer overflow bug. The dest buffer is of size MAXPATHLEN,marcel2006-08-041-1/+1
| | | | | | so dest[MAXPATHLEN] falls outside the buffer. This bug corrupted arenas[0] defined in libc's malloc.c on PowerPC when kldxref is shared, which triggered a delayed SIGSERV.
* Remove remnants of Alpha.marcel2006-08-024-475/+0
|
* Add device to access and modify Open Firmware NVRAM settings insobomax2006-08-014-0/+351
| | | | | | | | | PowerPC-based Apple's machines and small utility to do it from userland modelled after the similar utility in Darwin/OSX. Only tested on 1.25GHz G4 Mac Mini. MFC after: 1 month
* inetd and telnetd are not included in the standard releaseyar2006-07-311-0/+1
| | | | | | | crunched floppies, but they can be included as options in src/release/picobsd (omitted by default though.) Therefore preserve the RELEASE_CRUNCH knob in their Makefiles, but tell its real purpose in a comment.
* Use NO_SHARED=YES to force a static link.marcel2006-07-301-1/+1
| | | | Pointed out by: ru@
* Link kldxref(8) static on PowerPC to work around a SIGSEGV thatmarcel2006-07-291-0/+4
| | | | | | | cannot easily be analyzed due to there being no debugger yet. The SIGSEGV only happens when kldxref is linked shared. Since kldxref(8) is needed for a release build, having it not dump core is important.
* Change maketempfile() to return a FILE* so as to eliminate the fopen()marcel2006-07-291-6/+7
| | | | | | | | | | that immediately follows the only call to it. maketempfile() uses mkstemp(), so the temporary file has already been opened and using fopen() again just opens the file twice. This also fixes the invalid mode used on the fopen(). While here, assign NULL to fxref after fclose() because we test for fxref being !NULL to determine if we have the (temporary) hints file open.
* ip6addrctl belongs to under MK_INET6, it is of no use w/o IPv6yar2006-07-271-1/+2
| | | | in the system.
* These IPv6-only tools have no explicit dependency on the INET6 macro.yar2006-07-278-8/+7
| | | | Tested with: cmp(1)
* ndp, rrenumd, rtadvd, and rtsold are IPv6-only tools,yar2006-07-271-4/+8
| | | | they belong to under MK_INET6 with their friends.
* Obey MK_INET6_SUPPORT.yar2006-07-274-2/+24
|
* Fix build w/o INET6.yar2006-07-271-0/+4
|
* Add stge(4) to the list of supported network interface.yongari2006-07-251-0/+1
|
* Remove mention of the `W' flag, which has been turned to no-op by thesobomax2006-07-212-18/+1
| | | | | | | neworder change. Keep the option in a config file parser, to not violate POLA. MFC after: 2 weeks
* Convert macros to use C99's syntax for macros with a variable number ofstefanf2006-07-201-10/+10
| | | | arguments.
* Remove unused variables.stefanf2006-07-202-5/+3
|
* Don't use "implicit int". Move the opening { of the functions to the nextstefanf2006-07-201-2/+4
| | | | line while there.
* Remove an unused variable.stefanf2006-07-191-2/+1
|
* Don't use empty braces ("{}") to initialise arrays. This is a syntaxstefanf2006-07-176-6/+6
| | | | error in ISO C (both 90 and 99).
* Add FreeBSD version information to the menu title so it's possible tosimon2006-07-154-15/+40
| | | | | | | | | | see which release you are installing (really which FreeBSD version the installer is running, but that shouldn't matter in all normal cases). PR: bin/100309 Submitted by: Joao Barros <joao.barros@gmail.com> (original version) Idea from: FreeBSD ideas page MFC after: 1 week
* Reduce the memory requirements for the tables by (1) using malloced stringsharti2006-07-1411-282/+604
| | | | | | | | | instead of maximum sized arrays embedded in the table structures and (2) using pointers to constant oids instead of copying the oid into each table structure. This also fixes indexing in the case when a string used for indexing is longer than the maximum size allowed in the MIB. Submitted by: Victor Cruceru <soc-victor@>
* Extend i4b to support CAPI manager based ISDN controllers (CAPI manager is ↵twinterg2006-07-091-0/+14
| | | | | | | | | part of c4b, CAPI for BSD). This is a preparation to add CAPI for BSD to the source tree. Approved by: hm (mentor) MFC after: 2 weeks
* Remove build timestamps. There's no need to know exactly when these programscperciva2006-07-096-6/+6
| | | | | | were built, and this removal makes these binaries build the same every time. MFC after: 1 week
OpenPOWER on IntegriCloud