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

(-)a/cyrus-imapd-2.3.9.ebuild (-1 / +19 lines)
Lines 16-22 LICENSE="as-is" Link Here
16
LICENSE="as-is"
16
LICENSE="as-is"
17
SLOT="0"
17
SLOT="0"
18
KEYWORDS="~x86 ~sparc ~amd64 ~ppc ~hppa ~ppc64"
18
KEYWORDS="~x86 ~sparc ~amd64 ~ppc ~hppa ~ppc64"
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 119-124 src_unpack() { Link Here
119
	# Add libwrap defines as we don't have a dynamicly linked library.
119
	# Add libwrap defines as we don't have a dynamicly linked library.
120
	use tcpd && epatch "${FILESDIR}/${PN}-${LIBWRAP_PATCH_VER}-libwrap.patch"
120
	use tcpd && epatch "${FILESDIR}/${PN}-${LIBWRAP_PATCH_VER}-libwrap.patch"
121
121
122
	# Add kolab support.
123
	if use kolab ; then
124
		# For information on these patches see patch headers and
125
		# http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/patches/cyrus-imapd/
126
		epatch "${FILESDIR}/${P}-KOLAB_Groups.patch" || die "epatch failed"
127
		epatch "${FILESDIR}/${P}-KOLAB_Annotations2.patch" || die "epatch failed"
128
		epatch "${FILESDIR}/${P}-KOLAB_Logging.patch" || die "epatch failed"
129
		epatch "${FILESDIR}/${P}-KOLAB_Folder-names.patch" || die "epatch failed"
130
		epatch "${FILESDIR}/${P}-KOLAB_UID.patch" || die "epatch failed"
131
		# These files are being created automatically and need to be updated
132
		# after the patches used above
133
		rm -f lib/imapopts.h lib/imapopts.c
134
	fi
135
122
	# Fix master(8)->cyrusmaster(8) manpage.
136
	# Fix master(8)->cyrusmaster(8) manpage.
123
	for i in `grep -rl -e 'master\.8' -e 'master(8)' "${S}"` ; do
137
	for i in `grep -rl -e 'master\.8' -e 'master(8)' "${S}"` ; do
124
		sed -i -e 's:master\.8:cyrusmaster.8:g' \
138
		sed -i -e 's:master\.8:cyrusmaster.8:g' \
Lines 137-142 src_unpack() { Link Here
137
151
138
	# When linking with rpm, you need to link with more libraries.
152
	# When linking with rpm, you need to link with more libraries.
139
	sed -i -e "s:lrpm:lrpm -lrpmio -lrpmdb:" configure || die "sed failed"
153
	sed -i -e "s:lrpm:lrpm -lrpmio -lrpmdb:" configure || die "sed failed"
154
155
	if use kolab ; then
156
		sed -i -e "s/{LIB_SASL}/{LIB_SASL} -lldap -llber /" configure || die "sed failed"
157
	fi
140
}
158
}
141
159
142
src_compile() {
160
src_compile() {

Return to bug 194361