Gentoo Archives: gentoo-commits

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