blob: 4f0044d7ad2c6cb4dee35fe727e30c74e86aef24 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.5.ebuild,v 1.2 2002/07/22 21:12:13 raker Exp $
DESCRIPTION="The Cyrus SASL (Simple Authentication and Security Layer)"
HOMEPAGE="http://asg.web.cmu.edu/sasl/"
S=${WORKDIR}/${P}
SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"
DEPEND="virtual/glibc
>=sys-libs/db-3.2
>=sys-libs/pam-0.75"
RDEPEND="${DEPEND}"
src_compile() {
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--mandir=/usr/share/man \
--with-configdir=/etc/sasl2 \
--with-pwcheck=/var/lib/sasl2 \
--with-plugindir=/usr/lib/sasl2 \
--with-saslauthd=/var/lib/sasl2 \
--with-dbpath=/var/lib/sasl2/sasl2.db \
--with-des \
--with-rc4 \
--enable-pam \
--enable-anon \
--enable-cram \
--with-gnu-ld \
--enable-scram \
--enable-plain \
--enable-login \
--disable-krb4 \
--enable-static \
--enable-shared \
--without-mysql \
--enable-digest \
--disable-gssapi \
--disable-sample \
--with-dblib=berkeley \
--host=${CHOST} ${myconf} || die "bad ./configure"
make || die "compile problem"
}
src_install () {
make DESTDIR=${D} install || die "install problem"
dodoc AUTHORS ChangeLog COPYING NEWS README doc/*.txt
docinto examples ; dodoc sample/{*.[ch],Makefile}
newdoch pwcheck/README README.pwcheck
dohtml doc/*
insinto /etc/conf.d ; newins ${FILESDIR}/saslauthd.confd saslauthd
exeinto /etc/init.d ; newexe ${FILESDIR}/saslauthd2.rc6 saslauthd
exeinto /etc/init.d ; newexe ${FILESDIR}/pwcheck.rc6 pwcheck
}
pkg_postinst() {
# empty directories..
install -d -m0755 ${ROOT}/var/lib/sasl2
install -d -m0755 ${ROOT}/etc/sasl
}
|