Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 141743 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-mail/dovecot/dovecot-1.0_rc2.ebuild (-2 / +22 lines)
Lines 8-20 Link Here
8
HOMEPAGE="http://dovecot.org/"
8
HOMEPAGE="http://dovecot.org/"
9
MY_P="${P/_/.}"
9
MY_P="${P/_/.}"
10
S="${WORKDIR}/${MY_P}"
10
S="${WORKDIR}/${MY_P}"
11
SRC_URI="http://dovecot.org/releases/${MY_P}.tar.gz"
11
SIEVE="dovecot-sieve-20060726"
12
S_SIEVE="${WORKDIR}/${SIEVE}"
13
SRC_URI="http://dovecot.org/releases/${MY_P}.tar.gz http://gentoo.thev0id.net/distfiles/${SIEVE}.tar.gz"
12
14
13
SLOT="0"
15
SLOT="0"
14
LICENSE="LGPL-2.1"
16
LICENSE="LGPL-2.1"
15
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
17
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
16
18
17
IUSE="debug doc ipv6 kerberos ldap mbox mysql pop3d pam postgres ssl vpopmail"
19
IUSE="debug doc ipv6 kerberos ldap mbox mysql pop3d pam postgres ssl vpopmail sieve"
18
20
19
DEPEND=">=sys-apps/sed-4
21
DEPEND=">=sys-apps/sed-4
20
	kerberos? ( virtual/krb5 )
22
	kerberos? ( virtual/krb5 )
Lines 51-56 Link Here
51
		$(use_with vpopmail) \
53
		$(use_with vpopmail) \
52
		${myconf} || die "configure failed"
54
		${myconf} || die "configure failed"
53
	emake || die "make failed"
55
	emake || die "make failed"
56
57
	# Build dovecot-sieve plugin
58
	if use sieve ; then
59
		einfo "Building dovecot-sieve plugin"
60
		cd "${S_SIEVE}"
61
		econf --localstatedir=/var \
62
			--with-dovecot="${S}" \
63
			$(use_enable debug) \
64
			${myconf} || die "configure failed"
65
		emake || die "make failed"
66
	fi
54
}
67
}
55
68
56
src_install () {
69
src_install () {
Lines 130-135 Link Here
130
	keepdir /var/run/dovecot/login
143
	keepdir /var/run/dovecot/login
131
	fowners root:dovecot /var/run/dovecot/login
144
	fowners root:dovecot /var/run/dovecot/login
132
	fperms 0750 /var/run/dovecot/login
145
	fperms 0750 /var/run/dovecot/login
146
147
	# Install dovecot-sieve plugin
148
	if use sieve ; then
149
		cd "${S_SIEVE}"
150
		einfo "Installing dovecot-sieve plugin"
151
		make DESTDIR="${D}" install || die "make install failed"
152
	fi
133
}
153
}
134
154
135
get_config_var() {
155
get_config_var() {

Return to bug 141743