Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65318 - Ebuild for web-cyradm
Summary: Ebuild for web-cyradm
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-09-25 07:48 UTC by steveb
Modified: 2005-12-19 07:46 UTC (History)
3 users (show)

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


Attachments
web-cyradm-0.5.4-r1.ebuild (web-cyradm-0.5.4-r1.ebuild,3.73 KB, text/plain)
2004-09-25 07:50 UTC, steveb
Details
postinstall-en.txt (postinstall-en.txt,1.50 KB, text/plain)
2004-09-25 07:50 UTC, steveb
Details
web-cyradm-0.5.4-r1.ebuild (web-cyradm-0.5.4-r1.ebuild,3.73 KB, text/plain)
2004-11-09 05:29 UTC, steveb
Details
postinstall-en.txt (postinstall-en.txt,1.50 KB, text/plain)
2004-11-09 05:30 UTC, steveb
Details
Ebuild for web-cyradm (web-cyradm-0.5.4.1.ebuild,3.12 KB, text/plain)
2005-07-31 14:23 UTC, Gunnar Wrobel (RETIRED)
Details
web-cyradm-0.5.4-r2.ebuild (web-cyradm-0.5.4-r2.ebuild,4.68 KB, text/plain)
2005-11-21 17:50 UTC, steveb
Details
web-cyradm-0.5.4-r2.ebuild (web-cyradm-0.5.4-r2.ebuild,4.77 KB, text/plain)
2005-11-22 03:44 UTC, steveb
Details
web-cyradm-0.5.4-1.FQUN.20041109.diff (web-cyradm-0.5.4-1.FQUN.20041109.diff,8.43 KB, patch)
2005-11-22 05:35 UTC, steveb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description steveb 2004-09-25 07:48:35 UTC
This is the ebuild to install web-cyradm. web-cyradm is a web interface to manage users on a Cyrus-IMAPD server. It can work with MySQL and PostgreSQL.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 steveb 2004-09-25 07:50:11 UTC
Created attachment 40393 [details]
web-cyradm-0.5.4-r1.ebuild

this ebuild goes into net-www/web-cyradm
Comment 2 steveb 2004-09-25 07:50:37 UTC
Created attachment 40394 [details]
postinstall-en.txt

this file goes into net-www/web-cyradm/files
Comment 3 Markus Wagner 2004-10-22 01:51:34 UTC
When I emerge the ebuild above with USE="vhosts postgres -mysql" I get:

 * ebuild fault: file '/var/tmp/portage/web-cyradm-0.5.4-r1/work/web-cyradm-0.5.4/scripts/merged_pgsql.sql' not found
 * Please report this as a bug at http://bugs.gentoo.org/

I do not see why the merged_pgsql.sql shouldn't be there... any hints?
Comment 4 Patrick Heneise 2004-11-06 03:38:50 UTC
Hi,

I've got the same error. Change web-cyradm ebuild in line 85:

 webapp_sqlscript pgsql ${S}/scripts/merged_pgsql.sql

to

 webapp_sqlscript pgsql ${T}/merged_pgsql.sql

have fun
Comment 5 Patrick Heneise 2004-11-06 04:49:45 UTC
Another mistake in postinstall-en.txt:

PostgreSQL:
1. Create the needed PgSQL database and tables and user:
     pgsql -U postgres -W -h 127.0.0.1 -f ${MY_SQLSCRIPTSDIR}/pgsql/${PVR}_create.sql

the command is psql, not pgsql in gentoo.

so long
Comment 6 steveb 2004-11-09 05:29:40 UTC
Created attachment 43602 [details]
web-cyradm-0.5.4-r1.ebuild

Fixed error on line 85
Comment 7 steveb 2004-11-09 05:30:54 UTC
Created attachment 43603 [details]
postinstall-en.txt

Fixed error (using no psql instead of pgsql)
Comment 8 Tuan Van (RETIRED) gentoo-dev 2004-12-06 10:23:04 UTC
shouldn't pam_mysql and pam_pgsql be optional (ie USE=pam), I try without pam_mysql and I still be able to authenticted. And is there a missing depend dev-php/PEAR-DB?

spelling (without the qotes) in postinstall-en.txt. My grammar and spelling is worst ;)

I have a different database setup, so it will take me a while to set this up and test (not much free time lately).
Comment 9 Tuan Van (RETIRED) gentoo-dev 2004-12-06 15:51:16 UTC
I forgot to mention that I use SASL auxprop setup for mysql authenticate. The official web-cyradm release doesn't support auxprop, it needs a patch attached in this ML archive: http://www.web-cyradm.org/pipermail/web-cyradm/2004-November/017991.html and should should be conditioned patch, ie if use !pam; then epatch ...
Comment 10 Nicola 2005-04-05 08:25:03 UTC
I have this error in my log:

Apr  4 18:52:03 raidlvm apache2: PHP Fatal error:  Cannot break/continue 1 level in /var/www/localhost/htdocs/web-cyradm/auth.inc.php on line 54

someone solved this?
Comment 11 Gunnar Wrobel (RETIRED) gentoo-dev 2005-07-31 14:23:52 UTC
Created attachment 64825 [details]
Ebuild for web-cyradm

Cleanup for tree.

Fixed MY_PV.
Fixed file removal.
Comment 12 Wulf Krueger (RETIRED) gentoo-dev 2005-08-05 09:58:56 UTC
The dependency on Postfix is bogus. Using sendmail with Cyrus IMAPd is perfectly
fine.
Comment 13 steveb 2005-11-21 17:50:56 UTC
Created attachment 73342 [details]
web-cyradm-0.5.4-r2.ebuild

This file goes into www-apps/web-cyradm.

Added dependency to dev-php/PEAR-DB and sys-auth/libnss-pgsql (if postgres and
pam USE flag is active). Added as well the patch mentioned here:
http://www.web-cyradm.org/pipermail/web-cyradm/2004-November/017991.htmlhttp://www.web-cyradm.org/pipermail/web-cyradm/2004-November/017991.html
Comment 14 steveb 2005-11-21 17:52:30 UTC
Hmm... sorry for the borked link. The correct link should be: 
http://www.web-cyradm.org/pipermail/web-cyradm/2004-November/017991.html 
Comment 15 steveb 2005-11-22 03:44:05 UTC
Created attachment 73365 [details]
web-cyradm-0.5.4-r2.ebuild

Added missing webapp_pkg_setup in pkg_setup()
Comment 16 steveb 2005-11-22 05:35:20 UTC
Created attachment 73367 [details, diff]
web-cyradm-0.5.4-1.FQUN.20041109.diff

This file goes into www-apps/web-cyradm/files
Comment 17 Gunnar Wrobel (RETIRED) gentoo-dev 2005-12-19 07:42:36 UTC
web-cyradm is now in our unofficial overlay:

http://svn.gnqs.org/projects/gentoo-webapps-overlay/browser/experimental/www-apps/web-cyradm/

Please note that the overlay is unofficial, not a Gentoo project, and not
supported. It is intended to provide easier access to new web applications.


Comment 18 Renat Lumpau (RETIRED) gentoo-dev 2005-12-19 07:46:29 UTC
upstream