| Summary: | Patch for disabling cyrus-imapd sieve support | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Arnaud Launay <asl> |
| Component: | [OLD] Server | Assignee: | Tobias Scherbaum (RETIRED) <dertobi123> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | jakub, me, net-mail+disabled |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Option to disable sieve support in cyrus | ||
|
Description
Arnaud Launay
2005-10-23 05:49:04 UTC
Created attachment 71277 [details, diff]
Option to disable sieve support in cyrus
Patch against cyrus-imapd-2.2.12-r3.ebuild; adds a "nosieve" local use flag to
disable sieve support, installs pam file only if use pam enabled.
Oh no, not yet another evil no* flag. :/ I thought about that, but as sieve is historically enabled, it seemed the appropriate way... If a flag isn't specified, is it enabled or disabled ? Then I couuld change nosieve to "sieve", and only "-sieve" would drop support... Hmm, tests seem to show flag's disabled by default... I am going to bump cyrus to 2.3.2 and thinking about adding this to it.
Is there a reason you remove notifyd from SUBDIRS ? NOTIFYD(8) doesn't say anything about it has any relation with sieve.
@@ -226,7 +230,14 @@
src_install() {
dodir /usr/bin /usr/lib
- for subdir in master imap imtest timsieved notifyd sieve; do
+
+ if use nosieve; then
+ SUBDIRS="master imap imtest"
+ else
+ SUBDIRS="master imap imtest timsieved notifyd sieve"
+ fi
+
+ for subdir in ${SUBDIRS}; do
make -C "${subdir}" DESTDIR="${D}" install || die "make install failed"
done
AFAIR, in Cyrus 2.2, notifyd wouldn't be built when sieve was disabled. Haven't tried again with 2.3 anyway. dovecot using sieve use flag, have this in mind :) Added as USE="sieve" in 2.3.13-r1. |