diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-auth/pam-pgsql |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-auth/pam-pgsql')
-rw-r--r-- | sys-auth/pam-pgsql/Manifest | 5 | ||||
-rw-r--r-- | sys-auth/pam-pgsql/metadata.xml | 10 | ||||
-rw-r--r-- | sys-auth/pam-pgsql/pam-pgsql-0.7.3.2.ebuild | 51 |
3 files changed, 66 insertions, 0 deletions
diff --git a/sys-auth/pam-pgsql/Manifest b/sys-auth/pam-pgsql/Manifest new file mode 100644 index 000000000000..a1f8c90286de --- /dev/null +++ b/sys-auth/pam-pgsql/Manifest @@ -0,0 +1,5 @@ +DIST pam-pgsql-0.7.3.2.tar.gz 712533 SHA256 c4f9c22ec3a37fb6d8b201cc7d48c743a68ceb91773e386caa2269b63b0679ca SHA512 d5766e56a13b0b4762fba10d624d12f130f2675f1f1772eaaf275b599f44adcf98287c2636462ba3faf46af139eb1bd157918c0c783040796562f37dec17a6d9 WHIRLPOOL 769d59de074b7dff56b44f046b5b4ab3d02a70c9a5b27227fba712847ab932dba6f73f68a119c82bd8d27b6e564be1411081cccd31c16e39a87410a39c44ad61 +EBUILD pam-pgsql-0.7.3.2.ebuild 1240 SHA256 47c6f9c76b782b19408b97c61368d9bcd564a3d287ed0d576fb6dfd975c8fc9b SHA512 5f5e2dde2e0f1e97bcdd4982f1e063562ea8b59beb920ceeb670066ab0e7596aac9d704e49a79167083837bb160ece9655905cbe60811fc9776e8ee01911e0be WHIRLPOOL 9efa7a23d00295d5d978ed85bc852140bd15006de38bfb8481f1610159c2558f647d945cb78a85c150c5f901cde96b717fd7fa48480ff6b3f9c02735c636c49d +MISC ChangeLog 2988 SHA256 a7c8bf7677b804870c5fca3cb3dae1275c0a151e7f351652e452d4f8a3f2a9b3 SHA512 d8ae4e10044e5b580ecb539decd209f590ee8e026b366efcb066b8599d7915490cfeb5a163efbbccae4ab67ac8f19ff4c4d18ceae5207b6779f8e22735305547 WHIRLPOOL 596df5cc25c54c2188bef86313879645de3b41d2837d9a9f8ee1174c3ccb8669e39d5f9569cf8db7684721ec37c25826fafe2e171275cb0dffca4f81cb0b09b1 +MISC ChangeLog-2015 2224 SHA256 d64dca13ebe23526c5cf66b633823bbce84e9c80775095ae091bd9502504bea7 SHA512 c77ec3fbc68ded1a8c1f50a5eea715dc93b32e427aea63821991fc41d21f938b6a5c7dd73b0f875a3883bf795a0fe837cd0656816d62a09271798586a23621f1 WHIRLPOOL 782425fc1dc37607eb25e3d81a27fe325e71c69a7a95eae445967485a99bb98b8f9d47e07d7a586a867483b7c6f7f663e1c97aba04540b779c8763b083602a9f +MISC metadata.xml 299 SHA256 79d4b977d139b4eba5c18727ac71ee25efded95427a6829b7f0d68ea25a884c9 SHA512 da1cdea9641e01bdecb1f5612ac6085836e0a981998f219254eb416ea0d7105933408ef0e1184142221b6d5c0754b05072a244bca1bef73ceeed912ad178d34a WHIRLPOOL 25c22fbe7e93aaea50867fe2ebab6c4e6d12fb06ab7c0ac8916d7aff89c90648abf86471ac940f6769398dbd2633efdd268b84510c4ebd5d0e5d4ec3a0ec1502 diff --git a/sys-auth/pam-pgsql/metadata.xml b/sys-auth/pam-pgsql/metadata.xml new file mode 100644 index 000000000000..1e2946263ff4 --- /dev/null +++ b/sys-auth/pam-pgsql/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>pam-bugs@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">pam-pgsql</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2.ebuild b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2.ebuild new file mode 100644 index 000000000000..e740aec1fd3f --- /dev/null +++ b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils pam + +DESCRIPTION="pam module to authenticate users via PostgreSQL" +HOMEPAGE="https://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-8.0:= + >=dev-libs/libgcrypt-1.2.0:0=" +DEPEND="${RDEPEND}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_configure() { + econf \ + --sysconfdir=/etc/security \ + --libdir=/$(get_libdir) \ + --docdir=/usr/share/doc/${PF} +} + +src_compile() { + emake pammoddir="$(getpam_mod_dir)" || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" pammoddir="$(getpam_mod_dir)" install + find "${ED}" -name '*.la' -delete +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + 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." + fi +} |