diff options
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/pam_pgsql/pam_pgsql/ChangeLog | 8 | ||||
-rw-r--r-- | sys-auth/pam_pgsql/pam_pgsql/Manifest | 16 | ||||
-rw-r--r-- | sys-auth/pam_pgsql/pam_pgsql/files/digest-pam_pgsql-0.6.3 | 3 | ||||
-rw-r--r-- | sys-auth/pam_pgsql/pam_pgsql/files/pam_pgsql.conf | 20 | ||||
-rw-r--r-- | sys-auth/pam_pgsql/pam_pgsql/pam_pgsql-0.6.3.ebuild | 39 |
5 files changed, 86 insertions, 0 deletions
diff --git a/sys-auth/pam_pgsql/pam_pgsql/ChangeLog b/sys-auth/pam_pgsql/pam_pgsql/ChangeLog new file mode 100644 index 000000000..bafdbe3e2 --- /dev/null +++ b/sys-auth/pam_pgsql/pam_pgsql/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-auth/pam_pgsql +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 08 Jun 2006; Jakub Moc <jakub@gentoo.org> +pam_pgsql-0.6.3.ebuild: + New ebuild, based on ebuild submitted by steveb (steeeeeveee at gmx.net) in + Bug 34517 + diff --git a/sys-auth/pam_pgsql/pam_pgsql/Manifest b/sys-auth/pam_pgsql/pam_pgsql/Manifest new file mode 100644 index 000000000..32b36705c --- /dev/null +++ b/sys-auth/pam_pgsql/pam_pgsql/Manifest @@ -0,0 +1,16 @@ +AUX pam_pgsql.conf 409 RMD160 5a3ad40b39550efaa703979447142eab7637b81f SHA1 006ea7fd61f69d0df94855297cae150c37932017 SHA256 4cdedb0164eefad374e50e667582903b314aae13f631c06507a807ab9b15834d +MD5 2f7cfd62077bb43b084bd2925a34aafc files/pam_pgsql.conf 409 +RMD160 5a3ad40b39550efaa703979447142eab7637b81f files/pam_pgsql.conf 409 +SHA256 4cdedb0164eefad374e50e667582903b314aae13f631c06507a807ab9b15834d files/pam_pgsql.conf 409 +DIST libpam-pgsql-0.6.3.tar.bz2 63420 RMD160 13d4742bacfd3202dfeb97865bb10631978448ed SHA1 3196693ec37acc342e1c7ef0ec88f9ce6b31f22b SHA256 0e47e8f1fda4439073fb57a88c464af8593e7d2bc61b1fda531497250711b739 +EBUILD pam_pgsql-0.6.3.ebuild 971 RMD160 99a348e42f8d6f32e56aecf9c3e3bbb775509506 SHA1 f0d812e2238d04374b05514bebeb6b17f708213f SHA256 85902c2f53f30aea116564910b79c49340366741efb42958693c54d1e62fb628 +MD5 01a61be2c25690f7a63c56475b4603ee pam_pgsql-0.6.3.ebuild 971 +RMD160 99a348e42f8d6f32e56aecf9c3e3bbb775509506 pam_pgsql-0.6.3.ebuild 971 +SHA256 85902c2f53f30aea116564910b79c49340366741efb42958693c54d1e62fb628 pam_pgsql-0.6.3.ebuild 971 +MISC ChangeLog 279 RMD160 31d2887ecaaa6b91abc526896ef3e2fe75f41e37 SHA1 e701a9d95a9cb676fa3d67fe5fc06b6525f36df7 SHA256 235fcca9e49b0cdc00dadac0dcdd09dbb5f8deb4d6b4ce2d27b5bdd47323f310 +MD5 7dfb269e767c5cf2171fc285ee1e49ae ChangeLog 279 +RMD160 31d2887ecaaa6b91abc526896ef3e2fe75f41e37 ChangeLog 279 +SHA256 235fcca9e49b0cdc00dadac0dcdd09dbb5f8deb4d6b4ce2d27b5bdd47323f310 ChangeLog 279 +MD5 6db3b1e689887916929272a0857448b2 files/digest-pam_pgsql-0.6.3 256 +RMD160 0246acf2e83271cb68c70eb960cf8ef1642aef97 files/digest-pam_pgsql-0.6.3 256 +SHA256 04a4778f81a63201ee4f3d3a07a317fa5fe28bc8ebaa6e85e5e7f50d55a69552 files/digest-pam_pgsql-0.6.3 256 diff --git a/sys-auth/pam_pgsql/pam_pgsql/files/digest-pam_pgsql-0.6.3 b/sys-auth/pam_pgsql/pam_pgsql/files/digest-pam_pgsql-0.6.3 new file mode 100644 index 000000000..63f8bfc9b --- /dev/null +++ b/sys-auth/pam_pgsql/pam_pgsql/files/digest-pam_pgsql-0.6.3 @@ -0,0 +1,3 @@ +MD5 df1f9875a4c1f4f6be6dd563f0ca7f3e libpam-pgsql-0.6.3.tar.bz2 63420 +RMD160 13d4742bacfd3202dfeb97865bb10631978448ed libpam-pgsql-0.6.3.tar.bz2 63420 +SHA256 0e47e8f1fda4439073fb57a88c464af8593e7d2bc61b1fda531497250711b739 libpam-pgsql-0.6.3.tar.bz2 63420 diff --git a/sys-auth/pam_pgsql/pam_pgsql/files/pam_pgsql.conf b/sys-auth/pam_pgsql/pam_pgsql/files/pam_pgsql.conf new file mode 100644 index 000000000..61082d097 --- /dev/null +++ b/sys-auth/pam_pgsql/pam_pgsql/files/pam_pgsql.conf @@ -0,0 +1,20 @@ +## +## pam_pgsql.conf +## +## This is a sample pam_pgsql configuration file that uses pam_pgsql +## to authentificate agains PostgreSQL. + +## the user name and password to log into the pgsql server + +#host = 127.0.0.1 +#user = user +#password = secret + +## the database name on the servers +#database = database + +## the table name +#table = table +#user_column = username +#pwd_column = password +#pw_type = md5 diff --git a/sys-auth/pam_pgsql/pam_pgsql/pam_pgsql-0.6.3.ebuild b/sys-auth/pam_pgsql/pam_pgsql/pam_pgsql-0.6.3.ebuild new file mode 100644 index 000000000..422bcc9e5 --- /dev/null +++ b/sys-auth/pam_pgsql/pam_pgsql/pam_pgsql-0.6.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit pam + +DESCRIPTION="pam_pgsql is a module for pam to authenticate users with PostgreSQL" +HOMEPAGE="http://sourceforge.net/projects/pam-pgsql/" +SRC_URI="mirror://sourceforge/${PN/_/-}/lib${PN/_/-}-${PV}.tar.bz2" + +DEPEND=">=sys-libs/pam-0.78-r3 + >=app-crypt/mhash-0.9.1 + >=dev-db/postgresql-7.3.6" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +S="${WORKDIR}/${PN/_/-}-${PV}" + +src_unpack() { + unpack ${A} || die "unpack failed" +} + +src_compile() { + econf || die "econf failed" + emake CFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + insinto /etc + newins "${FILESDIR}/pam_pgsql.conf" pam_pgsql.conf + dopammod pam_pgsql.so + dodoc debian/changelog README CREDITS +} + +pkg_postinst() { + einfo "From version 0.6 you can also use new style configuration (overrides" + einfo "legacy values). See /usr/share/doc/${PVR}/README for more info." +} |