Lines 1-11
Link Here
|
1 |
# Copyright 1999-2013 Gentoo Foundation |
1 |
# Copyright 1999-2014 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-4.8.0-r1.ebuild,v 1.11 2013/09/26 17:30:39 ago Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
inherit autotools eutils multilib libtool systemd |
6 |
inherit autotools eutils multilib libtool systemd |
7 |
|
7 |
|
8 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" |
8 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
9 |
|
9 |
|
10 |
DESCRIPTION="An IMAP daemon designed specifically for maildirs." |
10 |
DESCRIPTION="An IMAP daemon designed specifically for maildirs." |
11 |
HOMEPAGE="http://www.courier-mta.org/" |
11 |
HOMEPAGE="http://www.courier-mta.org/" |
Lines 43-61
Link Here
|
43 |
# Bug #48838. Patch to enable/disable FAM support. |
43 |
# Bug #48838. Patch to enable/disable FAM support. |
44 |
# 20 Aug 2004 langthang@gentoo.org |
44 |
# 20 Aug 2004 langthang@gentoo.org |
45 |
# This patch should fix bug #51540. fam USE flag is not needed for shared folder support. |
45 |
# This patch should fix bug #51540. fam USE flag is not needed for shared folder support. |
46 |
epatch "${FILESDIR}"/${PN}-4.0.1-disable-fam-configure.in.patch |
46 |
epatch "${FILESDIR}"/${PN}-4.15-disable-fam-configure.ac.patch |
47 |
|
47 |
|
48 |
# Kill unneeded call to AC_PROG_SYSCONFTOOL (bug #168206). |
48 |
# Kill unneeded call to AC_PROG_SYSCONFTOOL (bug #168206). |
49 |
epatch "${FILESDIR}"/${PN}-4.0.6-aclocal-fix.patch |
49 |
epatch "${FILESDIR}"/${PN}-4.15-aclocal-fix.patch |
50 |
|
50 |
|
51 |
# These patches should fix problems detecting BerkeleyDB. |
51 |
# These patches should fix problems detecting BerkeleyDB. |
52 |
# We now can compile with db4 support. |
52 |
# We now can compile with db4 support. |
53 |
if use berkdb ; then |
53 |
if use berkdb ; then |
54 |
epatch "${FILESDIR}"/${PN}-4.0.6-db4-bdbobj_configure.in.patch |
54 |
epatch "${FILESDIR}"/${PN}-4.15-db4-bdbobj_configure.ac.patch |
55 |
epatch "${FILESDIR}"/${PN}-4.0.6-db4-configure.in.patch |
55 |
epatch "${FILESDIR}"/${PN}-4.15-db4-configure.ac.patch |
56 |
fi |
56 |
fi |
57 |
|
57 |
|
58 |
eautoreconf |
58 |
MAKEOPTS="-j1" eautoreconf # bug 389511#c13 |
59 |
} |
59 |
} |
60 |
|
60 |
|
61 |
src_configure() { |
61 |
src_configure() { |
Lines 108-118
Link Here
|
108 |
|
108 |
|
109 |
# Change the pem file location. |
109 |
# Change the pem file location. |
110 |
sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/imapd.pem:" \ |
110 |
sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/imapd.pem:" \ |
111 |
imap/imapd-ssl.dist || \ |
111 |
libs/imap/imapd-ssl.dist || \ |
112 |
die "sed failed" |
112 |
die "sed failed" |
113 |
|
113 |
|
114 |
sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/pop3d.pem:" \ |
114 |
sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/pop3d.pem:" \ |
115 |
imap/pop3d-ssl.dist || \ |
115 |
libs/imap/pop3d-ssl.dist || \ |
116 |
die "sed failed" |
116 |
die "sed failed" |
117 |
} |
117 |
} |
118 |
|
118 |
|
Lines 200-212
Link Here
|
200 |
# Bug #45953, more docs. |
200 |
# Bug #45953, more docs. |
201 |
cd "${S}" |
201 |
cd "${S}" |
202 |
dohtml -r "${S}"/* |
202 |
dohtml -r "${S}"/* |
203 |
dodoc "${S}"/{00README.NOW.OR.SUFFER,AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme |
203 |
dodoc "${S}"/{AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme |
204 |
docinto imap |
204 |
docinto imap |
205 |
dodoc "${S}"/imap/{ChangeLog,BUGS,BUGS.html,README} |
205 |
dodoc "${S}"/libs/imap/{ChangeLog,BUGS,BUGS.html,README} |
206 |
docinto maildir |
206 |
docinto maildir |
207 |
dodoc "${S}"/maildir/{AUTHORS,INSTALL,README.maildirquota.txt,README.sharedfolders.txt} |
207 |
dodoc "${S}"/libs/maildir/{AUTHORS,INSTALL,README.maildirquota.txt,README.sharedfolders.txt} |
208 |
docinto tcpd |
208 |
docinto tcpd |
209 |
dodoc "${S}"/tcpd/README.couriertls |
209 |
dodoc "${S}"/libs/tcpd/README.couriertls |
210 |
} |
210 |
} |
211 |
|
211 |
|
212 |
pkg_postinst() { |
212 |
pkg_postinst() { |