add WITH_IDLE option which takes poll, idled or no. Default is poll
as Cyrus IMAPd's default. Requested by: ervin.nemeth@niif.hu
This commit is contained in:
parent
5d9292468e
commit
3160ca4d1a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98134
9 changed files with 90 additions and 0 deletions
|
@ -75,6 +75,20 @@ PLIST_SUB+= MURDER=""
|
|||
PLIST_SUB+= MURDER="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_IDLE)
|
||||
.if ${WITH_IDLE} != poll && ${WITH_IDLE} != idled && ${WITH_IDLE} != no
|
||||
BROKEN= "WITH_IDLE must be poll, idled or no"
|
||||
.endif
|
||||
CONFIGURE_ARGS+=--with-idle=${WITH_IDLE}
|
||||
.if ${WITH_IDLE} == idled
|
||||
PLIST_SUB+= IDLED=""
|
||||
.else
|
||||
PLIST_SUB+= IDLED="@comment "
|
||||
.endif
|
||||
.else
|
||||
PLIST_SUB+= IDLED="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LISTEXT)
|
||||
CONFIGURE_ARGS+=--enable-listext
|
||||
.endif
|
||||
|
|
15
mail/cyrus-imapd22/files/patch-imap::idled.c
Normal file
15
mail/cyrus-imapd22/files/patch-imap::idled.c
Normal file
|
@ -0,0 +1,15 @@
|
|||
Index: imap/idled.c
|
||||
diff -u imap/idled.c.orig imap/idled.c
|
||||
--- imap/idled.c.orig Thu Oct 23 03:50:07 2003
|
||||
+++ imap/idled.c Tue Jan 13 23:17:21 2004
|
||||
@@ -409,3 +409,10 @@
|
||||
/* never gets here */
|
||||
exit(1);
|
||||
}
|
||||
+
|
||||
+void printstring(const char *s __attribute__((unused)))
|
||||
+{
|
||||
+ /* needed to link against annotate.o */
|
||||
+ fatal("printstring() executed, but its not used for IDLED!",
|
||||
+ EC_SOFTWARE);
|
||||
+}
|
|
@ -20,6 +20,7 @@ cyrus/bin/cyrquota
|
|||
cyrus/bin/deliver
|
||||
%%NNTP%%cyrus/bin/fetchnews
|
||||
cyrus/bin/fud
|
||||
%%IDLED%%cyrus/bin/idled
|
||||
cyrus/bin/imapd
|
||||
cyrus/bin/ipurge
|
||||
cyrus/bin/lmtpd
|
||||
|
|
|
@ -75,6 +75,20 @@ PLIST_SUB+= MURDER=""
|
|||
PLIST_SUB+= MURDER="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_IDLE)
|
||||
.if ${WITH_IDLE} != poll && ${WITH_IDLE} != idled && ${WITH_IDLE} != no
|
||||
BROKEN= "WITH_IDLE must be poll, idled or no"
|
||||
.endif
|
||||
CONFIGURE_ARGS+=--with-idle=${WITH_IDLE}
|
||||
.if ${WITH_IDLE} == idled
|
||||
PLIST_SUB+= IDLED=""
|
||||
.else
|
||||
PLIST_SUB+= IDLED="@comment "
|
||||
.endif
|
||||
.else
|
||||
PLIST_SUB+= IDLED="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LISTEXT)
|
||||
CONFIGURE_ARGS+=--enable-listext
|
||||
.endif
|
||||
|
|
15
mail/cyrus-imapd23/files/patch-imap::idled.c
Normal file
15
mail/cyrus-imapd23/files/patch-imap::idled.c
Normal file
|
@ -0,0 +1,15 @@
|
|||
Index: imap/idled.c
|
||||
diff -u imap/idled.c.orig imap/idled.c
|
||||
--- imap/idled.c.orig Thu Oct 23 03:50:07 2003
|
||||
+++ imap/idled.c Tue Jan 13 23:17:21 2004
|
||||
@@ -409,3 +409,10 @@
|
||||
/* never gets here */
|
||||
exit(1);
|
||||
}
|
||||
+
|
||||
+void printstring(const char *s __attribute__((unused)))
|
||||
+{
|
||||
+ /* needed to link against annotate.o */
|
||||
+ fatal("printstring() executed, but its not used for IDLED!",
|
||||
+ EC_SOFTWARE);
|
||||
+}
|
|
@ -20,6 +20,7 @@ cyrus/bin/cyrquota
|
|||
cyrus/bin/deliver
|
||||
%%NNTP%%cyrus/bin/fetchnews
|
||||
cyrus/bin/fud
|
||||
%%IDLED%%cyrus/bin/idled
|
||||
cyrus/bin/imapd
|
||||
cyrus/bin/ipurge
|
||||
cyrus/bin/lmtpd
|
||||
|
|
|
@ -75,6 +75,20 @@ PLIST_SUB+= MURDER=""
|
|||
PLIST_SUB+= MURDER="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_IDLE)
|
||||
.if ${WITH_IDLE} != poll && ${WITH_IDLE} != idled && ${WITH_IDLE} != no
|
||||
BROKEN= "WITH_IDLE must be poll, idled or no"
|
||||
.endif
|
||||
CONFIGURE_ARGS+=--with-idle=${WITH_IDLE}
|
||||
.if ${WITH_IDLE} == idled
|
||||
PLIST_SUB+= IDLED=""
|
||||
.else
|
||||
PLIST_SUB+= IDLED="@comment "
|
||||
.endif
|
||||
.else
|
||||
PLIST_SUB+= IDLED="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LISTEXT)
|
||||
CONFIGURE_ARGS+=--enable-listext
|
||||
.endif
|
||||
|
|
15
mail/cyrus-imapd24/files/patch-imap::idled.c
Normal file
15
mail/cyrus-imapd24/files/patch-imap::idled.c
Normal file
|
@ -0,0 +1,15 @@
|
|||
Index: imap/idled.c
|
||||
diff -u imap/idled.c.orig imap/idled.c
|
||||
--- imap/idled.c.orig Thu Oct 23 03:50:07 2003
|
||||
+++ imap/idled.c Tue Jan 13 23:17:21 2004
|
||||
@@ -409,3 +409,10 @@
|
||||
/* never gets here */
|
||||
exit(1);
|
||||
}
|
||||
+
|
||||
+void printstring(const char *s __attribute__((unused)))
|
||||
+{
|
||||
+ /* needed to link against annotate.o */
|
||||
+ fatal("printstring() executed, but its not used for IDLED!",
|
||||
+ EC_SOFTWARE);
|
||||
+}
|
|
@ -20,6 +20,7 @@ cyrus/bin/cyrquota
|
|||
cyrus/bin/deliver
|
||||
%%NNTP%%cyrus/bin/fetchnews
|
||||
cyrus/bin/fud
|
||||
%%IDLED%%cyrus/bin/idled
|
||||
cyrus/bin/imapd
|
||||
cyrus/bin/ipurge
|
||||
cyrus/bin/lmtpd
|
||||
|
|
Loading…
Reference in a new issue