Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 102645

Summary: pine-4.63 update to handle LDAP v3 protocol
Product: Gentoo Linux Reporter: Andrzej <wasowski>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED UPSTREAM    
Severity: enhancement CC: wasowski
Priority: High Keywords: Inclusion
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild extension to support ldapv3 patch
a patch enabling ldap-v3 in pine4.63

Description Andrzej 2005-08-15 12:54:08 UTC
Vanilla pine-4.63 (and pine as patched by gentoo curently) only handles ldap v2.

This is a patch that applies to pine-4.63-r3.ebuild extending it with an ldapv3
use flag and the code that applies a patch to pine source code in order to
enable LDAPv3 handling. I will also attach the patch that modifies the crucial
line in pine4.632 sources.

This patch produces a working ebuild for me that installs pine which works for
me on x86 with openLDAP.  AFAIK ldapv3 supports unicode, and pine4.63 does not
quie support unicode and this is the reason, why ldapv3 is not on by default in
vanilla pine.  Everything should work fine thoug as long as extended characters
are not used.

I am not an expierenced ebuild submitter, so bear with me, do not be too harsh,
and say what else do you need, or why you don't  like it,... but nicely ;)
Comment 1 Andrzej 2005-08-15 12:57:33 UTC
Created attachment 66015 [details, diff]
ebuild extension to support ldapv3 patch
Comment 2 Andrzej 2005-08-15 12:58:25 UTC
Created attachment 66016 [details, diff]
a patch enabling ldap-v3 in pine4.63
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2005-08-15 14:48:19 UTC
I think the support is disabled exactly because of missing unicode support in
Pine, and for good reason. It is not safe to assume users are not going to
encounter multibyte characters, thus it would be a very bad idea to have it
enabled in Gentoo ebuild, even if only optionally, controlled by an USE flag.

I will however ask Mr Eduardo Chappa, who is directly involved in Pine, for an
opinion.
Comment 4 Andrzej 2005-08-15 15:03:51 UTC
(In reply to comment #3)

Actually I have googled out some opinions on mailing lists that the only harm
that can happen is that you see gibberish instead of extended characters.  And
that often happens anyway, if you get unicode mail in pine.

Having said that, I admit that I am not at all a pine developer, and have no
clue about its internals, It is always wise to ask someone more knowledgeable.

I find it useful to be able to share addressbooks with thunderbird, etc., but of
course if this is introducing some criminal bugs, I am not willing to use it
(nor propose others to use it).
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2005-10-05 15:05:19 UTC
As pine-4.64 has experimental LDAPv3 support, I'm closing this bug.