Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/ldns/
Date: Sun, 29 Dec 2019 08:53:39
Message-Id: 1577609588.cd4633d257e0ee3c12d275ca19c9783693d23046.soap@gentoo
1 commit: cd4633d257e0ee3c12d275ca19c9783693d23046
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 29 08:53:08 2019 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 29 08:53:08 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd4633d2
7
8 net-libs/ldns: Remove old
9
10 Package-Manager: Portage-2.3.83, Repoman-2.3.20
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 net-libs/ldns/ldns-1.7.1.ebuild | 113 ----------------------------------------
14 1 file changed, 113 deletions(-)
15
16 diff --git a/net-libs/ldns/ldns-1.7.1.ebuild b/net-libs/ldns/ldns-1.7.1.ebuild
17 deleted file mode 100644
18 index dc73bf8b91f..00000000000
19 --- a/net-libs/ldns/ldns-1.7.1.ebuild
20 +++ /dev/null
21 @@ -1,113 +0,0 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -PYTHON_COMPAT=( python2_7 python3_5 )
27 -inherit eutils multilib-minimal python-single-r1
28 -
29 -DESCRIPTION="a library with the aim to simplify DNS programming in C"
30 -HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/"
31 -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz"
32 -
33 -LICENSE="BSD"
34 -SLOT="0"
35 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris"
36 -IUSE="+dane doc +ecdsa ed25519 ed448 gost libressl python static-libs vim-syntax"
37 -
38 -# configure will die if ecdsa is enabled and ssl is not
39 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
40 -
41 -RDEPEND="
42 - python? ( ${PYTHON_DEPS} )
43 - ecdsa? (
44 - !libressl? ( >=dev-libs/openssl-1.0.1e:0=[-bindist,${MULTILIB_USEDEP}] )
45 - )
46 - ed25519? (
47 - !libressl? ( >=dev-libs/openssl-1.1.0:0=[-bindist,${MULTILIB_USEDEP}] )
48 - )
49 - ed448? (
50 - !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist,${MULTILIB_USEDEP}] )
51 - )
52 - !libressl? ( >=dev-libs/openssl-1.0.1e:0=[${MULTILIB_USEDEP}] )
53 - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
54 -"
55 -DEPEND="${RDEPEND}
56 - python? ( dev-lang/swig )
57 - doc? ( app-doc/doxygen )
58 -"
59 -
60 -RESTRICT="test" # 1.6.9 has no test directory
61 -
62 -MULTILIB_CHOST_TOOLS=(
63 - /usr/bin/ldns-config
64 -)
65 -
66 -pkg_setup() {
67 - use python && python-single-r1_pkg_setup
68 -}
69 -
70 -multilib_src_configure() {
71 - # >=openssl-1.1.0 required for dane-ta
72 - if has_version "<dev-libs/openssl-1.1.0"; then
73 - local dane_ta_usage="--disable-dane-ta-usage"
74 - else
75 - local dane_ta_usage=""
76 - fi
77 -
78 - ECONF_SOURCE=${S} \
79 - econf \
80 - $(use_enable static-libs static) \
81 - $(use_enable gost) \
82 - $(use_enable ecdsa) \
83 - $(use_enable ed25519) \
84 - $(use_enable ed448) \
85 - $(use_enable dane) \
86 - $(multilib_native_use_with python pyldns) \
87 - $(multilib_native_use_with python pyldnsx) \
88 - --with-ssl="${EPREFIX}"/usr \
89 - --enable-sha2 \
90 - --without-drill \
91 - --without-examples \
92 - $dane_ta_usage \
93 - --disable-rpath
94 -}
95 -
96 -src_prepare() {
97 - default
98 - #epatch "${FILESDIR}/${P}-CVE-2017-1000231.patch"
99 - #epatch "${FILESDIR}/${P}-CVE-2017-1000232.patch"
100 - # remove non-existing dependency for target packaging/libldns.pc
101 - sed -i 's,packaging/libldns.pc.in,,' "${S}"/Makefile.in || die 'could not patch Makefile.in'
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 - dohtml -r doc/html/.
117 - fi
118 -}
119 -
120 -multilib_src_install_all() {
121 - dodoc Changelog README*
122 -
123 - prune_libtool_files --modules
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 -}