summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ngctl/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longerru2008-03-291-1/+1
| | | | build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
* Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidentalobrien2007-10-091-1/+1
| | | | | | | treatment of 'LIBKSE' as an "old style" knob. Submitted by: ru Approved by: re(kensmith)
* Repo copy libpthreads to libkse.obrien2007-10-091-1/+1
| | | | | | This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith)
* Always install libpthread.* symlinks if at least one ofru2007-10-011-2/+1
| | | | | | | | | | | | 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)
* The last change is not needed for HEAD.glebius2007-03-301-1/+1
| | | | Explained by: ru
* Do not build the libedit support if NO_LIBPTHREAD is defined.glebius2007-03-281-1/+1
| | | | | PR: bin/104478 Submitted by: Mike Durian <durian shadetreesoftware.com>
* Push the detection of threading libs support down to ngctl/Makefileru2006-11-271-0/+7
| | | | | | | as the latter can be built without threading (with the loss of line editing functionality). Pointed by: glebius
* Fix "make checkdpadd".ru2006-11-261-1/+1
|
* Add line edit and history support to ngctl(8) via editline(3).glebius2006-08-071-0/+11
| | | | | | | | | | | | | | | | | | 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>
* Make this WARNS=3 clean.ru2004-01-261-1/+1
|
* Add a GraphViz-exporting ngctl(8) "dot" command. You can now creategreen2004-01-091-1/+1
| | | | | | | 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.
* Add ngctl "write" command.archie2002-01-221-1/+1
| | | | MFC after: 1 week
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-6/+7
| | | | | 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.
* Remove GCC'isms in CFLAGS.obrien2001-07-201-1/+0
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* Backout my previous commit, it appearantly doesn't work for asynchronousphk2001-03-171-1/+1
| | | | messages.
* Add -ledit to ngctl.phk2001-03-161-1/+1
| | | | | | | Somebody submitted this long time ago, and it has been sitting in my tree for months because I thought archie would pick it up. Submitted by: (sorry, lost track)
* Experiemntal ascii based device configuration mechanism.phk2000-07-031-1/+1
| | | | This may or may not survive, decision will be made well before 5.0-R
* Add two new generic control messages, NGM_ASCII2BINARY andarchie1999-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | NGM_BINARY2ASCII, which convert control messages to ASCII and back. This allows control messages to be sent and received in ASCII form using ngctl(8), which makes ngctl a lot more useful. This also allows all the type-specific debugging code in libnetgraph to go away -- instead, we just ask the node itself to do the ASCII translation for us. Currently, all generic control messages are supported, as well as messages associated with the following node types: async, cisco, ksocket, and ppp. See /usr/share/examples/netgraph/ngctl for an example of using this. Also give ngctl(8) the ability to print out incoming data and control messages at any time. Eventually nghook(8) may be subsumed. Several other misc. bug fixes. Reviewed by: julian
* Limit COPTS added by Makefile to just '-Wall'.archie1999-10-281-4/+2
|
* Remove extraneous -I compile flag that was used during testing.archie1999-10-271-1/+0
|
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-211-0/+15
Been in production for 3 years now. Gives Instant Frame relay to if_sr and if_ar drivers, and PPPOE support soon. See: ftp://ftp.whistle.com/pub/archie/netgraph/index.html for on-line manual pages. Reviewed by: Doug Rabson (dfr@freebsd.org) Obtained from: Whistle CVS tree
OpenPOWER on IntegriCloud