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 |
fi |
132 |
|
122 |
# Fix master(8)->cyrusmaster(8) manpage. |
133 |
# Fix master(8)->cyrusmaster(8) manpage. |
123 |
for i in `grep -rl -e 'master\.8' -e 'master(8)' "${S}"` ; do |
134 |
for i in `grep -rl -e 'master\.8' -e 'master(8)' "${S}"` ; do |
124 |
sed -i -e 's:master\.8:cyrusmaster.8:g' \ |
135 |
sed -i -e 's:master\.8:cyrusmaster.8:g' \ |
Lines 137-142
src_unpack() {
Link Here
|
137 |
|
148 |
|
138 |
# When linking with rpm, you need to link with more libraries. |
149 |
# When linking with rpm, you need to link with more libraries. |
139 |
sed -i -e "s:lrpm:lrpm -lrpmio -lrpmdb:" configure || die "sed failed" |
150 |
sed -i -e "s:lrpm:lrpm -lrpmio -lrpmdb:" configure || die "sed failed" |
|
|
151 |
|
152 |
if use kolab ; then |
153 |
sed -i -e "s/{LIB_SASL}/{LIB_SASL} -lldap -llber /" configure || die "sed failed" |
154 |
fi |
140 |
} |
155 |
} |
141 |
|
156 |
|
142 |
src_compile() { |
157 |
src_compile() { |