Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Zimbra 4.5.0_RC1] Pre release of svn ebuild
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Tue Jan 30, 2007 12:41 pm    Post subject: Reply with quote

skyPhyr wrote:
hi rmh3093,

Just thought I'd let you know Zimbra are quite responsive on their forums.

I've broached the subject of providing tarballs with releases with them http://www.zimbra.com/forums/showthread.php?p=35233&posted=1#post35233

Perhaps you could join the conversation as you're more familiar with building zimbra on gentoo than I am.

Cheers,

Alan.


I did nothing but try and build Zimbra properly 2 months ago before 4.5 came out, back there there was "word" they might make a source install (support gentoo) but I I got so fed up, I decided to take a break for a little bit.... I will get back over to that forum and start checking that out again
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
ismell
n00b
n00b


Joined: 31 Jan 2007
Posts: 8
Location: Colorado

PostPosted: Wed Jan 31, 2007 3:59 am    Post subject: Reply with quote

Keep it up guys, a source install would be kick ass!
Back to top
View user's profile Send private message
dR0PS
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2005
Posts: 116
Location: DE/Hamburg

PostPosted: Sun Feb 04, 2007 12:20 am    Post subject: Reply with quote

yes, very nice looking project - i saw the demo on their page
currently i use squirrelmail as a web frontend for my 'virtual MTA' setup

keep it up guys
this one would kick me into tomcat setups :)
_________________

~x86 gentoo / zen-sources 2.6.36-zen1
Back to top
View user's profile Send private message
count0nz
n00b
n00b


Joined: 19 Mar 2004
Posts: 7
Location: Auckland, NZ

PostPosted: Mon Feb 26, 2007 1:35 am    Post subject: Reply with quote

[quote="skyPhyr"]The ssl-cert patch is failing with the svn sources now.

Same errors here, Waiting for someone to fix it... going to have a try myself but i don't think i'll get that far too.

... thay need to release a source tarball as you say.
_________________
This space blank.
Back to top
View user's profile Send private message
BastianBalthazarBux
Retired Dev
Retired Dev


Joined: 10 Dec 2004
Posts: 78

PostPosted: Wed Mar 07, 2007 3:12 pm    Post subject: Reply with quote

Nice thing going to play with this zimbra stuff now, just a little suggestion for pkg_setup(), what about to check all the packages at once so the user can rebuild all the needed packages in one shot ?

Notice that in the following code "perdition" use flag is checked prior to the build_with_use, it was failing if perdition is not installed otherwise.

Code:

zimbra_build_with_use() {
    pkg=$1
    use=$2   
    if ! built_with_use ${pkg} ${use}; then
        errors[${err_count}]="${pkg} must be built with the ${use} USE-flag enabled"
        err_count=$(( err_count + 1))
    fi
}

pkg_setup() {
    local errors=( )
    local err_count=0
    local i

    zimbra_build_with_use 'www-servers/tomcat' 'java5'
    zimbra_build_with_use 'mail-mta/postfix' 'mysql'
    zimbra_build_with_use 'mail-mta/postfix' 'ldap'
    zimbra_build_with_use 'dev-libs/cyrus-sasl' 'mysql'
    zimbra_build_with_use 'dev-libs/cyrus-sasl' 'ldap'
    zimbra_build_with_use 'amavisd-new' 'mysql'
    zimbra_build_with_use 'amavisd-new' 'ldap'
    zimbra_build_with_use 'mail-filter/dspam' 'mysql'
    zimbra_build_with_use 'mail-filter/dspam' 'ldap'
    zimbra_build_with_use 'net-nds/openldap' 'berkdb'
    use perdition && zimbra_build_with_use 'net-mail/perdition' 'mysql'
    use perdition && zimbra_build_with_use 'net-mail/perdition' 'ldap'
    use clamav && use dspam && zimbra_build_with_use 'mail-filter/dspam' 'clamav'
    use sasl && zimbra_build_with_use 'mail-mta/postfix' 'sasl'

    while [[ ${i} -lt ${err_count} ]] ; do
        eerror "${errors[$i]}"
        i=$(( i +1 ))
    done
    [[ ${err_count} -gt 0 ]] && die "Dependancies miss needed use flags"
}


EDIT: added amavisd, openldap

EDIT: look like that all svn branches are downloaded, would it be enough to dnl trunk (and save a lot of traffic) ?
Back to top
View user's profile Send private message
mobian
n00b
n00b


Joined: 17 Dec 2004
Posts: 72

PostPosted: Wed Mar 14, 2007 8:36 pm    Post subject: Reply with quote

I had to modify the pkg_setup() function posted above to get this to install for me as it would fail if I didn't have sasl, dspam, amavisd-new installed (similar to problem reported above with perdition). Here's the modified pkg_setup function:

Code:


