Сравнение ldns-1.8.1 с ldns-1.8.3

/usr/portage/net-libs/ldns/ldns-1.8.3.ebuild 2023-10-09 14:52:34.476368476 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5

  
5 6
PYTHON_COMPAT=( python3_{9,10} )
6
inherit python-single-r1 multilib-minimal
7
inherit autotools python-single-r1 multilib-minimal
7 8

  
8 9
DESCRIPTION="A library with the aim to simplify DNS programming in C"
9 10
HOMEPAGE="https://www.nlnetlabs.nl/projects/ldns/"
......
13 14
SLOT="0/3"
14 15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris"
15 16
IUSE="doc examples python static-libs"
16

  
17
REQUIRED_USE="
18
	python? ( ${PYTHON_REQUIRED_USE} )
19
"
17
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
18
RESTRICT="test" # missing test directory
20 19

  
21 20
BDEPEND="
22 21
	python? ( dev-lang/swig )
......
27 26
	>=dev-libs/openssl-1.1.1l-r1:0=[${MULTILIB_USEDEP},static-libs?]
28 27
	examples? ( net-libs/libpcap )
29 28
"
30
RDEPEND="${DEPEND}
29
RDEPEND="
30
	${DEPEND}
31 31
	!<net-dns/ldns-utils-1.8.0-r2
32 32
"
33 33

  
34
RESTRICT="test" # missing test directory
35

  
36 34
MULTILIB_CHOST_TOOLS=(
37 35
	/usr/bin/ldns-config
38 36
)
39 37

  
38
PATCHES=(
39
	"${FILESDIR}/ldns-1.8.1-pkgconfig.patch"
40
	"${FILESDIR}/${P}-docs.patch"
41
	"${FILESDIR}/${P}-configure-strict.patch"
42
)
43

  
40 44
pkg_setup() {
41 45
	use python && python-single-r1_pkg_setup
42 46
}
43 47

  
44 48
src_prepare() {
45
	local PATCHES=(
46
		"${FILESDIR}/ldns-1.8.1-pkgconfig.patch"
47
	)
48 49
	default
50

  
51
	# Drop after 1.8.3
52
	eautoreconf
49 53
}
50 54

  
51 55
multilib_src_configure() {
52
	ECONF_SOURCE=${S} \
53
	econf \
56
	ECONF_SOURCE="${S}" econf \
54 57
		$(use_enable static-libs static) \
55 58
		$(multilib_native_use_with python pyldns) \
56 59
		$(multilib_native_use_with python pyldnsx) \
Спасибо!