summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-03-11 13:53:10 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-03-11 13:53:10 +0000
commitc60d49c19cfb4028a71c21829da89b2d51a1d4b5 (patch)
treea7c53a620711e4d7cb739480127aa69a8903328a /sys-auth/pam-pgsql
parentpackage.masked the following packages: (diff)
downloadhistorical-c60d49c19cfb4028a71c21829da89b2d51a1d4b5.tar.gz
historical-c60d49c19cfb4028a71c21829da89b2d51a1d4b5.tar.bz2
historical-c60d49c19cfb4028a71c21829da89b2d51a1d4b5.zip
Initial import of pam-pgsql, using a snapshot of the current development series from upstream, with a working autotools-based buildsystem. Closes bug #34517.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-auth/pam-pgsql')
-rw-r--r--sys-auth/pam-pgsql/ChangeLog12
-rw-r--r--sys-auth/pam-pgsql/Manifest14
-rw-r--r--sys-auth/pam-pgsql/metadata.xml8
-rw-r--r--sys-auth/pam-pgsql/pam-pgsql-0.7_p20100311.ebuild45
4 files changed, 79 insertions, 0 deletions
diff --git a/sys-auth/pam-pgsql/ChangeLog b/sys-auth/pam-pgsql/ChangeLog
new file mode 100644
index 000000000000..0c2b525829b5
--- /dev/null
+++ b/sys-auth/pam-pgsql/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for sys-auth/pam-pgsql
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam-pgsql/ChangeLog,v 1.1 2010/03/11 13:53:10 flameeyes Exp $
+
+*pam-pgsql-0.7_p20100311 (11 Mar 2010)
+
+ 11 Mar 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +pam-pgsql-0.7_p20100311.ebuild, +metadata.xml:
+ Initial import of pam-pgsql, using a snapshot of the current development
+ series from upstream, with a working autotools-based buildsystem. Closes
+ bug #34517.
+
diff --git a/sys-auth/pam-pgsql/Manifest b/sys-auth/pam-pgsql/Manifest
new file mode 100644
index 000000000000..340cc8dc0001
--- /dev/null
+++ b/sys-auth/pam-pgsql/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST pam-pgsql-0.7_p20100311.tar.gz 304786 RMD160 4b3af2ffc11e9e54790aecfce0726c43b9c750a1 SHA1 6d642277ec0c512e8c1fd3f2ddbcf208816e7c37 SHA256 71594c1af07c8e37f65c15410c5ad8b97a96ae672828ef44b95c7b607401af1d
+EBUILD pam-pgsql-0.7_p20100311.ebuild 1326 RMD160 7da100bdaa82e3f79b56bcfff92110ea8f980442 SHA1 bd7e8a04b36a7367cde5e8fb656077b5ac0608ac SHA256 bff832c690dec713e3602010cca7f55882631928ac574b731931db52a6f697e1
+MISC ChangeLog 523 RMD160 9d15bf8b7314530aa62ec87f7834bc8893f29b7a SHA1 eb09bbfdcd7dcf2393f979fb7eea86c730d1a9c3 SHA256 3b05661d918efd5fdc6157f87e2fa8ac932a10c589ac870e1b956daf3b543d46
+MISC metadata.xml 218 RMD160 1955c7446d4ceb77506ba7b58ee35913c576a72c SHA1 02dacc356a39905402083cb54ae4f6dd0ac59fad SHA256 e0bb49cab71cc84d8bdad26876197164073722b378d27a5bf55bbfd2afdbd19c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkuY9cYACgkQAiZjviIA2XjACwCfeG0PQGuOBedhiPfLAvPEJrLr
+XlcAn3WCtgJdf4PBWzbgCe9vyTXxjSoo
+=hXmB
+-----END PGP SIGNATURE-----
diff --git a/sys-auth/pam-pgsql/metadata.xml b/sys-auth/pam-pgsql/metadata.xml
new file mode 100644
index 000000000000..b3bf86cd59b4
--- /dev/null
+++ b/sys-auth/pam-pgsql/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pam</herd>
+<maintainer>
+<email>pam-bugs@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-auth/pam-pgsql/pam-pgsql-0.7_p20100311.ebuild b/sys-auth/pam-pgsql/pam-pgsql-0.7_p20100311.ebuild
new file mode 100644
index 000000000000..1143ff09ae97
--- /dev/null
+++ b/sys-auth/pam-pgsql/pam-pgsql-0.7_p20100311.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 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_p20100311.ebuild,v 1.1 2010/03/11 13:53:10 flameeyes Exp $
+
+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
+
+DEPEND="virtual/pam
+ >=dev-db/postgresql-base-8.0"
+RDEPEND="${DEPEND}"
+
+LICENSE="GPL-2"
+
+IUSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_compile() {
+ econf \
+ --sysconfdir=/etc/security \
+ --libdir=/$(get_libdir) \
+ --docdir=/usr/share/doc/${PF} || die "econf failed"
+ 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."
+}