From 2bdd5da129c28d3f0b1126e3c8a83209686521c8 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 13 Aug 2017 09:42:47 -0400 Subject: dev-db/freetds: new version 1.00.54. This minor update includes a QA warning fix, and drops the "--with-tdsver=7.4" from econf. The upstream default TDS version is now "auto" and not the old "5.0". Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- dev-db/freetds/Manifest | 2 +- dev-db/freetds/freetds-1.00.53.ebuild | 68 ----------------------------------- dev-db/freetds/freetds-1.00.54.ebuild | 67 ++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 69 deletions(-) delete mode 100644 dev-db/freetds/freetds-1.00.53.ebuild create mode 100644 dev-db/freetds/freetds-1.00.54.ebuild diff --git a/dev-db/freetds/Manifest b/dev-db/freetds/Manifest index 5f1c17b9b85d..9c66f2959deb 100644 --- a/dev-db/freetds/Manifest +++ b/dev-db/freetds/Manifest @@ -1,3 +1,3 @@ DIST freetds-0.91.tar.gz 2136329 SHA256 6a8148bd803aebceac6862b0dead1c5d9659f7e1038993abfe0ce8febb322465 SHA512 4dadafe49848ab5505b0fa5bd650e19e7652c3e1181d3c49f087c50ed055f395eaf5917a99744ed3594e4af9032c4e18f397af58fb1010e695ac2c0bc601b5e3 WHIRLPOOL 63662b56011edb6d22ce28cc7bad3af272ff81862f0d8ff65b113af260e3c8d05a9d941c1cf4b8039b99f460c3a5c8364dd69d42d8e98c0c92530462f732dec2 DIST freetds-1.00.41.tar.gz 2904915 SHA256 f054f1ac09d933527b634e081f5b36856669b7a507601cde93eda32174681e59 SHA512 dec3197a6478fc59b7386f9a7a562df8b581bba7184210c42f26827e957b9746e6820d687a9c6cbcd7c825fc5d4f556547c0483d06c786a064d5c4859db4daa1 WHIRLPOOL de396ba6fa04c7fb580614297c62f61c77a606417e749eb1dd4ad352e7f87cea05ed1567d7dd7f97b189f83d48f711e1254a59d0f9c897050b505e31f6fe8da7 -DIST freetds-1.00.53.tar.gz 2906676 SHA256 153c7800f1abf2a6c254e0acbaa618e683e84dbe66f5d156d46d5ce5b280ae32 SHA512 89896a9e02112b99e9d13d55841595e5a20b3c3dd0d5a5fd28cc787669942e8b6361c908536955648e0bd49dcdc829bd1206e228e884fc6a499fa67afa1c3075 WHIRLPOOL 933e6b20abe75759c2c84d2f11f441a4b4f5289359d1948b7a19e455a41bb26df7eb78c12496408096bca380f4a234c121cd76d283f4202c3f4912de1eba06ef +DIST freetds-1.00.54.tar.gz 2907015 SHA256 b2dc627b87762ffb665ce318121aec3a63ddd430132aa7fbdafb02297dc8f1f0 SHA512 a2a5034705fe06ee38b085f980f6ddf086789abc9485331fdaf829e7243f7ba95a5f0c612d7e3ec9e10f28a5c8b3a3fd8e7853d66f67110bd860afce949c798c WHIRLPOOL 519cf22370ed0baab6bd24e0d9e237703157e8be9a5ff8af1ec9307d9faf3e961df8c6d623ce53998efa28fe884897bb4190f2f4f7e29642c8c465b82ea64c37 diff --git a/dev-db/freetds/freetds-1.00.53.ebuild b/dev-db/freetds/freetds-1.00.53.ebuild deleted file mode 100644 index a51558b58702..000000000000 --- a/dev-db/freetds/freetds-1.00.53.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -DESCRIPTION="Tabular Datastream Library" -HOMEPAGE="http://www.freetds.org/" -SRC_URI="ftp://ftp.freetds.org/pub/freetds/stable/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos" -IUSE="gnutls iconv kerberos libressl mssql iodbc odbc ssl" -RESTRICT="test" - -# sed, grep, and awk are used by the build system and the osql script. -COMMON_DEPEND="sys-apps/sed - sys-apps/grep - virtual/awk - gnutls? ( net-libs/gnutls ) - iconv? ( virtual/libiconv ) - iodbc? ( dev-db/libiodbc ) - kerberos? ( virtual/krb5 ) - odbc? ( dev-db/unixODBC ) - ssl? ( - !libressl? ( dev-libs/openssl:0 ) - libressl? ( dev-libs/libressl ) - )" - -DEPEND="${COMMON_DEPEND}" - -# bind-tools is needed because the osql script calls "host". -# binutils is for "strings". -RDEPEND="${COMMON_DEPEND} - sys-devel/binutils - net-dns/bind-tools" - -# Won't be necessary in the next release. -PATCHES=( "${FILESDIR}/without-flags.patch" ) - -src_prepare() { - default - - # Fix the iodbc include path in the configure script. Otherwise, it - # can't find isql.h. - sed -ie 's:with_iodbc/include":with_iodbc/include/iodbc":' \ - configure.ac \ - || die "failed to fix the iodbc include path in configure.ac" - - eautoreconf -} - -src_configure() { - local myconf=( --with-tdsver=7.4 ) - myconf+=( $(use_with iodbc iodbc "${EPREFIX}/usr") ) - myconf+=( $(use_with odbc unixodbc "${EPREFIX}/usr") ) - myconf+=( $(use_enable iconv libiconv) ) - myconf+=( $(use_with iconv libiconv-prefix "${EPREFIX}/usr") ) - myconf+=( $(use_enable kerberos krb5) ) - myconf+=( $(use_enable mssql msdblib) ) - myconf+=( $(use_with gnutls) ) - myconf+=( $(use_with ssl openssl "${EPREFIX}/usr") ) - myconf+=( --docdir="/usr/share/doc/${PF}" ) - - econf "${myconf[@]}" -} diff --git a/dev-db/freetds/freetds-1.00.54.ebuild b/dev-db/freetds/freetds-1.00.54.ebuild new file mode 100644 index 000000000000..a7a0237e0598 --- /dev/null +++ b/dev-db/freetds/freetds-1.00.54.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Tabular Datastream Library" +HOMEPAGE="http://www.freetds.org/" +SRC_URI="ftp://ftp.freetds.org/pub/freetds/stable/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos" +IUSE="gnutls iconv kerberos libressl mssql iodbc odbc ssl" +RESTRICT="test" + +# sed, grep, and awk are used by the build system and the osql script. +COMMON_DEPEND="sys-apps/sed + sys-apps/grep + virtual/awk + gnutls? ( net-libs/gnutls ) + iconv? ( virtual/libiconv ) + iodbc? ( dev-db/libiodbc ) + kerberos? ( virtual/krb5 ) + odbc? ( dev-db/unixODBC ) + ssl? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + )" + +DEPEND="${COMMON_DEPEND}" + +# bind-tools is needed because the osql script calls "host". +# binutils is for "strings". +RDEPEND="${COMMON_DEPEND} + sys-devel/binutils + net-dns/bind-tools" + +# Won't be necessary in the next release. +PATCHES=( "${FILESDIR}/without-flags.patch" ) + +src_prepare() { + default + + # Fix the iodbc include path in the configure script. Otherwise, it + # can't find isql.h. + sed -ie 's:with_iodbc/include":with_iodbc/include/iodbc":' \ + configure.ac \ + || die "failed to fix the iodbc include path in configure.ac" + + eautoreconf +} + +src_configure() { + local myconf=( $(use_with iodbc iodbc "${EPREFIX}/usr") ) + myconf+=( $(use_with odbc unixodbc "${EPREFIX}/usr") ) + myconf+=( $(use_enable iconv libiconv) ) + myconf+=( $(use_with iconv libiconv-prefix "${EPREFIX}/usr") ) + myconf+=( $(use_enable kerberos krb5) ) + myconf+=( $(use_enable mssql msdblib) ) + myconf+=( $(use_with gnutls) ) + myconf+=( $(use_with ssl openssl "${EPREFIX}/usr") ) + myconf+=( --docdir="/usr/share/doc/${PF}" ) + + econf "${myconf[@]}" +} -- cgit v1.2.3-65-gdbad