Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 134040 Details for
Bug 196558
perl_ldap extensions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
perl_ldap-mail-from-ldap.patch
perl_ldap-mail-from-ldap.patch (text/plain), 1.41 KB, created by
Christian Heim (RETIRED)
on 2007-10-21 14:50:53 UTC
(
hide
)
Description:
perl_ldap-mail-from-ldap.patch
Filename:
MIME Type:
Creator:
Christian Heim (RETIRED)
Created:
2007-10-21 14:50:53 UTC
Size:
1.41 KB
patch
obsolete
>--- perl_ldap.orig 2007-10-21 14:09:38.000000000 +0000 >+++ perl_ldap 2007-10-21 14:47:28.000000000 +0000 >@@ -427,7 +427,26 @@ > } else { > $userinfo .= ' <pgpkey>'.$_->get_value('gpgkey').'</pgpkey>'."\n"; > } >- $userinfo .= ' <email role="gentoo">'.$_->get_value('uid').'@gentoo.org'.'</email>'."\n"; >+ my @mail = $_->get_value('mail'); >+ my $address; >+ >+ foreach $address (@mail) { >+ # if $user is still active, his @gentoo.org address is the "gentoo" one >+ if ( ($_->get_value('gentooStatus') eq 'active') && ("$address" =~ "\@gentoo\.org") ) >+ { >+ $userinfo .= ' <email role="gentoo">'.$address.'</email>'."\n"; >+ } >+ # if $user is still active, his non @gentoo.org is "secondary" >+ if ( ($_->get_value('gentooStatus') eq 'active') && ("$address" !~ "\@gentoo\.org") ) >+ { >+ $userinfo .= ' <email role="secondary">'.$address.'</email>'."\n"; >+ } >+ # if $user is retired, we simply ignore his @gentoo.org >+ if ( ($_->get_value('gentooStatus') eq 'retired') && ("$address" !~ "\@gentoo\.org") ) >+ { >+ $userinfo .= ' <email role="secondary">'.$address.'</email>'."\n"; >+ } >+ } > if(!defined($_->get_value('gentooJoin')) || ($_->get_value('gentooJoin') eq 'undefined')) > { > $userinfo .= ' <joined/>'."\n";
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 Raw
Actions:
View
Attachments on
bug 196558
:
133986
|
133988
|
133990
|
133993
|
134040
|
136093
|
136094
|
136096