1 |
commit: 6433199e05ae1f29265aff83e3630f18f8d69e47 |
2 |
Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 4 08:59:58 2021 +0000 |
4 |
Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 4 09:00:36 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6433199e |
7 |
|
8 |
net-dns/ldns-utils: fix soname version |
9 |
|
10 |
Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org> |
11 |
|
12 |
...{ldns-utils-1.8.0.ebuild => ldns-utils-1.8.0-r1.ebuild} | 14 +++++++++++++- |
13 |
1 file changed, 13 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/net-dns/ldns-utils/ldns-utils-1.8.0.ebuild b/net-dns/ldns-utils/ldns-utils-1.8.0-r1.ebuild |
16 |
similarity index 83% |
17 |
rename from net-dns/ldns-utils/ldns-utils-1.8.0.ebuild |
18 |
rename to net-dns/ldns-utils/ldns-utils-1.8.0-r1.ebuild |
19 |
index d4ff2e44171d..b7516aaa9282 100644 |
20 |
--- a/net-dns/ldns-utils/ldns-utils-1.8.0.ebuild |
21 |
+++ b/net-dns/ldns-utils/ldns-utils-1.8.0-r1.ebuild |
22 |
@@ -1,7 +1,9 @@ |
23 |
# Copyright 1999-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=6 |
27 |
+EAPI=8 |
28 |
+ |
29 |
+inherit autotools |
30 |
|
31 |
MY_P=${P/-utils} |
32 |
|
33 |
@@ -30,7 +32,16 @@ RESTRICT="test" |
34 |
|
35 |
S=${WORKDIR}/${MY_P} |
36 |
|
37 |
+src_prepare() { |
38 |
+ # backport https://github.com/NLnetLabs/ldns/commit/bc9d017f6fd8b6b5d2ff6e4489a2931d0aab8184 |
39 |
+ sed -i 's/AC_SUBST(VERSION_INFO.*/AC_SUBST(VERSION_INFO, [5:0:2])/' "${S}"/configure.ac || die 'could not patch configure.ac' |
40 |
+ |
41 |
+ default |
42 |
+} |
43 |
+ |
44 |
src_configure() { |
45 |
+ eautoreconf |
46 |
+ |
47 |
# >=openssl-1.1.0 required for dane-ta |
48 |
if has_version "<dev-libs/openssl-1.1.0" ; then |
49 |
local dane_ta_usage="--disable-dane-ta-usage" |
50 |
@@ -50,6 +61,7 @@ src_configure() { |
51 |
$(use_enable gost) \ |
52 |
$(use_enable ssl sha2) \ |
53 |
$dane_ta_usage |
54 |
+ |
55 |
} |
56 |
|
57 |
src_compile() { |