1 |
commit: 73e558e265dc6ef04287ecdbca14c32a56c8d2ca |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 4 22:07:22 2021 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 4 22:09:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73e558e2 |
7 |
|
8 |
net-libs/ldns: drop 1.8.0-r2 |
9 |
|
10 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
11 |
|
12 |
net-libs/ldns/ldns-1.8.0-r2.ebuild | 114 ------------------------------------- |
13 |
1 file changed, 114 deletions(-) |
14 |
|
15 |
diff --git a/net-libs/ldns/ldns-1.8.0-r2.ebuild b/net-libs/ldns/ldns-1.8.0-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 88e154dc8a7f..000000000000 |
18 |
--- a/net-libs/ldns/ldns-1.8.0-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,114 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=8 |
25 |
-PYTHON_COMPAT=( python3_{7,8,9,10} ) |
26 |
-inherit python-single-r1 autotools multilib-minimal |
27 |
- |
28 |
-DESCRIPTION="a library with the aim to simplify DNS programming in C" |
29 |
-HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" |
30 |
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" |
31 |
- |
32 |
-LICENSE="BSD" |
33 |
-SLOT="0/3" |
34 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris" |
35 |
-IUSE="+dane doc +ecdsa ed25519 ed448 gost python static-libs vim-syntax" |
36 |
- |
37 |
-# configure will die if ecdsa is enabled and ssl is not |
38 |
-REQUIRED_USE=" |
39 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
40 |
-" |
41 |
- |
42 |
-RDEPEND=" |
43 |
- python? ( ${PYTHON_DEPS} ) |
44 |
- >=dev-libs/openssl-1.0.1e:0=[${MULTILIB_USEDEP}] |
45 |
-" |
46 |
-DEPEND="${RDEPEND} |
47 |
- python? ( dev-lang/swig ) |
48 |
- doc? ( app-doc/doxygen ) |
49 |
-" |
50 |
- |
51 |
-RESTRICT="test" # 1.6.9 has no test directory |
52 |
- |
53 |
-MULTILIB_CHOST_TOOLS=( |
54 |
- /usr/bin/ldns-config |
55 |
-) |
56 |
- |
57 |
-pkg_setup() { |
58 |
- use python && python-single-r1_pkg_setup |
59 |
-} |
60 |
- |
61 |
-multilib_src_configure() { |
62 |
- # >=openssl-1.1.0 required for dane-ta |
63 |
- if has_version "<dev-libs/openssl-1.1.0"; then |
64 |
- local dane_ta_usage="--disable-dane-ta-usage" |
65 |
- else |
66 |
- local dane_ta_usage="" |
67 |
- fi |
68 |
- |
69 |
- ECONF_SOURCE=${S} \ |
70 |
- econf \ |
71 |
- $(use_enable static-libs static) \ |
72 |
- $(use_enable gost) \ |
73 |
- $(use_enable ecdsa) \ |
74 |
- $(use_enable ed25519) \ |
75 |
- $(use_enable ed448) \ |
76 |
- $(use_enable dane) \ |
77 |
- $(multilib_native_use_with python pyldns) \ |
78 |
- $(multilib_native_use_with python pyldnsx) \ |
79 |
- --with-ssl="${EPREFIX}"/usr \ |
80 |
- --enable-sha2 \ |
81 |
- --without-drill \ |
82 |
- --without-examples \ |
83 |
- ${dane_ta_usage} \ |
84 |
- --disable-rpath |
85 |
-} |
86 |
- |
87 |
-src_prepare() { |
88 |
- default |
89 |
- # remove non-existing dependency for target packaging/libldns.pc |
90 |
- sed -i 's,$(srcdir)/packaging/libldns.pc.in,,' "${S}"/Makefile.in || die 'could not patch Makefile.in' |
91 |
- |
92 |
- # remove $(srcdir) from path for multilib build |
93 |
- sed -i 's,$(srcdir)/packaging/libldns.pc,packaging/libldns.pc,' "${S}"/Makefile.in || die 'could not patch Makefile.in' |
94 |
- |
95 |
- # remove Libs.private, see bug #695672 |
96 |
- sed -i '/^Libs.private:/d' "${S}"/packaging/libldns.pc.in || die 'could not patch libldns.pc.in' |
97 |
- |
98 |
- # backport https://github.com/NLnetLabs/ldns/commit/bc9d017f6fd8b6b5d2ff6e4489a2931d0aab8184 |
99 |
- sed -i 's/AC_SUBST(VERSION_INFO.*/AC_SUBST(VERSION_INFO, [5:0:2])/' "${S}"/configure.ac || die 'could not patch configure.ac' |
100 |
- |
101 |
- eautoreconf |
102 |
-} |
103 |
- |
104 |
-multilib_src_compile() { |
105 |
- default |
106 |
- |
107 |
- if multilib_is_native_abi && use doc ; then |
108 |
- emake doxygen |
109 |
- fi |
110 |
-} |
111 |
- |
112 |
-multilib_src_install() { |
113 |
- default |
114 |
- |
115 |
- if multilib_is_native_abi && use doc ; then |
116 |
- dodoc -r doc/html |
117 |
- fi |
118 |
-} |
119 |
- |
120 |
-multilib_src_install_all() { |
121 |
- dodoc Changelog README* |
122 |
- |
123 |
- find "${D}" -name '*.la' -delete || die |
124 |
- use python && python_optimize |
125 |
- |
126 |
- if use vim-syntax ; then |
127 |
- insinto /usr/share/vim/vimfiles/ftdetect |
128 |
- doins libdns.vim |
129 |
- fi |
130 |
- |
131 |
- einfo |
132 |
- elog "Install net-dns/ldns-utils if you want drill and examples" |
133 |
- einfo |
134 |
-} |