From owner-freebsd-ports@FreeBSD.ORG Fri Mar 27 22:16:24 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE48D251 for ; Fri, 27 Mar 2015 22:16:24 +0000 (UTC) Received: from smtp01.online.nl (smtp01.online.nl [194.134.41.31]) by mx1.freebsd.org (Postfix) with ESMTP id 5C3F1EEF for ; Fri, 27 Mar 2015 22:16:24 +0000 (UTC) Received: from smtp01.online.nl (localhost [127.0.0.1]) by smtp01.online.nl (Postfix) with ESMTP id 9248B8E18F for ; Fri, 27 Mar 2015 23:08:07 +0100 (CET) Received: from micite.net (s529d340f.adsl.online.nl [82.157.52.15]) by smtp01.online.nl (Postfix) with ESMTP for ; Fri, 27 Mar 2015 23:08:07 +0100 (CET) Received: (qmail 95825 invoked by uid 98); 27 Mar 2015 22:04:46 -0000 Received: from 192.168.1.64 (roland@192.168.1.64) by lutetium.micite.net (envelope-from , uid 82) with qmail-scanner-2.01 (spamassassin: 3.3.2. Clear:RC:0(192.168.1.64):SA:0(1.4/5.0):. Processed in 2.686866 secs); 27 Mar 2015 22:04:46 -0000 X-Spam-Status: No, score=1.4 required=5.0 X-Spam-Level: + Received: from unknown (HELO ?192.168.1.92?) (roland@192.168.1.64) by server-lutetium.lan with SMTP; 27 Mar 2015 22:03:02 -0000 Message-ID: <5515D45E.2010803@micite.net> Date: Fri, 27 Mar 2015 23:06:22 +0100 From: Roland van Laar User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Dan Langille Subject: Re: FreeBSD Port: security/py-kerberos References: <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> In-Reply-To: <4FF6BD31-447E-4EE0-8A66-8385D686424D@langille.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Online-Scanned: by Cloudmark authority (on smtp01.online.nl) Cc: ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 22:16:25 -0000 On 27-03-15 23:02, Dan Langille wrote: >> On Mar 27, 2015, at 5:58 PM, Roland van Laar 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 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/ > > > > >