Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/libnss-mysql: ChangeLog libnss-mysql-1.5_p20060915-r1.ebuild
Date: Wed, 08 Sep 2010 23:13:44
Message-Id: 20100908231340.4917220051@flycatcher.gentoo.org
1 robbat2 10/09/08 23:13:40
2
3 Modified: ChangeLog
4 Added: libnss-mysql-1.5_p20060915-r1.ebuild
5 Log:
6 Bug #335772: Disable always-enabled DEBUG option (my previous commit failed).
7
8 (Portage version: 2.2_rc75/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.15 sys-auth/libnss-mysql/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/libnss-mysql/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/libnss-mysql/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/libnss-mysql/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-auth/libnss-mysql/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -p -w -b -B -u -u -r1.14 -r1.15
23 --- ChangeLog 23 Feb 2010 12:43:44 -0000 1.14
24 +++ ChangeLog 8 Sep 2010 23:13:40 -0000 1.15
25 @@ -1,6 +1,13 @@
26 # ChangeLog for sys-auth/libnss-mysql
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-mysql/ChangeLog,v 1.14 2010/02/23 12:43:44 hanno Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-mysql/ChangeLog,v 1.15 2010/09/08 23:13:40 robbat2 Exp $
30 +
31 +*libnss-mysql-1.5_p20060915-r1 (08 Sep 2010)
32 +
33 + 08 Sep 2010; Robin H. Johnson <robbat2@g.o>
34 + +libnss-mysql-1.5_p20060915-r1.ebuild,
35 + +files/libnss-mysql-1.5_p20060915-no-automagic-debug.diff:
36 + Bug #335772: Disable always-enabled DEBUG option.
37
38 *libnss-mysql-1.5_p20060915 (23 Feb 2010)
39
40
41
42
43 1.1 sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libnss-mysql-1.5_p20060915-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r1.ebuild,v 1.1 2010/09/08 23:13:40 robbat2 Exp $
53
54 EAPI=2
55
56 inherit eutils multilib autotools
57
58 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
59
60 DESCRIPTION="NSS MySQL Library."
61 HOMEPAGE="http://libnss-mysql.sourceforge.net/"
62 SRC_URI="http://libnss-mysql.sourceforge.net/snapshot/${PN}-${PV/1.5_p/}.tgz"
63 LICENSE="GPL-2"
64 SLOT="0"
65 IUSE="debug"
66
67 DEPEND="virtual/mysql"
68 S="${WORKDIR}/${PN}"
69
70 src_prepare() {
71 epatch "${FILESDIR}"/${P}-no-automagic-debug.diff
72 eautoconf
73 }
74
75 src_configure() {
76 # authentication libraries don't belong into usr,
77 # please don't change this
78 econf --libdir="/$(get_libdir)" \
79 $(use_enable debug)
80 }
81
82 src_install() {
83 emake DESTDIR="${D}" install || die
84
85 find "${D}" -name '*.la' -delete
86
87 newdoc sample/README README.sample
88 dodoc AUTHORS DEBUGGING FAQ INSTALL NEWS README THANKS \
89 TODO UPGRADING ChangeLog
90
91 for subdir in sample/{linux,freebsd,complex,minimal} ; do
92 docinto "${subdir}"
93 dodoc "${subdir}/"{*.sql,*.cfg}
94 done
95 }