remove pam_mysql, is in portage
Hanno Böck

Hanno Böck commited on 2011-12-04 16:19:11
Zeige 4 geänderte Dateien mit 0 Einfügungen und 62 Löschungen.

... ...
@@ -1,4 +0,0 @@
1
-AUX pam_mysql-0.7_rc1-link-to-pam.diff 453 RMD160 b79e1b29eb072538b478f4a03f24bd318db4795e SHA1 8fbe6e597b7ddebadf1f5757dece44a0bd3e9006 SHA256 fbd881e6d82ff1ef133cc6ff05b0de4d35df4944cdb7e89c9d781657312c54d8
2
-AUX pam_mysql-0.7_rc1-memleak.diff 274 RMD160 2b67db9b440d4a105e466c19355abf79e8fe33b5 SHA1 ebe35d82111f20b67cb29d2a475bc4238eecedc0 SHA256 d692bfb5bfe91e2da35346cd551b5978c68dcfe99e773e4dc750bbb7ced708dd
3
-DIST pam_mysql-0.7RC1.tar.gz 335240 RMD160 ffa908bf2f458c48571f0f172f841ef861ad0b47 SHA1 a139c4b4bf1a2e591a016069405428eb862f7690 SHA256 cb3cf89b9b51cb196ee8d731f85acbab72b4878a3a7c4183c5534161d4385ce7
4
-EBUILD pam_mysql-0.7_rc1-r4.ebuild 1064 RMD160 ab32acf0c9e763526a83383bbc7a2bb990101547 SHA1 c2f33cebbce672f5034b6b521a426934afebd16e SHA256 31bb76b4551acc45adaa7dd39f2608850df529a4045716ae811774285d2e44ab
... ...
@@ -1,9 +0,0 @@
1
---- pam_mysql-0.7RC1/Makefile.am	2005-09-20 07:43:44.000000000 +0200
2
-+++ pam_mysql-0.7RC1-1/Makefile.am	2011-09-13 09:21:53.198200066 +0200
3
-@@ -3,5 +3,6 @@
4
- noinst_FILES=pam_mysql.la pam_mysql.a
5
- pam_mysql_la_SOURCES=pam_mysql.c
6
- pam_mysql_la_LDFLAGS=-module -avoid-version
7
-+pam_mysql_la_LIBADD=-lpam
8
- INCLUDES=@INCLUDES@
9
- EXTRA_DIST=COPYING NEWS README CREDITS ChangeLog INSTALL pam_mysql.spec.in install-sh missing mkinstalldirs pkg.m4 pam_mysql.spec
... ...
@@ -1,10 +0,0 @@
1
---- pam_mysql-0.7RC1/pam_mysql.c	2006-01-09 11:35:59.000000000 +0100
2
-+++ pam_mysql-0.7RC1-1/pam_mysql.c	2011-10-18 20:26:38.655425994 +0200
3
-@@ -2338,6 +2338,7 @@
4
- 	}
5
- 
6
- 	mysql_close(ctx->mysql_hdl);
7
-+	mysql_library_end();
8
- 
9
- 	xfree(ctx->mysql_hdl);
10
- 	ctx->mysql_hdl = NULL;
... ...
@@ -1,39 +0,0 @@
1
-# Copyright 1999-2011 Gentoo Foundation
2
-# Distributed under the terms of the GNU General Public License v2
3
-# $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 $
4
-
5
-EAPI=2
6
-inherit autotools libtool pam
7
-
8
-DESCRIPTION="pam_mysql is a module for pam to authenticate users with mysql"
9
-HOMEPAGE="http://pam-mysql.sourceforge.net/"
10
-
11
-SRC_URI="mirror://sourceforge/pam-mysql/${P/_rc/RC}.tar.gz"
12
-DEPEND=">=sys-libs/pam-0.72 virtual/mysql"
13
-RDEPEND="${DEPEND}"
14
-LICENSE="GPL-2"
15
-SLOT="0"
16
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
17
-IUSE="openssl"
18
-S="${WORKDIR}/${P/_rc/RC}"
19
-
20
-src_prepare() {
21
-	epatch "${FILESDIR}/${P}-link-to-pam.diff"
22
-	epatch "${FILESDIR}/${P}-memleak.diff"
23
-	eautoreconf
24
-	elibtoolize
25
-}
26
-
27
-src_configure() {
28
-	econf $(use_with openssl)
29
-}
30
-
31
-src_compile() {
32
-	emake || die "emake failed"
33
-}
34
-
35
-src_install() {
36
-	emake DESTDIR="${D}" libdir="$(getpam_mod_dir)" install || die "install failed"
37
-	rm "${D}/$(getpam_mod_dir)/pam_mysql.la" || die "Failed to remove pam_mysql.la"
38
-	dodoc CREDITS ChangeLog NEWS README
39
-}
40 0