Re: [Openvpn-devel] PATCH: remove bashisms from easy-rsa

2010-06-06 Thread Peter Stuge
Matthias Andree wrote: > I'm not sure currently if Solaris /bin/sh likes $(...) notation or > insists on `...` `` is the only portable way. //Peter pgpbnpSJnBkbG.pgp Description: PGP signature

Re: [Openvpn-devel] PATCH: remove bashisms from easy-rsa

2010-06-06 Thread Matthias Andree
On Sun, 06 Jun 2010, Davide Brini wrote: > Some systems don't install bash or a POSIX sh in /bin, so it may also be > necessary to create symlinks on those systems. I think it's the easiest > tradeoff, and should be done anyway, because on such systems many other > #!/bin/sh or #!/bin/bash scri

[Openvpn-devel] [PATCH] Enabling Accounting/Stats for plugins

2010-06-06 Thread chantra
Hi, I have made a patch that would allow plugins to handle accounting information for each connecting clients without reading the status file. Please see https://community.openvpn.net/openvpn/ticket/15 But for the obvious benefit that one can check regurlarly how much bandwidth is used by a user

Re: [Openvpn-devel] PATCH: remove bashisms from easy-rsa

2010-06-06 Thread Toby Thain
On 6-Jun-10, at 9:58 AM, Davide Brini wrote: On Sunday 06 June 2010, Toby Thain wrote: Most of the common GNU utilities (including gcc) are in the standard Solaris install, either via /usr/sfw/ or by using g prefix (e.g. gawk, gmake). Possibly, but it still means that either scripts using

Re: [Openvpn-devel] PATCH v2: remove bashisms from easy-rsa

2010-06-06 Thread Matthias Andree
Am 05.06.2010, 22:23 Uhr, schrieb David Sommerseth: On 05/06/10 00:49, Matthias Andree wrote: Note that some parts of the scripts may be Solaris /bin/sh unfriendly, for instance, Solaris's sh doesn't support test -e or [ -e. My patch does not address this. This makes me very reluctant from ac

Re: [Openvpn-devel] PATCH: remove bashisms from easy-rsa

2010-06-06 Thread Davide Brini
On Sunday 06 June 2010, Toby Thain wrote: > >> Most of the common GNU utilities (including gcc) are in the standard > >> Solaris install, either via /usr/sfw/ or by using g prefix (e.g. > >> gawk, > >> gmake). > > > > Possibly, but it still means that either scripts using standard > > names and ex