pkg_setup() {
    local errors=( )
    local err_count=0
    local i

    # Required dependencies
    zimbra_build_with_use 'www-servers/tomcat' 'java5'
    zimbra_build_with_use 'mail-mta/postfix' 'mysql'
    zimbra_build_with_use 'mail-mta/postfix' 'ldap'
    zimbra_build_with_use 'net-nds/openldap' 'berkdb'

    # Optional dependencies
    use sasl && zimbra_build_with_use 'dev-libs/cyrus-sasl' 'mysql'
    use sasl && zimbra_build_with_use 'dev-libs/cyrus-sasl' 'ldap'
    use dspam && zimbra_build_with_use 'mail-filter/dspam' 'mysql'
    use dspam && zimbra_build_with_use 'mail-filter/dspam' 'ldap'
    use amavisd && zimbra_build_with_use 'amavisd-new' 'mysql'
    use amavisd && zimbra_build_with_use 'amavisd-new' 'ldap'
    use perdition && zimbra_build_with_use 'net-mail/perdition' 'mysql'
    use perdition && zimbra_build_with_use 'net-mail/perdition' 'ldap'
    use clamav && use dspam && zimbra_build_with_use 'mail-filter/dspam' 'clamav'
    use sasl && zimbra_build_with_use 'mail-mta/postfix' 'sasl'

    while [[ ${i} -lt ${err_count} ]] ; do
        eerror "${errors[$i]}"
        i=$(( i +1 ))
    done
    [[ ${err_count} -gt 0 ]] && die "Dependancies miss needed use flags"
}
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Mon Apr 09, 2007 11:33 pm    Post subject: Reply with quote

does anyone have a ebuild for the current version and not for the trunk version?
Back to top
View user's profile Send private message
invar9
n00b
n00b


Joined: 11 Apr 2007
Posts: 1

PostPosted: Wed Apr 11, 2007 3:04 pm    Post subject: So Close.........So CLose...... Reply with quote

Thanks Mobian for the e-build that solved a lot of errors especially with perdition. I am receiving the following errors when emerging zimbra. All of the other packages have installed correctly with no errors.
!!! ERROR: www-apps/zimbra-9999_pre4 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_unpack
ebuild.sh, line 751: Called qa_call 'src_unpack'
ebuild.sh, line 44: Called src_unpack
zimbra-9999_pre4.ebuild, line 70: Called epatch '/usr/portage/local/layman/zimbra/www-apps/zimbra/files/localhost-ssl-cert.patch'
eutils.eclass, line 341: Called die

!!! Failed Patch: localhost-ssl-cert.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/www-apps:zimbra-9999_pre4:20070411-113215.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.11"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info
!!! This ebuild is from an overlay: '/usr/portage/local/layman/zimbra'

Then if I comment out the line in the e-build about the localhost-ssl-cert-patch I receive

!!! ERROR: www-apps/zimbra-9999_pre4 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_unpack
ebuild.sh, line 751: Called qa_call 'src_unpack'
ebuild.sh, line 44: Called src_unpack
zimbra-9999_pre4.ebuild, line 71: Called epatch '/usr/portage/local/layman/zimbra/www-apps/zimbra/files/gentoo_confs.patch'
eutils.eclass, line 341: Called die

!!! Failed Patch: gentoo_confs.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/www-apps:zimbra-9999_pre4:20070411-113550.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.11"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info
!!! This ebuild is from an overlay: '/usr/portage/local/layman/zimbra'

I would think that the gentoo-confs-patch is important so I do not know where to go from here?

Any help will be appreciated.

Thank You
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Mon Apr 16, 2007 7:07 am    Post subject: Reply with quote

I checked out "FRANK" and compiled with ant ZimbraWebClient and ZimbraServer and Ajax.

I successful deployed zimbra.war, service.war and zimbraAdmin.war in Tomcat 5.5. I modified server.xml and added the following part:
Code:
    <!-- =========================== Zimbra ================================= -->
    <!-- Zimbra user services connector, no SSL -->
    <Connector port="7070" maxHttpHeaderSize="8192"
               acceptCount="1024"
               enableLookups="false" redirectPort="7443"
               URIEncoding="UTF-8"
               compression="on"
               compressionMinSize="1024"
               compressableMimeType="text/html,text/plain,text/css,text/xml"
               noCompressionUserAgents=".*MSIE 6.*, gozilla, traviata"
               maxThreads="10" minSpareThreads="10" maxSpareThreads="10"/>
    <!-- Zimbra user services connector, SSL -->
    <Connector port="7443" maxHttpHeaderSize="8192"
               acceptCount="1024"
               enableLookups="false"
               disableUploadTimeout="true"
               maxThreads="10" minSpareThreads="10" maxSpareThreads="10"
               scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS"
               URIEncoding="UTF-8"
               compression="on"
               compressionMinSize="1024"
               compressableMimeType="text/html,text/plain,text/css,text/xml"
               noCompressionUserAgents=".*MSIE 6.*, gozilla, traviata"
               keystoreFile="conf/keystore" keystorePass="zimbra"/>
    <!-- Zimbra admin services connector; requires SSL -->               
    <Connector port="7071" maxHttpHeaderSize="8192"
               acceptCount="1024"
               enableLookups="false"
               disableUploadTimeout="true"
               maxThreads="10" minSpareThreads="10" maxSpareThreads="10"
               scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS"
               URIEncoding="UTF-8"
               compression="on"
               compressionMinSize="1024"
               compressableMimeType="text/html,text/plain,text/css,text/xml"
               noCompressionUserAgents=".*MSIE 6.*, gozilla, traviata"
               keystoreFile="conf/keystore" keystorePass="zimbra"/>
    <!-- =========================== Zimbra ================================= -->


