cyrus-imapd build dependencies

Ken Murchison murch at fastmail.com
Tue Mar 19 08:09:39 EDT 2019


On 3/19/19 12:34 AM, Anatoli via Info-cyrus wrote:
> Hi Ellie,
>
> > The Cyrus httpd provides DAV services (which use the HTTP 
> protocol).  If you want the Cyrus httpd to support HTTP/2, you will 
> need libnghttp2.  Otherwise it will only support HTTP/1.
>
> Always wanted to ask what the nghttp2 dependency was for. From what 
> you say I infer that it's only needed for HTTP/2. But what DAV service 
> could benefit from this? Are there DAV clients that know HTTP/2?


Mozilla Lightning uses HTTP/2 for CalDAV if the server supports it.



>
> And speaking about the SNMP agent, are there any plans to complete the 
> transfer of its code from the master process to an independent daemon, 
> issue #1765 <https://github.com/cyrusimap/cyrus-imapd/issues/1765>? 
> (It needs to be moved out to implement efficient chroot)
>
> Regards,
> Anatoli
>
> *From:* Ellie Timoney <ellie at fastmail.com>
> *Sent:* Monday, March 18, 2019 21:55
> *To:* Info-cyrus <info-cyrus at lists.andrew.cmu.edu>
> *Subject:* Re: cyrus-imapd build dependencies
>
> Hi Patrick,
>
> On Mon, Mar 18, 2019, at 11:33 PM, Patrick Goetz wrote:
>> This page on compiling cyrus-imapd:
>>
>>     https://www.cyrusimap.org/imap/developer/compiling.html
> This page is in the developer section, so its context is for people who are Cyrus developers (especially for new contributors needing to get rolling quickly).  Expect a certain amount of detail to be glossed over on the assumption that it's already known and/or reasonably documented elsewhere.
>
>> shows a number of build dependencies; however I was just able to compile
>> cyrus-imapd without these installed:
>>
>>      gperf
>>      libbsd
>>
>>
>> Are these actually necessary?
> Probably depends on which features you enable.  If you run './configure' without arguments, a number of large features won't be enabled, so any libraries they depend on won't be used.  Some of these features are important enough that we (developers) kind of think of them as being probably-always-included even if they default to not.
>
>> Later in the page, under "Alternate database formats" it shows the
>> configure flags to use in order to use mysql/mariadb as a backend for
>> cyrus databases.  I think this is needed if one plans to use virtual
>> domains, but I couldn't get a confirmation on this.
> These are literally just "alternate database formats" -- maybe you already have extensive expertise in some other database and would rather use that than one of the builtin ones.  It has nothing to do with virtual domains.  Documentation about the databases used by Cyrus are here:https://www.cyrusimap.org/imap/concepts/deployment/databases.html
>
>> In any case, the
>> configure options are given as
>>    --with-mysql, --with-mysql-incdir, --with-mysql-libdir
>>
>> with no clear indication of what each of these does.  For example, is
>> the --with-mysql all inclusive, or does one need to set all 3?
> The canonical source of information on configure options is the output from './configure --help'.  It's kind of assumed that a developer will look there to find this information.
>
>> Finally a couple of items in the "Other" category are a real head
>> scratcher.  For example, what is the purpose of net-snmp?
> You can click on any of those package names to go to the website for that package and get a description of what it does.  For example,
>
>> Simple Network Management Protocol (SNMP) is a widely used
>> protocol for monitoring the health and welfare of network equipment
>>   (eg. routers), computer equipment and even devices like UPSs.
>> Net-SNMP is a suite of applications used to implement SNMP v1,
>> SNMP v2c and SNMP v3 using both IPv4 and IPv6.
>   
>> libnghttp2 is listed as needed for "HTTP/2 support for httpd" -- what's
>> using httpd?  Is this to faciliate CalDAV/CardDAV?
> The Cyrus httpd provides DAV services (which use the HTTP protocol).  If you want the Cyrus httpd to support HTTP/2, you will need libnghttp2.  Otherwise it will only support HTTP/1.
>
> Hope this helps :)
>
> ellie
> ----
> Cyrus Home Page:http://www.cyrusimap.org/
> List Archives/Info:http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>
>
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

-- 
Ken Murchison
Cyrus Development Team
FastMail US LLC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20190319/067e2f8b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: murch.vcf
Type: text/x-vcard
Size: 4 bytes
Desc: not available
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20190319/067e2f8b/attachment.vcf>


More information about the Info-cyrus mailing list