Commit Graph

9202 Commits

Author SHA1 Message Date
mbalmer b98fada729 No need to set BINDIR here, since ../Makefile.inc has it.
Noticed by hannken@eis.cs.tu-bs.de, thx.
2009-07-06 12:47:38 +00:00
cegger 49fc067aae make functions static 2009-07-04 20:34:23 +00:00
ahoka 39c5e1f59f Get rid of the DOS line endings in the file.
No change of the code intended.
2009-07-04 14:31:38 +00:00
cegger c9c9fcbb99 remove unused global variable. 2009-07-04 13:54:14 +00:00
cegger efe8489506 use EXIT_FAILURE in places I missed in previous. 2009-07-04 13:50:08 +00:00
cegger 6face9fc9c - use EXIT_FAILURE, EXIT_SUCCESS
- main() needs no prototype
- ansify usage()
No functional changes.
2009-07-04 09:12:46 +00:00
wiz 674e49816b New sentence, new line. Remove unnecessary Bk/Ek pairs. 2009-07-02 18:32:04 +00:00
dyoung 53e43e1e70 Deprecate wiconfig's -r, -g, -m options. Note that equivalent
options are available in ifconfig(8).
2009-07-02 17:45:25 +00:00
mbalmer cf8e7832f4 Fix write loop. 2009-07-01 07:49:12 +00:00
mbalmer 649bcbf015 - No need to include paths.h twice (christos, you oversaw that paths.h
was already included)
- use "usage", not "Usage", like other tools
2009-06-26 21:55:28 +00:00
christos 1ede09dfc2 - include <paths.h> for _PATH_BPF explicitly.
- make sure that everything sets errno appropriately so we can use warn/err
- only open and setup bpf once since if this does not work we fail and don't
  do extra work.
- use getprogname
- static local functions and no parameters.

I think this utility should be renamed wakeonlan because wake is too generic.
2009-06-26 17:38:32 +00:00
wiz 8615942dc8 Fix Dd argument, remove superfluous quotes, add author name. 2009-06-26 09:25:39 +00:00
mbalmer 0161c10332 /dev/bpf is cloneable, no need to dance around /dev/bpfN to find an
available device.
2009-06-26 09:00:49 +00:00
agc 664fc89d11 iscsi distribution has moved to src/external/bsd/iscsi 2009-06-25 23:42:21 +00:00
mbalmer c57bd217eb Switch from bcopy to memcpy. Requested by and ok christos. 2009-06-25 22:26:54 +00:00
mbalmer bcbaac7ec1 Add a blank line after the cvs marker and add a descriptive one line comment.
requested by matt green.
2009-06-25 18:50:46 +00:00
mbalmer 35f74629dc wake(8) is a command to send Wake-on-LAN packets to machines on the local
ethernet, allowing machines to be powered up without physical access to them.

tonnerre@ and tron@ reviewed it and decided that the bin directories
are not to full for this small and useful command.
2009-06-25 18:41:21 +00:00
agc 474f9d04b2 Switch over to building iscsi library, target and initiator from the
external framework.
2009-06-25 13:58:59 +00:00
tron 7d5e451c60 Switch to building Postfix 2.6.2 via "external/ibm-public/postfix". 2009-06-23 17:58:22 +00:00
agc b27d6094e3 Fix from Jukka Salmi - get BINDIR from further up the tree 2009-06-20 17:58:21 +00:00
christos 3fe391d776 fix for non NetBSD systems 2009-06-20 17:03:25 +00:00
christos c08a8944a8 fix typo 2009-06-20 16:19:46 +00:00
christos adee5457b1 don't complain if file does not exist either. 2009-06-20 14:25:47 +00:00
agc 0e74d43b5e Enable the iSCSI initiator 2009-06-20 04:18:39 +00:00
agc dc40c47744 Add a library implementation of modload(3) and modstat(3).
Conditionally compiled in when MODULAR_KERNEL is defined in the Makefile
(or during the build process).

Use kmod functions to see if the puffs module is loaded in the kernel,
and to load it if it is not already loaded.
2009-06-20 04:12:55 +00:00
dyoung 4ec9bd2b05 Use the definition in <sys/param.h> instead of redefining MAX().
(Used to work because the redefinition was identical to the original
definition, but no longer.)

