Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 44460 Details for
Bug 71898
sys-libs/pam shouldn't be an app-office/openoffice-1.1.3-r1's mandatory dependency
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
no-pam proposed patch for openoffice-1.1.3-r1
openoffice-1.1.3-no-pam.patch (text/plain), 1.53 KB, created by
lukenshiro
on 2004-11-22 04:38:50 UTC
(
hide
)
Description:
no-pam proposed patch for openoffice-1.1.3-r1
Filename:
MIME Type:
Creator:
lukenshiro
Created:
2004-11-22 04:38:50 UTC
Size:
1.53 KB
patch
obsolete
>--- sal/osl/unx/security.c 2004-11-21 19:24:33.000000000 +0100 >+++ sal/osl/unx/security.c.new 2004-11-21 19:37:47.000000000 +0100 >@@ -175,44 +175,6 @@ > static sal_PamModule* osl_getPAM() > { > static sal_PamModule *pam_module = NULL; >- static sal_Bool load_once = sal_False; >- >- if ( !load_once ) >- { >- /* get library-handle. cannot use osl-module, since >- RTLD_GLOBAL is required for PAM-0.64 RH 5.2 >- (but not for PAM-0.66 RH 6.0) */ >- void *pam_hdl; >- >- pam_hdl = dlopen( "libpam.so.0", RTLD_GLOBAL | RTLD_LAZY ); >- >- if ( pam_hdl != NULL ) >- pam_module = (sal_PamModule*)calloc( 1, sizeof(sal_PamModule) ); >- >- /* load functions */ >- if ( pam_module != NULL ) >- { >- pam_module->pam_acct_mgmt = (int (*)(pam_handle_t *, int)) dlsym ( pam_hdl, "pam_acct_mgmt" ); >- pam_module->pam_authenticate >- = (int (*)(pam_handle_t *, int)) dlsym ( pam_hdl, "pam_authenticate" ); >- pam_module->pam_end = (int (*)(pam_handle_t *, int)) dlsym ( pam_hdl, "pam_end" ); >- pam_module->pam_start = (int (*)(const char *, const char *, const struct pam_conv *, pam_handle_t **)) dlsym ( pam_hdl, "pam_start" ); >- >- /* free resources, if not completely successful */ >- if ( (pam_module->pam_start == NULL) >- || (pam_module->pam_end == NULL) >- || (pam_module->pam_authenticate == NULL) >- || (pam_module->pam_acct_mgmt == NULL) ) >- { >- free( pam_module ); >- pam_module = NULL; >- dlclose( pam_hdl ); >- } >- } >- >- /* never try again */ >- load_once = sal_True; >- } > > return pam_module; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 71898
: 44460