<p dir="ltr">I imagine that libproxy could be ported to Duktape similarly to what I did in my branch.</p>
<br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 8, 2015, 11:08 AM Shawn Walker-Salas <<a href="mailto:shawn.walker@oracle.com">shawn.walker@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 09/08/2015 10:37 AM, Simon McVittie wrote:<br>
...<br>
> I personally don't have a strong objection to JS as an embeddable<br>
> configuration language: general purpose systems often need it anyway, if<br>
> only for proxy autoconfiguration support (I'm not a fan of proxy<br>
> servers, particularly non-transparent ones, but large corporations seem<br>
> to be inexplicably keen on them). However, I'm not a maintainer of<br>
> polkit in Debian (the maintainers are Michael Biebl and Martin Pitt) so<br>
> my opinion counts rather less than theirs.<br>
<br>
One of the distributions I help maintain was debating whether to simply<br>
disable proxy configuration file support entirely or work on<br>
modularising if further as various administrators have complained about<br>
the fact that installing libproxy dragged in a pile of desktop<br>
dependencies (because we were linking to the libmozjs in the Firefox<br>
package rather than using the standalone libmozjs due to concerns others<br>
mentioned about stability, security, etc.).<br>
<br>
I wonder if the subset of javascript support that's really generally<br>
needed for proxy autoconfiguration is small enough that it could be<br>
transpiled and handled by a much smaller, safer interpreter such as lua,<br>
etc. I suspect the answer is "in most cases, but not all, so it would<br>
break things" :-(<br>
<br>
--<br>
-Shawn<br>
_______________________________________________<br>
polkit-devel mailing list<br>
<a href="mailto:polkit-devel@lists.freedesktop.org" target="_blank">polkit-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/polkit-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/polkit-devel</a><br>
</blockquote></div>