From owner-freebsd-ports@FreeBSD.ORG Sun Apr 24 04:22:53 2005 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 0F19616A4CF for ; Sun, 24 Apr 2005 04:22:53 +0000 (GMT) Received: from dppl.com (sapas.dppl.biz [216.182.10.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B68A43D31 for ; Sun, 24 Apr 2005 04:22:52 +0000 (GMT) (envelope-from yds@CoolRat.org) Received: from [192.168.1.69] (pcp0011284575pcs.union01.nj.comcast.net [69.248.144.22]) (AUTH: PLAIN yds, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by dppl.com with esmtp; Sun, 24 Apr 2005 00:22:51 -0400 Date: Sun, 24 Apr 2005 00:22:50 -0400 From: Yarema To: Oliver Lehmann , ports@freebsd.org Message-ID: <88C95BEA8121F2497BEA1AB5@tuber.coolrat.org> In-Reply-To: <20050423032503.4e7b0b98.lehmann@ans-netz.de> References: <20050414111426.775f6afd.lehmann@ans-netz.de> <20050423032503.4e7b0b98.lehmann@ans-netz.de> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline cc: Milan Obuch cc: Jose M Rodriguez Subject: Re: splitting courier-authlib into master+slave ports 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: Sun, 24 Apr 2005 04:22:53 -0000 Hello Oliver, --On Saturday, April 23, 2005 03:25:03 +0200 Oliver Lehmann wrote: > Hi, > > Oliver Lehmann wrote: > >> >> http://www.pofo.de/tmp/courier-authlib.tar.gz >> > > I created a new version of the tar.gz with some changes: > > - libauthpwd is removed from -base and gets installed when the new port > -pwd gets installed. > - .so.[0-9] ar now installed with 0444 > > and now the biggest change: > > - I introduced a --without base target in configure which is needed for: > - I changed the configure and Makefile.in for the following purpose: > - only run configure in the subdirs needed for the specific --with- > (auth*|base) configure-target. > - only compile the objects needed for the specific --with-(auth*|base) > configure-target. > - install/sysconftool only the libraries, configurations, binaries > which are needed for the specific --with-(auth*|base) configure- > target. That means the ports own do-install: target got removed. > > openldap.schema file didn't gets installed now since there is nothing in > the src-Makefile which would install it when --with-authldap is > specified. It can be easyly added of course but I don't know if that file > is really needed since none ever told me that it is missing. I can't say > anything about that file since I never took a look into LDAP. If someone > tells me "man, that file makes work easier/is hardly needed" I'll change > Makefile.in so it gets installed when --with-authldap is specified. > > And of course, I'll send my patches when they are done, working, tested, > checked-in to the original author. Nice work with the patches. Once again I have a variant on what you posted with some notes and fixups at This one should be easy to follow. The main difference is in how the courier-authlib and courier-authlib-base are organized. courier-authlib-base is a standalone package completely unaware that there is a meta port. All the plugin subports RUN_DEPEND directly on courier-authlib-base. courier-authlib is a standalone meta port which BUILD_DEPENDS and RUN_DEPENDS on courier-authlib-base and optionally BUILD_DEPENDS on any of the plugin subports. Using only BUILD_DEPENDS is in this case preferred for the subports because no @pkgdep is recorded so one is free to install and deinstall the plugins as need dictates without any other port complaining that it DEPENDS on them. Only the base port needs to be DEPENDed upon. I think this is a cleaner organization which solves most of the issues I've raised and still works exactly the same as the last version you posted. -- Yarema http://yds.CoolRat.org