[Dovecot] Login Fails: epoll_ctl(1, 7): Operation not permitted
Nikita Koshikov
koshikov at gmail.com
Sat Jul 11 11:57:13 EEST 2009
On Sat, Jul 11, 2009 at 8:11 AM, Thomas Suckow <tsuckow at gmail.com> wrote:
> I would pick it up if I knew anything about maintaining a Gentoo package.
>
This is simple ebuild diff, for dovecot version 1.2.0, if you want to try
1.2* branch.
You can simple made this ebuild working with 1.2.1 but be aware, that
compiling will fail with managesieve use flag enabled. Version 1.2.0 leaks
this problem.
--- dovecot-1.1.16.ebuild 2009-07-11 11:50:12.000000000 +0300
+++ dovecot-1.2.0.ebuild 2009-07-10 22:37:28.000000000 +0300
@@ -7,14 +7,14 @@
MY_P="${P/_/.}"
MY_PV12=$(get_version_component_range 1-2 ${PV})
S="${WORKDIR}/${MY_P}"
-SIEVE="dovecot-sieve-1.1.6"
+SIEVE="dovecot-1.2-sieve-0.1.7"
SIEVE_S="${WORKDIR}/${SIEVE}"
-MANAGESIEVE_PATCH="managesieve-0.10.6"
-MANAGESIEVE="managesieve-0.10.6"
+MANAGESIEVE_PATCH="managesieve-0.11.6"
+MANAGESIEVE="managesieve-0.11.6"
MANAGESIEVE_S="${WORKDIR}/${PN}-${MY_PV12}-${MANAGESIEVE}"
SRC_URI="http://dovecot.org/releases/${MY_PV12}/${MY_P}.tar.gz
-sieve? ( http://dovecot.org/releases/sieve/${SIEVE}.tar.gz )
+sieve? ( http://www.rename-it.nl/${PN}/${MY_PV12}/${SIEVE}.tar.gz )
managesieve? (
http://www.rename-it.nl/${PN}/${MY_PV12}/${MY_P}-${MANAGESIEVE_PATCH}.diff.gz
http://www.rename-it.nl/${PN}/${MY_PV12}/${PN}-${MY_PV12}-${MANAGESIEVE}.tar.gz)"
@@ -25,7 +25,7 @@
LICENSE="LGPL-2.1"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="berkdb debug doc ipv6 kerberos ldap managesieve mbox mysql pop3d pam
postgres sieve sqlite3 ssl suid vpopmail"
+IUSE="berkdb debug doc ipv6 kerberos ldap managesieve mbox mysql pam
postgres sieve sqlite3 ssl suid vpopmail"
# Developer documentation, controlled by the doc USE flag
DEVDOCS="auth-protocol index multiaccess securecoding"
@@ -49,7 +49,7 @@
unpack ${A}
cd "${S}"
if use managesieve; then
- epatch "${WORKDIR}"/${MY_P}-${MANAGESIEVE_PATCH}.diff
+ epatch "${WORKDIR}"/${PN}-1.2.0-${MANAGESIEVE_PATCH}.diff
eautoreconf
fi
}
@@ -81,7 +81,6 @@
$(use_with ldap) \
$(use_with mysql) \
$(use_with pam) \
- $(use_with pop3d) \
$(use_with postgres pgsql) \
$(use_with sqlite3 sqlite) \
$(use_with vpopmail) \
More information about the dovecot
mailing list