Line
Link Here
|
0 |
-- /usr/portage/sys-auth/pam_mysql/pam_mysql-0.6.0.ebuild 2005-07-04 16:20:50.000000000 +0200 |
0 |
++ pam_mysql-0.6.2.ebuild 2006-04-26 14:55:17.539537750 +0200 |
Lines 2-18
Link Here
|
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/sys-auth/pam_mysql/pam_mysql-0.6.0.ebuild,v 1.1 2005/07/04 14:20:50 azarah Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_mysql/pam_mysql-0.6.0.ebuild,v 1.1 2005/07/04 14:20:50 azarah Exp $ |
4 |
inherit libtool |
4 |
inherit eutils libtool |
5 |
DESCRIPTION="pam_mysql is a module for pam to authenticate users with mysql" |
5 |
DESCRIPTION="pam_mysql is a module for pam to authenticate users with mysql" |
6 |
HOMEPAGE="http://pam-mysql.sourceforge.net/" |
6 |
HOMEPAGE="http://pam-mysql.sourceforge.net/" |
7 |
SRC_URI="mirror://sourceforge/pam-mysql/${P}.tar.gz" |
7 |
SRC_URI="mirror://sourceforge/pam-mysql/${P}.tar.gz" |
8 |
DEPEND=">=sys-libs/pam-0.72 >=dev-db/mysql-3.23.38" |
8 |
DEPEND=">=sys-libs/pam-0.72 |
|
|
9 |
>=dev-db/mysql-3.23.38 |
10 |
ssl? ( dev-libs/openssl ) |
11 |
sasl? ( =dev-libs/cyrus-sasl-2* ) |
12 |
" |
9 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
10 |
SLOT="0" |
14 |
SLOT="0" |
11 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
15 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
12 |
IUSE="" |
16 |
IUSE="ssl sasl" |
13 |
src_unpack() { |
17 |
src_unpack() { |
14 |
unpack ${A} |
18 |
unpack ${A} |
Lines 22-28
Link Here
|
22 |
} |
26 |
} |
23 |
src_compile() { |
27 |
src_compile() { |
24 |
econf |
28 |
local myconf="--with-mysql=/usr" |
|
|
29 |
if use ssl; then |
30 |
myconf="${myconf} --with-openssl" |
31 |
fi |
32 |
if use sasl; then |
33 |
myconf="${myconf} --with-sasl2" |
34 |
fi |
35 |
econf ${myconf} |
36 |
|
37 |
if use ssl; then |
38 |
epatch ${FILESDIR}/pam_mysql-0.6_md5_openssl.patch |
39 |
elif use sasl; then |
40 |
epatch ${FILESDIR}/pam_mysql-0.6_md5_sasl2.patch |
41 |
fi |
25 |
emake |
42 |
emake |
26 |
} |
43 |
} |