splitting courier-authlib into master+slave ports

Yarema yds at CoolRat.org
Thu Apr 21 21:59:05 PDT 2005

--On Thursday, April 21, 2005 6:29 PM +0200 Oliver Lehmann 
<lehmann at ans-netz.de> wrote:

>  - removing the man-pages is not any longer needed since I
>    patched configure+Makefile.in. They won't get installed unless -userdb
>    gets installed.

I realized after I wrote to you.  Will you be submitting these patches 
upstream to have them applied to the courier-authlib sources?

> removing tmp files
>  - good point. I'll put the cache inside wrksrc and do a test -f+-s.
>    For .locktest I'm forced to a local non-nfs-mounted filesystem to make
>    builds on nfs shares possible. But it should be ok using test -f+-s
>    too.

Perhaps the ${MKTEMP} macro could be used.  That's most secure.  test -f+-s 
still leaves a race condition possible.

> mkdir etc/openldap/schema
>  - are you 100% shute the schema subdir gets created? Iirc I got an error
>    there and it is not listed in openldap22-server/pkg-plist.client

You're right.  The schema is only useful when running openldap-server. 
Perhaps ${EXAMPLESDIR} might be a more apropos home for authldap.schema.

> removing lib*.a files
>  - it would be better to get them not installed instead of removing them.
>    I don't really like removing things somewhere under ${PREFIX}

I know it's ugly.  Problem is that it's not possible to disable the 
installing of lib*.a files easily.  It's a libtool issue.  That's why it's 
documented for packagers to have them removed.  If you leave them in 
there's no harm done just a fatter binary package with some files which 
will never be used.


More information about the freebsd-ports mailing list