From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B023F1582EF for ; Mon, 10 Mar 2025 00:07:58 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 9A8CC34310F for ; Mon, 10 Mar 2025 00:07:58 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E55CF1103A8; Mon, 10 Mar 2025 00:07:54 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id DCFED11037D for ; Mon, 10 Mar 2025 00:07:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8DF1734310F for ; Mon, 10 Mar 2025 00:07:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25BA52863 for ; Mon, 10 Mar 2025 00:07:53 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1741565215.14fd1f23e45c88739075a24b59127751fe865d7f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/freetds/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/freetds/Manifest dev-db/freetds/freetds-1.4.26.ebuild X-VCS-Directories: dev-db/freetds/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 14fd1f23e45c88739075a24b59127751fe865d7f X-VCS-Branch: master Date: Mon, 10 Mar 2025 00:07:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 934ced40-aada-4468-ad01-183cf5c09a2d X-Archives-Hash: f2ad85f2dce21b4b95ef8d6b975bec18 commit: 14fd1f23e45c88739075a24b59127751fe865d7f Author: Filip Kobierski pm me> AuthorDate: Sun Mar 9 23:02:47 2025 +0000 Commit: Sam James gentoo 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 pm.me> Closes: https://github.com/gentoo/gentoo/pull/40987 Signed-off-by: Sam James 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 +}