Changeset 246

Show
Ignore:
Timestamp:
06/08/05 00:03:31 (3 years ago)
Author:
athomas
Message:
  • Fixed build errors on AIX reported by Pierre.
  • make clean cleans up lex.c.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • op/branches/autoconf/configure.in

    r245 r246  
    1919auto_detect_auth=no 
    2020with_pam=${with_pam:-yes} 
    21 AC_ARG_WITH(pam, [  --with-pam              use PAM for authentication]) 
     21AC_ARG_WITH(pam, [  --with-pam              use PAM for authentication (yes)]) 
    2222if test "${with_pam}" = yes; then 
    2323        AC_CHECK_LIB([pam], [pam_start], [ 
     
    3434 
    3535with_shadow=${with_shadow:-no} 
    36 AC_ARG_WITH(shadow, [  --with-shadow           use shadow file for authentication]) 
     36AC_ARG_WITH(shadow, [  --with-shadow           use shadow file for authentication 
     37                          (default if PAM not found)]) 
    3738if test "${with_shadow}" = yes; then 
    3839        if test "${with_pam}" = yes; then 
  • op/branches/autoconf/lex.l

    r240 r246  
    3333 
    3434%s ARGS 
     35%a 2700 
     36%o 3700 
    3537 
    3638%% 
  • op/branches/autoconf/main.c

    r245 r246  
    627627                return logger(LOG_ERR | LOG_PRINT, "SecureID not supported by op. Access denied"); 
    628628        } 
    629 #endif  
     629#endif 
    630630 
    631631        if (getuid() != 0 && (cp=FindOpt(cmd, "password")) != NULL) { 
     
    830830                                        will work */ 
    831831                                umask(077); setuid(currentpw->pw_uid); setgid(currentpw->pw_gid); 
    832                                 //logger(LOG_DEBUG, "Executing '%s %s %s %s %s %s' as %i", argv[0], argv[1], argv[2], argv[3], argv[4], argv[5], currentpw->pw_uid); 
    833832                                if (execv(XAUTH, argv) == -1) { 
    834833                                        logger(LOG_ERR, "Unable to exec xauth, return code %i", errno); 
     
    849848                        char *argv[] = { XAUTH, "-f", xauth, "merge", tmpxauth, NULL }; 
    850849 
    851                                 //logger(LOG_DEBUG, "Executing '%s %s %s %s %s' as %i", argv[0], argv[1], argv[2], argv[3], argv[4], uid); 
    852850                                /*      We need to be root to be sure that access to both Xauthority files 
    853851                                        will work */ 
  • op/branches/autoconf/Makefile.am

    r245 r246  
    66install-exec-hook: 
    77        chmod 4755 $(DESTDIR)$(bindir)/op 
     8 
     9clean-local: 
     10        rm -f lex.c 
  • op/branches/autoconf/regexp.h

    r207 r246  
    3030#define MAGIC   0234 
    3131 
    32 #endif // REGEXP_DWA20011023_H 
     32#endif 
    3333