On Sat, 2007-08-25 at 12:19, Noel (Sourceforge) wrote:

> it appears to be the cram stuff added to authvchkpw.c
> 
> If I use the 0.59.2 copy in 0.59.3 authlib compiles and works
> 
> 


This is just for the archives..... vpopmail compile problems with
authvchkpw/cram
in 0.59.3,  the attached patch fixes the issue.






> -----Forwarded Message-----
> 
> Date: Fri, 24 Aug 2007 13:51:40 +1000
> 
> Hi ,
> 
> We have compiled without a problem all previous versions of
> courier-authlib, we can not compile 0.59.3 , fresh recompile of 0.59.2
> succeeds, so it should not be related to anything else on the system,
> but related software is, vpopmail 5.4.20, courier-imap-4.1.3, slackware
> 12.0, 2.6.22.5 kernel
> 
> ./configure --without-authpam --without-authldap --without-authpgsql
> --without-authmysql --without-authcustom --with-authdaemon
> --with-authvchkpw
> 
> (./configure does not fail)
> 
> The make error bails here:
> 
> Compiling authpwd.c
> Compiling preauthpwd.c
> Linking libauthpwd.la
> Compiling authshadow.c
> Compiling preauthshadow.c
> Linking libauthshadow.la
> Compiling authvchkpw.c
> authvchkpw.c: In function 'auth_vchkpw':
> authvchkpw.c:86: warning: implicit declaration of function
> 'auth_vchkpw_login'
> authvchkpw.c: At top level:
> authvchkpw.c:103: error: static declaration of 'auth_vchkpw_login'
> follows non-static declaration
> authvchkpw.c:86: error: previous implicit declaration of
> 'auth_vchkpw_login' was here
> authvchkpw.c: In function 'auth_vchkpw_changepass':
> authvchkpw.c:184: warning: passing argument 1 of 'parse_email' discards
> qualifiers from pointer target type
> make[2]: *** [authvchkpw.lo] Error 1
> make[2]: Leaving directory `/tmp/courier-authlib-0.59.3'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/courier-authlib-0.59.3'
> make: *** [all] Error 2
> 
> 
> Full config log is available at wasteland.ausics.net/config.log  
> (86kb)  for a few days if it helps...
> 
> 
> TIA for any ideas...
> Noel
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
--- courier-authlib-0.59.3/authvchkpw.c	2007-04-23 04:53:30.000000000 +1000
+++ authvchkpw.c	2007-08-27 17:55:52.000000000 +1000
@@ -60,6 +60,8 @@
 #include        "libhmac/hmac.h"
 #include        "cramlib.h"
 
+static int auth_vchkpw_login(const char *service, char *authdata,
+			int (*callback_func)(struct authinfo *, void *), void *callback_arg);
 
 static int auth_vchkpw_cram(const char *service,
                            const char *authtype, char *authdata,
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to