Hello. I'm currently working on mandriva courier packages, and I have some issues with courier-authlib autentication plugins.
Current authlib installation process create every autentication plugin as a standard shared library file: [EMAIL PROTECTED] ~]$ ll /usr/lib/courier-authlib/ total 1044 -rwxr-xr-x 1 root root 1484 May 17 11:41 authmigrate* -rwxr-xr-x 1 root root 1842 May 17 11:41 authsystem.passwd* -rw-r--r-- 1 root root 16730 May 17 11:41 libauthcustom.a -rwxr-xr-x 1 root root 937 May 17 11:41 libauthcustom.la* lrwxrwxrwx 1 root root 22 May 17 12:02 libauthcustom.so -> libauthcustom.so.0.0.0* lrwxrwxrwx 1 root root 22 May 17 12:02 libauthcustom.so.0 -> libauthcustom.so.0.0.0* -rwxr-xr-x 1 root root 4152 May 17 11:41 libauthcustom.so.0.0.0* -rw-r--r-- 1 root root 70542 May 17 11:41 libauthldap.a -rwxr-xr-x 1 root root 1064 May 17 11:41 libauthldap.la* lrwxrwxrwx 1 root root 20 May 17 12:02 libauthldap.so -> libauthldap.so.0.0.0 -rw-r--r-- 1 root root 74360 May 17 11:41 libauthmysql.a -rwxr-xr-x 1 root root 1022 May 17 11:41 libauthmysql.la* lrwxrwxrwx 1 root root 21 May 17 12:02 libauthmysql.so -> libauthmysql.so.0.0.0 -rw-r--r-- 1 root root 20852 May 17 11:41 libauthpam.a -rwxr-xr-x 1 root root 927 May 17 11:41 libauthpam.la* lrwxrwxrwx 1 root root 19 May 17 12:02 libauthpam.so -> libauthpam.so.0.0.0* lrwxrwxrwx 1 root root 19 May 17 12:02 libauthpam.so.0 -> libauthpam.so.0.0.0* -rwxr-xr-x 1 root root 6836 May 17 11:41 libauthpam.so.0.0.0* -rw-r--r-- 1 root root 62748 May 17 11:41 libauthpgsql.a -rwxr-xr-x 1 root root 950 May 17 11:41 libauthpgsql.la* lrwxrwxrwx 1 root root 21 May 17 12:02 libauthpgsql.so -> libauthpgsql.so.0.0.0 -rw-r--r-- 1 root root 25176 May 17 11:41 libauthpipe.a -rwxr-xr-x 1 root root 923 May 17 11:41 libauthpipe.la* As per standard packaging process, only the versioned files are shipped in the runtime package, and the unversioned .so files are shipped in the devel package only. But it doesn't work: http://qa.mandriva.com/show_bug.cgi?id=22575 I could just move the .so from the devel to the runtime package, but actually I'm not really sure the .so.x.y.z files are really useful at all. From my understanding of how authdaemon works, those plugins are dynamically loaded through dlopen, not linked at compilation time. I've had suggestion of adding libtool flags -module and -avoid-version to each of these plugins, as in this old patch: http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/contrib-SPECS/courier-authlib/Attic/courier-authlib-0.54-avoid-version.diff?rev=1.2&content-type=text/x-cvsweb-markup WDYT ? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
