Ignore:
Timestamp:
2011-10-01T12:55:47+02:00 (5 years ago)
Author:
acoul
Message:

libs/libpam: make the ruserok fix uclibc depended

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libpam/patches/005-fix_ruserok.patch

    r28317 r28345  
    11--- a/modules/pam_rhosts/pam_rhosts.c 
    22+++ b/modules/pam_rhosts/pam_rhosts.c 
    3 @@ -34,8 +34,10 @@ 
    4   
    5  #include <pwd.h> 
    6  #include <netdb.h> 
    7 +#include <stdio.h> 
    8  #include <string.h> 
    9  #include <syslog.h> 
    10 +#include <sys/stat.h> 
    11   
    12  #define PAM_SM_AUTH  /* only defines this management group */ 
    13   
    14 @@ -43,6 +45,353 @@ 
     3@@ -43,6 +43,361 @@ 
    154 #include <security/pam_modutil.h> 
    165 #include <security/pam_ext.h> 
    176  
     7+#ifdef __UCLIBC__ 
     8+ 
     9+#include <stdio.h> 
     10+#include <sys/stat.h> 
     11+ 
     12+ 
    1813+int  __check_rhosts_file = 1; 
    1914+ 
     
    363358+} 
    364359+ 
     360+#endif /* __UCLIBC__ */ 
     361+ 
    365362 PAM_EXTERN 
    366363 int pam_sm_authenticate (pam_handle_t *pamh, int flags, int argc, 
Note: See TracChangeset for help on using the changeset viewer.