summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2003-06-22 19:07:46 +0000
committerDonny Davies <woodchip@gentoo.org>2003-06-22 19:07:46 +0000
commit9563ca6d642b2cfca0694af8c213a8377d6bd379 (patch)
treeb320926385b558347b07783ec45efe2cdd8ccb76 /sys-libs
parentClose #11353. (diff)
downloadgentoo-2-9563ca6d642b2cfca0694af8c213a8377d6bd379.tar.gz
gentoo-2-9563ca6d642b2cfca0694af8c213a8377d6bd379.tar.bz2
gentoo-2-9563ca6d642b2cfca0694af8c213a8377d6bd379.zip
Close #11353.
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/pam_mysql/ChangeLog7
-rw-r--r--sys-libs/pam_mysql/Manifest4
-rw-r--r--sys-libs/pam_mysql/files/digest-pam_mysql-0.51
-rw-r--r--sys-libs/pam_mysql/pam_mysql-0.5.ebuild36
4 files changed, 45 insertions, 3 deletions
diff --git a/sys-libs/pam_mysql/ChangeLog b/sys-libs/pam_mysql/ChangeLog
index 9dfa418accfd..85766102c64b 100644
--- a/sys-libs/pam_mysql/ChangeLog
+++ b/sys-libs/pam_mysql/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/pam_mysql
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam_mysql/ChangeLog,v 1.4 2003/02/12 09:21:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam_mysql/ChangeLog,v 1.5 2003/06/22 19:07:38 woodchip Exp $
+
+*pam_mysql-0.5 (22 Jun 2003)
+
+ 22 Jun 2003; Donny Davies <woodchip@gentoo.org> pam_mysql-0.5.ebuild:
+ Bump, close #11353.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/sys-libs/pam_mysql/Manifest b/sys-libs/pam_mysql/Manifest
index aa191ad084e5..f39b7ed72680 100644
--- a/sys-libs/pam_mysql/Manifest
+++ b/sys-libs/pam_mysql/Manifest
@@ -1,5 +1,5 @@
-MD5 7a4a57f70f425abc0a5ee62ffb3b246c ChangeLog 655
+MD5 0876a5bd96fc0f91dedd8942e9fbb9bc ChangeLog 657
MD5 67dcb009e9b38ba331d57a18a05fe281 pam_mysql-0.4.7.ebuild 883
-MD5 26d20da8932d9652d0439470fcc52c03 pam_mysql-0.5.ebuild 871
+MD5 65bee11e32234c8c22464b8bf26baf62 pam_mysql-0.5.ebuild 975
MD5 321f5b5eb63426fa78d6f069aeb5e1d5 files/digest-pam_mysql-0.4.7 65
MD5 a7e0e0308d553dc4013157deceb6bb21 files/digest-pam_mysql-0.5 64
diff --git a/sys-libs/pam_mysql/files/digest-pam_mysql-0.5 b/sys-libs/pam_mysql/files/digest-pam_mysql-0.5
new file mode 100644
index 000000000000..05bd9db0c952
--- /dev/null
+++ b/sys-libs/pam_mysql/files/digest-pam_mysql-0.5
@@ -0,0 +1 @@
+MD5 8cf002392292ae2a5774545324739a94 pam_mysql-0.5.tar.gz 11587
diff --git a/sys-libs/pam_mysql/pam_mysql-0.5.ebuild b/sys-libs/pam_mysql/pam_mysql-0.5.ebuild
new file mode 100644
index 000000000000..aac4ed10cc03
--- /dev/null
+++ b/sys-libs/pam_mysql/pam_mysql-0.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam_mysql/pam_mysql-0.5.ebuild,v 1.1 2003/06/22 19:07:38 woodchip Exp $
+
+DESCRIPTION="pam_mysql is a module for pam to authenticate users with mysql"
+HOMEPAGE="http://pam-mysql.sourceforge.net/"
+
+S="${WORKDIR}/${PN}"
+SRC_URI="mirror://sourceforge/pam-mysql/${P}.tar.gz"
+DEPEND=">=sys-libs/pam-0.72 >=dev-db/mysql-3.23.38"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~sparc ~alpha"
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S} || die
+
+ cp Makefile Makefile.orig
+ sed -e "s%-O2%${CFLAGS}%" Makefile.orig > Makefile
+ #i dont think this is needed --woodchip
+ #-e 's%^\(export LD_D=.*\)%\1 -lz%' \
+
+ cp pam_mysql.c pam_mysql.c.orig
+ sed -e "s%#define DEBUG%%" pam_mysql.c.orig > pam_mysql.c
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ exeinto /lib/security
+ doexe pam_mysql.so
+ dodoc Changelog CREDITS Readme
+}