Сравнение passwdqc-2.0.2-r1 с passwdqc-2.0.3

/usr/portage/sys-auth/passwdqc/passwdqc-2.0.3.ebuild 2023-10-09 14:52:35.428368500 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit flag-o-matic pam toolchain-funcs
6
inherit pam toolchain-funcs
7 7

  
8 8
DESCRIPTION="Password strength checking library (and PAM module)"
9 9
HOMEPAGE="http://www.openwall.com/passwdqc/"
......
13 13
SLOT="0"
14 14
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
15 15

  
16
RDEPEND="sys-libs/pam
17
	virtual/libcrypt:="
16
RDEPEND="
17
	sys-libs/pam
18
	virtual/libcrypt:=
19
"
18 20
DEPEND="${RDEPEND}"
19 21

  
20
pkg_setup() {
21
	QA_FLAGS_IGNORED="/$(get_libdir)/security/pam_passwdqc.so
22
		 /usr/$(get_libdir)/libpasswdqc.so.1"
23
}
22
QA_FLAGS_IGNORED="
23
	lib*/security/pam_passwdqc.so
24
	usr/lib*/libpasswdqc.so.1
25
"
24 26

  
25 27
src_prepare() {
26 28
	default
29

  
27 30
	sed -i -e 's:`uname -s`:Linux:' Makefile || die
28 31

  
29
	# ship our own default settings
32
	# Ship our own default settings
30 33
	cat <<- EOF > "${S}/passwdqc.conf"
31 34
		min=disabled,24,11,8,7
32 35
		max=72
......
34 37
		match=4
35 38
		similar=deny
36 39
		random=47
37
		enforce=everyone
40
		enforce=none
38 41
		retry=3
39 42
	EOF
40 43

  
41 44
}
42 45

  
43
src_configure() {
44
	# ideally we want !tc-ld-is-bfd for best future-proofing, but it needs
45
	# https://github.com/gentoo/gentoo/pull/28355
46
	# mold needs this too but right now tc-ld-is-mold is also not available
47
	if tc-ld-is-lld; then
48
		append-ldflags -Wl,--undefined-version
49
	fi
50

  
51
	default
52
}
53

  
54 46
_emake() {
55 47
	emake \
56 48
		SHARED_LIBDIR="/usr/$(get_libdir)" \
Спасибо!