While I'm here, define sizeofA() in terms of __arraycount() from
<sys/cdefs.h>.
2009-06-19 23:36:41 +00:00
wiz 2be246d2b7 Add RCS Id.
Sort options.
End sentences with dots.
Use standard section headers.
Fix Xref.
Make HTML-ready.
2009-06-19 19:31:18 +00:00
christos 33681fbe60 Fix for unprivileged build. 2009-06-19 16:46:52 +00:00
agc 8d1ae2fc62 Bump up to WARNS=4 2009-06-19 16:13:49 +00:00
christos e946d9550c pass lint 2009-06-19 15:23:26 +00:00
agc 1a46bf4662 Move the iSCSI initiator from the examples section under src/share to
usr.sbin. At the same time, rename the utility to iscsi-initiator(8).
2009-06-19 07:17:09 +00:00
wiz e6a36c516d Sort sections. New sentence, new line. Punctuation fixes. 2009-06-19 05:50:39 +00:00
christos 2739d569fd allow overwriting the version record. 2009-06-18 22:13:56 +00:00
christos 9dbe62df2a remove duplicated code by merging the insecure and secure database handling.
add warning flag.
2009-06-18 21:59:24 +00:00
christos ed742f5718 support reading and writing both version 0 and version 1 databases using
-V <version>. By default the databases stay in their current version when
rebuilding/updating.
2009-06-18 17:46:24 +00:00
kardel 4a186c8fa5 resolve import ntp-4-2-4p7 2009-06-13 12:02:07 +00:00
pooka 540fcdb7ef +pseudo-device putter 2009-06-09 14:27:17 +00:00
christos 432691963c Avoid -mcmodel=kernel so that we can build in PIC mode. 2009-06-04 12:19:35 +00:00
njoly 4c9ac951c7 Fix a crash while trying to read nodes on amd64, reported in PR/41494,
by not doing any transfert when offset exceed the actual data length.

From and ok by pooka@.
2009-05-28 10:07:06 +00:00
christos 39ac8a1e03 - prevent recursive error calls fatal -> die -> cleanup -> sys_cleanup -> cf* ->
fatal/error etc.
- prefix all the errors with __func__.
This allows me to unplug my 3G modem and have pppd exit correctly.
2009-05-24 20:31:25 +00:00
christos 6a9b5acd29 print the proper client address (ryo shimizu) 2009-05-23 03:24:51 +00:00
pgoyette 8a01920225 Make the makedev step fail if either MAKEDEV or MAKEDEV.local need to
be updated.  Patch from njoly@
2009-05-22 15:23:17 +00:00
pooka d6c25c2b9b wait() for dead ssh processes (but don't block, so we might have
one teeny zmobie in the system).
2009-05-20 15:04:36 +00:00
pooka b5cb6a6ca0 Fix SNAFU in previous: connection handshake is already handled by
the connect routine now, so we're not required/allowed to do it twice.
Makes reconnect on dead link work again.
2009-05-20 14:39:42 +00:00
pooka dac06153a9 Copyright year management. no functional change (unless sarah disagrees) 2009-05-20 14:08:21 +00:00
pooka 8ff915319e Introduce -c [12], which can be used to open 1 or 2 ssh connections
to the server.  If "2" is specified, a separate connection is used
for data and directory operations.  Using two connections can
significantly increase directory operation performance on a saturated
link, at least up to 30x faster.
2009-05-20 13:56:36 +00:00
he bf6708350b Spread some 'const' to deal without warnings with string constants. 2009-05-20 08:16:52 +00:00
wiz 49d8d543b2 Update references to firmware handling (mostly by removing outdated stuff
and pointing to iwi(4)). Bump date.

Addresses PR 41444 by Taylor R. Campbell.
2009-05-18 12:55:28 +00:00
wiz afc1ce3f86 Sort SEE ALSO. 2009-05-18 12:03:56 +00:00
wiz b649b20e90 New sentence, new line.
Adapt wording from FreeBSD to apply to pkgsrc. Bump date.
2009-05-18 11:57:30 +00:00