From owner-freebsd-ports@FreeBSD.ORG Sun Dec 22 21:02:55 2013 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 59D713A4 for ; Sun, 22 Dec 2013 21:02:55 +0000 (UTC) Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 28A4A18B9 for ; Sun, 22 Dec 2013 21:02:55 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id to1so5257416ieb.18 for ; Sun, 22 Dec 2013 13:02:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ggLRwXs5JGUnjHk5CALg1ZAqJL0q1G2FXudY2ojga1M=; b=s4tvoCSKpDH8WerkbRp9VyR3EUqHohftRikr8ayLz314mdmLFABOHd9qCv1O/WYr4l pkK3r5thdAN6qyLRUTENIDapLtuHz645HLG87ECDw3MSBacmkS83MZSUTuhz5Hf1KbHt VLI/+ZmS+cNkZpwKs5cSd53T2GOnrjK2VM5Vth0LF5dpqdW33BzNccjy5Xt8XI8qCRnr Fl8fhjiDRCdSq7BhQFjRp/aOfBDNTNjnX9KLz+xdxIWIawjuNe+em+gHEgFRwer+9+/Q 3+DfdXC2ALK0w9pvXKdv2J5fNABgrGy2fVSwJ04srAmvEBLwG8y3omZ+xX9pjE+YtqzV lW6Q== MIME-Version: 1.0 X-Received: by 10.50.6.99 with SMTP id z3mr17894049igz.27.1387746174492; Sun, 22 Dec 2013 13:02:54 -0800 (PST) Received: by 10.50.127.232 with HTTP; Sun, 22 Dec 2013 13:02:54 -0800 (PST) In-Reply-To: <52B71FD6.5010401@scrubbed.adjectivism.org> References: <52B6352E.4050804@scrubbed.adjectivism.org> <52B71FD6.5010401@scrubbed.adjectivism.org> Date: Sun, 22 Dec 2013 15:02:54 -0600 Message-ID: Subject: Re: Resolving circular dependencies From: Scot Hetzel To: Erick Turnquist Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Dec 2013 21:02:55 -0000 On Sun, Dec 22, 2013 at 11:22 AM, Erick Turnquist wrote: > On 2013-12-22 09:51, Scot Hetzel wrote: >> >> The best way to solve this would be to create 3 ports that would >> create the appropriate gssapi mech: >> >> security/cyrus-sasl2-mech-gssapi-base <- Kerberos Support from >> /usr/lib/libkrb5.a >> security/cyrus-sasl2-mech-gssapi-krb5 (slave port) >> security/cyrus-sasl2-mech-gssapi-hemidal (slave port) > > > What would the exact dependencies be in this case? I feel like I've missed > something important, because both openldap24-sasl-client and cyrus-sasl2 > still actually depend on the MIT Kerberos libraries, would we not end up > with a circle of four packages instead of three? > > Before: > openldap24-sasl-client -> cyrus-sasl2 -> krb5 -> openldap24-sasl-client > > After: > openldap24-sasl-client -> cyrus-sasl2 -> cyrus-sasl2-mech-gssapi-krb5 -> > krb5 -> openldap24-sasl-client The dependencies should be: krb5 -> openldap24-sasl-client -> cyrus-sasl2 cyrus-sasl2-mech-gssapi-krb5 -> krb5 The cyrus-sasl2-mech-gssapi-krb5 should be the only one depending on the MIT Kerberos Libraries. -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.