Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 71277 Details for
Bug 110218
Patch for disabling cyrus-imapd sieve support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Option to disable sieve support in cyrus
patch-nosieve (text/plain), 2.16 KB, created by
Arnaud Launay
on 2005-10-23 05:51:55 UTC
(
hide
)
Description:
Option to disable sieve support in cyrus
Filename:
MIME Type:
Creator:
Arnaud Launay
Created:
2005-10-23 05:51:55 UTC
Size:
2.16 KB
patch
obsolete
>--- cyrus-imapd-2.2.12-r3.ebuild 2005-07-20 18:51:52.000000000 +0200 >+++ cyrus-imapd-2.2.12-r4.ebuild 2005-10-23 14:38:39.000000000 +0200 >@@ -11,7 +11,7 @@ > LICENSE="as-is" > SLOT="0" > KEYWORDS="~x86 ~sparc ~amd64 ~ppc ~hppa ~ppc64" >-IUSE="afs drac idled kerberos pam snmp ssl tcpd unsupported_8bit" >+IUSE="afs drac idled kerberos nosieve pam snmp ssl tcpd unsupported_8bit" > > PROVIDE="virtual/imapd" > RDEPEND=">=sys-libs/db-3.2 >@@ -202,6 +202,10 @@ > myconf="${myconf} --with-idle=poll" > fi > >+ if use nosieve; then >+ myconf="${myconf} --disable-sieve" >+ fi >+ > econf \ > --enable-murder \ > --enable-listext \ >@@ -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 > >@@ -245,7 +256,12 @@ > > newinitd "${FILESDIR}/cyrus.rc6" cyrus > newconfd "${FILESDIR}/cyrus.confd" cyrus >- newpamd "${FILESDIR}/cyrus.pam-include" sieve >+ >+ if ! use nosieve; then >+ if use pam; then >+ newpamd "${FILESDIR}/cyrus.pam-include" sieve >+ fi >+ fi > > if use ssl ; then > SSL_ORGANIZATION="${SSL_ORGANIZATION:-Cyrus IMAP Server}" >@@ -254,12 +270,25 @@ > fowners cyrus:mail /etc/ssl/cyrus/server.{key,pem} > fi > >- for subdir in imap/{,db,log,msg,proc,socket,sieve} spool/imap/{,stage.} ; do >+ if use nosieve; then >+ SUBDIRS="$( echo imap/{,db,log,msg,proc,socket} spool/imap/{,stage.} )" >+ else >+ SUBDIRS="$( echo imap/{,db,log,msg,proc,socket,sieve} spool/imap/{,stage.} )" >+ fi >+ >+ for subdir in ${SUBDIRS} ; do > keepdir "/var/${subdir}" > fowners cyrus:mail "/var/${subdir}" > fperms 0750 "/var/${subdir}" > done >- for subdir in imap/{user,quota,sieve} spool/imap ; do >+ >+ if use nosieve; then >+ SUBDIRS="$( echo imap/{user,quota} spool/imap )" >+ else >+ SUBDIRS="$( echo imap/{user,quota,sieve} spool/imap )" >+ fi >+ >+ for subdir in ${SUBDIRS} ; do > for i in a b c d e f g h i j k l m n o p q r s t v u w x y z ; do > keepdir "/var/${subdir}/${i}" > fowners cyrus:mail "/var/${subdir}/${i}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 110218
: 71277