sys-auth/pam_mysql: Bump to v0.8.1
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 22 Feb 2018 21:17:50 +0000 (22:17 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 22 Feb 2018 21:18:03 +0000 (22:18 +0100)
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
sys-auth/pam_mysql/pam_mysql-0.8.1.ebuild [new file with mode: 0644]

index 1e3dc3118aa615adcb04b7b63b55fb1f5ca86584..9a1a00f7792b58ff975cc6906dae689f6d344dbd 100644 (file)
@@ -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 (file)
index 0000000..06b48b8
--- /dev/null
@@ -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
+}