summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-02 14:24:30 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-02 14:24:30 +0000
commitff32b91f1d1371849ccdd05ea889df1727c01cf2 (patch)
treecd01fb208322a3df61694ea47be083d41bd705f7 /sys-auth/pam_mysql/pam_mysql-0.4.7.ebuild
parentMoved net-misc/pam_smb to sys-auth/pam_smb (diff)
downloadgentoo-2-ff32b91f1d1371849ccdd05ea889df1727c01cf2.tar.gz
gentoo-2-ff32b91f1d1371849ccdd05ea889df1727c01cf2.tar.bz2
gentoo-2-ff32b91f1d1371849ccdd05ea889df1727c01cf2.zip
Moved from sys-libs/pam_mysql to sys-auth/pam_mysql.
Diffstat (limited to 'sys-auth/pam_mysql/pam_mysql-0.4.7.ebuild')
-rw-r--r--sys-auth/pam_mysql/pam_mysql-0.4.7.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-auth/pam_mysql/pam_mysql-0.4.7.ebuild b/sys-auth/pam_mysql/pam_mysql-0.4.7.ebuild
new file mode 100644
index 000000000000..ddd268cc02f2
--- /dev/null
+++ b/sys-auth/pam_mysql/pam_mysql-0.4.7.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_mysql/pam_mysql-0.4.7.ebuild,v 1.1 2005/07/02 14:24:30 flameeyes 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"
+IUSE=""
+
+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%' \
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ exeinto /lib/security
+ doexe pam_mysql.so
+ dodoc Changelog CREDITS Readme
+}