openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.94k stars 3.45k forks source link

ocserv fails to build due to missing headers #1198

Closed blogic closed 9 years ago

blogic commented 9 years ago

build aborts with

sec-mod-auth.c:56:28: fatal error: gssapi/gssapi.h: No such file or directory

include <gssapi/gssapi.h>

                        ^

compilation terminated.

sbyx commented 9 years ago

Cannot reproduce this with current version. https://github.com/openwrt/packages/commit/899724bd35ea190c81710e06d22dc30b7981416b should have fixed this.

blogic commented 9 years ago

happens when building the feed inside the SDK using 1b3fcf7af32.

ocserv won't be in RC1 if the bug is not reproduced/fixed.

sbyx commented 9 years ago

hmm probably weird sdk-related failure since libgssapi is not in any active package feed. nevertheless i pushed: fa4365dd9b50a5bc032498d6f281daeefe02e49e so we can build RC1

@nmav hope that's okay with you

nmav commented 9 years ago

Indeed, I wouldn't expect that to happen. The solution looks fine to me (the library which provides gssapi should be called libkrb5 or so). Thanks.

nmav commented 9 years ago

Ok, it seems there is krb5 package, but I really doubt one would use Kerberos authentication for the VPN in an openwrt router. Let's leave it disabled by default unless someone asks for it.