public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/freetds/
Date: Mon, 10 Mar 2025 00:07:53 +0000 (UTC)	[thread overview]
Message-ID: <1741565215.14fd1f23e45c88739075a24b59127751fe865d7f.sam@gentoo> (raw)

commit:     14fd1f23e45c88739075a24b59127751fe865d7f
Author:     Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Sun Mar  9 23:02:47 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 00:06:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14fd1f23

dev-db/freetds: add 1.4.26

changes in top-down order:

- update LICENSE
  - for GPL-2+ see src/pool/user.c
  - for LGPL-2+ see src/tds/bulk.c
- update comment on tests failing
- merge COMMON_DEPEND to DEPEND
- remove awk DEPEND as it's in @system
- swap bind-tools to bind
- add DOCS -- swap changelog for news.md
- introduce myeconfargs & sort them
- use bash's syntactic sugar
- add `-type f` to last find

Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>
Closes: https://github.com/gentoo/gentoo/pull/40987
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/freetds/Manifest              |  1 +
 dev-db/freetds/freetds-1.4.26.ebuild | 68 ++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/dev-db/freetds/Manifest b/dev-db/freetds/Manifest
index 820c031991a2..755e93de3051 100644
--- a/dev-db/freetds/Manifest
+++ b/dev-db/freetds/Manifest
@@ -1 +1,2 @@
 DIST freetds-1.4.24.tar.bz2 2402973 BLAKE2B ba6f31fe117c11abc0e0365bf0d10061e793bb9313774a5e2d9b6766fef54abbec6c1c27480a875438008a592f6ab9942bd41a19a4dd7388ca3c2728bf1b2a65 SHA512 f564c81abaec28a6c55476121fff47e8957af654197ed679cfebdbeaa4dfe5d0f9d5f900cd03b4260efc3da3f9cd41ee370fadb6b59da9f41d9006760e9609d9
+DIST freetds-1.4.26.tar.bz2 2404182 BLAKE2B 9a15fb88fa8b34824861b4542a73e17cac6ada13889743487245504e7258b9db3def10bbc9a47402d76108b4571e07019f09b2eff3a951c2c95aea883e4be3f6 SHA512 19a9bf4ed3789bd3e9b8a182df1bf0fa373d3dd156a3e88256c350915a93a7505d48c9f50d8a6b6d2c6a3a01bf58ed4e7b2aa118df8180da7b01a4bef770387a

