sjg
008d7c831f
Add META_MODE support.
...
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
sjg
75a137820d
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
sjg
65145fa4c8
Merge sync of head
2015-05-27 01:19:58 +00:00
glebius
b077e94c55
Plug mutex leak.
...
MFC after: 1 week
Sponsored by: Nginx, Inc.
2015-01-16 18:51:26 +00:00
bapt
a191ba5195
Convert usr.sbin to LIBADD
...
Reduce overlinking
2014-11-25 16:57:27 +00:00
sjg
d7cd1d425c
Merge head from 7/28
2014-08-19 06:50:54 +00:00
brooks
ea5a037d1f
Replace all uses of libncurses and libtermcap with their wide character
...
variants. This allows usable file system images (i.e. those with both a
shell and an editor) to be created with only one copy of the curses library.
Exp-run: antoine
PR: 189842
Discussed with: bapt
Sponsored by: DARPA, AFRL
2014-07-17 18:24:34 +00:00
bapt
c0cd28f928
use .Mt to mark up email addresses consistently (part2)
...
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
2014-06-20 09:57:27 +00:00
sjg
5860f0d106
Updated dependencies
2014-05-16 14:09:51 +00:00
sjg
1a7e48acf1
Updated dependencies
2014-05-10 05:16:28 +00:00
sjg
ed3fc70bf5
Merge from head
2014-05-08 23:54:15 +00:00
imp
2118f42afd
Use src.opts.mk in preference to bsd.own.mk except where we need stuff
...
from the latter.
2014-05-06 04:22:01 +00:00
sjg
6d37b86f2b
Updated dependencies
2013-03-11 17:21:52 +00:00
sjg
0ee5295509
Updated dependencies
2013-02-16 01:23:54 +00:00
marcel
9dd41e3647
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
charnier
2c12157d7b
Add __unused. Ansi prototypes.
2010-12-20 09:36:54 +00:00
des
b00c30b5ff
Add volatile to sig_atomic_t where it was missing.
...
MFC after: 1 week
2009-06-14 21:39:52 +00:00
mtm
688997369e
Modify the DoParseCommand() to work on (const char *) instead of just
...
(char *). This is a slightly simplified version of the patch in the PR. It
fixes compilitation issues with -O3.
PR: misc/124385
2008-06-28 12:31:30 +00:00
ru
0f0375e36a
Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longer
...
build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
2008-03-29 17:44:40 +00:00
obrien
a1598920aa
Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidental
...
treatment of 'LIBKSE' as an "old style" knob.
Submitted by: ru
Approved by: re(kensmith)
2007-10-09 23:31:11 +00:00
obrien
eb3f6a9e74
Repo copy libpthreads to libkse.
...
This introduces the WITHOUT_LIBKSE nob,
and changes WITHOUT_LIBPTHREADS to mean with neither threading libs.
Approved by: re(kensmith)
2007-10-09 13:42:34 +00:00
ru
0ea9576a4d
Always install libpthread.* symlinks if at least one of
...
the threading libraries is built. This simplifies the
logic in makefiles that need to check if the pthreads
support is present. It also fixes a bug where we would
build a threading library that we shouldn't have built:
for example, building with WITHOUT_LIBTHR and the default
value of DEFAULT_THREADING_LIB (libthr) would mistakenly
build the libthr library, but not install it.
Approved by: re (kensmith)
2007-10-01 18:22:32 +00:00
glebius
75fb40625d
The last change is not needed for HEAD.
...
Explained by: ru
2007-03-30 08:23:59 +00:00
glebius
7c280152d9
Do not build the libedit support if NO_LIBPTHREAD is defined.
...
PR: bin/104478
Submitted by: Mike Durian <durian shadetreesoftware.com>
2007-03-28 14:04:35 +00:00
kevlo
5a57d3e796
getopt(3) returns -1, not EOF.
2007-02-06 08:48:28 +00:00
ru
eeb150355b
Push the detection of threading libs support down to ngctl/Makefile
...
as the latter can be built without threading (with the loss of line
editing functionality).
Pointed by: glebius
2006-11-27 16:55:14 +00:00
ru
5227aad232
Fix "make checkdpadd".
2006-11-26 14:43:03 +00:00
kan
8c74632d44
Silence GCC4 signed/unsigned pointer mismatch warning.
2006-09-21 01:48:47 +00:00
glebius
03ea83713a
- Pass pointer to fd_set in ReadSockets.
...
- style(9) nits.
Submitted by: ru
2006-08-08 07:04:40 +00:00
glebius
b513ad862a
Add line edit and history support to ngctl(8) via editline(3).
...
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>
2006-08-07 14:17:05 +00:00
stefanf
ff68c8b4d3
Don't use empty braces ("{}") to initialise arrays. This is a syntax
...
error in ISO C (both 90 and 99).
2006-07-17 08:35:47 +00:00
glebius
0552c3f9ac
Style: space after "return".
2006-06-28 10:38:38 +00:00
glebius
ae95ee086e
Unnest includes before forthcoming editing.
2006-05-24 14:46:55 +00:00
ru
918851f101
- Reduce the number of netgraph messages when listing
...
nodes from (N + 1) to 1, where N is the number of
nodes in the system.
- Implement "ls -l" which runs the "show" command for
each node.
In collaboration with: glebius
2005-02-09 16:17:33 +00:00
maxim
ba4f5d9f13
Backout rev. 1.17 per ru@ request: there are net.graph.recvspace and
...
net.graph.maxdgram sysctls.
2005-02-04 20:09:11 +00:00
ru
6cc4b6c220
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
maxim
52c7e742ee
Increase a socket receive buffer size. This helps 'ngctl list'
...
to deal with a big number of nodes.
Submitted by: archie
Approved by: archie
Reported and tested: Konstantin Timashkov
MFC after: 1 month
2004-11-25 09:27:56 +00:00
ru
6294018a20
Mechanically kill hard sentence breaks.
2004-07-02 23:13:00 +00:00
ru
63673a77c6
Get rid of all (but one in write.c) static size buffers.
2004-01-27 21:52:52 +00:00
ru
0455fe1058
Make this WARNS=3 clean.
2004-01-26 10:27:18 +00:00
green
ab0602c74b
Add a GraphViz-exporting ngctl(8) "dot" command. You can now create
...
very useful .dot files of your netgraph(4) to quickly visualize the
nodes, hooks and edges. An example of this can be found here:
http://people.freebsd.org/~green/sample-netgraph-dot.ps
If anyone would like to refine the output further, please do so.
2004-01-09 03:19:40 +00:00
charnier
3d7bd9d590
Use fprintf() instead of errx() when displaying usage string. The program name
...
will not be written twice.
2004-01-04 16:11:29 +00:00
harti
173237aab3
Get rid of the old constants which did not include the trailing NUL
...
and use the new constants which do.
2003-11-12 13:04:44 +00:00
fenner
42f2975f17
Add missing "of".
2002-12-14 00:20:43 +00:00
des
4d6b787d2d
Usage style sweep: spell "usage" with a small 'u'.
...
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
archie
8a9a43ad04
Add ngctl "write" command.
...
MFC after: 1 week
2002-01-22 22:01:25 +00:00
ru
bde8ec1b70
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
obrien
9c97c8f02d
Perform a major cleanup of the usr.sbin Makefiles.
...
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
obrien
be022bb715
Remove GCC'isms in CFLAGS.
2001-07-20 04:23:13 +00:00
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00