[Bug 226044] www/nginx: Fix HTTP_AUTH_KRB5

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 19 14:17:49 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226044

            Bug ID: 226044
           Summary: www/nginx: Fix HTTP_AUTH_KRB5
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum at FreeBSD.org
          Reporter: chris at chrullrich.net
          Assignee: joneum at FreeBSD.org
             Flags: maintainer-feedback?(joneum at FreeBSD.org)

Created attachment 190798
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190798&action=edit
Patch

www/nginx's HTTP_AUTH_KRB5 option is not fully implemented. This patch makes it
build on 11-STABLE and CURRENT, with security/krb5 and security/heimdal, tested
by poudriere.

- Enable the Kerberos selection options, which have been commented out ever
  since they were first committed

- Move these options out of the HTTP_AUTH_KRB5 conditional
  - make config now saves the selected option, if any
  - the build dependency on the selected Kerberos does now exist in poudriere

- Update the patch for the spnego-http-auth-nginx-module config file to use
  the current GitHub commit from the Makefile

- Fix the same patch to not assume that -lgssapi is always there

- Force the nginx build system to admit the existence of CPPFLAGS, necessary
  to build with Heimdal

I'm not entirely convinced the last item (files/patch-auto-make) should be done
this way; another option is to s/CFLAGS/CPPFLAGS &/ the whole file.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list