Skip to content

Commit

Permalink
py-gssapi: Mention GSSAPI source in longdesc
Browse files Browse the repository at this point in the history
This change updates the port's long_description to specify which GSSAPI
implementation it is using.

py-gssapi needs a GSSAPI/Kerberos library to build against.  On Mac OS X
10.8 and earlier, py-gssapi uses the `kerberos5` port.  On Mac OS X 10.9
and later, py-gssapi uses the OS-provided GSS Framework.

The specific GSSAPI implementation is useful to know, because a Kerberos
credential that is kinit-ed from MIT Kerberos might not be visible to a
program that is using macOS' GSS Framework.
  • Loading branch information
akkornel committed Feb 12, 2025
1 parent d9aa6d6 commit 315ecb7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/py-gssapi/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ if {${name} ne ${subport}} {
# Uses GSS.framework on macOS >= 10.9
if {${os.platform} eq "darwin" && ${os.major} < 13} {
depends_lib-append port:kerberos5
long_description-append Uses GSSAPI/Kerberos from MacPorts' \
kerberos5 package.
} else {
long_description-append Uses macOS' built-in GSSAPI/Kerberos.
}

livecheck.type none
Expand Down

0 comments on commit 315ecb7

Please sign in to comment.