[Bug 2985] New: Building openssh-portable on OpenBSD 6.4 with Kerberos

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Mar 22 22:15:14 AEDT 2019


https://bugzilla.mindrot.org/show_bug.cgi?id=2985

            Bug ID: 2985
           Summary: Building openssh-portable on OpenBSD 6.4 with Kerberos
           Product: Portable OpenSSH
           Version: 7.9p1
          Hardware: 68k
                OS: OpenBSD
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Build system
          Assignee: unassigned-bugs at mindrot.org
          Reporter: markus at blueflash.cc

Created attachment 3255
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3255&action=edit
changes needed to build openssh-7.9p1 with heimdel kerberos on openbsd
6.4

I tried to build openssh-portable on OpenBSD 6.4 with Kerberos support
(I tried this initially because I failed to get the BSD version of
openssh to work).

The OpenBSD 6.4 had heimdal kerberos support (self built from the ports
system)

I configured as
  ./configure --with-kerberos5=/usr/local/heimdal --prefx=


There are a few minor problems in the build system:

- ports offers the krb5_free_error_message call but configure does not
detect (or check for it).

- /usr/local/lib needs to be added to the LDFLAGS because it will
contain libcom_err.a

- openbsd-compat/port-aix.c fails to compile because of header files,
so the #ifdef _AIX needs to be moved further up (obviously the file
does not apply to an OpenBSD build).


I'm attaching a patch with the changes, but obviously these have to be
worked into the build-system itself.  But I'm lacking the expertise to
even understand what would be necessary.

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


More information about the openssh-bugs mailing list