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 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: Thu Dec 14, 2006 5:10 am    Post subject: [Zimbra 4.5.0_RC1] Pre release of svn ebuild Reply with quote

I decided to try an tackle the task of getting Zimbra to build from source on a Gentoo system instead of using a chroot to run debian binaries. I don't have any prior experience with java webpages and sevlets are definitely a new concept for me. I've started an overlay where I will update the ebuilds as I make progress. There are many ways to setup zimbra (eg. tomcat w/ or w/o apache) with gentoo so if you have any constructive comments I would like to hear them. The ebuild doesn't do much yet, but I though I would get it out there for anyone that wants to help.

www-apps/zimbra/zimbra-9999_pre3.ebuild:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:

inherit subversion eutils java-ant-2

ESVN_REPO_URI="https://zimbra.svn.sourceforge.net/svnroot/zimbra/trunk"

DESCRIPTION="Zimbra is an open source server and client technology for next-generation enterprise messaging and collaboration."
HOMEPAGE="http://www.zimbra.com"
SRC_URI=""

LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="-*"
IUSE="zimlets spell clamav amavisd dspam sasl perdition"

RDEPEND="=virtual/jre-1.5*
   =www-servers/tomcat-5.5*
   dev-db/mysql
   mail-mta/postfix
   sasl? ( dev-libs/cyrus-sasl )
   spell? ( app-text/aspell )
   clamav? ( app-antivirus/clamav )
   amavisd? ( mail-filter/amavisd-new )
   dspam? ( mail-filter/dspam )
   perdition? ( net-mail/perdition )
   =net-nds/openldap-2.3*
   sys-libs/db"
DEPEND="=virtual/jdk-1.5*
   =dev-java/ant-core-1.6*"
PDEPEND=""

S="${WORKDIR}"

pkg_setup() {
        if ! built_with_use 'www-servers/tomcat' java5; then
                eerror "www-servers/tomcat must be built with the java5 USE-flag enabled"
                die "emerge www-servers/tomcat with the java5 USE-flag enabled"
        fi
        if ! built_with_use 'mail-mta/postfix' mysql; then
                eerror "mail-mta/postfix must be built with the mysql USE-flag enabled"
                die "emerge mail-mta/postfix with the mysql USE-flag enabled"
        fi
        if ! built_with_use 'mail-mta/postfix' ldap; then
                eerror "mail-mta/postfix must be built with the ldap USE-flag enabled"
                die "emerge mail-mta/postfix with the ldap USE-flag enabled"
        fi
        if ! built_with_use 'net-mail/perdition' mysql; then
                eerror "net-mail/perdition must be built with the mysql USE-flag enabled"
                die "emerge net-mail/perdition with the mysql USE-flag enabled"
        fi
        if ! built_with_use 'net-mail/perdition' ldap; then
                eerror "net-mail/perdition must be built with the ldap USE-flag enabled"
                die "emerge net-mail/perdition with the ldap USE-flag enabled"
        fi
        if ! built_with_use 'dev-libs/cyrus-sasl' mysql; then
                eerror "dev-libs/cyrus-sasl must be built with the mysql USE-flag enabled"
                die "emerge dev-libs/cyrus-sasl with the mysql USE-flag enabled"
        fi
        if ! built_with_use 'dev-libs/cyrus-sasl' ldap; then
                eerror "dev-libs/cyrus-sasl must be built with the ldap USE-flag enabled"
                die "emerge dev-libs/cyrus-sasl with the ldap USE-flag enabled"
        fi
        if ! built_with_use 'mail-filter/amavisd-new' mysql; then
                eerror "mail-filter/amavisd-new must be built with the mysql USE-flag enabled"
                die "emerge mail-filter/amavisd-new with the mysql USE-flag enabled"
        fi
        if ! built_with_use 'mail-filter/amavisd-new' ldap; then
                eerror "mail-filter/amavisd-new must be built with the ldap USE-flag enabled"
                die "emerge mail-filter/amavisd-new with the ldap USE-flag enabled"
        fi
        if ! built_with_use 'mail-filter/dspam' mysql; then
                eerror "mail-filter/dspam must be built with the mysql USE-flag enabled"
                die "emerge mail-filter/dspam with the mysql USE-flag enabled"
        fi
        if ! built_with_use 'mail-filter/dspam' ldap; then
                eerror "mail-filter/dspam must be built with the ldap USE-flag enabled"
                die "emerge mail-filter/dspam with the ldap USE-flag enabled"
        fi
        if use clamav && use dspam && ! built_with_use 'mail-filter/dspam' clamav; then
                eerror "mail-filter/dspam must be built with the clamav USE-flag enabled"
                die "emerge mail-filter/dspam with the clamav USE-flag enabled"
        fi
        if use sasl && ! built_with_use 'mail-mta/postfix' sasl; then
                eerror "mail-mta/postfix must be built with the sasl USE-flag enabled"
                die "emerge mail-mta/postfix with the sasl USE-flag enabled"
        fi
}