I modified Tomcat's web.xml and added the following part:
Code:
    <!-- =========================== Zimbra ================================= -->
    <mime-mapping>
        <extension>zgz</extension>
        <mime-type>text/javascript</mime-type>
    </mime-mapping>
    <!-- =========================== Zimbra ================================= -->


I copied /opt/zimbra/tomcat/conf/keystore to my Tomcat 5.5 installation (${CATALINA_BASE}/conf/keystore).

After restarting I can see a login screen for the normal web client http://myhost:7070/zimbra but when I try to use the Zimbra admin at https://myhost:7071/zimbraAdmin then I don't see anything in Firefox. It is just empty. But when I look at the code of the page I see that the page get's rendered. So it should work.

But I still have some questions:
  • What about the other Tomcat files?:
    • /opt/zimbra/tomcat/common/endorsed/zimbra-charset.jar
    • /opt/zimbra/tomcat/common/lib/zimbra-native.jar
    • /opt/zimbra/tomcat/common/lib/ical4j-0.9.16-patched.jar
    • /opt/zimbra/tomcat/common/lib/activation.jar
    • /opt/zimbra/tomcat/common/lib/mail.jar
  • Should I move those files int my Tomcat installation?
  • Should I add /opt/zimbra/tomcat/common/endorsed and /opt/zimbra/tomcat/common/lib to my CLASSPATH?


I have jet not created the MySQL database and I still have not configured OpenLDAP. I know that they need to be configured for Zimbra to work. But right now I only am trying to get a login screen for the normal web client (which works) and for the admin web client (which does not work).

// SteveB
Back to top
View user's profile Send private message
mobian
n00b
n00b


Joined: 17 Dec 2004
Posts: 72

PostPosted: Mon May 07, 2007 11:21 pm    Post subject: Reply with quote

Any update on this yet? Haven't heard anything on this in a while....
Back to top
View user's profile Send private message
notanatheist
n00b
n00b


Joined: 03 Jun 2003
Posts: 16

PostPosted: Tue May 08, 2007 3:44 am    Post subject: Reply with quote

I'd like to get this up and going on my server as well. It'd be convienant to use as a homepage. Are there really any other decent open source messaging and collab tools? My biggest thing I would like minimal dependencies since my server is headless.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Jun 04, 2007 8:44 pm    Post subject: Reply with quote

rmh3093,

are you still working on this? I'm interested in helping getting zimbra into Portage and we might get the support of the Gentoo-Java or and the Gentoo-webapps teams.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Mon Jun 04, 2007 10:23 pm    Post subject: Reply with quote

jmbsvicetto wrote:
rmh3093,

are you still working on this? I'm interested in helping getting zimbra into Portage and we might get the support of the Gentoo-Java or and the Gentoo-webapps teams.


i havent worked on it in a while, i created the overlay and ebuild to provide a start fro people to work from... if you or anyone want to contribute I can give you svn access to the repo... just send me a PM
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
dR0PS
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2005
Posts: 116
Location: DE/Hamburg

PostPosted: Wed Jun 06, 2007 5:05 pm    Post subject: Reply with quote

jmbsvicetto wrote:
rmh3093,

are you still working on this? I'm interested in helping getting zimbra into Portage and we might get the support of the Gentoo-Java or and the Gentoo-webapps teams.


yes please! I'm still very interested into this.

I would help out a bit too but my knowledge into ebuilds is just too small.
So I could only try to let this bin-package cooperate with gentoo and write down the differences I can find.
More, trial by error thingy tho.

dR0PS
_________________

~x86 gentoo / zen-sources 2.6.36-zen1
Back to top
View user's profile Send private message
mobian
n00b
n00b


Joined: 17 Dec 2004
Posts: 72

PostPosted: Fri Jun 08, 2007 7:40 pm    Post subject: Reply with quote

