fix for security/openvpn-auth-ldap (PR: ports/175692)

Nick Barkas nick.barkas at
Thu Jan 2 08:27:29 UTC 2014

> On Jan 2, 2014, at 1:15, Matthias Andree <matthias.andree at> wrote:
> Am 01.01.2014 23:58, schrieb Nick Barkas:
>> security/openvpn-auth-ldap has failed to build for some time due to a
>> minor change in the layout of the openvpn sources. I prepared a fix
>> for this but haven’t yet found someone to commit it for me, and also
>> made it so the port can build on 9.x and later, along with a couple
>> of other small fixes. I’d be grateful if a committer can commit the
>> attached patch.
> Nick,
> a happy new year.  I have committed the patch with these changes - I
> hope you do not mind them:
> - strip the .so file in post-install
> - convert to staging
> - also convert NOPORTEXAMPLES to optionsNG
> Please consider if you really need gcc, or if clang might work, too, and
> if so, send a followup patch to support clang.

Thanks! gcc is needed, mostly for its included objective C runtime. I tried for awhile to get openvpn-auth-ldap to compile with clang and link with lang/libobjc2, but was unsuccessful. 

> Best regards,
> Matthias

More information about the freebsd-ports mailing list