From owner-freebsd-ports@FreeBSD.ORG Tue Oct 14 07:01:48 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A246C16A4B3 for ; Tue, 14 Oct 2003 07:01:48 -0700 (PDT) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D987F43FD7 for ; Tue, 14 Oct 2003 07:01:47 -0700 (PDT) (envelope-from matthias.andree@gmx.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])DB06C3AFD for ; Tue, 14 Oct 2003 16:01:46 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 837AB9845B; Tue, 14 Oct 2003 16:01:45 +0200 (CEST) Date: Tue, 14 Oct 2003 16:01:45 +0200 From: Matthias Andree To: ports@freebsd.org Message-ID: <20031014140145.GD18925@merlin.emma.line.org> References: <20031014112134.GA18306@merlin.emma.line.org> <20031014134811.GB39789@freebsd.org.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031014134811.GB39789@freebsd.org.ru> User-Agent: Mutt/1.5.4i Subject: Re: READ PLEASE if your port uses BerkeleyDB (db3, db4, db41) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2003 14:01:48 -0000 On Tue, 14 Oct 2003, Sergey A. Osokin wrote: > On Tue, Oct 14, 2003 at 01:21:34PM +0200, Matthias Andree wrote: > > as some of you know, I am currently maintaining the db4, db41, > > db41-nocrypto and bogofilter ports, among others. > > > > Just symlinking things into /usr/local/BerkeleyDB.X.Y might not work > > since the library SONAME does not match then -- or can we have a file > > /usr/local/BerkeleyDB.4.1/lib/libdb.so when its SONAME is in fact > > libdb41.so.1? > > > > Does anyone see a good way out? Suggestions, thoughts are solicited. > > > > > > For reference, here are the libdb "consumers" and "providers": > > Also postfix/postfix-current and oops may use db3/db4/db41 ports. Indeed, my list does not comprise packages which optionally use db - I looked at INDEX that lists the mandatory dependencies for the default port configuration, not the optional dependencies. > I have a idea about split everyone db* port into 3 ports: > db-devel, db-doc and db-tool, because more (all?) dependences > ports do not use documentation and application from db port. I'm not a fan of "install library, but not the documentation", I prefer the "all of it or nothing" approach. We have -DNOPORTDOCS for the systems where space is tight and documentation is dispensable. Other than that, we have some 9,000 ports, I don't find it appealing to add even more without adding functionality. As to the applications from the db-ports: these may be needed to tune application's settings, recover a data base after a crash or dump it so it can be carried to another system. In particular, these applications (db_dump, db_verify and all that) are user applications, not developer stuff, so splitting these programs out is not the right thing to do.