summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-22 15:00:11 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-22 15:00:11 +0000
commitfb1a45bd08059d93872e43f3374d7a837899587b (patch)
tree5de81fb984f049b1821cdad03238b10a42b17da4 /dev-db
parentVersion bump (diff)
downloadhistorical-fb1a45bd08059d93872e43f3374d7a837899587b.tar.gz
historical-fb1a45bd08059d93872e43f3374d7a837899587b.tar.bz2
historical-fb1a45bd08059d93872e43f3374d7a837899587b.zip
Version bump wrt #249617, thanks to Tais P. Hansen, Bjoern Thorwirth and others.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/unixODBC/ChangeLog9
-rw-r--r--dev-db/unixODBC/Manifest6
-rw-r--r--dev-db/unixODBC/files/odbcinst.ini22
-rw-r--r--dev-db/unixODBC/unixODBC-2.2.14.ebuild68
4 files changed, 103 insertions, 2 deletions
diff --git a/dev-db/unixODBC/ChangeLog b/dev-db/unixODBC/ChangeLog
index 9fd904bf7fb3..f779d9b5e402 100644
--- a/dev-db/unixODBC/ChangeLog
+++ b/dev-db/unixODBC/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-db/unixODBC
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/ChangeLog,v 1.76 2010/03/22 08:35:49 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/ChangeLog,v 1.77 2010/03/22 15:00:10 ssuominen Exp $
+
+*unixODBC-2.2.14 (22 Mar 2010)
+
+ 22 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +unixODBC-2.2.14.ebuild, +files/odbcinst.ini:
+ Version bump wrt #249617, thanks to Tais P. Hansen, Bjoern Thorwirth and
+ others.
22 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
unixODBC-2.2.12.ebuild:
diff --git a/dev-db/unixODBC/Manifest b/dev-db/unixODBC/Manifest
index efebfd1c63f1..dcb86bfcc115 100644
--- a/dev-db/unixODBC/Manifest
+++ b/dev-db/unixODBC/Manifest
@@ -1,7 +1,11 @@
AUX 350-unixODBC-2.2.12-gODBCConfig-as-needed.patch 382 RMD160 080c2947d564ed320071ebd7750cda50886084d6 SHA1 11f482aeeea33fc196b45ba35120755ac88c2978 SHA256 460bbf2dd174d0286b89330d991c3f7030ca7256bce8b16ebf4593572cf7be85
AUX 360-unixODBC-2.2.12-libltdlfixes.patch 1124 RMD160 ee215893cbdb2aa9672ec63501cd0bddaf08c397 SHA1 0d8fc8b5db51c7bf3ce72abfe7ba8119808702ad SHA256 974942040de5e471274b109ae478f05dea75ac0e5042aaf9eb1acd3f2461d4bf
+AUX odbcinst.ini 575 RMD160 7b23340c6f40f9608950f1a69bd9df596472ccab SHA1 63e3ac0d67778316ca0ca35b37c9e771bfad5687 SHA256 fbd67d76c670246ba0ffbbb8a5e039c7b8f7ff0da8e3342f492359064706dbf2
DIST unixODBC-2.2.12-r0-patches.tar.bz2 6968 RMD160 5d53a41f4645cd366e18405d23acbf3f87dc9eda SHA1 1aa13bf8a6d031583fae844a7d0d503405607f28 SHA256 da58a4c4a08ccef6416af4cac17bd0d6e89f1c513aecab21d9092bcbae0faefd
DIST unixODBC-2.2.12.tar.gz 2798077 RMD160 13c9ec87c3fff4a1fceb45ff7a552a0fa8666b16 SHA1 d1cb286fb538c664549153165e2b9183b58a627b SHA256 d8b425e9cd8bf55ac21653d27e017045013a155a6149ca2930e257a146f9fe40
+DIST unixODBC-2.2.14-patchset-1.tar.bz2 12106 RMD160 99705cd7369c53f19773f31aca33fb16c00dbefc SHA1 60a868e08c6460c152f4feda095a806dd71969a1 SHA256 b725dea9f5e643c1be56b4dac3ab8a833adaab2de36e307111474965c41ef276
+DIST unixODBC-2.2.14.tar.gz 2189755 RMD160 e2a2d2de636a8b2ee1002cac809ba2a38d7eb4de SHA1 ab18464c83d30d7b38b8bb58e1dd01e3ec211488 SHA256 fea02f2f687f55d4056728a602846fafd0e12d99110986633fb80e1bf0e94da5
EBUILD unixODBC-2.2.12.ebuild 2190 RMD160 26fce83fb57f0b0cad3c1e6f98502a293100cadc SHA1 b39668eda489671712c53a3ace2197cbf913320a SHA256 0096e488b882bd28c40a0b3269afa05f9c014274e45edec7ce3bc8d9252e2977
-MISC ChangeLog 10866 RMD160 67a40291feaf9766061149c253438e8c58149c2c SHA1 126393957bc92c3f3747b86b5eb4e6eef9cd27bf SHA256 44f15f2134d5ee4e9883d2638f9d2dbf3cd4ffc265397e60247804dde104c916
+EBUILD unixODBC-2.2.14.ebuild 1735 RMD160 e12dbec728ea2791c85a117b449d48bca1a36c34 SHA1 08a98278610a4e0285dde1dc2eda49df658637e6 SHA256 3de8667d991bf4e58b2e1a3e1714a46ec1d907098b687c7e66d41b63dfe9062c
+MISC ChangeLog 11086 RMD160 fc5df667620535a188db66da0493b6546260950e SHA1 57ef048d06b7cfdf1c00952fa9ccc26efc222b73 SHA256 edd070b3c4e93afad3fb309ef5e27b97311b69a2c4e1dd435f9336271fe1cd3d
MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
diff --git a/dev-db/unixODBC/files/odbcinst.ini b/dev-db/unixODBC/files/odbcinst.ini
new file mode 100644
index 000000000000..29ea10aa5773
--- /dev/null
+++ b/dev-db/unixODBC/files/odbcinst.ini
@@ -0,0 +1,22 @@
+# Example driver definitions
+
+# Driver from the postgresql-odbc package
+# Setup from the unixODBC package
+[PostgreSQL]
+Description = ODBC for PostgreSQL
+Driver = /usr/lib/psqlodbc.so
+Setup = /usr/lib/libodbcpsqlS.so
+Driver64 = /usr/lib64/psqlodbc.so
+Setup64 = /usr/lib64/libodbcpsqlS.so
+FileUsage = 1
+
+
+# Driver from the mysql-connector-odbc package
+# Setup from the unixODBC package
+[MySQL]
+Description = ODBC for MySQL
+Driver = /usr/lib/libmyodbc5.so
+Setup = /usr/lib/libodbcmyS.so
+Driver64 = /usr/lib64/libmyodbc5.so
+Setup64 = /usr/lib64/libodbcmyS.so
+FileUsage = 1
diff --git a/dev-db/unixODBC/unixODBC-2.2.14.ebuild b/dev-db/unixODBC/unixODBC-2.2.14.ebuild
new file mode 100644
index 000000000000..909650ee4bce
--- /dev/null
+++ b/dev-db/unixODBC/unixODBC-2.2.14.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/unixODBC-2.2.14.ebuild,v 1.1 2010/03/22 15:00:10 ssuominen Exp $
+
+EAPI=2
+inherit autotools eutils flag-o-matic multilib
+
+DESCRIPTION="A complete ODBC driver manager"
+HOMEPAGE="http://www.unixodbc.org/"
+SRC_URI="mirror://sourceforge/unixodbc/${P}.tar.gz
+ http://dev.gentoo.org/~ssuominen/${P}-patchset-1.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="static-libs qt4"
+
+RDEPEND=">=sys-libs/readline-6.0
+ >=sys-libs/ncurses-5.6
+ sys-devel/libtool
+ qt4? ( x11-libs/qt-assistant:4
+ x11-libs/qt-core:4
+ x11-libs/qt-gui:4 )"
+DEPEND="${RDEPEND}
+ sys-devel/flex"
+
+src_prepare() {
+ EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patches
+
+ # clean up old moc files and bundled libtool
+ rm -rf libltdl odbcinstQ4/m*.cpp
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf="--enable-gui=no"
+
+ use qt4 && myconf="--enable-gui=yes"
+
+ # 2.2.14 is not aliasing-safe
+ append-flags -fno-strict-aliasing
+
+ econf \
+ --sysconfdir=/etc/${PN} \
+ --disable-dependency-tracking \
+ $(use_enable static-libs static) \
+ --enable-fdb \
+ --enable-ltdllib \
+ --with-qt-libraries=/usr/$(get_libdir)/qt4 \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog NEWS README*
+ dohtml -a gif,html,sql -r doc/*
+
+ # http://cvs.fedoraproject.org/viewvc/rpms/unixODBC/devel/
+ insinto /etc/unixODBC
+ newins "${FILESDIR}"/odbcinst.ini odbcinst.ini.example
+
+ if use qt4; then
+ newicon DataManager/LinuxODBC.xpm ${PN}.xpm
+ make_desktop_entry ODBCConfig "ODBC Data Source Administrator"
+ fi
+}