Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/freetds/files/, dev-db/freetds/
Date: Thu, 06 Dec 2018 15:48:35
Message-Id: 1544111304.298ab12ddb0abc4bfbad348d9ab27ec8b55d50ea.zlogene@gentoo
1 commit: 298ab12ddb0abc4bfbad348d9ab27ec8b55d50ea
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 6 15:48:10 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 6 15:48:24 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=298ab12d
7
8 dev-db/freetds: Drop old
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-db/freetds/Manifest | 1 -
14 dev-db/freetds/files/without-flags.patch | 48 ---------------------
15 dev-db/freetds/freetds-1.00.341.ebuild | 68 ------------------------------
16 dev-db/freetds/freetds-1.00.54-r1.ebuild | 72 --------------------------------
17 4 files changed, 189 deletions(-)
18
19 diff --git a/dev-db/freetds/Manifest b/dev-db/freetds/Manifest
20 index 18a22a07a78..c4845e1fafd 100644
21 --- a/dev-db/freetds/Manifest
22 +++ b/dev-db/freetds/Manifest
23 @@ -1,3 +1,2 @@
24 DIST freetds-1.00.41.tar.gz 2904915 BLAKE2B d92789c9a08dc9f7f04e8efc828841c3cace0e5a3affd11d8751a785db70db79fedffb3745a681b960d30a11efbb4fa457805eb4f72444eecc20eb65d46e2d82 SHA512 dec3197a6478fc59b7386f9a7a562df8b581bba7184210c42f26827e957b9746e6820d687a9c6cbcd7c825fc5d4f556547c0483d06c786a064d5c4859db4daa1
25 -DIST freetds-1.00.54.tar.gz 2907015 BLAKE2B 332888565c2890657ca6440e4bbe92e0324daf6c6e67f3fa2243bd2d5746e7e9aa100a7838d33cc8fa93e71e5d6a650976ce5164317f3147b192ceb915362534 SHA512 a2a5034705fe06ee38b085f980f6ddf086789abc9485331fdaf829e7243f7ba95a5f0c612d7e3ec9e10f28a5c8b3a3fd8e7853d66f67110bd860afce949c798c
26 DIST freetds-dev.1.00.341.tar.gz 3002134 BLAKE2B c9396c1f205e13c9f3449bef19830cf3b6c2fa72539555ebd6bc1532c014472c862ba2ac7f495bee8f53d640d628c6b15bb50183585d43cf3dbbea4e314636d2 SHA512 fd691535dfa5c97463ff72056cfa5721557b71e41b6186ffcb08e193e51214cf966a33ee55b8e538a6f035aeeef14ac5b15fe8758f1afea9e1252a3b8951ba58
27
28 diff --git a/dev-db/freetds/files/without-flags.patch b/dev-db/freetds/files/without-flags.patch
29 deleted file mode 100644
30 index 1f04a90ac6a..00000000000
31 --- a/dev-db/freetds/files/without-flags.patch
32 +++ /dev/null
33 @@ -1,48 +0,0 @@
34 -From c4b9d766e009273c70d8953767ef2fcb95f65314 Mon Sep 17 00:00:00 2001
35 -From: Michael Orlitzky <michael@××××××××.com>
36 -Date: Fri, 11 Aug 2017 16:45:15 -0400
37 -Subject: [PATCH] configure.ac: support "without" versions of three ./configure
38 - flags.
39 -
40 -The --with-iodbc, --with-unixodbc, and --with-odbc-nodm flags all use
41 -the standard AC_ARG_WITH macro. The resulting ./configure script
42 -accepts e.g. --without-iodbc to indicate that the user does not want
43 -to enable iODBC, and in place of a path the word "no" is placed into
44 -the $with_iodbc variable. The current configure.ac doesn't handle that
45 -and instead treats "no" as a path. This commit updates configure.ac to
46 -ignore "no" as the value of those three flags.
47 ----
48 - configure.ac | 6 +++---
49 - 1 file changed, 3 insertions(+), 3 deletions(-)
50 -
51 -diff --git a/configure.ac b/configure.ac
52 -index 4f41033ae..9dfe12bb7 100644
53 ---- a/configure.ac
54 -+++ b/configure.ac
55 -@@ -546,7 +546,7 @@ esac
56 -
57 - AC_ARG_WITH(iodbc,
58 - AS_HELP_STRING([--with-iodbc=DIR], [build odbc driver against iODBC in DIR]))
59 --if test "$with_iodbc"; then
60 -+if test "x$with_iodbc" != "x" -a "x$with_iodbc" != "xno"; then
61 - if echo "$with_iodbc" | grep -v '^/'; then
62 - with_iodbc="$PWD/$with_iodbc"
63 - fi
64 -@@ -563,7 +563,7 @@ fi
65 -
66 - AC_ARG_WITH(unixodbc,
67 - AS_HELP_STRING([--with-unixodbc=DIR], [build odbc driver against unixODBC in DIR]))
68 --if test "$with_unixodbc"; then
69 -+if test "x$with_unixodbc" != "x" -a "x$with_unixodbc" != "xno"; then
70 - if echo "$with_unixodbc" | grep -v '^/'; then
71 - with_unixodbc="$PWD/$with_unixodbc"
72 - fi
73 -@@ -588,7 +588,7 @@ fi
74 -
75 - AC_ARG_WITH(odbc_nodm,
76 - AS_HELP_STRING([--with-odbc-nodm=DIR], [build odbc using headers in DIR/include]))
77 --if test "$with_odbc_nodm"; then
78 -+if test "x$with_odbc_nodm" != "x" -a "x$with_odbc_nodm" != "xno"; then
79 - if echo "$with_odbc_nodm" | grep -v '^/'; then
80 - with_odbc_nodm="$PWD/$with_odbc_nodm"
81 - fi
82
83 diff --git a/dev-db/freetds/freetds-1.00.341.ebuild b/dev-db/freetds/freetds-1.00.341.ebuild
84 deleted file mode 100644
85 index 77ec3228c82..00000000000
86 --- a/dev-db/freetds/freetds-1.00.341.ebuild
87 +++ /dev/null
88 @@ -1,68 +0,0 @@
89 -# Copyright 1999-2018 Gentoo Foundation
90 -# Distributed under the terms of the GNU General Public License v2
91 -
92 -EAPI=7
93 -
94 -# This is from the "current" release series, because the "stable" series
95 -# is a little too stable for us (missing bug fixes, and so on).
96 -MY_PN="${PN}-dev"
97 -
98 -DESCRIPTION="Tabular Datastream Library"
99 -HOMEPAGE="http://www.freetds.org/"
100 -SRC_URI="ftp://ftp.freetds.org/pub/${PN}/current/${MY_PN}.${PV}.tar.gz"
101 -
102 -LICENSE="GPL-2"
103 -SLOT="0"
104 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos"
105 -IUSE="gnutls iconv kerberos libressl mssql iodbc odbc ssl static-libs"
106 -RESTRICT="test"
107 -
108 -# sed, grep, and awk are used by the build system and the osql script.
109 -COMMON_DEPEND="sys-apps/sed
110 - sys-apps/grep
111 - virtual/awk
112 - gnutls? ( net-libs/gnutls:= )
113 - iconv? ( virtual/libiconv )
114 - iodbc? ( dev-db/libiodbc )
115 - kerberos? ( virtual/krb5 )
116 - odbc? ( dev-db/unixODBC )
117 - ssl? (
118 - !libressl? ( dev-libs/openssl:0= )
119 - libressl? ( dev-libs/libressl:0= )
120 - )"
121 -DEPEND="${COMMON_DEPEND}"
122 -
123 -# bind-tools is needed because the osql script calls "host".
124 -# binutils is for "strings".
125 -RDEPEND="${COMMON_DEPEND}
126 - sys-devel/binutils
127 - net-dns/bind-tools"
128 -
129 -# iODBC and unixODBC are mutually-exclusive choices for
130 -# the ODBC driver manager. Future versions of FreeTDS
131 -# will throw an error if you specify both.
132 -REQUIRED_USE="?? ( iodbc odbc )"
133 -
134 -S="${WORKDIR}/${MY_PN}.${PV}"
135 -
136 -src_configure() {
137 - econf \
138 - --enable-shared \
139 - $(use_enable iconv libiconv) \
140 - $(use_enable kerberos krb5) \
141 - $(use_enable mssql msdblib) \
142 - $(use_enable static-libs static) \
143 - $(use_with iodbc) \
144 - $(use_with odbc unixodbc "${EPREFIX}/usr") \
145 - $(use_with iconv libiconv-prefix "${EPREFIX}/usr") \
146 - $(use_with gnutls) \
147 - $(use_with ssl openssl "${EPREFIX}/usr")
148 -}
149 -
150 -src_install() {
151 - default
152 -
153 - if ! use static-libs; then
154 - find "${D}" -name '*.la' -delete || die
155 - fi
156 -}
157
158 diff --git a/dev-db/freetds/freetds-1.00.54-r1.ebuild b/dev-db/freetds/freetds-1.00.54-r1.ebuild
159 deleted file mode 100644
160 index 0032727f6bf..00000000000
161 --- a/dev-db/freetds/freetds-1.00.54-r1.ebuild
162 +++ /dev/null
163 @@ -1,72 +0,0 @@
164 -# Copyright 1999-2017 Gentoo Foundation
165 -# Distributed under the terms of the GNU General Public License v2
166 -
167 -EAPI=6
168 -
169 -inherit autotools
170 -
171 -DESCRIPTION="Tabular Datastream Library"
172 -HOMEPAGE="http://www.freetds.org/"
173 -SRC_URI="ftp://ftp.freetds.org/pub/freetds/stable/${P}.tar.gz"
174 -
175 -LICENSE="GPL-2"
176 -SLOT="0"
177 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos"
178 -IUSE="gnutls iconv kerberos libressl mssql iodbc odbc ssl"
179 -RESTRICT="test"
180 -
181 -# sed, grep, and awk are used by the build system and the osql script.
182 -COMMON_DEPEND="sys-apps/sed
183 - sys-apps/grep
184 - virtual/awk
185 - gnutls? ( net-libs/gnutls )
186 - iconv? ( virtual/libiconv )
187 - iodbc? ( dev-db/libiodbc )
188 - kerberos? ( virtual/krb5 )
189 - odbc? ( dev-db/unixODBC )
190 - ssl? (
191 - !libressl? ( dev-libs/openssl:0 )
192 - libressl? ( dev-libs/libressl )
193 - )"
194 -
195 -DEPEND="${COMMON_DEPEND}"
196 -
197 -# bind-tools is needed because the osql script calls "host".
198 -# binutils is for "strings".
199 -RDEPEND="${COMMON_DEPEND}
200 - sys-devel/binutils
201 - net-dns/bind-tools"
202 -
203 -# iODBC and unixODBC are mutually-exclusive choices for
204 -# the ODBC driver manager. Future versions of FreeTDS
205 -# will throw an error if you specify both.
206 -REQUIRED_USE="?? ( iodbc odbc )"
207 -
208 -# Won't be necessary in the next release.
209 -PATCHES=( "${FILESDIR}/without-flags.patch" )
210 -
211 -src_prepare() {
212 - default
213 -
214 - # Fix the iodbc include path in the configure script. Otherwise, it
215 - # can't find isql.h.
216 - sed -ie 's:with_iodbc/include":with_iodbc/include/iodbc":' \
217 - configure.ac \
218 - || die "failed to fix the iodbc include path in configure.ac"
219 -
220 - eautoreconf
221 -}
222 -
223 -src_configure() {
224 - local myconf=( $(use_with iodbc iodbc "${EPREFIX}/usr") )
225 - myconf+=( $(use_with odbc unixodbc "${EPREFIX}/usr") )
226 - myconf+=( $(use_enable iconv libiconv) )
227 - myconf+=( $(use_with iconv libiconv-prefix "${EPREFIX}/usr") )
228 - myconf+=( $(use_enable kerberos krb5) )
229 - myconf+=( $(use_enable mssql msdblib) )
230 - myconf+=( $(use_with gnutls) )
231 - myconf+=( $(use_with ssl openssl "${EPREFIX}/usr") )
232 - myconf+=( --docdir="/usr/share/doc/${PF}" )
233 -
234 - econf "${myconf[@]}"
235 -}