Summary: | pam_mysql 0.5+ Builds Improper - Broken Function | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jayson <jayson> |
Component: | New packages | Assignee: | PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 123405 | ||
Bug Blocks: | |||
Attachments: |
New ebuild to fix issue
Fixed ebuild and has correct header string ebuild for 0.6.2 based on 0.6, status is: "compiles on my box (P4 3.0GHz HT 2Gig)" 0.6.2 and 0.7_rc1 versions corrected |
Description
Jayson
2005-09-05 18:29:06 UTC
Created attachment 67781 [details]
New ebuild to fix issue
Here is an updated ebuild for the version 6 of pam_mysql. I appended the r1 to
the version. I think this should work; it might be advisable to make the ssl as
a depend as opposed to an option due to no warning if that function not
working, but I liked it as an option. Hope this helps.
Comment on attachment 67781 [details] New ebuild to fix issue ># 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.6.0-r1.ebuild,v 1.1 2005/07/04 14:20:50 azarah Exp $ > >inherit libtool > >DESCRIPTION="pam_mysql is a module for pam to authenticate users with mysql" >HOMEPAGE="http://pam-mysql.sourceforge.net/" > >SRC_URI="mirror://sourceforge/pam-mysql/${P}.tar.gz" >DEPEND=">=sys-libs/pam-0.72 > >=dev-db/mysql-3.23.38 > ssl? ( dev-libs/openssl )" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" >IUSE="ssl" > >src_unpack() { > unpack ${A} > > cd ${S} > elibtoolize >} > >src_compile() { > if use ssl ; then > ./configure --with-openssl > else > econf > fi > emake >} > >src_install() { > make DESTDIR=${D} install || die > > dodoc CREDITS ChangeLog NEWS README >} Created attachment 67782 [details]
Fixed ebuild and has correct header string
Same as before except corrected header string with -r1
This issue has been pending for too long! I've fixed it but want someone with some knowledge about ebuilds to review my changes. I've tried my best to contribute, what else can i do as far as this bug??? Don't re-assign bugs to bug wranglers. Don't get upset. Devs are busy with meetings and stuff ;) I think you can't run just ./configure --with-openssl instead of econf, did you check it picks up the correct --prefix? Anyway, I'm no ebuild expert either but I made one for version 0.6.2 today you might try this one too (dunno why --disable-static does not work, shouldn't create an .la at all) Created attachment 69440 [details]
ebuild for 0.6.2 based on 0.6, status is: "compiles on my box (P4 3.0GHz HT 2Gig)"
Hey; thanks for the response, and I do understand. They have always complied on my box. It's when you try to use the MD5 functionality. There are no errors; it just never authenticates a user leaving u thinking that it is a miss configuration when in fact it is not complied with that support. (I would think there should be an error to that effect, but there is not). (In reply to comment #7) > Created an attachment (id=69440) [edit] > ebuild for 0.6.2 based on 0.6, status is: "compiles on my box (P4 3.0GHz HT > 2Gig)" Created attachment 80191 [details]
0.6.2 and 0.7_rc1 versions corrected
Hi guys,
I hope to have corrected thoses problems.
In fact, this module was done on the Debian distrib and never found sasl2 or sll include on the gentoo system.
I hope to have corrected the source, the acinclude.m4 and configure.in files to comply with the gentoo sasl's or ssl's include.
Would it be possible that someone test them please ?
Cyrius
Comment on attachment 80191 [details] 0.6.2 and 0.7_rc1 versions corrected See bug 123405 Marking as a dupe of the bump bug. There are many issues with pam_mysql which requires a new version of it in the tree to be reviewed. *** This bug has been marked as a duplicate of 120842 *** |