I'm happy to assist with this as well. I'd really like a source install of Zimbra without the nasty chroot method.
Back to top
View user's profile Send private message
katafitos
n00b
n00b


Joined: 22 Nov 2006
Posts: 56
Location: Greece

PostPosted: Fri Jun 15, 2007 7:36 am    Post subject: Reply with quote

jmbsvicetto

Is there any update on zimbra going to Portage?
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Jun 18, 2007 11:42 pm    Post subject: Reply with quote

katafitos wrote:
jmbsvicetto

Is there any update on zimbra going to Portage?

Hi.

I'm sorry but I've had some busy days and have been unable to look at the overlay.
I hope to take a look at this during this week.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
katafitos
n00b
n00b


Joined: 22 Nov 2006
Posts: 56
Location: Greece

PostPosted: Tue Jun 19, 2007 4:05 am    Post subject: Reply with quote

jmbsvicetto wrote:

Hi.

I'm sorry but I've had some busy days and have been unable to look at the overlay.
I hope to take a look at this during this week.


Hi
np
thank you!! :)
Back to top
View user's profile Send private message
skyPhyr
Apprentice
Apprentice


Joined: 17 Sep 2004
Posts: 159
Location: London, UK

PostPosted: Tue Jun 26, 2007 11:53 am    Post subject: Reply with quote

Hi Again,

I just did some hunting around on the sourceforge project page and found this
http://sourceforge.net/project/showfiles.php?group_id=153217&package_id=170385

It's got tarballs of 4.5.5 and 5.0_Beta1. This would provide a nice stable base for an ebuild to work from.

Cheers,

Alan.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Tue Jun 26, 2007 5:55 pm    Post subject: Reply with quote

skyPhyr wrote:
I just did some hunting around on the sourceforge project page and found this
http://sourceforge.net/project/showfiles.php?group_id=153217&package_id=170385

It's got tarballs of 4.5.5 and 5.0_Beta1. This would provide a nice stable base for an ebuild to work from.

Now, this is a very good source to make some ebuilds.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Tue Jun 26, 2007 9:48 pm    Post subject: Reply with quote

jmbsvicetto wrote:
skyPhyr wrote:
I just did some hunting around on the sourceforge project page and found this
http://sourceforge.net/project/showfiles.php?group_id=153217&package_id=170385

It's got tarballs of 4.5.5 and 5.0_Beta1. This would provide a nice stable base for an ebuild to work from.

Now, this is a very good source to make some ebuilds.


the source is irrelevant, there the Zimbra dev's build everything with a prefix of /opt/zimbra... in config files, in java files and in all the supporting apps.... it dosent matter if the ebuild works with svn or a snapshot, the source is still not gentoo friendly
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Wed Jun 27, 2007 5:52 pm    Post subject: Reply with quote

rmh3093 wrote:

the source is irrelevant, there the Zimbra dev's build everything with a prefix of /opt/zimbra... in config files, in java files and in all the supporting apps.... it dosent matter if the ebuild works with svn or a snapshot, the source is still not gentoo friendly

That means that the ebuild will need to do some (major?) tweaks. However, for Gentoo having a snapshot or a live svn/cvs source is very different. The former allows predictability, whilst the latter doesn't.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Wed Jun 27, 2007 6:58 pm    Post subject: Reply with quote

jmbsvicetto wrote:
rmh3093 wrote:

the source is irrelevant, there the Zimbra dev's build everything with a prefix of /opt/zimbra... in config files, in java files and in all the supporting apps.... it dosent matter if the ebuild works with svn or a snapshot, the source is still not gentoo friendly

That means that the ebuild will need to do some (major?) tweaks. However, for Gentoo having a snapshot or a live svn/cvs source is very different. The former allows predictability, whilst the latter doesn't.


yes for an official ebuild a snapshot would be best.... but the work required to get things working in gentoo will be equivalent regardless the source of the sources
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
xtbasic
n00b
n00b


Joined: 27 Nov 2004
Posts: 51

PostPosted: Fri Jul 13, 2007 5:36 pm    Post subject: Reply with quote

Is anyone still working on this? Mark me down as being interested, this app looks great...
Back to top
View user's profile Send private message
Vragec
n00b
n00b


Joined: 24 Mar 2006
Posts: 8

PostPosted: Sat Aug 18, 2007 6:33 pm    Post subject: emerge error Reply with quote

I get next error at emerge zimbra:
Code:
emerge -av zimbra

These are the packages that would be merged, in order:

Calculating dependencies /!!! Manifest file not found: '/usr/portage/www-apps/zimbra/Manifest'

!!! All ebuilds that could satisfy "zimbra" have been masked.
!!! One of the following masked packages is required to complete your request:
- www-apps/zimbra-9999_pre3 (masked by: corruption)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.


Any help ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum