From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 29 11:50:04 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B2C110656AD for ; Sun, 29 Aug 2010 11:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 506678FC14 for ; Sun, 29 Aug 2010 11:50:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7TBo41t043226 for ; Sun, 29 Aug 2010 11:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7TBo4CE043225; Sun, 29 Aug 2010 11:50:04 GMT (envelope-from gnats) Date: Sun, 29 Aug 2010 11:50:04 GMT Message-Id: <201008291150.o7TBo4CE043225@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Fabian Keil Cc: Subject: Re: ports/150078: security/tor: Recursive dependencies on ports tor and vidalia and weird vidalia default dependencies X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fabian Keil List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 11:50:04 -0000 The following reply was made to PR ports/150078; it has been noted by GNATS. From: Fabian Keil To: bf1783@gmail.com Cc: bug-followup@FreeBSD.org, miwi@FreeBSD.org, Jens Subject: Re: ports/150078: security/tor: Recursive dependencies on ports tor and vidalia and weird vidalia default dependencies Date: Sun, 29 Aug 2010 13:33:00 +0200 --Sig_/2tcN6e3Herr1SLlg=us.blr Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable "b. f." wrote: > The solution is to remove the VIDALIA option, and hence any > dependencies on net-mgmt/vidalia, from security/tor and > security/tor-devel, because this option introduces circular > dependencies, and was only there for convenience: there is no actual > dependency. I agree that the Tor ports should drop the dependency. This has already been discussed in 2007 when lx@ first reported the problem. IIRC, at that time the Tor maintainer agreed as well, so I'm not sure why it hasn't happened. > As an aside, I should mention that the dependency handling in > net-mgmt/vidalia is problematic. The use of !=3D and calls to utilities > like pkg_info in port Makefiles, outside of targets that are not run > during 'make describe' is actively discouraged, because it makes > computing the INDEX more costly, and this is one of the bottlenecks in > Ports. portmgr went to some trouble to remove these calls earlier > (see, for example: >=20 > http://lists.freebsd.org/pipermail/freebsd-ports/2008-July/049777.html > http://lists.freebsd.org/pipermail/cvs-ports/2008-July/153224.html >=20 > ), and they should be removed from vidalia. Yes, the handling of > alternative dependencies is clumsy in Ports, but the tools that most > people use for dealing with this, like portmanager and portupgrade, > have means of dealing with this problem, and as long as the entry for > 'make describe' is correct for default package builds in clean > sandboxes, efficiency is more important. Also, it seems to me that the > TOR_DEVEL and TOR OPTIONS can be combined into one option. The use of !=3D for the dependency handling is the result of a discussion on freebsd-ports@ and at that time nobody had any better ideas. Fabian --Sig_/2tcN6e3Herr1SLlg=us.blr Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkx6RXAACgkQSMVSH78upWPHjACePFVQ96DzM6vMZWOPxLgv0C3D IwUAn0Cp1/SXicDsXCqb5HH3QFEwAULd =I5Hu -----END PGP SIGNATURE----- --Sig_/2tcN6e3Herr1SLlg=us.blr--