summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-12-06 10:04:29 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-12-06 10:04:29 +0000
commit4a1aa144d5c6a5c1cdb1caaebabf64035b0abec3 (patch)
treefd972db41a1ce279f2c3b0f78a522a7c2b84cef0 /sys-auth/pam-pgsql
parentMoving dev-php5/pecl-gearman to dev-php/pecl-gearman (diff)
downloadgentoo-2-4a1aa144d5c6a5c1cdb1caaebabf64035b0abec3.tar.gz
gentoo-2-4a1aa144d5c6a5c1cdb1caaebabf64035b0abec3.tar.bz2
gentoo-2-4a1aa144d5c6a5c1cdb1caaebabf64035b0abec3.zip
Version bump.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/pam-pgsql')
-rw-r--r--sys-auth/pam-pgsql/ChangeLog8
-rw-r--r--sys-auth/pam-pgsql/pam-pgsql-0.7.3.1.ebuild51
2 files changed, 58 insertions, 1 deletions
diff --git a/sys-auth/pam-pgsql/ChangeLog b/sys-auth/pam-pgsql/ChangeLog
index 9de60cff1fa2..90952daf5d9f 100644
--- a/sys-auth/pam-pgsql/ChangeLog
+++ b/sys-auth/pam-pgsql/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-auth/pam-pgsql
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam-pgsql/ChangeLog,v 1.5 2011/03/21 14:48:14 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam-pgsql/ChangeLog,v 1.6 2011/12/06 10:04:29 flameeyes Exp $
+
+*pam-pgsql-0.7.3.1 (06 Dec 2011)
+
+ 06 Dec 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+ +pam-pgsql-0.7.3.1.ebuild:
+ Version bump.
*pam-pgsql-0.7.3 (21 Mar 2011)
diff --git a/sys-auth/pam-pgsql/pam-pgsql-0.7.3.1.ebuild b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.1.ebuild
new file mode 100644
index 000000000000..d7e2f7c34abe
--- /dev/null
+++ b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam-pgsql/pam-pgsql-0.7.3.1.ebuild,v 1.1 2011/12/06 10:04:28 flameeyes Exp $
+
+EAPI=2
+
+inherit eutils pam
+
+DESCRIPTION="pam_pgsql is a module for pam to authenticate users with PostgreSQL"
+HOMEPAGE="http://sourceforge.net/projects/pam-pgsql/"
+
+if [[ ${PV} = *_p* ]]; then
+ SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/${P}.tar.gz"
+else
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+fi
+
+RDEPEND="virtual/pam
+ >=dev-db/postgresql-base-8.0
+ >=dev-libs/libgcrypt-1.2.0"
+DEPEND="${RDEPEND}"
+
+LICENSE="GPL-2"
+
+IUSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_configure() {
+ econf \
+ --sysconfdir=/etc/security \
+ --libdir=/$(get_libdir) \
+ --docdir=/usr/share/doc/${PF} || die "econf failed"
+}
+
+src_compile() {
+ emake pammoddir="$(getpam_mod_dir)" || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" pammoddir="$(getpam_mod_dir)" install || die "emake install failed"
+ find "${D}" -name '*.la' -delete
+}
+
+pkg_postinst() {
+ elog "Please see the documentation and configuration examples in the"
+ elog "documentation directory at /usr/share/doc/${PF}."
+ elog ""
+ elog "Please note that the default configuration file in Gentoo has been"
+ elog "moved to /etc/security/pam-pgsql.conf to follow the other PAM modules."
+}