Diff libnss-mysql-1.5_p20060915-r5 with a libnss-mysql-1.7.1

/usr/portage/sys-auth/libnss-mysql/libnss-mysql-1.7.1.ebuild 2026-01-24 11:18:05.047670319 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
5

  
6
inherit autotools
7

  
8
KEYWORDS="amd64 ~ppc ~sparc x86"
4
EAPI=8
9 5

  
10 6
DESCRIPTION="NSS MySQL Library"
11
HOMEPAGE="http://libnss-mysql.sourceforge.net/"
12
SRC_URI="http://libnss-mysql.sourceforge.net/snapshot/${PN}-${PV/1.5_p/}.tgz"
7
HOMEPAGE="https://github.com/saknopper/libnss-mysql"
8
SRC_URI="https://github.com/saknopper/libnss-mysql/releases/download/v${PV}/libnss-mysql-${PV}.tar.gz"
9

  
13 10
LICENSE="GPL-2"
14 11
SLOT="0"
12
KEYWORDS="amd64 ~ppc ~sparc x86"
15 13
IUSE="debug"
16 14

  
17 15
DEPEND="dev-db/mysql-connector-c:="
18 16
RDEPEND="${DEPEND}"
19 17

  
20
S="${WORKDIR}/${PN}"
21

  
22 18
DOCS=( AUTHORS DEBUGGING FAQ INSTALL NEWS README THANKS
23
	TODO UPGRADING ChangeLog
19
	UPGRADING ChangeLog
24 20
)
25 21

  
26
PATCHES=(
27
	"${FILESDIR}"/${P}-no-automagic-debug.diff
28
	"${FILESDIR}"/${PN}-1.5_p20060915-multiarch.patch
29
	"${FILESDIR}"/${PN}-1.5_p20060915-mariadb10.2.patch
30
)
31

  
32
src_prepare() {
33
	default
34

  
35
	mv configure.{in,ac} || die
36

  
37
	eautoreconf
38
}
39

  
40 22
src_configure() {
41
	# Usually, authentication libraries don't belong into usr.
42
	# But here, it's required that the lib is in the same dir
43
	# as libmysql, because else failures may occur on boot if
44
	# udev tries to access a user / group that doesn't exist
45
	# on the system before /usr is mounted.
46
	econf --libdir="/usr/$(get_libdir)" \
23
	econf \
47 24
		$(use_enable debug)
48 25
}
49 26

  
Thank you!