Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/freetds/, dev-db/freetds/files/
Date: Sat, 12 Aug 2017 21:00:34
Message-Id: 1502571590.ddfa04b5c74b14694f016f6bc8299712b341c8a5.mjo@gentoo
1 commit: ddfa04b5c74b14694f016f6bc8299712b341c8a5
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 11 18:19:51 2017 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 12 20:59:50 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddfa04b5
7
8 dev-db/freetds: remove old unused versions and files.
9
10 The versions between 0.91 and 1.00.41 were all unstable on every arch,
11 so I removed them in favor of v1.00.41. The old v0.91 is only still
12 required because it's stable on hppa (where v1.00.41 is not). The one
13 patch in the files directory was obsolete after the cleanup, so it too
14 has been removed.
15
16 Package-Manager: Portage-2.3.6, Repoman-2.3.1
17
18 dev-db/freetds/Manifest | 3 -
19 .../files/freetds-0.91-fix_field_aliases.patch | 21 -------
20 dev-db/freetds/freetds-0.91-r1.ebuild | 48 ---------------
21 dev-db/freetds/freetds-1.00.1-r1.ebuild | 48 ---------------
22 dev-db/freetds/freetds-1.00.1.ebuild | 47 --------------
23 dev-db/freetds/freetds-1.00.13.ebuild | 72 ----------------------
24 dev-db/freetds/freetds-1.00.ebuild | 47 --------------
25 7 files changed, 286 deletions(-)
26
27 diff --git a/dev-db/freetds/Manifest b/dev-db/freetds/Manifest
28 index 85ce4597c29..ad0ae70a840 100644
29 --- a/dev-db/freetds/Manifest
30 +++ b/dev-db/freetds/Manifest
31 @@ -1,5 +1,2 @@
32 DIST freetds-0.91.tar.gz 2136329 SHA256 6a8148bd803aebceac6862b0dead1c5d9659f7e1038993abfe0ce8febb322465 SHA512 4dadafe49848ab5505b0fa5bd650e19e7652c3e1181d3c49f087c50ed055f395eaf5917a99744ed3594e4af9032c4e18f397af58fb1010e695ac2c0bc601b5e3 WHIRLPOOL 63662b56011edb6d22ce28cc7bad3af272ff81862f0d8ff65b113af260e3c8d05a9d941c1cf4b8039b99f460c3a5c8364dd69d42d8e98c0c92530462f732dec2
33 -DIST freetds-1.00.1.tar.gz 4649187 SHA256 a00048d5b1b568b62a7d1dd0e517e064273c9c7d807ca4a986f4e5ef0fc65e6c SHA512 dab5139ddc6e3c7a2c61f76dd833d7ff499c9b63329eb9712bb94e47700991ecd05e86aaa0900682dd7626660b13c124ecbf23c1dcc40f5ca855b3fb00a54d45 WHIRLPOOL 33096719913b81d90462b5392041117996ae942815e69b793723a5c90d17c2f1ebb16db193d93363c2d98525698c6ec741cc62b6430613163ad89da795defd79
34 -DIST freetds-1.00.13.tar.gz 4639311 SHA256 ebb6dfc0ce34432e3712fbc638f18bc98f4af0c6f327fd2a0edd8ee16f00c15f SHA512 202d5a9477b1e924317b04a54d3186c333ef8f9d5054c3346635a2a3af268938a5bbf58fe8500ef6c21801046d9024d57404e99f9a8e2b0e639fcea39aecaa69 WHIRLPOOL 6a3be06872cb57e51c5c3181e1b141c659be6a290b5ec312e656e05998c2bae1f7ebf353c02dbd8c1b665ab6722fbb2c4122c3eabedc8bc1b7916fb61b5f4486
35 DIST freetds-1.00.41.tar.gz 2904915 SHA256 f054f1ac09d933527b634e081f5b36856669b7a507601cde93eda32174681e59 SHA512 dec3197a6478fc59b7386f9a7a562df8b581bba7184210c42f26827e957b9746e6820d687a9c6cbcd7c825fc5d4f556547c0483d06c786a064d5c4859db4daa1 WHIRLPOOL de396ba6fa04c7fb580614297c62f61c77a606417e749eb1dd4ad352e7f87cea05ed1567d7dd7f97b189f83d48f711e1254a59d0f9c897050b505e31f6fe8da7
36 -DIST freetds-1.00.tar.gz 4648806 SHA256 604ff9fe95bf5e2e650f8648b19ae488959269a4274e95dc17e3b66f29779a9b SHA512 713aec9ac7952aa70a3e7f5fe3ab2d9be7b19511f1d58cf3397e80f99f155835508d9a7bf8dad37f64f07bc1c78258df3f17f3049f89e32cd2d654fd3b689bb4 WHIRLPOOL bf94e4b71602e779638df481a706bad147eb5c9596d8993b1409e1026a79e82162b5afdde923bdcb2b9bee498ade1b474fa7f99deb74652faf81b9c2dbed23a3
37
38 diff --git a/dev-db/freetds/files/freetds-0.91-fix_field_aliases.patch b/dev-db/freetds/files/freetds-0.91-fix_field_aliases.patch
39 deleted file mode 100644
40 index c5699af5d1d..00000000000
41 --- a/dev-db/freetds/files/freetds-0.91-fix_field_aliases.patch
42 +++ /dev/null
43 @@ -1,21 +0,0 @@
44 -Gentoo bug: 498374
45 -
46 -diff -Nru freetds-0.91/src/odbc/odbc.c freetds-0.91/src/odbc/odbc.c
47 ---- freetds-0.91/src/odbc/odbc.c.orig 2010-03-22 09:42:16.000000000 -0500
48 -+++ freetds-0.91/src/odbc/odbc.c 2010-05-06 16:00:00.000000000 -0500
49 -@@ -3012,12 +3012,9 @@
50 -
51 - odbc_set_sql_type_info(col, drec, stmt->dbc->env->attr.odbc_version);
52 -
53 -- if (!col->table_column_name) {
54 -- if (!tds_dstr_copyn(&drec->sql_desc_name, col->column_name, col->column_namelen))
55 -- return SQL_ERROR;
56 -- } else {
57 -- if (!tds_dstr_copy(&drec->sql_desc_name, col->table_column_name))
58 -- return SQL_ERROR;
59 -+ if (!tds_dstr_copyn(&drec->sql_desc_name, col->column_name, col->column_namelen))
60 -+ return SQL_ERROR;
61 -+ if (col->table_column_name) {
62 - if (!tds_dstr_copy(&drec->sql_desc_base_column_name, col->table_column_name))
63 - return SQL_ERROR;
64 - }
65
66 diff --git a/dev-db/freetds/freetds-0.91-r1.ebuild b/dev-db/freetds/freetds-0.91-r1.ebuild
67 deleted file mode 100644
68 index f74eb3b2cc3..00000000000
69 --- a/dev-db/freetds/freetds-0.91-r1.ebuild
70 +++ /dev/null
71 @@ -1,48 +0,0 @@
72 -# Copyright 1999-2014 Gentoo Foundation
73 -# Distributed under the terms of the GNU General Public License v2
74 -
75 -EAPI=4
76 -
77 -inherit autotools eutils
78 -
79 -DESCRIPTION="Tabular Datastream Library"
80 -HOMEPAGE="http://www.freetds.org/"
81 -SRC_URI="http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/${P}.tar.gz"
82 -
83 -LICENSE="GPL-2"
84 -SLOT="0"
85 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos"
86 -IUSE="kerberos odbc iodbc mssql"
87 -RESTRICT="test"
88 -
89 -DEPEND="
90 - iodbc? ( dev-db/libiodbc )
91 - kerberos? ( virtual/krb5 )
92 - odbc? ( dev-db/unixODBC )"
93 -RDEPEND="${DEPEND}"
94 -
95 -src_prepare() {
96 - config_rpath_update
97 - sed -ie 's:with_iodbc/include":with_iodbc/include/iodbc":' configure.ac || die
98 - epatch "${FILESDIR}"/freetds-0.91-fix_field_aliases.patch
99 - eautoreconf
100 -}
101 -
102 -src_configure() {
103 - local myconf="--with-tdsver=7.0 $(use_enable mssql msdblib)"
104 -
105 - if use iodbc ; then
106 - myconf="${myconf} --enable-odbc --with-iodbc=${EPREFIX}/usr"
107 - elif use odbc ; then
108 - myconf="${myconf} --enable-odbc --with-unixodbc=${EPREFIX}/usr"
109 - fi
110 - if use kerberos ; then
111 - myconf="${myconf} --enable-krb5"
112 - fi
113 -
114 - econf ${myconf}
115 -}
116 -
117 -src_install() {
118 - emake DESTDIR="${D}" DOCDIR="doc/${PF}" install
119 -}
120
121 diff --git a/dev-db/freetds/freetds-1.00.1-r1.ebuild b/dev-db/freetds/freetds-1.00.1-r1.ebuild
122 deleted file mode 100644
123 index 4c05bbfba44..00000000000
124 --- a/dev-db/freetds/freetds-1.00.1-r1.ebuild
125 +++ /dev/null
126 @@ -1,48 +0,0 @@
127 -# Copyright 1999-2016 Gentoo Foundation
128 -# Distributed under the terms of the GNU General Public License v2
129 -
130 -EAPI=6
131 -
132 -inherit autotools eutils
133 -
134 -DESCRIPTION="Tabular Datastream Library"
135 -HOMEPAGE="http://www.freetds.org/"
136 -SRC_URI="ftp://ftp.freetds.org/pub/freetds/stable/${P}.tar.gz"
137 -
138 -LICENSE="GPL-2"
139 -SLOT="0"
140 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos"
141 -IUSE="kerberos odbc iodbc mssql"
142 -RESTRICT="test"
143 -
144 -DEPEND="
145 - iodbc? ( dev-db/libiodbc )
146 - kerberos? ( virtual/krb5 )
147 - odbc? ( dev-db/unixODBC )"
148 -RDEPEND="${DEPEND}"
149 -
150 -src_prepare() {
151 - default
152 - config_rpath_update
153 - sed -ie 's:with_iodbc/include":with_iodbc/include/iodbc":' configure.ac || die
154 - eautoreconf
155 -}
156 -
157 -src_configure() {
158 - local myconf="--with-tdsver=7.0 $(use_enable mssql msdblib)"
159 -
160 - if use iodbc ; then
161 - myconf="${myconf} --enable-odbc --with-iodbc=${EPREFIX}/usr"
162 - elif use odbc ; then
163 - myconf="${myconf} --enable-odbc --with-unixodbc=${EPREFIX}/usr"
164 - fi
165 - if use kerberos ; then
166 - myconf="${myconf} --enable-krb5"
167 - fi
168 -
169 - econf ${myconf}
170 -}
171 -
172 -src_install() {
173 - emake DESTDIR="${D}" DOCDIR="doc/${PF}" install
174 -}
175
176 diff --git a/dev-db/freetds/freetds-1.00.1.ebuild b/dev-db/freetds/freetds-1.00.1.ebuild
177 deleted file mode 100644
178 index bff10b31fb5..00000000000
179 --- a/dev-db/freetds/freetds-1.00.1.ebuild
180 +++ /dev/null
181 @@ -1,47 +0,0 @@
182 -# Copyright 1999-2015 Gentoo Foundation
183 -# Distributed under the terms of the GNU General Public License v2
184 -
185 -EAPI=5
186 -
187 -inherit autotools eutils
188 -
189 -DESCRIPTION="Tabular Datastream Library"
190 -HOMEPAGE="http://www.freetds.org/"
191 -SRC_URI="ftp://ftp.freetds.org/pub/freetds/stable/${P}.tar.gz"
192 -
193 -LICENSE="GPL-2"
194 -SLOT="0"
195 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos"
196 -IUSE="kerberos odbc iodbc mssql"
197 -RESTRICT="test"
198 -
199 -DEPEND="
200 - iodbc? ( dev-db/libiodbc )
201 - kerberos? ( virtual/krb5 )
202 - odbc? ( dev-db/unixODBC )"
203 -RDEPEND="${DEPEND}"
204 -
205 -src_prepare() {
206 - config_rpath_update
207 - sed -ie 's:with_iodbc/include":with_iodbc/include/iodbc":' configure.ac || die
208 - eautoreconf
209 -}
210 -
211 -src_configure() {
212 - local myconf="--with-tdsver=7.0 $(use_enable mssql msdblib)"
213 -
214 - if use iodbc ; then
215 - myconf="${myconf} --enable-odbc --with-iodbc=${EPREFIX}/usr"
216 - elif use odbc ; then
217 - myconf="${myconf} --enable-odbc --with-unixodbc=${EPREFIX}/usr"
218 - fi
219 - if use kerberos ; then
220 - myconf="${myconf} --enable-krb5"
221 - fi
222 -
223 - econf ${myconf}
224 -}
225 -
226 -src_install() {
227 - emake DESTDIR="${D}" DOCDIR="doc/${PF}" install
228 -}
229
230 diff --git a/dev-db/freetds/freetds-1.00.13.ebuild b/dev-db/freetds/freetds-1.00.13.ebuild
231 deleted file mode 100644
232 index ebe7172dd62..00000000000
233 --- a/dev-db/freetds/freetds-1.00.13.ebuild
234 +++ /dev/null
235 @@ -1,72 +0,0 @@
236 -# Copyright 1999-2016 Gentoo Foundation
237 -# Distributed under the terms of the GNU General Public License v2
238 -
239 -EAPI=6
240 -
241 -inherit autotools
242 -
243 -DESCRIPTION="Tabular Datastream Library"
244 -HOMEPAGE="http://www.freetds.org/"
245 -SRC_URI="ftp://ftp.freetds.org/pub/freetds/stable/${P}.tar.gz"
246 -
247 -LICENSE="GPL-2"
248 -SLOT="0"
249 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos"
250 -IUSE="gnutls iconv kerberos libressl mssql iodbc odbc ssl"
251 -RESTRICT="test"
252 -
253 -DEPEND="
254 - gnutls? ( net-libs/gnutls )
255 - iconv? ( virtual/libiconv )
256 - iodbc? ( dev-db/libiodbc )
257 - kerberos? ( virtual/krb5 )
258 - odbc? ( dev-db/unixODBC )
259 - ssl? (
260 - !libressl? ( dev-libs/openssl:0 )
261 - libressl? ( dev-libs/libressl )
262 - )"
263 -
264 -# bind-tools is needed because the osql script calls "host".
265 -RDEPEND="${DEPEND}
266 - net-dns/bind-tools
267 - sys-apps/grep
268 - sys-apps/sed
269 - virtual/awk"
270 -
271 -src_prepare() {
272 - default
273 - # Fix the iodbc include path in the configure script. Otherwise, it
274 - # can't find isql.h.
275 - sed -ie 's:with_iodbc/include":with_iodbc/include/iodbc":' \
276 - configure.ac \
277 - || die "failed to fix the iodbc include path in configure.ac"
278 - eautoreconf
279 -}
280 -
281 -src_configure() {
282 - local myconf=( --with-tdsver=7.4 )
283 -
284 - # The configure script doesn't support --without-{i,unix}odbc and
285 - # it will still search for the associated headers if you try that
286 - # Instead, to disable {i,unix}odbc, you just have to omit the
287 - # --with-{i,unix}odbc line.
288 - if use iodbc ; then
289 - myconf+=( --enable-odbc --with-iodbc="${EPREFIX}/usr" )
290 - fi
291 -
292 - if use odbc ; then
293 - myconf+=( --enable-odbc --with-unixodbc="${EPREFIX}/usr" )
294 - fi
295 -
296 - myconf+=( $(use_enable iconv libiconv) )
297 - use iconv && myconf+=( --with-libiconv-prefix="${EPREFIX}/usr" )
298 - myconf+=( $(use_enable kerberos krb5) )
299 - myconf+=( $(use_enable mssql msdblib) )
300 - myconf+=( $(use_with gnutls) )
301 - myconf+=( $(use_with ssl openssl "${EPREFIX}/usr") )
302 -
303 - # The docdir doesn't contain ${PV} without this
304 - myconf+=( --docdir="/usr/share/doc/${PF}" )
305 -
306 - econf "${myconf[@]}"
307 -}
308
309 diff --git a/dev-db/freetds/freetds-1.00.ebuild b/dev-db/freetds/freetds-1.00.ebuild
310 deleted file mode 100644
311 index bff10b31fb5..00000000000
312 --- a/dev-db/freetds/freetds-1.00.ebuild
313 +++ /dev/null
314 @@ -1,47 +0,0 @@
315 -# Copyright 1999-2015 Gentoo Foundation
316 -# Distributed under the terms of the GNU General Public License v2
317 -
318 -EAPI=5
319 -
320 -inherit autotools eutils
321 -
322 -DESCRIPTION="Tabular Datastream Library"
323 -HOMEPAGE="http://www.freetds.org/"
324 -SRC_URI="ftp://ftp.freetds.org/pub/freetds/stable/${P}.tar.gz"
325 -
326 -LICENSE="GPL-2"
327 -SLOT="0"
328 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos"
329 -IUSE="kerberos odbc iodbc mssql"
330 -RESTRICT="test"
331 -
332 -DEPEND="
333 - iodbc? ( dev-db/libiodbc )
334 - kerberos? ( virtual/krb5 )
335 - odbc? ( dev-db/unixODBC )"
336 -RDEPEND="${DEPEND}"
337 -
338 -src_prepare() {
339 - config_rpath_update
340 - sed -ie 's:with_iodbc/include":with_iodbc/include/iodbc":' configure.ac || die
341 - eautoreconf
342 -}
343 -
344 -src_configure() {
345 - local myconf="--with-tdsver=7.0 $(use_enable mssql msdblib)"
346 -
347 - if use iodbc ; then
348 - myconf="${myconf} --enable-odbc --with-iodbc=${EPREFIX}/usr"
349 - elif use odbc ; then
350 - myconf="${myconf} --enable-odbc --with-unixodbc=${EPREFIX}/usr"
351 - fi
352 - if use kerberos ; then
353 - myconf="${myconf} --enable-krb5"
354 - fi
355 -
356 - econf ${myconf}
357 -}
358 -
359 -src_install() {
360 - emake DESTDIR="${D}" DOCDIR="doc/${PF}" install
361 -}