annotate net-mail/up-imapproxy/up-imapproxy-1.2.6.ebuild @ 12:a9058d20d58e

update to 12.2.2
author holger@hoho.dyndns.org
date Wed, 09 Apr 2008 18:03:44 +0200
parents 7985ba427c7d
children 23ee2f4aac03
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
1 # Copyright 1999-2007 Gentoo Foundation
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
3 # $Header: /var/cvsroot/gentoo-x86/net-mail/up-imapproxy/up-imapproxy-1.2.5_rc2.ebuild,v 1.3 2007/02/06 13:08:54 blubb Exp $
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
4
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
5 inherit eutils
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
6
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
7 DESCRIPTION="Proxy IMAP transactions between an IMAP client and an IMAP server."
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
8 HOMEPAGE="http://www.imapproxy.org/"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
9 SRC_URI="http://www.imapproxy.org/downloads/${P/_/}.tar.gz"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
10
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
11 LICENSE="GPL-2"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
12 SLOT="0"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
13 KEYWORDS="amd64 ~ppc x86"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
14 IUSE="kerberos ssl tcpd"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
15
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
16 DEPEND=">=sys-libs/ncurses-5.1
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
17 kerberos? ( virtual/krb5 )
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
18 ssl? ( >=dev-libs/openssl-0.9.6 )
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
19 tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
20
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
21 S="${WORKDIR}/${P/_/}"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
22 src_unpack() {
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
23 unpack ${A} && cd "${S}"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
24 sed -i -e 's:in\.imapproxyd:imapproxyd:g' \
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
25 README Makefile.in include/imapproxy.h || die "sed failed"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
26 }
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
27
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
28 src_compile() {
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
29 econf \
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
30 $(use_with kerberos krb5) \
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
31 $(use_with ssl openssl) \
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
32 $(use_with tcpd libwrap) \
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
33 || die "econf failed"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
34
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
35 emake || die "emake failed"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
36 }
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
37
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
38 src_install() {
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
39 dosbin bin/imapproxyd bin/pimpstat || die "dosbin failed"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
40
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
41 insinto /etc
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
42 doins scripts/imapproxy.conf || die "doins failed"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
43
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
44 newinitd "${FILESDIR}"/imapproxy.rc6 imapproxy || die "initd failed"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
45
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
46 dodoc ChangeLog README README.known_issues README.ssl
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
47 }