1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="pam_pgsql is a module for pam to authenticate users with PostgreSQL"
9 HOMEPAGE="http://pgfoundry.org/frs/?group_id=1000039"
10 SRC_URI="mirror://postgresql/projects/pgFoundry/sysauth/${PN/_/-}-${PV}.tgz"
16 KEYWORDS="~amd64 ~x86"
18 DEPEND=">=sys-libs/pam-0.78-r3
19 >=app-crypt/mhash-0.9.1
20 >=dev-db/postgresql-7.3.6"
24 S="${WORKDIR}/${PN/_/-}"
27 econf || die "econf failed"
28 emake CFLAGS="${CFLAGS}" || die "emake failed"
33 newins "${FILESDIR}/pam_pgsql.conf" pam_pgsql.conf
35 dodoc debian/changelog README CREDITS
39 elog "From version 0.6 you can also use new style configuration (overrides"
40 elog "legacy values). See /usr/share/doc/${PF}/README for more info."