Hi,
Sorry for the late response. I did something similar and then I added it as a shellcmd. This is the specific shellcmd I use right now.
The SHA512-sum is updated whenever the source is updated. If it differs it means one of two things :
I have already modified the file.
A new version of this file was released.
I will notice 2 by my VPN not working, and then just update the SHA512-sum.
Here it is in case someone wants to use it:
(/sbin/sha512 -c bbf2919171bf06301f4cbbefa11b61e7aff7538a70d95d081e96c66ebc032a4ba40f7c804eef5b6cf47bcc0346de422e40db0b9e6c11ded14f41196c7c02eeb1 /usr/local/sbin/ovpn_auth_verify >/dev/null; if [ $? -eq 0 ]; then /usr/bin/sed -i "" 's,sbin/fcgicli -f,bin/php-cgi -q,g' /usr/local/sbin/ovpn_auth_verify ; fi)
Just add it as a shellcmd.
It simply compares the SHA512-sum with a static one, and if it's the same (i.e. original known/unmodified), replaces the use of fcgicli with php-cgi in the file.
Works as it should for me.
Note: This isn't a real "fix", it's a workaround until the bug gets fixed, regardless of if that means a fixed fcgicli binary, using php-cgi or something else.
And yes, I know about that bug report. I'm following any changes in it.
// Stefan