1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="A module for pam to authenticate users with PostgreSQL"
10 HOMEPAGE="http://pgfoundry.org/frs/?group_id=1000039"
11 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-base"
23 S=${WORKDIR}/${PN/_/-}
26 epatch "${FILESDIR}"/${PV}-gcc46.patch
31 newins "${FILESDIR}/pam_pgsql.conf" pam_pgsql.conf || die "newins failed"
33 dodoc debian/changelog CREDITS README || die "dodoc failed"
37 einfo "From version 0.6 you can also use new style configuration (overrides"
38 einfo "legacy values). See /usr/share/doc/${PF}/README for more info."