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