1 |
commit: cc45e90e3f21a263a7fcb67ef2d9219698ab1748 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 6 11:22:06 2017 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 6 11:22:26 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc45e90e |
7 |
|
8 |
dev-db/freetds: Bump to v1.00.41 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-db/freetds/Manifest | 1 + |
13 |
dev-db/freetds/freetds-1.00.41.ebuild | 72 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 73 insertions(+) |
15 |
|
16 |
diff --git a/dev-db/freetds/Manifest b/dev-db/freetds/Manifest |
17 |
index 53b8f1bde3b..85ce4597c29 100644 |
18 |
--- a/dev-db/freetds/Manifest |
19 |
+++ b/dev-db/freetds/Manifest |
20 |
@@ -1,4 +1,5 @@ |
21 |
DIST freetds-0.91.tar.gz 2136329 SHA256 6a8148bd803aebceac6862b0dead1c5d9659f7e1038993abfe0ce8febb322465 SHA512 4dadafe49848ab5505b0fa5bd650e19e7652c3e1181d3c49f087c50ed055f395eaf5917a99744ed3594e4af9032c4e18f397af58fb1010e695ac2c0bc601b5e3 WHIRLPOOL 63662b56011edb6d22ce28cc7bad3af272ff81862f0d8ff65b113af260e3c8d05a9d941c1cf4b8039b99f460c3a5c8364dd69d42d8e98c0c92530462f732dec2 |
22 |
DIST freetds-1.00.1.tar.gz 4649187 SHA256 a00048d5b1b568b62a7d1dd0e517e064273c9c7d807ca4a986f4e5ef0fc65e6c SHA512 dab5139ddc6e3c7a2c61f76dd833d7ff499c9b63329eb9712bb94e47700991ecd05e86aaa0900682dd7626660b13c124ecbf23c1dcc40f5ca855b3fb00a54d45 WHIRLPOOL 33096719913b81d90462b5392041117996ae942815e69b793723a5c90d17c2f1ebb16db193d93363c2d98525698c6ec741cc62b6430613163ad89da795defd79 |
23 |
DIST freetds-1.00.13.tar.gz 4639311 SHA256 ebb6dfc0ce34432e3712fbc638f18bc98f4af0c6f327fd2a0edd8ee16f00c15f SHA512 202d5a9477b1e924317b04a54d3186c333ef8f9d5054c3346635a2a3af268938a5bbf58fe8500ef6c21801046d9024d57404e99f9a8e2b0e639fcea39aecaa69 WHIRLPOOL 6a3be06872cb57e51c5c3181e1b141c659be6a290b5ec312e656e05998c2bae1f7ebf353c02dbd8c1b665ab6722fbb2c4122c3eabedc8bc1b7916fb61b5f4486 |
24 |
+DIST freetds-1.00.41.tar.gz 2904915 SHA256 f054f1ac09d933527b634e081f5b36856669b7a507601cde93eda32174681e59 SHA512 dec3197a6478fc59b7386f9a7a562df8b581bba7184210c42f26827e957b9746e6820d687a9c6cbcd7c825fc5d4f556547c0483d06c786a064d5c4859db4daa1 WHIRLPOOL de396ba6fa04c7fb580614297c62f61c77a606417e749eb1dd4ad352e7f87cea05ed1567d7dd7f97b189f83d48f711e1254a59d0f9c897050b505e31f6fe8da7 |
25 |
DIST freetds-1.00.tar.gz 4648806 SHA256 604ff9fe95bf5e2e650f8648b19ae488959269a4274e95dc17e3b66f29779a9b SHA512 713aec9ac7952aa70a3e7f5fe3ab2d9be7b19511f1d58cf3397e80f99f155835508d9a7bf8dad37f64f07bc1c78258df3f17f3049f89e32cd2d654fd3b689bb4 WHIRLPOOL bf94e4b71602e779638df481a706bad147eb5c9596d8993b1409e1026a79e82162b5afdde923bdcb2b9bee498ade1b474fa7f99deb74652faf81b9c2dbed23a3 |
26 |
|
27 |
diff --git a/dev-db/freetds/freetds-1.00.41.ebuild b/dev-db/freetds/freetds-1.00.41.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..757aaf1714d |
30 |
--- /dev/null |
31 |
+++ b/dev-db/freetds/freetds-1.00.41.ebuild |
32 |
@@ -0,0 +1,72 @@ |
33 |
+# Copyright 1999-2017 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit autotools |
39 |
+ |
40 |
+DESCRIPTION="Tabular Datastream Library" |
41 |
+HOMEPAGE="http://www.freetds.org/" |
42 |
+SRC_URI="ftp://ftp.freetds.org/pub/freetds/stable/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos" |
47 |
+IUSE="gnutls iconv kerberos libressl mssql iodbc odbc ssl" |
48 |
+RESTRICT="test" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ gnutls? ( net-libs/gnutls ) |
52 |
+ iconv? ( virtual/libiconv ) |
53 |
+ iodbc? ( dev-db/libiodbc ) |
54 |
+ kerberos? ( virtual/krb5 ) |
55 |
+ odbc? ( dev-db/unixODBC ) |
56 |
+ ssl? ( |
57 |
+ !libressl? ( dev-libs/openssl:0 ) |
58 |
+ libressl? ( dev-libs/libressl ) |
59 |
+ )" |
60 |
+ |
61 |
+# bind-tools is needed because the osql script calls "host". |
62 |
+RDEPEND="${DEPEND} |
63 |
+ net-dns/bind-tools |
64 |
+ sys-apps/grep |
65 |
+ sys-apps/sed |
66 |
+ virtual/awk" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ # Fix the iodbc include path in the configure script. Otherwise, it |
71 |
+ # can't find isql.h. |
72 |
+ sed -ie 's:with_iodbc/include":with_iodbc/include/iodbc":' \ |
73 |
+ configure.ac \ |
74 |
+ || die "failed to fix the iodbc include path in configure.ac" |
75 |
+ eautoreconf |
76 |
+} |
77 |
+ |
78 |
+src_configure() { |
79 |
+ local myconf=( --with-tdsver=7.4 ) |
80 |
+ |
81 |
+ # The configure script doesn't support --without-{i,unix}odbc and |
82 |
+ # it will still search for the associated headers if you try that |
83 |
+ # Instead, to disable {i,unix}odbc, you just have to omit the |
84 |
+ # --with-{i,unix}odbc line. |
85 |
+ if use iodbc ; then |
86 |
+ myconf+=( --enable-odbc --with-iodbc="${EPREFIX}/usr" ) |
87 |
+ fi |
88 |
+ |
89 |
+ if use odbc ; then |
90 |
+ myconf+=( --enable-odbc --with-unixodbc="${EPREFIX}/usr" ) |
91 |
+ fi |
92 |
+ |
93 |
+ myconf+=( $(use_enable iconv libiconv) ) |
94 |
+ use iconv && myconf+=( --with-libiconv-prefix="${EPREFIX}/usr" ) |
95 |
+ myconf+=( $(use_enable kerberos krb5) ) |
96 |
+ myconf+=( $(use_enable mssql msdblib) ) |
97 |
+ myconf+=( $(use_with gnutls) ) |
98 |
+ myconf+=( $(use_with ssl openssl "${EPREFIX}/usr") ) |
99 |
+ |
100 |
+ # The docdir doesn't contain ${PV} without this |
101 |
+ myconf+=( --docdir="/usr/share/doc/${PF}" ) |
102 |
+ |
103 |
+ econf "${myconf[@]}" |
104 |
+} |