From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-db/freetds/Manifest | 9 ++++ dev-db/freetds/files/without-flags.patch | 48 +++++++++++++++++++++ dev-db/freetds/freetds-1.00.341.ebuild | 62 +++++++++++++++++++++++++++ dev-db/freetds/freetds-1.00.41.ebuild | 72 ++++++++++++++++++++++++++++++++ dev-db/freetds/freetds-1.00.54-r1.ebuild | 72 ++++++++++++++++++++++++++++++++ dev-db/freetds/freetds-9999.ebuild | 62 +++++++++++++++++++++++++++ dev-db/freetds/metadata.xml | 5 +++ 7 files changed, 330 insertions(+) create mode 100644 dev-db/freetds/Manifest create mode 100644 dev-db/freetds/files/without-flags.patch create mode 100644 dev-db/freetds/freetds-1.00.341.ebuild create mode 100644 dev-db/freetds/freetds-1.00.41.ebuild create mode 100644 dev-db/freetds/freetds-1.00.54-r1.ebuild create mode 100644 dev-db/freetds/freetds-9999.ebuild create mode 100644 dev-db/freetds/metadata.xml (limited to 'dev-db/freetds') diff --git a/dev-db/freetds/Manifest b/dev-db/freetds/Manifest new file mode 100644 index 000000000000..aad44179f26b --- /dev/null +++ b/dev-db/freetds/Manifest @@ -0,0 +1,9 @@ +AUX without-flags.patch 1859 BLAKE2B 846c177b9773c27b329a23f54592a2b789b0d8d123a80b0b990b8938fed8a27c2ad5eac33eeb5e9caf5d12a59943048092c277ab45a34948bf19a3605d036ded SHA512 b981dd2ddab06e4c163d847de9a1086515775abacbbcf10be5d67388ce5502a37a23bb6c94eaf36082dc36d30060ff12a38fd9ceb6b93e3f8116d2de7ddcb2e7 +DIST freetds-1.00.41.tar.gz 2904915 BLAKE2B d92789c9a08dc9f7f04e8efc828841c3cace0e5a3affd11d8751a785db70db79fedffb3745a681b960d30a11efbb4fa457805eb4f72444eecc20eb65d46e2d82 SHA512 dec3197a6478fc59b7386f9a7a562df8b581bba7184210c42f26827e957b9746e6820d687a9c6cbcd7c825fc5d4f556547c0483d06c786a064d5c4859db4daa1 +DIST freetds-1.00.54.tar.gz 2907015 BLAKE2B 332888565c2890657ca6440e4bbe92e0324daf6c6e67f3fa2243bd2d5746e7e9aa100a7838d33cc8fa93e71e5d6a650976ce5164317f3147b192ceb915362534 SHA512 a2a5034705fe06ee38b085f980f6ddf086789abc9485331fdaf829e7243f7ba95a5f0c612d7e3ec9e10f28a5c8b3a3fd8e7853d66f67110bd860afce949c798c +DIST freetds-dev.1.00.341.tar.gz 3002134 BLAKE2B c9396c1f205e13c9f3449bef19830cf3b6c2fa72539555ebd6bc1532c014472c862ba2ac7f495bee8f53d640d628c6b15bb50183585d43cf3dbbea4e314636d2 SHA512 fd691535dfa5c97463ff72056cfa5721557b71e41b6186ffcb08e193e51214cf966a33ee55b8e538a6f035aeeef14ac5b15fe8758f1afea9e1252a3b8951ba58 +EBUILD freetds-1.00.341.ebuild 1856 BLAKE2B 8cf069020ba0fa8a06b2b4af9e760a0cc46ce5a7fdd4a48ec5286f1550ceb316cfa096a0281e4e6f115d8f83a1535bfb51015b79eea7c86c202d6ab3758b8a42 SHA512 08a74242a8df775fc7360e7dac588713acce0abb1cdeee06219aeb051083622992fdaa94369fed37cefb1afac911af3d3b59f2cf35e8362e77f63ad0c43c5e32 +EBUILD freetds-1.00.41.ebuild 1988 BLAKE2B 58e5b9ecc1ec5196c3e4e50cfccefa6ca44510ba344b1d024f1280667e47d4351ce1946dea1f963cc3feb0a8a5382812e046173579fd961d522b3155ad422261 SHA512 a48ffe06b8303885d2e795d9cfe756979652460da4912de33dde0a06b635c3466f3abebfdad17ef7aa8cc35fb5f79eeca8457f18c2999108b13367eb2a8d7e02 +EBUILD freetds-1.00.54-r1.ebuild 2064 BLAKE2B 6ec6575c86163e8678fbf841fbe8aa85e5fc7fd6e1839ff423dc542718e8ef88c2ef19e178bc7f76493e78b8e6edbbcfec87af85ebad2ca1153e07cdbb15e664 SHA512 48931c5f0e49cdd9f07e413339a0e647a4b48eec562cfe337a6c57243d11a99d47977d8987902a6ecafa3930a94a1102912c57359e146f155f6fcf6ee5753ce0 +EBUILD freetds-9999.ebuild 1603 BLAKE2B 4a6149df3ad684b7246fed4f19c457f8a74c12a6ad89114d04890a86f9a41a02f7023c07dc55c139865091aed89a70accf993dc77bae4ffdc1f0bb3ff1698794 SHA512 264144b12f57bd34d1ace56458e4ea2cda0f4f5fd9f789373d8e7b4695cdf910562441359218b0c7c8bac446c8fa5673c56a37d0cfef444fc6d11fe57f2121b9 +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/dev-db/freetds/files/without-flags.patch b/dev-db/freetds/files/without-flags.patch new file mode 100644 index 000000000000..1f04a90ac6af --- /dev/null +++ b/dev-db/freetds/files/without-flags.patch @@ -0,0 +1,48 @@ +From c4b9d766e009273c70d8953767ef2fcb95f65314 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Fri, 11 Aug 2017 16:45:15 -0400 +Subject: [PATCH] configure.ac: support "without" versions of three ./configure + flags. + +The --with-iodbc, --with-unixodbc, and --with-odbc-nodm flags all use +the standard AC_ARG_WITH macro. The resulting ./configure script +accepts e.g. --without-iodbc to indicate that the user does not want +to enable iODBC, and in place of a path the word "no" is placed into +the $with_iodbc variable. The current configure.ac doesn't handle that +and instead treats "no" as a path. This commit updates configure.ac to +ignore "no" as the value of those three flags. +--- + configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4f41033ae..9dfe12bb7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -546,7 +546,7 @@ esac + + AC_ARG_WITH(iodbc, + AS_HELP_STRING([--with-iodbc=DIR], [build odbc driver against iODBC in DIR])) +-if test "$with_iodbc"; then ++if test "x$with_iodbc" != "x" -a "x$with_iodbc" != "xno"; then + if echo "$with_iodbc" | grep -v '^/'; then + with_iodbc="$PWD/$with_iodbc" + fi +@@ -563,7 +563,7 @@ fi + + AC_ARG_WITH(unixodbc, + AS_HELP_STRING([--with-unixodbc=DIR], [build odbc driver against unixODBC in DIR])) +-if test "$with_unixodbc"; then ++if test "x$with_unixodbc" != "x" -a "x$with_unixodbc" != "xno"; then + if echo "$with_unixodbc" | grep -v '^/'; then + with_unixodbc="$PWD/$with_unixodbc" + fi +@@ -588,7 +588,7 @@ fi + + AC_ARG_WITH(odbc_nodm, + AS_HELP_STRING([--with-odbc-nodm=DIR], [build odbc using headers in DIR/include])) +-if test "$with_odbc_nodm"; then ++if test "x$with_odbc_nodm" != "x" -a "x$with_odbc_nodm" != "xno"; then + if echo "$with_odbc_nodm" | grep -v '^/'; then + with_odbc_nodm="$PWD/$with_odbc_nodm" + fi diff --git a/dev-db/freetds/freetds-1.00.341.ebuild b/dev-db/freetds/freetds-1.00.341.ebuild new file mode 100644 index 000000000000..f975c08fe565 --- /dev/null +++ b/dev-db/freetds/freetds-1.00.341.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# This is from the "current" release series, because the "stable" series +# is a little too stable for us (missing bug fixes, and so on). +MY_PN="${PN}-dev" + +DESCRIPTION="Tabular Datastream Library" +HOMEPAGE="http://www.freetds.org/" +SRC_URI="ftp://ftp.freetds.org/pub/${PN}/current/${MY_PN}.${PV}.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" + +# 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 )" + +S="${WORKDIR}/${MY_PN}.${PV}" + +src_configure() { + local myconf=( $(use_with iodbc) ) + 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.41.ebuild b/dev-db/freetds/freetds-1.00.41.ebuild new file mode 100644 index 000000000000..a68dba1cf161 --- /dev/null +++ b/dev-db/freetds/freetds-1.00.41.ebuild @@ -0,0 +1,72 @@ +# 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" + +DEPEND=" + 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 ) + )" + +# bind-tools is needed because the osql script calls "host". +RDEPEND="${DEPEND} + net-dns/bind-tools + sys-apps/grep + sys-apps/sed + virtual/awk" + +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 ) + + # The configure script doesn't support --without-{i,unix}odbc and + # it will still search for the associated headers if you try that + # Instead, to disable {i,unix}odbc, you just have to omit the + # --with-{i,unix}odbc line. + if use iodbc ; then + myconf+=( --enable-odbc --with-iodbc="${EPREFIX}/usr" ) + fi + + if use odbc ; then + myconf+=( --enable-odbc --with-unixodbc="${EPREFIX}/usr" ) + fi + + myconf+=( $(use_enable iconv libiconv) ) + use iconv && myconf+=( --with-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") ) + + # The docdir doesn't contain ${PV} without this + myconf+=( --docdir="/usr/share/doc/${PF}" ) + + econf "${myconf[@]}" +} diff --git a/dev-db/freetds/freetds-1.00.54-r1.ebuild b/dev-db/freetds/freetds-1.00.54-r1.ebuild new file mode 100644 index 000000000000..0032727f6bf8 --- /dev/null +++ b/dev-db/freetds/freetds-1.00.54-r1.ebuild @@ -0,0 +1,72 @@ +# 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" + +# 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 )" + +# 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[@]}" +} diff --git a/dev-db/freetds/freetds-9999.ebuild b/dev-db/freetds/freetds-9999.ebuild new file mode 100644 index 000000000000..ec6e2cf418f3 --- /dev/null +++ b/dev-db/freetds/freetds-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools git-r3 + +DESCRIPTION="Tabular Datastream Library" +HOMEPAGE="http://www.freetds.org/" +EGIT_REPO_URI="https://github.com/FreeTDS/${PN}.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +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" + +# 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 )" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=( $(use_with iodbc) ) + 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/metadata.xml b/dev-db/freetds/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-db/freetds/metadata.xml @@ -0,0 +1,5 @@ + + + + + -- cgit v1.2.3