From c16a83191c17b04c069dd3d5e5813a2b8fd333df Mon Sep 17 00:00:00 2001 From: Hanno Boeck Date: Tue, 13 Sep 2011 07:29:13 +0000 Subject: patch for pam_mysql to link against pam Package-Manager: portage-2.1.10.15/cvs/Linux x86_64 --- sys-auth/pam_mysql/ChangeLog | 10 ++++-- sys-auth/pam_mysql/Manifest | 24 +++++++++++++- .../files/pam_mysql-0.7_rc1-link-to-pam.diff | 9 +++++ sys-auth/pam_mysql/pam_mysql-0.7_rc1-r3.ebuild | 38 ++++++++++++++++++++++ 4 files changed, 78 insertions(+), 3 deletions(-) create mode 100644 sys-auth/pam_mysql/files/pam_mysql-0.7_rc1-link-to-pam.diff create mode 100644 sys-auth/pam_mysql/pam_mysql-0.7_rc1-r3.ebuild (limited to 'sys-auth') diff --git a/sys-auth/pam_mysql/ChangeLog b/sys-auth/pam_mysql/ChangeLog index fab4a4d127c2..ffed435920ed 100644 --- a/sys-auth/pam_mysql/ChangeLog +++ b/sys-auth/pam_mysql/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-auth/pam_mysql -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_mysql/ChangeLog,v 1.15 2010/03/24 19:45:15 robbat2 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_mysql/ChangeLog,v 1.16 2011/09/13 07:29:13 hanno Exp $ + +*pam_mysql-0.7_rc1-r3 (13 Sep 2011) + + 13 Sep 2011; Hanno Boeck +pam_mysql-0.7_rc1-r3.ebuild, + +files/pam_mysql-0.7_rc1-link-to-pam.diff: + Patch to link against pam, see http://bugs.debian.org/418500. *pam_mysql-0.7_rc1-r2 (24 Mar 2010) diff --git a/sys-auth/pam_mysql/Manifest b/sys-auth/pam_mysql/Manifest index 4d40e59ea11a..e1a14e06bb79 100644 --- a/sys-auth/pam_mysql/Manifest +++ b/sys-auth/pam_mysql/Manifest @@ -1,5 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX pam_mysql-0.7_rc1-link-to-pam.diff 453 RMD160 b79e1b29eb072538b478f4a03f24bd318db4795e SHA1 8fbe6e597b7ddebadf1f5757dece44a0bd3e9006 SHA256 fbd881e6d82ff1ef133cc6ff05b0de4d35df4944cdb7e89c9d781657312c54d8 DIST pam_mysql-0.7RC1.tar.gz 335240 RMD160 ffa908bf2f458c48571f0f172f841ef861ad0b47 SHA1 a139c4b4bf1a2e591a016069405428eb862f7690 SHA256 cb3cf89b9b51cb196ee8d731f85acbab72b4878a3a7c4183c5534161d4385ce7 EBUILD pam_mysql-0.7_rc1-r1.ebuild 857 RMD160 810218a17b94312a93a4faa1d85cad4d2a26f445 SHA1 32da24eb87437daaa6f070cbf3c1d9f267dcd43c SHA256 aca0103802c5e4ef681f423a0c2ff04e52a5777403520c49003cb907e7016985 EBUILD pam_mysql-0.7_rc1-r2.ebuild 939 RMD160 cd84dd0cc9fa2f2c7cb9bd5158d55c64f4d24b20 SHA1 ee5fcbcaf513e898c663648d493d288d83b298d1 SHA256 96072e573bbc5f20c81f29c9cac12731adfe52129fa61c0e3e5fcff0924cf79b -MISC ChangeLog 3133 RMD160 3dd806059d128491e821f83e8c2674bc79393002 SHA1 1d77f976244052b479a1cf68a8d7517f6e1b3dfb SHA256 8f9fc7c87de6212d7e3e4eeb4bc2334a66972e56c7f6b68507c43ddb6f04cea5 +EBUILD pam_mysql-0.7_rc1-r3.ebuild 1024 RMD160 09c1f8f18349fd46b8246fc48abdcc356ff21386 SHA1 a1b42076846dd91b6561c3b9821ab5a196a58214 SHA256 c0fe25c964aa53cd954bdb7cbec5f98906a27da3d197677975a072bb1951d9fe +MISC ChangeLog 3354 RMD160 f881403dace9d86c2daa7e094432d32805028c3a SHA1 ab3986147ea40804442a91a43b136342287fc71f SHA256 8d5805b3d82019c0d60f8346ac8e900660d89ec5c1d51d5080eaaf9efd04a9b5 MISC metadata.xml 237 RMD160 f903f5295a205be343b3b59058c4a98b98a1b284 SHA1 460844ff792769a7994a52e70be5c89c222d60fd SHA256 67a8a9e13eb080f318854290ac23bc737105b152282a5ec5a0fa0be524b9e342 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iQIcBAEBCAAGBQJObwZJAAoJEKWIAHK7tR5C5GwQAIjCSF622magwLPGSVZ31sIz +rCeku5RxfsbbkHyuU73IV8hR1nIgPmzYErP6CP24s6qZ2RydXauBiSZ2DJCgWZks +DsRyjNR9vMz0Rzg5KYRift946/6zzh7dRWRitoka4wErIaWqGq2SHWMd1mfpP+d1 +zP30kdTxbffhX8NgRlpZEfVSj7RZuuPDRel5qrmIB1sD9R4YEi3Z7djouHrW0Wjx +opsXELrZUeeZr5ZCuRTz9uU0Kz8tUxGlGqnesSE2s5Lgf1e7KvyX6W7ELyHvEKmG +E/EFXHQusbD4rlA/PmTPJLxgWXIxQ+7pv2GJj+3Sy/KUlK5RMqAQsoeb1L+6yLBi +niNi+t4RZcYvFnmYHMsK3ae4WV0H+/wSwzC8vBozcqyIbo+kZpY7cWVHZ1EyLvnZ +u6nbtvmM0N9Q0CpIuj0WEWPlTU1oDtGyr7g4Lt3/HzfbFSCzolYQxnBRH0uk8alA +F+k+pEuV81SripwBQ7RsaoLtWY/ihUSlba6XJVB5wKNO++EUXSAOPe6rsycCqeca +muovP5muCJn3y6jJMiRtz4xC4vIcDjy5Ugl4b1FQIVzxcNgT36woM3yj89viJdZ4 +1xNdu2ATQnknhsjaclvOP5TeWMlqWlLHlsHHUGxTBJK37abAfmAawrovWTjQ79Go +aMNCRFp1Lr7mizJgruiM +=8eA2 +-----END PGP SIGNATURE----- diff --git a/sys-auth/pam_mysql/files/pam_mysql-0.7_rc1-link-to-pam.diff b/sys-auth/pam_mysql/files/pam_mysql-0.7_rc1-link-to-pam.diff new file mode 100644 index 000000000000..0b32b37e9e05 --- /dev/null +++ b/sys-auth/pam_mysql/files/pam_mysql-0.7_rc1-link-to-pam.diff @@ -0,0 +1,9 @@ +--- pam_mysql-0.7RC1/Makefile.am 2005-09-20 07:43:44.000000000 +0200 ++++ pam_mysql-0.7RC1-1/Makefile.am 2011-09-13 09:21:53.198200066 +0200 +@@ -3,5 +3,6 @@ + noinst_FILES=pam_mysql.la pam_mysql.a + pam_mysql_la_SOURCES=pam_mysql.c + pam_mysql_la_LDFLAGS=-module -avoid-version ++pam_mysql_la_LIBADD=-lpam + INCLUDES=@INCLUDES@ + EXTRA_DIST=COPYING NEWS README CREDITS ChangeLog INSTALL pam_mysql.spec.in install-sh missing mkinstalldirs pkg.m4 pam_mysql.spec diff --git a/sys-auth/pam_mysql/pam_mysql-0.7_rc1-r3.ebuild b/sys-auth/pam_mysql/pam_mysql-0.7_rc1-r3.ebuild new file mode 100644 index 000000000000..38db114bd6b0 --- /dev/null +++ b/sys-auth/pam_mysql/pam_mysql-0.7_rc1-r3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2011 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.7_rc1-r3.ebuild,v 1.1 2011/09/13 07:29:13 hanno Exp $ + +EAPI=2 +inherit autotools libtool pam + +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/_rc/RC}.tar.gz" +DEPEND=">=sys-libs/pam-0.72 virtual/mysql" +RDEPEND="${DEPEND}" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="openssl" +S="${WORKDIR}/${P/_rc/RC}" + +src_prepare() { + epatch "${FILESDIR}/${P}-link-to-pam.diff" + eautoreconf + elibtoolize +} + +src_configure() { + econf $(use_with openssl) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" libdir="$(getpam_mod_dir)" install || die "install failed" + rm "${D}/$(getpam_mod_dir)/pam_mysql.la" || die "Failed to remove pam_mysql.la" + dodoc CREDITS ChangeLog NEWS README +} -- cgit v1.2.3-65-gdbad