Summary: | Ebuild for web-cyradm | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | steveb <steeeeeveee> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED UPSTREAM | ||
Severity: | enhancement | CC: | net-mail+disabled, philantrop, webapps-request |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
web-cyradm-0.5.4-r1.ebuild
postinstall-en.txt web-cyradm-0.5.4-r1.ebuild postinstall-en.txt Ebuild for web-cyradm web-cyradm-0.5.4-r2.ebuild web-cyradm-0.5.4-r2.ebuild web-cyradm-0.5.4-1.FQUN.20041109.diff |
Description
steveb
2004-09-25 07:48:35 UTC
Created attachment 40393 [details]
web-cyradm-0.5.4-r1.ebuild
this ebuild goes into net-www/web-cyradm
Created attachment 40394 [details]
postinstall-en.txt
this file goes into net-www/web-cyradm/files
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? 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 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 Created attachment 43602 [details]
web-cyradm-0.5.4-r1.ebuild
Fixed error on line 85
Created attachment 43603 [details]
postinstall-en.txt
Fixed error (using no psql instead of pgsql)
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). 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 ... 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? Created attachment 64825 [details]
Ebuild for web-cyradm
Cleanup for tree.
Fixed MY_PV.
Fixed file removal.
The dependency on Postfix is bogus. Using sendmail with Cyrus IMAPd is perfectly fine. 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 Hmm... sorry for the borked link. The correct link should be: http://www.web-cyradm.org/pipermail/web-cyradm/2004-November/017991.html Created attachment 73365 [details]
web-cyradm-0.5.4-r2.ebuild
Added missing webapp_pkg_setup in pkg_setup()
Created attachment 73367 [details, diff]
web-cyradm-0.5.4-1.FQUN.20041109.diff
This file goes into www-apps/web-cyradm/files
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. upstream |