Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56010 - horde-passwd-2.2.1 ebuild with backports
Summary: horde-passwd-2.2.1 ebuild with backports
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-03 18:51 UTC by Mario Vazquez
Modified: 2004-08-10 20:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
horde-passwd-2.2.1.ebuild (horde-passwd-2.2.1.ebuild,1.69 KB, application/octet-stream)
2004-07-03 18:52 UTC, Mario Vazquez
Details
backends patch (backends-1.14.2.4.php.diff,1.34 KB, patch)
2004-07-03 18:55 UTC, Mario Vazquez
Details | Diff
main.php patch (main-1.1.1.1.2.12.php.diff,1.08 KB, patch)
2004-07-03 18:55 UTC, Mario Vazquez
Details | Diff
clearpasswd patch (noclearpasswd.diff,496 bytes, patch)
2004-07-03 19:01 UTC, Mario Vazquez
Details | Diff
add crypt-md5 encryption to horde-passwd (vpopmail_crypt-md5.diff,3.87 KB, patch)
2004-07-03 19:02 UTC, Mario Vazquez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Vazquez 2004-07-03 18:51:40 UTC
Here I include the horde-passwd 2.2.1 ebuild.  It should be tested and if not break anything should be made stable since it fixes some issues, and it brings crypt-md5 encryption, used by default on vpopmail ebuilds.

It is basically the 2.2 ebuild, plus some patches from cvs releng and cvs head.  The patches applied are:
1. Fix for mispelled function call
    http://bugs.horde.org/details.php?id=249
    http://cvs.horde.org/co.php/passwd/main.php?r=1.1.1.1.2.12
2. Upstream releng branch patch to fix vpopmail and mysql backends
    http://bugs.horde.org/details.php?id=326
    http://cvs.horde.org/co.php/passwd/config/backends.php.dist?r=1.14.2.4
3. Adds crypt-md5 encryption, used by gentoo vpopmail ebuilds (now on releng)
    http://bugs.horde.org/details.php?id=330
4. Use the clearpasswd flag and adjust vpopmail backend to compiled vpopmail




Reproducible: Always
Steps to Reproduce:
1. Emerge horde-passwd
Actual Results:  
Current 2.2 ebuild install fine, but will not work with vpopmail (and maybe
mysql) backends without manual file editing.  Fields on vpopmail backend do not
match installed vpopmail database fields.

Expected Results:  
Horde password should install fine, with the only need to specify the backend to
be used with username/password.


In addition, I include a pkg_postinst() function that tells the user the changes
it needs to perform to horde/config/registry.php to allow passwd to work.  
While registry.php includes info for various modules, the passwd config is missing.

My doubt is since the ebuild use a class, maybe the function to tell that must
be other.  That's why I'm telling it must be tested prior to post to portage.
Comment 1 Mario Vazquez 2004-07-03 18:52:59 UTC
Created attachment 34743 [details]
horde-passwd-2.2.1.ebuild

New ebuild with patches, and postinstl() message.
Comment 2 Mario Vazquez 2004-07-03 18:55:03 UTC
Created attachment 34744 [details, diff]
backends patch

fix vpopmail and mysql backengs by adding protocol and port info
Comment 3 Mario Vazquez 2004-07-03 18:55:57 UTC
Created attachment 34746 [details, diff]
main.php patch

main.php patch to fix function call
Comment 4 Mario Vazquez 2004-07-03 19:01:28 UTC
Created attachment 34747 [details, diff]
clearpasswd patch

Comment clear_passwd table fields when vpopmail was not compiled with
USE=clearpasswd

In this way, the fields of the vpopmail backend are adjust to match the 
fields vpopmail use when create/modify a table.
Comment 5 Mario Vazquez 2004-07-03 19:02:15 UTC
Created attachment 34748 [details, diff]
add crypt-md5 encryption to horde-passwd
Comment 6 SpanKY gentoo-dev 2004-08-10 20:17:38 UTC
awesome, thanks for the patches and such :)

sorry i didnt get to it sooner; it's in portage now