Date: Sun, 24 Apr 2005 00:49:11 -0400 From: Yarema <yds@CoolRat.org> To: Oliver Lehmann <lehmann@ans-netz.de>, ports@freebsd.org Cc: Jose M Rodriguez <josemi@freebsd.jazztel.es> Subject: Re: splitting courier-authlib into master+slave ports Message-ID: <5E320E4B0EE44F409364567C@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>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello again, --On Saturday, April 23, 2005 03:25:03 +0200 Oliver Lehmann <lehmann@ans-netz.de> wrote: > 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 The shared libs still install with the 0755 perms for me. Most likely because they are installed via the ${INSTALL_STRIP_PROGRAM} macro so that they get stripped. > 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. Once again, very cool. :) > 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. The authldap.schema file *is* needed to configure the openldap-server. slapd.conf(5) needs to: include /usr/local/etc/openldap/schema/authldap.schema to be able to use the fields required by courier-authlib-ldap. The catch is that courier-authlib-ldap does not require openldap-server to be installed, only the openldap-client libraries. And openldap-server can be running on a different machine and does not need courier-authlib installed to support it, just the authldap.schema file is needed. That's why I suggested installing authldap.schema in ${EXAMPLESDIR} so that it's readily available to an admin configuring courier-authlib-ldap. Otherwise one would need to dig for the file in the disto tarball. Another option is to make a separate port which RUN_DEPENDS only on openldap-server just to install authldap.schema in etc/openldap/schema/ but that seems like overkill to me. Samba is another port which has openldap schema files, don't remember how they handle it or if they do. -- Yarema http://yds.CoolRat.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5E320E4B0EE44F409364567C>