On 05/28/2013 03:07 PM, Michał Górny wrote:
On Tue, 28 May 2013 14:57:03 -0400
"Anthony G. Basile" <[email protected]> wrote:
On 05/28/2013 11:35 AM, Michał Górny wrote:
On Mon, 27 May 2013 16:38:09 -0400
"Anthony G. Basile" <[email protected]> wrote:
I was about to add a use expand flag for monkeyd (a tiny web server) and
there is a notice in base/make.default to discuss use expand flags on
the list first. There are about 9 plugins for monkeyd similar to apache
which can be turned on/off by a configure switch. It makes sense to
follow the same logic as apache here. There are no dependencies on
monkeyd and so no use-deps. Seems very safe. Any objections?
Could you elaborate a bit more on the flags? Please list them, shortly
explain and tell us whether you expect the number of plugins to expand
and how fast.
Sorry I already committed this with Chainsaw's ack. Anyhow, they are:
auth - Provide HTTP Basic Authentication
cheetah - Provide a shell-like command line interface
#cgi - Provide the traditional CGI interface
dirlisting - Show an HTML listing of the content of a directory
#fastcgi - Provide FastCGI proxy support
liana - Build your own network layer through monkeyd
logger - Log requests and common errors
mandril - Restrict incoming connections based on the IP address or URI
request
polarssl - Provide HTTPS using PolarSSL v1.*.
Shouldn't this one be tied to USE=ssl?
For the others, how large is the benefit of having them switchable?
At least some of them look like something that wouldn't hurt people if
it was always-built.
I thought about ssl but I'm still not sure if USE=ssl means just openssl
or any ssl. Eg, with curl, which has a choice of one of six backend ssl
providers, I changed USE=ssl to mean that one and only one of the six
must be on. Previously though, USE=ssl in curl meant only openssl which
was confusing because you could also have USE=nss or gnutls etc provide
your ssl. monkey also bounced around its ssl backend from liana_ssl to
polarssl which is what made me think of curl. What if in the future
there's yet another ssl backend? Although use.desc does say ... "ssl -
Adds support for Secure Socket Layer connections". Any advice here?
monkeyd is intended for embedded systems which is why it has switchable
plugins. You can even choose whether or not to install the shared lib
and include files to really slim it down.
--
Anthony G. Basile, Ph.D.
Gentoo Linux Developer [Hardened]
E-Mail : [email protected]
GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
GnuPG ID : F52D4BBA