diff --git a/dev-db/freetds/freetds-1.4.26.ebuild b/dev-db/freetds/freetds-1.4.26.ebuild
new file mode 100644
index 000000000000..f70647b245a1
--- /dev/null
+++ b/dev-db/freetds/freetds-1.4.26.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Tabular Datastream Library"
+HOMEPAGE="https://www.freetds.org/"
+SRC_URI="https://www.freetds.org/files/stable/${P}.tar.bz2"
+
+LICENSE="GPL-2+ LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos"
+IUSE="debug gnutls iconv kerberos mssql iodbc odbc ssl static-libs"
+# iODBC and unixODBC are mutually-exclusive choices for
+# the ODBC driver manager. Future versions of FreeTDS
+# will throw an error if you specify both.
+REQUIRED_USE="?? ( iodbc odbc )"
+# Nearly wired up as of 1.4.26 but had link failures like
+# all_types: hidden symbol `tds_convert' isn't defined
+RESTRICT="test"
+
+DEPEND="
+	gnutls? ( net-libs/gnutls:= )
+	iconv? ( virtual/libiconv )
+	iodbc? ( dev-db/libiodbc )
+	kerberos? ( virtual/krb5 )
+	odbc? ( dev-db/unixODBC )
+	ssl? ( dev-libs/openssl:= )
+"
+# bind-tools is needed because the osql script calls "host".
+RDEPEND="
+	${DEPEND}
+	net-dns/bind
+"
+
+DOCS=( {NEWS,README}.md )
+
+src_configure() {
+	local myeconfargs=(
+		--enable-shared
+		$(use_enable debug)
+		$(use_enable iconv libiconv)
+		$(use_enable kerberos krb5)
+		$(use_enable mssql msdblib)
+		$(use_with gnutls)
+		$(use_with iodbc)
+		$(use_with iconv libiconv-prefix "${EPREFIX}/usr")
+		$(use_with odbc unixodbc "${EPREFIX}/usr")
+		$(use_with ssl openssl "${EPREFIX}/usr")
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_test() {
+	# These tests need a running database.
+	local XFAIL_TESTS=(
+		corrupt dataread dynamic1 nulls
+		t000{1..6} toodynamic utf8_{1..3}
+	)
+
+	emake check XFAIL_TESTS="${XFAIL_TESTS[*]}"
+}
+
+src_install() {
+	default
+
+	find "${D}" -type f -name '*.la' -delete || die
+}


             reply	other threads:[~2025-03-10  0:07 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-10  0:07 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10  0:07 [gentoo-commits] repo/gentoo:master commit in: dev-db/freetds/ Sam James
2025-02-24  8:52 Petr Vaněk
2025-01-23 20:58 Sam James
2025-01-23 14:11 Jakov Smolić
2025-01-23 14:11 Jakov Smolić
2025-01-23 14:11 Jakov Smolić
2025-01-23 14:11 Jakov Smolić
2024-12-23 13:06 Petr Vaněk
2024-12-23 13:06 Petr Vaněk
2024-11-25 21:49 Sam James
2024-11-23 17:19 Sam James
2024-11-23 16:55 Michał Górny
2024-11-23 15:05 Michał Górny
2024-11-23 14:27 Sam James
2024-11-23 12:41 Sam James
2024-06-27  9:28 Patrick Lauer
2022-11-19  4:50 WANG Xuerui
2022-08-19  4:04 Sam James
2021-07-24 23:43 Yixun Lan
2021-05-01 18:07 Sam James
2021-01-24 20:31 Sam James
2021-01-24 13:30 Sam James
2021-01-20  9:30 Sam James
2021-01-20  0:06 Sam James
2021-01-20  0:05 Sam James
2021-01-20  0:05 Sam James
2021-01-20  0:04 Sam James
2021-01-20  0:03 Sam James
2021-01-20  0:02 Sam James
2021-01-10 19:13 Sam James
2019-07-29 17:31 Andreas Sturmlechner
2019-07-29 17:31 Andreas Sturmlechner
2019-07-29 14:38 Mikle Kolyada
2019-06-05 13:13 Agostino Sarubbo
2019-05-27 18:35 Andreas Sturmlechner
2019-05-26  7:04 Sergei Trofimovich
2019-05-24 22:50 Sergei Trofimovich
2019-05-24 22:08 Sergei Trofimovich
2019-05-23 12:41 Mikle Kolyada
2019-05-22  7:36 Sergei Trofimovich
2019-05-22  5:49 Aaron Bauman
2019-05-20 17:25 Sergei Trofimovich
2019-02-28 16:53 Mikle Kolyada
2019-02-19  3:19 Michael Orlitzky
2019-01-27 11:05 Pacho Ramos
2018-12-06 15:48 Mikle Kolyada
2018-11-29 17:44 Tobias Klausmann
2018-11-24 10:59 Sergei Trofimovich
2018-11-24 10:49 Sergei Trofimovich
2018-11-24 10:45 Sergei Trofimovich
2018-11-24 10:39 Sergei Trofimovich
2018-11-24  9:00 Mikle Kolyada
2018-11-23 20:30 Thomas Deutschmann
2018-11-23  8:53 Sergei Trofimovich
2018-10-20 18:52 Pacho Ramos
2018-08-06 13:41 David Seifert
2018-03-28 21:57 Patrice Clement
2018-01-22  1:28 Michael Orlitzky
2017-10-15 12:06 Sergei Trofimovich
2017-08-22 13:35 Michael Orlitzky
2017-08-21 15:43 Michael Orlitzky
2017-08-13 14:37 Michael Orlitzky
2017-06-21 17:11 Alexis Ballier
2017-06-08 10:16 Agostino Sarubbo
2017-06-08  5:07 Markus Meier
2017-06-06 11:22 Thomas Deutschmann
2016-07-31  3:23 Michael Orlitzky
2016-07-07 22:50 Austin English
2016-06-12  6:39 Hans de Graaff
2016-05-24  4:50 Hans de Graaff
2016-05-21 15:47 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1741565215.14fd1f23e45c88739075a24b59127751fe865d7f.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox