DO NOT REPLY [Bug 7917] New: - mod_auth_db patch for DB 4.xx

2002-04-10 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7917.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7917

mod_auth_db patch for DB 4.xx

   Summary: mod_auth_db patch for DB 4.xx
   Product: Apache httpd-1.3
   Version: 1.3.24
  Platform: PC
   URL: http://www.suvimax.org/
OS/Version: Linux
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Other mods
AssignedTo: bugs@httpd.apache.org
ReportedBy: [EMAIL PROTECTED]


Please find enclosed a small fix to allow mod_auth_db to compile
 with DB 4.xx.

 Best regards

*** mod_auth_db.c.~1~   Wed Mar 13 22:05:33 2002
--- mod_auth_db.c   Wed Apr 10 13:35:58 2002
***
*** 105,110 
--- 105,113 
  #if (DB_VERSION_MAJOR == 3)
  #define DB3
  #endif
+ #if (DB_VERSION_MAJOR == 4)
+ #define DB4
+ #endif
  #endif
  
  typedef struct {
***
*** 167,173 
  q.data = user;
  q.size = strlen(q.data);
  
! #if defined(DB3)
  if (   db_create(f, NULL, 0) != 0 
  || f-open(f, auth_dbpwfile, NULL, DB_HASH, DB_RDONLY, 0664) != 0) {
  #elif defined(DB2)
--- 170,176 
  q.data = user;
  q.size = strlen(q.data);
  
! #if defined(DB3) || defined(DB4)
  if (   db_create(f, NULL, 0) != 0 
  || f-open(f, auth_dbpwfile, NULL, DB_HASH, DB_RDONLY, 0664) != 0) {
  #elif defined(DB2)
***
*** 180,186 
return NULL;
  }
  
! #if defined(DB2) || defined(DB3)
  if (!((f-get) (f, NULL, q, d, 0))) {
  #else
  if (!((f-get) (f, q, d, 0))) {
--- 183,189 
return NULL;
  }
  
! #if defined(DB2) || defined(DB3) || defined(DB4)
  if (!((f-get) (f, NULL, q, d, 0))) {
  #else
  if (!((f-get) (f, q, d, 0))) {
***
*** 190,196 
pw[d.size] = '\0';  /* Terminate the string */
  }
  
! #if defined(DB2) || defined(DB3)
  (f-close) (f, 0);
  #else
  (f-close) (f);
--- 193,199 
pw[d.size] = '\0';  /* Terminate the string */
  }
  
! #if defined(DB2) || defined(DB3) || defined(DB4)
  (f-close) (f, 0);
  #else
  (f-close) (f);


DO NOT REPLY [Bug 7920] New: - mod_ssl can't compile under windows 20000

2002-04-10 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7920.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7920

mod_ssl can't compile under windows 2

   Summary: mod_ssl can't compile under windows 2
   Product: Apache httpd-2.0
   Version: 2.0.35
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Critical
  Priority: Other
 Component: Modules
AssignedTo: bugs@httpd.apache.org
ReportedBy: [EMAIL PROTECTED]


I use VC 6.0 EE, under win2k, complile with openssl 0.9.6c error.
BTW I have the tools awk, bison, flex, perl for complie openssl  apache 2.