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

Collapse All | Expand All

(-)cyrus-imapd-2.3.11.ebuild (-1 / +20 lines)
Lines 16-22 Link Here
16
LICENSE="as-is"
16
LICENSE="as-is"
17
SLOT="0"
17
SLOT="0"
18
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
18
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
19
IUSE="autocreate autosieve drac idled kerberos nntp pam replication snmp ssl tcpd"
19
IUSE="autocreate autosieve drac idled kerberos kolab nntp pam replication snmp ssl tcpd"
20
20
21
PROVIDE="virtual/imapd"
21
PROVIDE="virtual/imapd"
22
RDEPEND=">=sys-libs/db-3.2
22
RDEPEND=">=sys-libs/db-3.2
Lines 123-128 Link Here
123
	# Add libwrap defines as we don't have a dynamicly linked library.
123
	# Add libwrap defines as we don't have a dynamicly linked library.
124
	use tcpd && epatch "${FILESDIR}/${PN}-${LIBWRAP_PATCH_VER}-libwrap.patch"
124
	use tcpd && epatch "${FILESDIR}/${PN}-${LIBWRAP_PATCH_VER}-libwrap.patch"
125
125
126
	# Add kolab support.
127
	if use kolab ; then
128
		# For information on these patches see patch headers and
129
		# http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/patches/cyrus-imapd/
130
		epatch "${FILESDIR}/${P}-KOLAB_Groups.patch" || die "epatch failed"
131
		epatch "${FILESDIR}/${P}-KOLAB_Annotations2.patch" || die "epatch failed"
132
		epatch "${FILESDIR}/${P}-KOLAB_Logging.patch" || die "epatch failed"
133
		epatch "${FILESDIR}/${P}-KOLAB_Folder-names.patch" || die "epatch failed"
134
		epatch "${FILESDIR}/${P}-KOLAB_UID.patch" || die "epatch failed"
135
		epatch "${FILESDIR}/${P}-KOLAB_starttls-sendcaps.patch" || die "epatch failed"
136
		# These files are being created automatically and need to be updated
137
		# after the patches used above
138
		rm -f lib/imapopts.h lib/imapopts.c
139
	fi
140
126
	# Fix master(8)->cyrusmaster(8) manpage.
141
	# Fix master(8)->cyrusmaster(8) manpage.
127
	for i in `grep -rl -e 'master\.8' -e 'master(8)' "${S}"` ; do
142
	for i in `grep -rl -e 'master\.8' -e 'master(8)' "${S}"` ; do
128
		sed -i -e 's:master\.8:cyrusmaster.8:g' \
143
		sed -i -e 's:master\.8:cyrusmaster.8:g' \
Lines 141-146 Link Here
141
156
142
	# When linking with rpm, you need to link with more libraries.
157
	# When linking with rpm, you need to link with more libraries.
143
	sed -i -e "s:lrpm:lrpm -lrpmio -lrpmdb:" configure || die "sed failed"
158
	sed -i -e "s:lrpm:lrpm -lrpmio -lrpmdb:" configure || die "sed failed"
159
160
	if use kolab ; then
161
		sed -i -e "s/{LIB_SASL}/{LIB_SASL} -lldap -llber /" configure || die "sed failed"
162
	fi
144
}
163
}
145
164
146
src_compile() {
165
src_compile() {

Return to bug 194361