commit:     29cddc4f62a4086d2d8b266e19dde955af434ef4
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 22 21:17:50 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Feb 22 21:18:03 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29cddc4f

sys-auth/pam_mysql: Bump to v0.8.1

Ebuild changes:
===============
- New upstream

- EAPI bumped to EAPI=6

Closes: https://bugs.gentoo.org/604778
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-auth/pam_mysql/Manifest               |  1 +
 sys-auth/pam_mysql/pam_mysql-0.8.1.ebuild | 45 +++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/sys-auth/pam_mysql/Manifest b/sys-auth/pam_mysql/Manifest
index 1e3dc3118aa..9a1a00f7792 100644
--- a/sys-auth/pam_mysql/Manifest
+++ b/sys-auth/pam_mysql/Manifest
@@ -1 +1,2 @@
 DIST pam_mysql-0.7RC1.tar.gz 335240 BLAKE2B 
5351da14d7e9bd2693c9ca0595a472fffb86818fc7e74313f3235675be8fd5daef99c2d14f2bd19c370a19592cc0a46181fd3a3411ef5a8d3b26059a16673d75
 SHA512 
c057999c62d29dfa7a07db9a8d33d0cf0377dae4770c73019bd85f67c9c92fc9dac36fa606739162a5f7b0f9fbd849e5833fee827febfe4af883b8c2ddbd8b4f
+DIST pam_mysql-0.8.1.tar.gz 49613 BLAKE2B 
1e3f6b0c8a11c8d328300fc820ddbbcd1601735de611e9317aab8f26ab2fbcf0f704e7a2c26de347fe9c4088c8171f0c278cd92e1668671871e5cd79db981241
 SHA512 
68aecc83c026c7616211a46b80f96fe822c8bd069a5ab6e9b170607bddac0dabe20410f78a1ac61ca1c1b2724ed0f0d99694d34bf28763270da3771c9ef05faf

diff --git a/sys-auth/pam_mysql/pam_mysql-0.8.1.ebuild 
b/sys-auth/pam_mysql/pam_mysql-0.8.1.ebuild
new file mode 100644
index 00000000000..06b48b8ead6
--- /dev/null
+++ b/sys-auth/pam_mysql/pam_mysql-0.8.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools pam
+
+DESCRIPTION="pam_mysql is a module for pam to authenticate users with mysql"
+HOMEPAGE="https://github.com/NigelCunningham/pam-MySQL";
+
+SRC_URI="https://github.com/NigelCunningham/pam-MySQL/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+DEPEND="
+       >=sys-libs/pam-0.72:0=
+       virtual/mysql:0=
+       openssl? ( dev-libs/openssl:0= )
+"
+RDEPEND="${DEPEND}"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="openssl"
+S="${WORKDIR}/pam-MySQL-${PV}"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_prepare() {
+       default
+
+       eautoreconf
+}
+
+src_configure() {
+       local myeconfargs=(
+               --with-pam-mods-dir="$(getpam_mod_dir)"
+               $(use_with openssl)
+       )
+
+       econf "${myeconfargs[@]}"
+}
+
+src_install() {
+       default
+
+       rm "${ED%/}$(getpam_mod_dir)/pam_mysql.la" || die
+}

Reply via email to