Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_mysql/
Date: Thu, 22 Feb 2018 21:18:15
Message-Id: 1519334283.29cddc4f62a4086d2d8b266e19dde955af434ef4.whissi@gentoo
1 commit: 29cddc4f62a4086d2d8b266e19dde955af434ef4
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 22 21:17:50 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 22 21:18:03 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29cddc4f
7
8 sys-auth/pam_mysql: Bump to v0.8.1
9
10 Ebuild changes:
11 ===============
12 - New upstream
13
14 - EAPI bumped to EAPI=6
15
16 Closes: https://bugs.gentoo.org/604778
17 Package-Manager: Portage-2.3.24, Repoman-2.3.6
18
19 sys-auth/pam_mysql/Manifest | 1 +
20 sys-auth/pam_mysql/pam_mysql-0.8.1.ebuild | 45 +++++++++++++++++++++++++++++++
21 2 files changed, 46 insertions(+)
22
23 diff --git a/sys-auth/pam_mysql/Manifest b/sys-auth/pam_mysql/Manifest
24 index 1e3dc3118aa..9a1a00f7792 100644
25 --- a/sys-auth/pam_mysql/Manifest
26 +++ b/sys-auth/pam_mysql/Manifest
27 @@ -1 +1,2 @@
28 DIST pam_mysql-0.7RC1.tar.gz 335240 BLAKE2B 5351da14d7e9bd2693c9ca0595a472fffb86818fc7e74313f3235675be8fd5daef99c2d14f2bd19c370a19592cc0a46181fd3a3411ef5a8d3b26059a16673d75 SHA512 c057999c62d29dfa7a07db9a8d33d0cf0377dae4770c73019bd85f67c9c92fc9dac36fa606739162a5f7b0f9fbd849e5833fee827febfe4af883b8c2ddbd8b4f
29 +DIST pam_mysql-0.8.1.tar.gz 49613 BLAKE2B 1e3f6b0c8a11c8d328300fc820ddbbcd1601735de611e9317aab8f26ab2fbcf0f704e7a2c26de347fe9c4088c8171f0c278cd92e1668671871e5cd79db981241 SHA512 68aecc83c026c7616211a46b80f96fe822c8bd069a5ab6e9b170607bddac0dabe20410f78a1ac61ca1c1b2724ed0f0d99694d34bf28763270da3771c9ef05faf
30
31 diff --git a/sys-auth/pam_mysql/pam_mysql-0.8.1.ebuild b/sys-auth/pam_mysql/pam_mysql-0.8.1.ebuild
32 new file mode 100644
33 index 00000000000..06b48b8ead6
34 --- /dev/null
35 +++ b/sys-auth/pam_mysql/pam_mysql-0.8.1.ebuild
36 @@ -0,0 +1,45 @@
37 +# Copyright 1999-2018 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI="6"
41 +
42 +inherit autotools pam
43 +
44 +DESCRIPTION="pam_mysql is a module for pam to authenticate users with mysql"
45 +HOMEPAGE="https://github.com/NigelCunningham/pam-MySQL"
46 +
47 +SRC_URI="https://github.com/NigelCunningham/pam-MySQL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
48 +DEPEND="
49 + >=sys-libs/pam-0.72:0=
50 + virtual/mysql:0=
51 + openssl? ( dev-libs/openssl:0= )
52 +"
53 +RDEPEND="${DEPEND}"
54 +LICENSE="GPL-2"
55 +SLOT="0"
56 +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
57 +IUSE="openssl"
58 +S="${WORKDIR}/pam-MySQL-${PV}"
59 +
60 +DOCS=( AUTHORS ChangeLog NEWS README )
61 +
62 +src_prepare() {
63 + default
64 +
65 + eautoreconf
66 +}
67 +
68 +src_configure() {
69 + local myeconfargs=(
70 + --with-pam-mods-dir="$(getpam_mod_dir)"
71 + $(use_with openssl)
72 + )
73 +
74 + econf "${myeconfargs[@]}"
75 +}
76 +
77 +src_install() {
78 + default
79 +
80 + rm "${ED%/}$(getpam_mod_dir)/pam_mysql.la" || die
81 +}