FreeBSD Port: security/py-kerberos

Roland van Laar roland at micite.net
Fri Mar 27 22:16:25 UTC 2015


On 27-03-15 23:02, Dan Langille wrote:
>> On Mar 27, 2015, at 5:58 PM, Roland van Laar <roland at 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 at 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/
>
>
>
>
>



More information about the freebsd-ports mailing list