blob: 4cf6c278e528f2ea9ca6ce4396f0a14d543f70ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/anubis/anubis-3.6.2-r1.ebuild,v 1.2 2004/03/16 13:04:48 dholm Exp $
DESCRIPTION="GNU Anubis is an outgoing mail processor."
HOMEPAGE="http://www.gnu.org/software/anubis/"
SRC_URI="mirror://gnu/anubis/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc"
IUSE="ssl pam tcpd crypt"
DEPEND="crypt? ( >=app-crypt/gpgme-0.3.13 )
ssl? ( >=dev-libs/openssl-0.9.6 )
pam? ( >=sys-libs/pam-0.75 )
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
>=dev-libs/libpcre-3.9"
S=${WORKDIR}/${P}
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/3.6.2-secfixes.patch.gz
}
src_compile() {
local myconf
myconf="--with-pcre"
use crypt || myconf="${myconf} --without-gpgme"
use ssl && myconf="${myconf} --with-openssl"
use pam && myconf="${myconf} --with-pam"
use tcpd && myconf="${myconf} --with-tcp-wrappers"
./configure ${myconf} --prefix=/usr --host=${CHOST} || die
emake || die
}
src_install() {
einstall
}
|