Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317957 - new ebuild request for mail-client/Xuheki
Summary: new ebuild request for mail-client/Xuheki
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD, InVCS
Depends on:
Blocks:
 
Reported: 2010-04-30 22:55 UTC by Jeremy
Modified: 2016-07-18 18:23 UTC (History)
2 users (show)

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


Attachments
mail-client/xuheki (Xuheki.tar.bz2,5.16 KB, application/octet-stream)
2010-04-30 23:06 UTC, Jeremy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy 2010-04-30 22:55:29 UTC
I am trying to write an ebuild for Xuheki http://www.xuheki.com
Xuheki is an AJAX webmail client written in perl.
Like other webapps, Xuheki consists of htdoc files 
which can ben installed via webapp-config.
Also, the ebuild also needs to install the perl binaries and libraries
and initscript for starting the server. Currently when I start the server,
I get "Can't locate Apache/Session/Wrapper.pm" even though I have
perl-gcpan/Apache-Session-Wrapper installed.

Reproducible: Always
Comment 1 Jeremy 2010-04-30 23:06:11 UTC
Created attachment 229859 [details]
mail-client/xuheki
Comment 2 Jeremy 2010-04-30 23:09:17 UTC
These are the perl modules installed with g-cpan:
#g-cpan -l
perl-gcpan/Net-IMAP-Client
perl-gcpan/Regexp-Common-Email-Address
perl-gcpan/File-PathConvert
perl-gcpan/Apache-Session-Wrapper
perl-gcpan/Template-Alloy
perl-gcpan/DBIx-OO
perl-gcpan/Spreadsheet-XLSX
perl-gcpan/Sys-SigAction
perl-gcpan/forks
perl-gcpan/Acme-Damn

When I try to start the daemon:

/var/tmp/portage/mail-client/xuheki-0.4/work/Xuheki-0.4/xuheki.pl

Can't locate Apache/Session/Wrapper.pm in @INC (@INC contains: ...)
at /var/tmp/portage/mail-client/xuheki-0.4/work/Xuheki-0.4/bin/../perl/XHK/Apache/Handler.pm line 15.
BEGIN failed--compilation aborted at /var/tmp/portage/mail-client/xuheki-0.4/work/Xuheki-0.4/bin/../perl/XHK/Apache/Handler.pm line 15.
Compilation failed in require at /var/tmp/portage/mail-client/xuheki-0.4/work/Xuheki-0.4/bin/../perl/XHK/Config.pm line 13.
BEGIN failed--compilation aborted at /var/tmp/portage/mail-client/xuheki-0.4/work/Xuheki-0.4/bin/../perl/XHK/Config.pm line 13.
Compilation failed in require at bin/xuheki.pl line 36.
BEGIN failed--compilation aborted at bin/xuheki.pl line 36.
Comment 3 Jeremy 2010-04-30 23:15:38 UTC
I currently have squirrelmail and roundcube installed for webmail.
I was looking to tryout other AJAX alternatives, such as those listed at
http://www.noupe.com/ajax/10-ajax-webmail-clients.html
as well as cangrejomail (an AJAX version of squirrelmail-1.4.19)

Xuheki is the only I see that allows multiple imap accounts,
Roundcube is nice but lacks multiple imap accounts and has no gnupg.
Squirrelmail is feature-rich but somewhat dowdy and plugins don't often
get upgraded to work with the latest version.
Comment 4 David Abbott (RETIRED) gentoo-dev 2010-05-01 03:01:52 UTC
Jeremy 
You may want to head over to #gentoo-sunrise and also check out;
http://www.gentoo.org/proj/en/sunrise/
Comment 5 Jeremy 2010-05-03 14:30:25 UTC
David, Thanks for the info on sunrise overlay. I'll look into it.

Figured out the missing perl module message. g-cpan thought the pm was installed by emerge said package wasn't installed. The ebuild created by g-cpan had appended some random string? to the Source definition, e.g.
S=${WORKDIR}/${PN}-${PV}-vhu41s

I ended up editing the g-cpan ebuilds for:
Apache-Session-Wrapper
DBIx-OO
Regexp-Common-Email-Address
Net-IMAP-Client

Xuheki now finds all its perl modules.
Now just need to create an initscript to start one copy of xuheki for each (virtual) website running xuheki.
Comment 6 Michael Orlitzky gentoo-dev 2016-02-07 22:28:11 UTC
The last release of Xuheki was in 2009 and the project page is gone (internal server error). Is the entire project dead? If so, I'd like to mark this obsolete.
Comment 7 Michael Orlitzky gentoo-dev 2016-07-18 18:23:10 UTC
I'm going to mark this obsolete, as I don't believe there's a Xuheki to install any more. I'm sorry that no one got to this sooner.