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 3C5EC158176 for ; Tue, 21 Oct 2025 01:21:17 +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) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 18B95341EC8 for ; Tue, 21 Oct 2025 01:21:17 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 26FD4110561; Tue, 21 Oct 2025 01:21:14 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 2018B110561 for ; Tue, 21 Oct 2025 01:21:14 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C5836341607 for ; Tue, 21 Oct 2025 01:21:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37CD23AE6 for ; Tue, 21 Oct 2025 01:21:12 +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: <1761009603.d89297787880f479b71c5e4e18f7fdba955463c1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/unixODBC/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/unixODBC/Manifest dev-db/unixODBC/unixODBC-2.3.14.ebuild X-VCS-Directories: dev-db/unixODBC/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d89297787880f479b71c5e4e18f7fdba955463c1 X-VCS-Branch: master Date: Tue, 21 Oct 2025 01:21:12 +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: 889f10ad-f0be-4e3f-800b-22686854bb67 X-Archives-Hash: 3ec98426b357c498792dbcac085c9e5d commit: d89297787880f479b71c5e4e18f7fdba955463c1 Author: Sam James gentoo org> AuthorDate: Tue Oct 21 01:19:48 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Oct 21 01:20:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8929778 dev-db/unixODBC: add 2.3.14 Signed-off-by: Sam James gentoo.org> dev-db/unixODBC/Manifest | 1 + dev-db/unixODBC/unixODBC-2.3.14.ebuild | 68 ++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-db/unixODBC/Manifest b/dev-db/unixODBC/Manifest index 8b54ea772251..70fcc2c1c805 100644 --- a/dev-db/unixODBC/Manifest +++ b/dev-db/unixODBC/Manifest @@ -1 +1,2 @@ DIST unixODBC-2.3.12.tar.gz 1753915 BLAKE2B 9da9b0fb5ff962db8ec1483b700aca5d4adf88f3349b22010bd0b4b4ec1fe2e7a51d761527e3b9e49b08286a00e55aadc38c320a6db512ba52f491aecad7fd83 SHA512 ca9d8db943195679a44db1fc09391dc6662ab1721112c93d448f04011e98502462ffe14b8364eb03707d851db456eced20eb61a22370392ca88d917038d45b56 +DIST unixODBC-2.3.14.tar.gz 1758907 BLAKE2B aefe29be6c85659007847b4805f8f57ea0d785c4bc97bc8503144737d741dd29020c8d98667c512d36ed921179be21d3b7c0304b04d2dcd7a66cbbc49ac9a4e5 SHA512 922caa7ed2ad97a194a2b66c9fb69bdebe62d1b74a729d726c79835b9fc13be60c7650c86031062a25b07021ff2c7a936ef9c366d4a148d290932bab453c864c diff --git a/dev-db/unixODBC/unixODBC-2.3.14.ebuild b/dev-db/unixODBC/unixODBC-2.3.14.ebuild new file mode 100644 index 000000000000..81a8cad113c4 --- /dev/null +++ b/dev-db/unixODBC/unixODBC-2.3.14.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal + +DESCRIPTION="Complete ODBC driver manager" +HOMEPAGE="https://www.unixodbc.org/" +SRC_URI="https://www.unixodbc.org/unixODBC-${PV}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+minimal odbcmanual static-libs unicode" + +RDEPEND=" + dev-libs/libltdl[${MULTILIB_USEDEP}] + >=sys-libs/readline-6.2_p5-r1:=[${MULTILIB_USEDEP}] + >=sys-libs/ncurses-5.9-r3:=[${MULTILIB_USEDEP}] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] + !minimal? ( virtual/libcrypt:= ) +" +DEPEND=" + ${RDEPEND} + sys-devel/bison + sys-devel/flex +" + +MULTILIB_CHOST_TOOLS=( /usr/bin/odbc_config ) +MULTILIB_WRAPPED_HEADERS=( /usr/include/unixODBC/unixodbc_conf.h /usr/include/unixodbc.h ) + +multilib_src_configure() { + # Needs flex, bison + export LEX=flex + unset YACC + + # --enable-driver-conf is --enable-driverc as per configure.in + local myeconfargs=( + --cache-file="${BUILD_DIR}"/config.cache + --sysconfdir="${EPREFIX}"/etc/${PN} + --disable-editline + --disable-static + --enable-iconv + --enable-shared + $(use_enable static-libs static) + $(use_enable !minimal drivers) + $(use_enable !minimal driverc) + $(use_with unicode iconv-char-enc UTF8) + $(use_with unicode iconv-ucode-enc UTF16LE) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + + if use odbcmanual ; then + # We could simply run "make install-html" if we'd not had + # out-of-source builds here. + docinto html + dodoc -r doc/. + find "${ED}/usr/share/doc/${PF}/html" -name "Makefile*" -delete || die + fi + + use prefix && dodoc README* + find "${ED}" -type f -name '*.la' -delete || die +}