src_unpack() {
   subversion_src_unpack
   cd ${S}/ZimbraServer
   epatch ${FILESDIR}/localhost-ssl-cert.patch
   epatch ${FILESDIR}/gentoo_confs.patch
}

src_compile() {
   cd ${S}/ZimbraServer
   eant dev-dist localhost-ssl-cert
   cd ${S}/ZimbraWebClient
   eant dev-dist admin-dev-war
   cd ${S}/Ajax
   eant
   if use zimlets; then
      cd ${S}/Zimlet
      eant package package-zimlets-extra
   fi
}

pkg_preinst() {
    enewgroup zimbra
    enewuser zimbra -1 -1 -1 zimbra
}

src_install() {
   dodir /etc/openldap
   cp -R ${S}/ZimbraServer/build/dist/openldap/etc/openldap/* ${D}/etc/openldap
   cp -R ${S}/ZimbraServer/conf/ldap/{DB_CONFIG,slapd.conf} ${D}/etc/openldap
   fowners ldap:ldap ${D}/etc/openldap -R
   dodir /opt/zimbra
   cp -R ${S}/{ZimbraServer,ZimbraWebClient,Ajax}/build/dist/* ${D}/opt/zimbra
        if use zimlets; then
      cp -R ${S}/Zimlet/build/dist/* ${D}/opt/zimbra
        fi
}

pkg_postinst() {
   einfo "Don't forget to create the database:"
   einfo "mysql -u root -p < /opt/zimbra/db/db.sql"
   einfo "You also need to deploy the war files."
   einfo "Find them in: /opt/zimbra/tomcat/webapps"
}


Overlay:
layman -a zimbra


Install:
emerge zimbra

_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.


Last edited by rmh3093 on Sat Dec 16, 2006 2:37 pm; edited 15 times in total
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


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

PostPosted: Thu Dec 14, 2006 6:12 pm    Post subject: Reply with quote

alright as of right now the ebuild will compile zimbra and copy all of the built crap into a directory.... if anyone has any experience setting up webapps and can help me put all the config files correct places that would be very appreciated
_________________
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
massimo71
n00b
n00b


Joined: 31 Mar 2005
Posts: 15
Location: Italia (PN)

PostPosted: Fri Dec 15, 2006 11:18 am    Post subject: missing keyword & mysql Reply with quote

I have unmask the package in /etc/portage/package.keywords with

www-apps/zimbra -*

and this the preview emerge :

[ebuild UD] dev-db/mysql-4.1.22 [5.0.30] USE="berkdb perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -minimal -raid% (-selinux) -srvdir -static (-max-idx-128%)" 17,348 kB
[ebuild UD] virtual/mysql-4.1 [5.0] 0 kB
[ebuild N ] www-apps/zimbra-9999_pre1 USE="apache2" 0 kB [8]

can i proced with mysql 5 ?
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


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

PostPosted: Fri Dec 15, 2006 12:57 pm    Post subject: Re: missing keyword & mysql Reply with quote

massimo71 wrote:
I have unmask the package in /etc/portage/package.keywords with

www-apps/zimbra -*

and this the preview emerge :

[ebuild UD] dev-db/mysql-4.1.22 [5.0.30] USE="berkdb perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -minimal -raid% (-selinux) -srvdir -static (-max-idx-128%)" 17,348 kB
[ebuild UD] virtual/mysql-4.1 [5.0] 0 kB
[ebuild N ] www-apps/zimbra-9999_pre1 USE="apache2" 0 kB [8]

can i proced with mysql 5 ?


let me know if it works and I will change it in future ebuilds... i just tried staying to close to the instructions i found for building zimbra from source... i didnt know what was going to break with out java5 or mysql4

i have only gotten as far as a login screen so I dont really know what to expect yet
_________________
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
massimo71
n00b
n00b


Joined: 31 Mar 2005
Posts: 15
Location: Italia (PN)

PostPosted: Fri Dec 15, 2006 1:38 pm    Post subject: Reply with quote

in the last revision of svn (469) are modified :

trunk/ZimbraCommon/qatool.txt modified , text changed
Directorytrunk/ZimbraCommon/src/java/com/zimbra/common/io/AsyncFileCopier.java modified , text changed
Directorytrunk/ZimbraCommon/src/java/com/zimbra/common/io/AsyncPipedFileCopier.java modified , text changed
Directorytrunk/ZimbraCommon/src/java/com/zimbra/common/io/FileCopierFactory.java modified , text changed
Directorytrunk/ZimbraCommon/src/java/com/zimbra/common/io/SerialFileCopier.java modified , text changed
Directorytrunk/ZimbraServer/src/java/com/zimbra/cs/db/DbMailItem.java modified , text changed
Directorytrunk/ZimbraServer/src/java/com/zimbra/cs/db/DbMailbox.java modified , text changed
Directorytrunk/ZimbraServer/src/java/com/zimbra/cs/db/DbPop3Message.java modified , text changed
Directorytrunk/ZimbraServer/src/java/com/zimbra/cs/imap/ImapMessage.java modified , text changed
Directorytrunk/ZimbraServer/src/java/com/zimbra/qa/unittest/TestPop3Import.java modified , text changed

but now java don't compile :-(

i try later with new revision (maybe there is a bugzilla site to report the error ?)

----------------------------------------------------------------------------------------------------------------------------------------

[javac] Compiling 996 source files to /var/tmp/portage/zimbra-9999_pre1/work/ZimbraServer/build/classes
https://zimbra.svn.sourceforge.net/svnroot/zimbra/trunk
[javac] /var/tmp/portage/zimbra-9999_pre1/work/ZimbraServer/src/java/com/zimbra/cs/mailbox/Pop3Import.java:211: storeUid(com.zimbra.cs.mailbox.Mailbox,java.lang.String,java.lang.String,int) in com.zimbra.cs.db.DbPop3Message cannot be applied to (com.zimbra.cs.mailbox.Mailbox,com.zimbra.cs.account.DataSource,java.lang.String,int)
[javac] DbPop3Message.storeUid(mbox, ds, folder.getUID(pop3Msg), zimbraMsg.getId());
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

BUILD FAILED
/var/tmp/portage/zimbra-9999_pre1/work/ZimbraServer/build.xml:271: Compile failed; see the compiler error output for details.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


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

PostPosted: Fri Dec 15, 2006 2:28 pm    Post subject: Reply with quote

the zimbra dev update that repo all day long, so its possible they just broke something..... i will have a new ebuild in a few about an hour you can try

EDIT: i just tried rev469 and it fails also on my machine so the zimbra devs must have broke this... i will try force rev468 since that worked for me last night
_________________
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
massimo71
n00b
n00b


Joined: 31 Mar 2005
Posts: 15
Location: Italia (PN)

PostPosted: Fri Dec 15, 2006 3:05 pm    Post subject: Reply with quote

the patch is simple !!

in /zimbra/trunck/ZimbraServer/src/java/com/zimbra/cs/mailbox/Pop3Import.java

where

DbPop3Message.storeUid(mbox, ds, folder.getUID(pop3Msg), (... etc etc)

change in

DbPop3Message.storeUid(mbox, ds.getId(), folder.getUID(pop3Msg), (... etc etc)
Back to top
View user's profile Send private message
massimo71
n00b
n00b


Joined: 31 Mar 2005
Posts: 15
Location: Italia (PN)

PostPosted: Fri Dec 15, 2006 3:11 pm    Post subject: Reply with quote

Ok emerge work !!

i do the database creation ...

and now ? how work ?

(i have /opt/zimbra/..)

Thanks
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


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

PostPosted: Fri Dec 15, 2006 3:17 pm    Post subject: Reply with quote

cp /opt/zimbra/tomcat/conf/* /etc/tomcat-5.5/

in /opt/zimbra/tomcat/webapps/ is "zimbra.war", you need to deploy that with tomcat "localhost:7070"

the user/pass for the manager is zimbra/zimbra

once in the manager find the deploy war section and load up that zimbra.war file

thats about as far as I am now
_________________
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
massimo71
n00b
n00b


Joined: 31 Mar 2005
Posts: 15
Location: Italia (PN)

PostPosted: Fri Dec 15, 2006 3:34 pm    Post subject: Reply with quote

Ok zimbra.war deployed (i have already tomcat-5.5 up e running for other application)

and now i have the zimbra login page !!

So now we have to configure all the backend ? right ?

(configure openldap and mysql )
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


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

PostPosted: Fri Dec 15, 2006 3:40 pm    Post subject: Reply with quote

yeah ldap, postfix, mysql need to get configured.... still trying to figure out all that mess... somewhere in /opt/zimbra should be all the config files
_________________
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
massimo71
n00b
n00b


Joined: 31 Mar 2005
Posts: 15
Location: Italia (PN)

PostPosted: Fri Dec 15, 2006 4:29 pm    Post subject: Reply with quote

i see the patch on pre2 layman update ,

not more necessary, revision 470 on svn fix problem :-)
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


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

PostPosted: Fri Dec 15, 2006 4:31 pm    Post subject: Reply with quote

massimo71 wrote:
i see the patch on pre2 layman update ,

not more necessary, revision 470 on svn fix problem :-)


lol, i posted your fix on the zimbra forum, they are quick
_________________
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
rmh3093
Advocate
Advocate


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

PostPosted: Fri Dec 15, 2006 4:40 pm    Post subject: Reply with quote

massimo71 wrote:
i see the patch on pre2 layman update ,

not more necessary, revision 470 on svn fix problem :-)


if you figure out how to actually get logged in let me know what you did please
_________________
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
massimo71
n00b
n00b


Joined: 31 Mar 2005
Posts: 15
Location: Italia (PN)

PostPosted: Fri Dec 15, 2006 4:43 pm    Post subject: Reply with quote

why "mbox" use flag necessary ?

if i reemerge postfix with this use flag can i broke something ?
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


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

PostPosted: Fri Dec 15, 2006 4:55 pm    Post subject: Reply with quote

no it probably not necessary but it definitely shouldn't break anything existing on your system, i will get rid of that requirement for now its required
_________________
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
massimo71
n00b
n00b


Joined: 31 Mar 2005
Posts: 15
Location: Italia (PN)

PostPosted: Sat Dec 16, 2006 9:04 am    Post subject: Reply with quote

ok "mbox" use flag online and postfix work like before !!

Now , i'm trying to configure zimbra for openldap.

I have now a openldap configured for open-exchange, (that work very well)
so i add schema needed by zimbra and reload slapd
(in /schema dir i add zimbra.schema, and modify slapd.conf) all ok.

My problem are with rootdn ,
now i have a different rootdn for my openldap server
(zimbra use -> rootdn="uid=zimbra,cn=admins,cn=zimbra")

How to configure in the emerge process my rootdn intead of manualy replace in all file (of the zimbra build) the string "uid=zimbra,cn=admins,cn=zimbra" with my rootdn ?
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


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

PostPosted: Sat Dec 16, 2006 2:05 pm    Post subject: Reply with quote

check out _pre3, i can actually start slapd now, but ldap still isnt initialized right cause I cant log in yet.... also the admin page dosent seem to load properly yet... im guessing that has to do with cert as well

with regards to your existing set up... i have only dealt with ldap once in my life, I got some gentoo boxes to authenticate to a active directory server... so I wont be much help for you i think w/ respect to ldap, im doing lots of reading trying to get all of this working.... we need some experts to step in here now
_________________
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
massimo71
n00b
n00b


Joined: 31 Mar 2005
Posts: 15
Location: Italia (PN)

PostPosted: Mon Dec 18, 2006 3:16 pm    Post subject: Reply with quote

Ok , now i'm on pre4.

I see new better tree of /opt/zimbra !!

So i try to launch "su - zimbra -c /opt/zimbra/bin/zmcontrol start"

su - zimbra -c /opt/zimbra/bin/zmcontrol
Can't locate Zimbra/Util/Common.pm in @INC (@INC contains: /opt/zimbra/zimbramon.8/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendolib/perl5/site_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.85/site_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /opt/zimbra/bin/zmcontrol line 40.
BEGIN failed--compilation aborted at /opt/zimbra/bin/zmcontrol line 40.


so we need to install
/usr/portage/distfiles/svr-src/zimbra/trunck/ZimbraBuild/lib/Zimbra

in some path area ..

What you suggest ?
Back to top
View user's profile Send private message
massimo71
n00b
n00b


Joined: 31 Mar 2005
Posts: 15
Location: Italia (PN)

PostPosted: Mon Dec 18, 2006 3:27 pm    Post subject: Reply with quote

i put on /opt/zimbra/zimbramon/lib

so now :


Release package zimbra-core is not installed


/opt/zimbra/bin/zmcontrol [-v -h -H <host>] command [args]

-v: display version
-h: print usage statement
-H: Host name (localhost)

Command in:
maintenance Toggle maintenance mode
shutdown Stop services
start Start services
startup Start services
status Display service status
stop Stop services


look at source we need : get_plt_tag.sh that i found on svn and put on /opt/zimbra/libexec
but we have to modify for be gentoo specific ...
Help!!
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


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

PostPosted: Mon Dec 18, 2006 6:31 pm    Post subject: Reply with quote

massimo71 wrote:
i put on /opt/zimbra/zimbramon/lib

so now :


Release package zimbra-core is not installed


/opt/zimbra/bin/zmcontrol [-v -h -H <host>] command [args]

-v: display version
-h: print usage statement
-H: Host name (localhost)

Command in:
maintenance Toggle maintenance mode
shutdown Stop services
start Start services
startup Start services
status Display service status
stop Stop services


look at source we need : get_plt_tag.sh that i found on svn and put on /opt/zimbra/libexec
but we have to modify for be gentoo specific ...
Help!!


we dont really need any of the zm* scripts.... all they do is start/stop services all of which can be done with /etc/init.d :D

however.... i think there is a hardcoded user for zimbra that causes tomcat to crash (because on gentoo the tomcat use it tomcat) im trying to resolve this issue
_________________
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
massimo71
n00b
n00b


Joined: 31 Mar 2005
Posts: 15
Location: Italia (PN)

PostPosted: Thu Dec 21, 2006 5:07 pm    Post subject: Reply with quote

i add service.war in my webapps tomcat directory ,

now zimbra complain because there is not my name server in the ldap server (and tomcat is blocked)

so i need to :

zmprov cs <hostname>

to add my host to ldap but don't work !!

(connection refused)

where i config user and password for zimbra for my ldap server ?
Back to top
View user's profile Send private message
skyPhyr
Apprentice
Apprentice


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

PostPosted: Mon Jan 29, 2007 10:01 pm    Post subject: Reply with quote

Using pre4 from layman I had the use flags
dspam spell zimlets -amavisd -clamav -perdition -sasl
and it generated errors for some of the built_with_use for applications which weren't dependencies with those use flags.

So I updated the pkg_setup() function as follows. emerging now - no idea if it's successful yet.

Cheers,

Alan.

Code:
pkg_setup() {
        if ! built_with_use 'www-servers/tomcat' java5; then
                eerror "www-servers/tomcat must be built with the java5 USE-flag enabled"
                die "emerge www-servers/tomcat with the java5 USE-flag enabled"
        fi
        if ! built_with_use 'mail-mta/postfix' mysql; then
                eerror "mail-mta/postfix must be built with the mysql USE-flag enabled"
                die "emerge mail-mta/postfix with the mysql USE-flag enabled"
        fi
        if ! built_with_use 'mail-mta/postfix' ldap; then
                eerror "mail-mta/postfix must be built with the ldap USE-flag enabled"
                die "emerge mail-mta/postfix with the ldap USE-flag enabled"
        fi
        if use perdition && ! built_with_use 'net-mail/perdition' mysql; then
                eerror "net-mail/perdition must be built with the mysql USE-flag enabled"
                die "emerge net-mail/perdition with the mysql USE-flag enabled"
        fi
        if use perdition && ! built_with_use 'net-mail/perdition' ldap; then
                eerror "net-mail/perdition must be built with the ldap USE-flag enabled"
                die "emerge net-mail/perdition with the ldap USE-flag enabled"
        fi
        if use sasl && ! built_with_use 'dev-libs/cyrus-sasl' mysql; then
                eerror "dev-libs/cyrus-sasl must be built with the mysql USE-flag enabled"
                die "emerge dev-libs/cyrus-sasl with the mysql USE-flag enabled"
        fi
        if use sasl && ! built_with_use 'dev-libs/cyrus-sasl' ldap; then
                eerror "dev-libs/cyrus-sasl must be built with the ldap USE-flag enabled"
                die "emerge dev-libs/cyrus-sasl with the ldap USE-flag enabled"
        fi
        if use amavisd && ! built_with_use 'mail-filter/amavisd-new' mysql; then
                eerror "mail-filter/amavisd-new must be built with the mysql USE-flag enabled"
                die "emerge mail-filter/amavisd-new with the mysql USE-flag enabled"
        fi
        if use amavisd && ! built_with_use 'mail-filter/amavisd-new' ldap; then
                eerror "mail-filter/amavisd-new must be built with the ldap USE-flag enabled"
                die "emerge mail-filter/amavisd-new with the ldap USE-flag enabled"
        fi
        if use dspam && ! built_with_use 'mail-filter/dspam' mysql; then
                eerror "mail-filter/dspam must be built with the mysql USE-flag enabled"
                die "emerge mail-filter/dspam with the mysql USE-flag enabled"
        fi
        if use dspam && ! built_with_use 'mail-filter/dspam' ldap; then
                eerror "mail-filter/dspam must be built with the ldap USE-flag enabled"
                die "emerge mail-filter/dspam with the ldap USE-flag enabled"
        fi
        if use clamav && use dspam && ! built_with_use 'mail-filter/dspam' clamav; then
                eerror "mail-filter/dspam must be built with the clamav USE-flag enabled"
                die "emerge mail-filter/dspam with the clamav USE-flag enabled"
        fi
        if use sasl && ! built_with_use 'mail-mta/postfix' sasl; then
                eerror "mail-mta/postfix must be built with the sasl USE-flag enabled"
                die "emerge mail-mta/postfix with the sasl USE-flag enabled"
        fi
        if ! built_with_use 'net-nds/openldap' berkdb; then
                eerror "net-nds/openldap must be built with the berkdb USE-flag enabled"
                die "emerge net-nds/openldap with the berkdb USE-flag enabled"
        fi
}
Back to top
View user's profile Send private message
skyPhyr
Apprentice
Apprentice


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

PostPosted: Mon Jan 29, 2007 10:41 pm    Post subject: Reply with quote

The ssl-cert patch is failing with the svn sources now.

Would be handy if Zimbra released tarballs - speed up the download and mean it isn't a moving target.

EDIT: ok - I tried removing the ssl-cert patch and the gentoo_confs patch also fails. I didn't bother removing this one and trying as I'd expect this would be a pretty serious breakage to the package.

Cheers,

Alan.
Back to top
View user's profile Send private message
skyPhyr
Apprentice
Apprentice


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

PostPosted: Tue Jan 30, 2007 10:25 am    Post subject: Reply with quote

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.
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 1, 2, 3  Next
Page 1 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