1 message in net.sourceforge.lists.courier-users[courier-users] Using vchkpw with dyn...
FromSent OnAttachments
Michael T. BabcockOct 6, 2000 8:29 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Using vchkpw with dynamic mysqlclientActions...
From:Michael T. Babcock (mbab@fibrespeed.net)
Date:Oct 6, 2000 8:29:42 am
List:net.sourceforge.lists.courier-users

I have been using courier-imap for about 7 months now with vchkpw (which uses mysql auth). My copy of vchkpw is linked against a dynamic mysqlclient. When I configure courier-imap I have to edit the Makefiles to make this work properly. Having this as an option would be nice. My configure:

./configure --prefix=/usr --sysconfdir=/etc --without-authuserdb --without- authpam --without-authpwd --without-authshadow --without-authldap --with-aut hvchkpw --enable-workarounds-for-imap-client-bugs --with-piddir=/var/run/

And I end up editing authlib/Makefile:

318c318 < libauth_authvchkpw_a_LIBADD =

---

libauth_authvchkpw_a_LIBADD = -L/usr/lib/mysql -lmysqlclient

531c531 < authvchkpw_LDFLAGS =

---

authvchkpw_LDFLAGS = -L/usr/lib/mysql -lmysqlclient

Then it fails once, and I have to edit authlib/authvchkpw.libsdep to include -L/var/lib/mysql -lmysqlclient

Any way to automate this process in the future?