[MacPorts] #23422: openssh uses kerberos5 if it is installed but doesn't declare a dependency

MacPorts noreply at macports.org
Thu Feb 16 20:22:13 PST 2012


#23422: openssh uses kerberos5 if it is installed but doesn't declare a dependency
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  jwa@…           
     Type:  defect                   |      Status:  new             
 Priority:  Normal                   |   Milestone:                  
Component:  ports                    |     Version:  1.8.2           
 Keywords:                           |        Port:  openssh         
-------------------------------------+--------------------------------------

Comment(by macintosh@…):

 OK - I had decided to mess around with the openssh portfile due to one on
 my customisation projects and found this :
 {{{
 depends_run     port:xauth                                     <-----
 xauth dependency but not kerberoth5

 # Specified -fno-builtin because GCC 3.3 has log() as a builtin
 # (from math.h) while OpenSSH has its own log() function
 # -- from fink.
 configure.cppflags-append "-fno-builtin"
 configure.args --with-ssl-dir=${prefix} --sysconfdir=${prefix}/etc/ssh \
     --with-privsep-path=${prefix}/var/empty --with-md5-passwords \
     --with-pid-dir=${prefix}/var/run --with-tcp-wrappers \
     --with-pam --disable-suid-ssh --with-random=/dev/urandom \
     --mandir=${prefix}/share/man --with-zlib=${prefix} \
     --with-kerberos5=/usr --with-xauth=${prefix}/bin/xauth \   <------
 UPPPS
     --with-libedit
 }}}
 So, openssh '''is''' dependent on kerberos5 - it just tries to get it from
 the one Apple has supplied.[[BR]]
 It seems like we are mixing and matching here :[[BR]]
 1. xauth is from macports[[BR]]
 2. kerberos5 is from Apple[[BR]]
 I do think that's against policy ??? ;)

 However, I made some changes to the openssh portfile, and it now compiles
 correctly.

-- 
Ticket URL: <https://trac.macports.org/ticket/23422#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list