From owner-cvs-all@FreeBSD.ORG Mon Aug 6 17:38:09 2007 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB25816A41A; Mon, 6 Aug 2007 17:38:09 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id AC97F13C459; Mon, 6 Aug 2007 17:38:09 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from rot26.obsecurity.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id CF18A1A4D7C; Mon, 6 Aug 2007 10:37:20 -0700 (PDT) Received: by rot26.obsecurity.org (Postfix, from userid 1001) id DB62DC134; Mon, 6 Aug 2007 13:38:08 -0400 (EDT) Date: Mon, 6 Aug 2007 13:38:08 -0400 From: Kris Kennaway To: Michael Nottebrock Message-ID: <20070806173808.GA39444@rot26.obsecurity.org> References: <200706281553.l5SFr56i099807@repoman.freebsd.org> <20070802181715.46yikycm8gc8g8kk@webmail.leidinger.net> <20070803125410.GB1062@tirith.brixandersen.dk> <200708032144.57558.lofi@freebsd.org> <20070803204215.GA68620@rot26.obsecurity.org> <20070806074318.q9mw6ulngg00gwsw@webmail.leidinger.net> <20070806065634.GA31676@rot26.obsecurity.org> <20070806113855.0fcq213io0www04k@webmail.leidinger.net> <46B7072E.8070307@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46B7072E.8070307@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: Henrik Brix Andersen , Kris Kennaway , cvs-all@freebsd.org, ports-committers@freebsd.org, Pav Lucistnik , cvs-ports@freebsd.org, Alexander Leidinger Subject: Re: cvs commit: ports/Mk bsd.port.mk X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 17:38:09 -0000 On Mon, Aug 06, 2007 at 01:34:06PM +0200, Michael Nottebrock wrote: > Alexander Leidinger schrieb: > > Kris, what technical reasons are against explicit dependencies, in > > your opinion? > Explicit dependencies would be great, if they can be guaranteed to be > correct, which basically means we need a way auto-generate them. Maybe > this could be done in a similar way to the security check target - run > ldd/objdump over installed executables and libraries, record symbol > names somewhere, determine dependencies by comparing records ... > > Explicit dependencies that need to be determined and maintained manually > by port maintainers are useless, since they'll be almost guaranteed to > be wrong most of the time for those ports that would profit the most > (shave off the most implicit dependencies) from having them. Yes, this is the most serious problem. Also there is no need to introduce a new variable to handle it: if you want to record explicit dependencies a better way is to use LIB_ or RUN_DEPENDS and track the direct vs inherited dependencies differently in the package database. Kris