Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/itx-bind/, sys-libs/itx-bind/files/
Date: Mon, 30 Jan 2017 19:12:29
Message-Id: 1485803503.4e171259ec1541d129c52d1f4dc64f2a8c04e1fe.grobian@gentoo
1 commit: 4e171259ec1541d129c52d1f4dc64f2a8c04e1fe
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 19:11:43 2017 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 19:11:43 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e171259
7
8 sys-libs/itx-bind: remove Interix only package
9
10 sys-libs/itx-bind/files/weak.s | 304 -------------------------------
11 sys-libs/itx-bind/itx-bind-0.1-r2.ebuild | 93 ----------
12 sys-libs/itx-bind/metadata.xml | 12 --
13 3 files changed, 409 deletions(-)
14
15 diff --git a/sys-libs/itx-bind/files/weak.s b/sys-libs/itx-bind/files/weak.s
16 deleted file mode 100644
17 index 9efa962..00000000
18 --- a/sys-libs/itx-bind/files/weak.s
19 +++ /dev/null
20 @@ -1,304 +0,0 @@
21 -.extern ___fp_nquery
22 -.global _fp_nquery
23 -_fp_nquery:
24 - jmp ___fp_nquery
25 -.extern ___fp_query
26 -.global _fp_query
27 -_fp_query:
28 - jmp ___fp_query
29 -.extern ___hostalias
30 -.global _hostalias
31 -_hostalias:
32 - jmp ___hostalias
33 -.extern ___p_query
34 -.global _p_query
35 -_p_query:
36 - jmp ___p_query
37 -.extern ___res_close
38 -.global _res_close
39 -_res_close:
40 - jmp ___res_close
41 -.extern ___res_init
42 -.global _res_init
43 -_res_init:
44 - jmp ___res_init
45 -.extern ___res_isourserver
46 -.global _res_isourserver
47 -_res_isourserver:
48 - jmp ___res_isourserver
49 -.extern ___res_mkquery
50 -.global _res_mkquery
51 -_res_mkquery:
52 - jmp ___res_mkquery
53 -.extern ___res_query
54 -.global _res_query
55 -_res_query:
56 - jmp ___res_query
57 -.extern ___res_querydomain
58 -.global _res_querydomain
59 -_res_querydomain:
60 - jmp ___res_querydomain
61 -.extern ___res_search
62 -.global _res_search
63 -_res_search:
64 - jmp ___res_search
65 -.extern ___res_send
66 -.global _res_send
67 -_res_send:
68 - jmp ___res_send
69 -.extern ___res_sendsigned
70 -.global _res_sendsigned
71 -_res_sendsigned:
72 - jmp ___res_sendsigned
73 -.extern ___b64_ntop
74 -.global _b64_ntop
75 -_b64_ntop:
76 - jmp ___b64_ntop
77 -.extern ___b64_pton
78 -.global _b64_pton
79 -_b64_pton:
80 - jmp ___b64_pton
81 -.extern ___dn_comp
82 -.global _dn_comp
83 -_dn_comp:
84 - jmp ___dn_comp
85 -.extern ___dn_count_labels
86 -.global _dn_count_labels
87 -_dn_count_labels:
88 - jmp ___dn_count_labels
89 -.extern ___dn_expand
90 -.global _dn_expand
91 -_dn_expand:
92 - jmp ___dn_expand
93 -.extern ___dn_skipname
94 -.global _dn_skipname
95 -_dn_skipname:
96 - jmp ___dn_skipname
97 -.extern ___fp_resstat
98 -.global _fp_resstat
99 -_fp_resstat:
100 - jmp ___fp_resstat
101 -.extern ___loc_aton
102 -.global _loc_aton
103 -_loc_aton:
104 - jmp ___loc_aton
105 -.extern ___loc_ntoa
106 -.global _loc_ntoa
107 -_loc_ntoa:
108 - jmp ___loc_ntoa
109 -.extern ___p_cdname
110 -.global _p_cdname
111 -_p_cdname:
112 - jmp ___p_cdname
113 -.extern ___p_cdnname
114 -.global _p_cdnname
115 -_p_cdnname:
116 - jmp ___p_cdnname
117 -.extern ___p_class
118 -.global _p_class
119 -_p_class:
120 - jmp ___p_class
121 -.extern ___p_fqname
122 -.global _p_fqname
123 -_p_fqname:
124 - jmp ___p_fqname
125 -.extern ___p_fqnname
126 -.global _p_fqnname
127 -_p_fqnname:
128 - jmp ___p_fqnname
129 -.extern ___p_option
130 -.global _p_option
131 -_p_option:
132 - jmp ___p_option
133 -.extern ___p_secstodate
134 -.global _p_secstodate
135 -_p_secstodate:
136 - jmp ___p_secstodate
137 -.extern ___p_section
138 -.global _p_section
139 -_p_section:
140 - jmp ___p_section
141 -.extern ___p_time
142 -.global _p_time
143 -_p_time:
144 - jmp ___p_time
145 -.extern ___p_type
146 -.global _p_type
147 -_p_type:
148 - jmp ___p_type
149 -.extern ___p_rcode
150 -.global _p_rcode
151 -_p_rcode:
152 - jmp ___p_rcode
153 -.extern ___p_sockun
154 -.global _p_sockun
155 -_p_sockun:
156 - jmp ___p_sockun
157 -.extern ___putlong
158 -.global _putlong
159 -_putlong:
160 - jmp ___putlong
161 -.extern ___putshort
162 -.global _putshort
163 -_putshort:
164 - jmp ___putshort
165 -.extern ___res_dnok
166 -.global _res_dnok
167 -_res_dnok:
168 - jmp ___res_dnok
169 -.extern ___res_findzonecut
170 -.global _res_findzonecut
171 -_res_findzonecut:
172 - jmp ___res_findzonecut
173 -.extern ___res_findzonecut2
174 -.global _res_findzonecut2
175 -_res_findzonecut2:
176 - jmp ___res_findzonecut2
177 -.extern ___res_hnok
178 -.global _res_hnok
179 -_res_hnok:
180 - jmp ___res_hnok
181 -.extern ___res_hostalias
182 -.global _res_hostalias
183 -_res_hostalias:
184 - jmp ___res_hostalias
185 -.extern ___res_mailok
186 -.global _res_mailok
187 -_res_mailok:
188 - jmp ___res_mailok
189 -.extern ___res_nameinquery
190 -.global _res_nameinquery
191 -_res_nameinquery:
192 - jmp ___res_nameinquery
193 -.extern ___res_nclose
194 -.global _res_nclose
195 -_res_nclose:
196 - jmp ___res_nclose
197 -.extern ___res_ninit
198 -.global _res_ninit
199 -_res_ninit:
200 - jmp ___res_ninit
201 -.extern ___res_nmkquery
202 -.global _res_nmkquery
203 -_res_nmkquery:
204 - jmp ___res_nmkquery
205 -.extern ___res_pquery
206 -.global _res_pquery
207 -_res_pquery:
208 - jmp ___res_pquery
209 -.extern ___res_nquery
210 -.global _res_nquery
211 -_res_nquery:
212 - jmp ___res_nquery
213 -.extern ___res_nquerydomain
214 -.global _res_nquerydomain
215 -_res_nquerydomain:
216 - jmp ___res_nquerydomain
217 -.extern ___res_nsearch
218 -.global _res_nsearch
219 -_res_nsearch:
220 - jmp ___res_nsearch
221 -.extern ___res_nsend
222 -.global _res_nsend
223 -_res_nsend:
224 - jmp ___res_nsend
225 -.extern ___res_nsendsigned
226 -.global _res_nsendsigned
227 -_res_nsendsigned:
228 - jmp ___res_nsendsigned
229 -.extern ___res_ownok
230 -.global _res_ownok
231 -_res_ownok:
232 - jmp ___res_ownok
233 -.extern ___res_queriesmatch
234 -.global _res_queriesmatch
235 -_res_queriesmatch:
236 - jmp ___res_queriesmatch
237 -.extern ___res_randomid
238 -.global _res_randomid
239 -_res_randomid:
240 - jmp ___res_randomid
241 -.extern ___sym_ntop
242 -.global _sym_ntop
243 -_sym_ntop:
244 - jmp ___sym_ntop
245 -.extern ___sym_ntos
246 -.global _sym_ntos
247 -_sym_ntos:
248 - jmp ___sym_ntos
249 -.extern ___sym_ston
250 -.global _sym_ston
251 -_sym_ston:
252 - jmp ___sym_ston
253 -.extern ___res_nopt
254 -.global _res_nopt
255 -_res_nopt:
256 - jmp ___res_nopt
257 -.extern ___res_ndestroy
258 -.global _res_ndestroy
259 -_res_ndestroy:
260 - jmp ___res_ndestroy
261 -.extern ___res_nametoclass
262 -.global _res_nametoclass
263 -_res_nametoclass:
264 - jmp ___res_nametoclass
265 -.extern ___res_nametotype
266 -.global _res_nametotype
267 -_res_nametotype:
268 - jmp ___res_nametotype
269 -.extern ___res_setservers
270 -.global _res_setservers
271 -_res_setservers:
272 - jmp ___res_setservers
273 -.extern ___res_getservers
274 -.global _res_getservers
275 -_res_getservers:
276 - jmp ___res_getservers
277 -.extern ___res_buildprotolist
278 -.global _res_buildprotolist
279 -_res_buildprotolist:
280 - jmp ___res_buildprotolist
281 -.extern ___res_destroyprotolist
282 -.global _res_destroyprotolist
283 -_res_destroyprotolist:
284 - jmp ___res_destroyprotolist
285 -.extern ___res_destroyservicelist
286 -.global _res_destroyservicelist
287 -_res_destroyservicelist:
288 - jmp ___res_destroyservicelist
289 -.extern ___res_get_nibblesuffix
290 -.global _res_get_nibblesuffix
291 -_res_get_nibblesuffix:
292 - jmp ___res_get_nibblesuffix
293 -.extern ___res_get_nibblesuffix2
294 -.global _res_get_nibblesuffix2
295 -_res_get_nibblesuffix2:
296 - jmp ___res_get_nibblesuffix2
297 -.extern ___res_ourserver_p
298 -.global _res_ourserver_p
299 -_res_ourserver_p:
300 - jmp ___res_ourserver_p
301 -.extern ___res_protocolname
302 -.global _res_protocolname
303 -_res_protocolname:
304 - jmp ___res_protocolname
305 -.extern ___res_protocolnumber
306 -.global _res_protocolnumber
307 -_res_protocolnumber:
308 - jmp ___res_protocolnumber
309 -.extern ___res_send_setqhook
310 -.global _res_send_setqhook
311 -_res_send_setqhook:
312 - jmp ___res_send_setqhook
313 -.extern ___res_send_setrhook
314 -.global _res_send_setrhook
315 -_res_send_setrhook:
316 - jmp ___res_send_setrhook
317 -.extern ___res_servicename
318 -.global _res_servicename
319 -_res_servicename:
320 - jmp ___res_servicename
321 -.extern ___res_servicenumber
322 -.global _res_servicenumber
323 -_res_servicenumber:
324 - jmp ___res_servicenumber
325
326 diff --git a/sys-libs/itx-bind/itx-bind-0.1-r2.ebuild b/sys-libs/itx-bind/itx-bind-0.1-r2.ebuild
327 deleted file mode 100644
328 index c9b2359..00000000
329 --- a/sys-libs/itx-bind/itx-bind-0.1-r2.ebuild
330 +++ /dev/null
331 @@ -1,93 +0,0 @@
332 -# Copyright 1999-2017 Gentoo Foundation
333 -# Distributed under the terms of the GNU General Public License v2
334 -# $Id$
335 -
336 -EAPI=2
337 -
338 -inherit toolchain-funcs
339 -
340 -DESCRIPTION="the bind library for interix"
341 -HOMEPAGE="https://dev.gentoo.org/~mduft"
342 -SRC_URI=""
343 -
344 -LICENSE="ISC BSD-4"
345 -SLOT="0"
346 -KEYWORDS="-*"
347 -IUSE=""
348 -
349 -DEPEND=""
350 -RDEPEND=""
351 -
352 -src_install() {
353 - # scratch together the pieces of the bind installation from all over the
354 - # place on different interix systems, and copy the files to the local
355 - # prefix installation.
356 -
357 - if [[ -d /usr/local/bind ]]; then
358 - # layout as of vista onwards.
359 - local incdir="/usr/local/bind/include"
360 - local libdir="/usr/local/lib/bind"
361 - else
362 - # layout of xp and server 2003
363 - local incdir="/usr/local/include/bind"
364 - local libdir="/usr/local/lib/bind"
365 -
366 - # windows xp has a silly bug in the installer it seems:
367 - [[ -x "${incdir}/sys" ]] || chmod a+x "${incdir}/sys"
368 - fi
369 -
370 - insinto /usr/include/bind
371 -
372 - for obj in "${incdir}"/*; do
373 - [[ -f "${obj}" ]] && doins "${obj}"
374 - [[ -d "${obj}" ]] && doins -r "${obj}"
375 - done
376 -
377 - cd "${T}"
378 - # wrap some symbols for the sake of configure link test. the libbind names
379 - # symbols differently than required (some extra underscores), and renames
380 - # them through the headers. however this is not enough, if configure checks
381 - # don't include header files ... :(
382 - $(tc-getCC) -c "${FILESDIR}"/weak.s
383 -
384 - mkdir "${T}"/link || die "cannot mkdir"
385 - cd "${T}"/link
386 -
387 - # now for the _magic_ part...
388 - ar -x "${libdir}/libbind.a"
389 - # permissions are _totally_ broken here...
390 - chmod 666 *.o
391 -
392 - # remove the gethostent.o file, since the contained gethostbyname* functions
393 - # seem to not work on older interixen, whereas the libc contained versions
394 - # do work well enough.
395 - rm gethostent.o
396 -
397 - # find libdb.a from the system - need the _oold_ one...
398 - local mydb=
399 -
400 - for mydb in \
401 - "/usr/lib/x86/libdb.a" \
402 - "/usr/lib/libdb.a"; do
403 - if test -f "${mydb}"; then
404 - break
405 - fi
406 - done
407 -
408 - # this needs a _stoneage_ berkeley db, so we really need to take the
409 - # systems instead if installing db ourselves. newer db's don't have the
410 - # requested symbols (they do support it, but with a different name). Another
411 - # option would be to generate wrapper symbols for the things needed, but i'd
412 - # rather avoid doing so, since i don't know them all.
413 - $(tc-getCC) -shared -Wl,-h,libbind.so.${PV} -o libbind.so.${PV} *.o \
414 - ../weak.o "${mydb}" || die "cannot link shared libbind"
415 -
416 - dolib.so libbind.so.${PV}
417 -
418 - # to prevent accidental linking during configure tests of packages which are
419 - # not prepared for itx-bind, install things in a separate directory.
420 - # packages need to explicitly add this and the include directory for this to
421 - # work!
422 - dosym ../libbind.so.${PV} /usr/lib/bind/libbind.so
423 - dosym ../libbind.so.${PV} /usr/lib/bind/libresolv.so # mean, huh? :)
424 -}
425
426 diff --git a/sys-libs/itx-bind/metadata.xml b/sys-libs/itx-bind/metadata.xml
427 deleted file mode 100644
428 index 5536bc4..00000000
429 --- a/sys-libs/itx-bind/metadata.xml
430 +++ /dev/null
431 @@ -1,12 +0,0 @@
432 -<?xml version="1.0" encoding="UTF-8"?>
433 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
434 -<pkgmetadata>
435 -<maintainer type="person">
436 - <email>haubi@g.o</email>
437 - <name>Michael Haubenwallner</name>
438 -</maintainer>
439 -<longdescription lang="en">
440 - bind library based on the interix' host bind library. the host library
441 - is linked into a shared library, wrapping some symbols to more common names
442 -</longdescription>
443 -</pkgmetadata>