diff options
author | ume <ume@FreeBSD.org> | 2004-01-14 13:32:27 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2004-01-14 13:32:27 +0800 |
commit | 95720689e559384ab885e649e5769e5bd6f0a03a (patch) | |
tree | 39f4964db4b84422d11a8863b55d4f647ee224f7 /mail | |
parent | e50b97e297b32390acae0df9d3aa771c5d9b56ce (diff) | |
download | freebsd-ports-gnome-95720689e559384ab885e649e5769e5bd6f0a03a.tar.gz freebsd-ports-gnome-95720689e559384ab885e649e5769e5bd6f0a03a.tar.zst freebsd-ports-gnome-95720689e559384ab885e649e5769e5bd6f0a03a.zip |
add WITH_IDLE option which takes poll, idled or no. Default is poll
as Cyrus IMAPd's default.
Requested by: ervin.nemeth@niif.hu
Diffstat (limited to 'mail')
-rw-r--r-- | mail/cyrus-imapd22/Makefile | 14 | ||||
-rw-r--r-- | mail/cyrus-imapd22/files/patch-imap::idled.c | 15 | ||||
-rw-r--r-- | mail/cyrus-imapd22/pkg-plist | 1 | ||||
-rw-r--r-- | mail/cyrus-imapd23/Makefile | 14 | ||||
-rw-r--r-- | mail/cyrus-imapd23/files/patch-imap::idled.c | 15 | ||||
-rw-r--r-- | mail/cyrus-imapd23/pkg-plist | 1 | ||||
-rw-r--r-- | mail/cyrus-imapd24/Makefile | 14 | ||||
-rw-r--r-- | mail/cyrus-imapd24/files/patch-imap::idled.c | 15 | ||||
-rw-r--r-- | mail/cyrus-imapd24/pkg-plist | 1 |
9 files changed, 90 insertions, 0 deletions
diff --git a/mail/cyrus-imapd22/Makefile b/mail/cyrus-imapd22/Makefile index ecc001051199..984e0c70b231 100644 --- a/mail/cyrus-imapd22/Makefile +++ b/mail/cyrus-imapd22/Makefile @@ -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 diff --git a/mail/cyrus-imapd22/files/patch-imap::idled.c b/mail/cyrus-imapd22/files/patch-imap::idled.c new file mode 100644 index 000000000000..f08a8a677048 --- /dev/null +++ b/mail/cyrus-imapd22/files/patch-imap::idled.c @@ -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); ++} diff --git a/mail/cyrus-imapd22/pkg-plist b/mail/cyrus-imapd22/pkg-plist index e57884517bda..4f1750c38a39 100644 --- a/mail/cyrus-imapd22/pkg-plist +++ b/mail/cyrus-imapd22/pkg-plist @@ -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 diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile index ecc001051199..984e0c70b231 100644 --- a/mail/cyrus-imapd23/Makefile +++ b/mail/cyrus-imapd23/Makefile @@ -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 diff --git a/mail/cyrus-imapd23/files/patch-imap::idled.c b/mail/cyrus-imapd23/files/patch-imap::idled.c new file mode 100644 index 000000000000..f08a8a677048 --- /dev/null +++ b/mail/cyrus-imapd23/files/patch-imap::idled.c @@ -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); ++} diff --git a/mail/cyrus-imapd23/pkg-plist b/mail/cyrus-imapd23/pkg-plist index e57884517bda..4f1750c38a39 100644 --- a/mail/cyrus-imapd23/pkg-plist +++ b/mail/cyrus-imapd23/pkg-plist @@ -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 diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile index ecc001051199..984e0c70b231 100644 --- a/mail/cyrus-imapd24/Makefile +++ b/mail/cyrus-imapd24/Makefile @@ -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 diff --git a/mail/cyrus-imapd24/files/patch-imap::idled.c b/mail/cyrus-imapd24/files/patch-imap::idled.c new file mode 100644 index 000000000000..f08a8a677048 --- /dev/null +++ b/mail/cyrus-imapd24/files/patch-imap::idled.c @@ -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); ++} diff --git a/mail/cyrus-imapd24/pkg-plist b/mail/cyrus-imapd24/pkg-plist index e57884517bda..4f1750c38a39 100644 --- a/mail/cyrus-imapd24/pkg-plist +++ b/mail/cyrus-imapd24/pkg-plist @@ -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 |