From owner-freebsd-ports@freebsd.org Wed Jun 1 14:01:22 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD693B60DFD for ; Wed, 1 Jun 2016 14:01:22 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7444113A0 for ; Wed, 1 Jun 2016 14:01:22 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.87 (FreeBSD)) (envelope-from ) id 1b86i0-000AJp-SK; Wed, 01 Jun 2016 16:01:20 +0200 Date: Wed, 1 Jun 2016 16:01:20 +0200 From: Kurt Jaeger To: rs Cc: freebsd-ports@freebsd.org Subject: Re: Zimbra Port Message-ID: <20160601140120.GA41922@home.opsec.eu> References: <74bdbdd0-0883-c7bd-fa00-996fca53f502@trust64.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <74bdbdd0-0883-c7bd-fa00-996fca53f502@trust64.com> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2016 14:01:22 -0000 Hi! > I am trying to create a port of the zimbra collaboration suite. I am in > contact with upstream and they are actively helping in making a port > happen. Thank you for that. This can be an important application in the ports tree. > * Zimbra expects itself to be installed to /opt/zimbra. It is not easy > to change that, /opt/zimbra is hardcoded in a lot of places. Its a > longterm goal of mine to help clean that up, but it is not possible > right now. Are there any problems with a package which installs to /opt? It's uncommon and there are no other ports doing this. To get it to build it's OK, but in the long run, this has to adapt. > * The Zimbra source is huge, a git clone is about 13 GigaBytes. I am not > sure on how source that big is handled correctly in ports. >From what I know, this is approx. one magnitude (10x) larger than anything else. > (e.g. is it > OK that every make does a git clone and you have to wait until you get > the 13 GB of data? A make that does a git clone is probably a bad idea, the ports framework has no hooks for that, as far as I understand. Is there any kind of release process ? Some sort of code modularisation ? > Would this be a problem for the FreeBSD build cluster > infrastructure to create the packages?, ...) It would be a challenge, yes. > * On the porters handbook it says to fetch a tarball from http/ftp, is > it also possible to directly work with git and clone a repository? I've not found a port that does a git clone, so I think putting some git clone somewhere as a .tgz would be a easier start. > This is the right place to get help started in porting? FreeBSD has so > much mailing lists :-) Yes, it is. But I can tell you, this is a huge task! -- pi@opsec.eu +49 171 3101372 4 years to go !