Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2015 23:06:22 +0100
From:      Roland van Laar <roland@micite.net>
To:        Dan Langille <dan@langille.org>
Cc:        ports <freebsd-ports@freebsd.org>
Subject:   Re: FreeBSD Port: security/py-kerberos
Message-ID:  <5515D45E.2010803@micite.net>
In-Reply-To: <4FF6BD31-447E-4EE0-8A66-8385D686424D@langille.org>
References:  <AF0DE9E5-7B67-4846-9A7A-F6C076B8EAD5@langille.org> <5515CD55.3040203@micite.net> <7AC0D3B1-32EB-4732-BD7F-7258FD068992@langille.org> <5515D20D.4010802@micite.net> <5515D279.8090406@micite.net> <4FF6BD31-447E-4EE0-8A66-8385D686424D@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27-03-15 23:02, Dan Langille wrote:
>> On Mar 27, 2015, at 5:58 PM, Roland van Laar <roland@micite.net> wrote:
>>
>> On 27-03-15 22:56, Roland van Laar wrote:
>>> On 27-03-15 22:39, Dan Langille wrote:
>>>>> On Mar 27, 2015, at 5:36 PM, Roland van Laar <roland@micite.net> wrote:
>>>>>
>>>>> On 27-03-15 21:11, Dan Langille wrote:
>>>>>> Hello,
>>>>>>
>>>>>> Why does security/py-kerberos require security/krb5?
>>>>>>
>>>>>> I ask because we already have Kerberos in base.  Why do we need two installations of Kerberos?
>>>>>>
>>>>>> I'm confused.  :/
>>>>>>
>>>>>> I ask because I just added security/py-requests-kerberos to the tree.
>>>>> py-kerberos depends on gssapi/gssapi_generic.h.
>>>>> This file isn't included in the base kerberos, but it is in the security/krb5 port.
>>>> I see.
>>>>
>>>> So we need it only for compiling, not for running?
>>> ;-) I haven't tried running it without the krb5 package.
>> The resulting python module is: kerberos.so.
>> Which actually depends on libkrb5support.so from security/krb5
>> See:
>>
>> # ldd ./kerberos.so
>> ./kerberos.so:
>>     libpython2.7.so.1 => /usr/local/lib/libpython2.7.so.1 (0x801606000)
>>     libgssapi_krb5.so => /usr/local/lib/libgssapi_krb5.so (0x8019c1000)
>>     libkrb5.so => /usr/local/lib/libkrb5.so (0x801c08000)
>>     libk5crypto.so => /usr/local/lib/libk5crypto.so (0x801ee8000)
>>     libcom_err.so => /usr/local/lib/libcom_err.so (0x802117000)
>>     libc.so.7 => /lib/libc.so.7 (0x80081f000)
>>     libthr.so.3 => /lib/libthr.so.3 (0x80231a000)
>>     libintl.so.9 => /usr/local/lib/libintl.so.9 (0x80253f000)
>>     libutil.so.9 => /lib/libutil.so.9 (0x802748000)
>>     libm.so.5 => /lib/libm.so.5 (0x80295a000)
>>     libkrb5support.so => /usr/local/lib/libkrb5support.so (0x802b82000)
> That looks like what I found on my server after installing.
>
>>>> I want to avoid having two Kerberos installed on the server.  :)
> I wonder why it needs security/krb5 and can't use Kerberos from base.  It seems odd to me...

In what way is it odd?
The base kerberos is a different one than the MIT one.
py-kerberos is developed by Apple for their calendarserver software and 
I think they just
used the MIT implementation.


>
> —
> Dan Langille
> http://langille.org/
>
>
>
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5515D45E.2010803>