diff options
author | 2021-02-27 14:48:14 +0000 | |
---|---|---|
committer | 2021-02-27 15:12:38 +0000 | |
commit | 7a7835a8ef07544cbd633b4c7793c4b1518a505d (patch) | |
tree | 98817d77f76eae6e885f36e88d8be07cb232e02e /app-office/mdbtools/mdbtools-0.9.2.ebuild | |
parent | media-sound/teamspeak-client: drop old version (diff) | |
download | gentoo-7a7835a8ef07544cbd633b4c7793c4b1518a505d.tar.gz gentoo-7a7835a8ef07544cbd633b4c7793c4b1518a505d.tar.bz2 gentoo-7a7835a8ef07544cbd633b4c7793c4b1518a505d.zip |
app-office/mdbtools: (security) bump to 0.9.2
Includes a patch rather than sed which has been
sent upstream.
URL: https://github.com/mdbtools/mdbtools/pull/261
Bug: https://bugs.gentoo.org/697568
Bug: https://bugs.gentoo.org/773289
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-office/mdbtools/mdbtools-0.9.2.ebuild')
-rw-r--r-- | app-office/mdbtools/mdbtools-0.9.2.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/app-office/mdbtools/mdbtools-0.9.2.ebuild b/app-office/mdbtools/mdbtools-0.9.2.ebuild new file mode 100644 index 000000000000..456255848ac7 --- /dev/null +++ b/app-office/mdbtools/mdbtools-0.9.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Set of libraries and utilities for reading Microsoft Access database (MDB) files" +HOMEPAGE="https://github.com/mdbtools/mdbtools" +SRC_URI="https://github.com/brianb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="glib odbc" + +BDEPEND=" + app-text/txt2man + sys-devel/flex + virtual/pkgconfig + virtual/yacc +" +RDEPEND=" + sys-libs/ncurses:0= + sys-libs/readline:0= + odbc? ( >=dev-db/unixODBC-2.0 ) + glib? ( dev-libs/glib:2 ) +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS HACKING NEWS README.md ) + +PATCHES=( + # bug #697568 + "${FILESDIR}/${PN}-0.9.2-unixODBC-respect-libdir.patch" +) + +src_prepare() { + default + + # bug #770019 + sed -i -e 's/-Werror//' configure.ac || die + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-static + $(use_enable glib) + $(use odbc && echo "--with-unixodbc=${EPREFIX}/usr") + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} |