Opened 12 years ago

Closed 10 years ago

#37218 closed defect (fixed)

cyrus-sasl2: always links to kerberos5 even with -kerberos variant

Reported by: raimue (Rainer Müller) Owned by: jmpalacios (Juan Manuel Palacios)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: landonf (Landon Fuller), ryandesign (Ryan Carsten Schmidt)
Port: cyrus-sasl2

Description

The cyrus-sasl2 port has a +kerberos variant that is supposed to enable linking with kerberos5. However, it fails to prevent linking to kerberos5 when the kerberos5 port is active but the variant is not selected.

$ sudo port install cyrus-sasl2 -kerberos
...
$ port installed cyrus-sasl2 and active
The following ports are currently installed:
  cyrus-sasl2 @2.1.25_3 (active)
$ otool -L /opt/local/sbin/saslauthd
/opt/local/sbin/saslauthd:
	/opt/local/lib/libgssapi_krb5.2.2.dylib (compatibility version 2.0.0, current version 2.2.0)
	/opt/local/lib/libkrb5.3.3.dylib (compatibility version 3.0.0, current version 3.3.0)
	/opt/local/lib/libk5crypto.3.1.dylib (compatibility version 3.0.0, current version 3.1.0)
	/opt/local/lib/libcom_err.3.0.dylib (compatibility version 3.0.0, current version 3.0.0)
	/opt/local/lib/libkrb5support.1.1.dylib (compatibility version 1.0.0, current version 1.1.0)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libpam.2.dylib (compatibility version 3.0.0, current version 3.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
$ port provides /opt/local/lib/libkrb5.3.3.dylib
/opt/local/lib/libkrb5.3.3.dylib is provided by: kerberos5

This port probably needs configure.cflags --disable-gssapi as the default case which should then be replaced with the corresponding --enable-gssapi=... in the variant.

Change History (1)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.