Cyrus 2.0.17 and 2.1.11 released

Marco Colombo marco at esi.it
Thu Mar 20 10:19:21 EST 2003


On Thu, 5 Dec 2002, Simon Matter wrote:

> Since this release is security related, allow me to announce here:
> 
> Updated cyrus-imapd-2.1.11-1 RPMs are available from
> 
> http://home.teleport.ch/simix/
> 
> rpm -Fvh ... is your friend.
> 
> -Simon

Simon, I want to thank you for the great work you're doing in mantaining
those RPMs. Even if I don't use them. B-)

I've been mantaining cyrus-imapd RPMs for RHL system for a while.
Mine are not aimed to be of general use, since they include many
site specific stuff.

Anyway I've started looking at yours (which are far superior by many
means), and here it comes my humble little contribution: I build
mine on RHL6.2, too, and run into the same problems. I've solved
the snmpargs one in a different way. Here's a merged version, with
the args idea borrowed from your patch:

--- cyrus-imapd-2.1.12/snmp/snmpgen.snmpargs	Fri May 31 16:38:40 2002
+++ cyrus-imapd-2.1.12/snmp/snmpgen	Fri Mar 14 19:13:20 2003
@@ -227,7 +227,7 @@
 #define snmp_connect()
 #define snmp_close()
 #define snmp_increment(a, b)
-#define snmp_increment_args(...)
+#define snmp_increment_args(args...)
 #define snmp_set(a, b)
 #define snmp_set_str(a, b)
 #define snmp_set_oid(a, b)

I apply this patch on RHL6.2 only, as you do, but I've tested it on
RHL7.2, RHL7.3 and RHL8.0, and it compiles fine there, too.
In the .spec file you need to add the line:

rm -f imap/pushstats.[ch]

right after you apply the patch (you may need to remove lmtpstats.[ch],
too).

I'm posting to info-cyrus, too, since it may help with old compilers:
AFAIK, this is not RedHat specific at all, but it may be GCC specific.
Some old gccs (egcs-2.91.66 on RHL62) don't grok the new C99 varargs 
syntax, so the patch is needed. If it does harm on other (non GCC)
recent compilers, I don't know.

.TM.
-- 
      ____/  ____/   /
     /      /       /			Marco Colombo
    ___/  ___  /   /		      Technical Manager
   /          /   /			 ESI s.r.l.
 _____/ _____/  _/		       Colombo at ESI.it





More information about the Info-cyrus mailing list