summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-01-31 05:25:46 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-01-31 05:25:46 +0000
commit502f6442c3e8c5e13fa4805ee1abef1086008e4b (patch)
treecdd17c0bade5b1d9e0cc2b18bf8296b5cfff58a5 /dev-db
parentAdd thirdparty mirror to SRC_URI (diff)
downloadhistorical-502f6442c3e8c5e13fa4805ee1abef1086008e4b.tar.gz
historical-502f6442c3e8c5e13fa4805ee1abef1086008e4b.tar.bz2
historical-502f6442c3e8c5e13fa4805ee1abef1086008e4b.zip
Add 3.51.27 as the final release in the 3.51 series.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/myodbc/ChangeLog10
-rw-r--r--dev-db/myodbc/Manifest4
-rw-r--r--dev-db/myodbc/myodbc-3.51.27_p695.ebuild112
3 files changed, 123 insertions, 3 deletions
diff --git a/dev-db/myodbc/ChangeLog b/dev-db/myodbc/ChangeLog
index 9f1a3dbb94d3..56a747aa57e9 100644
--- a/dev-db/myodbc/ChangeLog
+++ b/dev-db/myodbc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/myodbc
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/myodbc/ChangeLog,v 1.19 2009/02/26 15:46:04 josejx Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/myodbc/ChangeLog,v 1.20 2010/01/31 05:25:46 robbat2 Exp $
+
+*myodbc-3.51.27_p695 (31 Jan 2010)
+
+ 31 Jan 2010; Robin H. Johnson <robbat2@gentoo.org>
+ +myodbc-3.51.27_p695.ebuild:
+ Add 3.51.27 as the final release in the 3.51 series.
26 Feb 2009; Joseph Jezak <josejx@gentoo.org> myodbc-3.51.12.ebuild:
Marked ppc stable.
diff --git a/dev-db/myodbc/Manifest b/dev-db/myodbc/Manifest
index fae1f1d1b689..0e88e2cced9a 100644
--- a/dev-db/myodbc/Manifest
+++ b/dev-db/myodbc/Manifest
@@ -4,12 +4,14 @@ DIST MyODBC-3.51.06.tar.gz 322059 RMD160 4ddfdec5dfd9dcd9aa524839eab3b96a543b613
DIST MyODBC-3.51.11.tar.gz 971989 RMD160 629dd12acdd85e15a04730aa00fec5b9134c67bf SHA1 f59b754a6249af2de057969f845ad9739b0ff3ac SHA256 a460e66f782080cb8c596192b62b21975782ae13861353260c99cc67abd8a441
DIST mysql-connector-odbc-3.51.12.tar.gz 979942 RMD160 295bdca51ad5fd7bf0a56ccb161fe5a0463e71ef SHA1 c4a8de079b255d2aa745295f4121ec5e9091de59 SHA256 7a9c19bd4ee140e7afe77fdcaecee53b4ce4bbbeb35a158c9548aa7ab9482c74
DIST mysql-connector-odbc-3.51.26r1127.tar.gz 954125 RMD160 fec50270c8de0a6fe6324decedfd9d6705ffa807 SHA1 1800c13cb3394210b3b543e63284e125c8f6986f SHA256 78d6311946e92e72a40da6c6dfc06b0c4e7cb20d9431358351b2850c5e4a924a
+DIST mysql-connector-odbc-3.51.27r695.tar.gz 947116 RMD160 6eea1c49ec8f4b19ab7ddc2a83007eb0297b6eb7 SHA1 85a582f4cdfe45f73ca86f853fb5352f50d46ea8 SHA256 92031dc223da7fcb962276f091c843ac590f19dfba39a447dbc844afbe7d66c5
DIST mysql-connector-odbc-5.1.5r1144.tar.gz 1044571 RMD160 022ad285d757942fe90e160443026761b1b76ae4 SHA1 a0bd0e64724e814835082301175d0c89c7dc7ce8 SHA256 1a2d377c21b8c80ea4fe6fe06dc43548a315eb8d335b07350f76dde305d35163
EBUILD myodbc-3.51.06.ebuild 2348 RMD160 b7f81e69c6b76839a970c8d116f1875c98c17583 SHA1 404bf73ee7f454fe3100ba24dd93d6b6d850cb5e SHA256 ea711214293d6d7b6b17d5032d51d9c9513124ae01877daa421637c5d09b823c
EBUILD myodbc-3.51.11.ebuild 2421 RMD160 ddb332519e5d547dfd9b6b36f32e315d928ac930 SHA1 0553deeee858e3461479ae3296cb4742c973a45b SHA256 019c40976723853cf513ce51a13798b5123c4bdcdebed9a5c4034f47c9cf5935
EBUILD myodbc-3.51.12.ebuild 2621 RMD160 028b9b4ead863c9abddb3d2f4848c22a36a6a4ba SHA1 7e3d13d2b83ef8adaf8caf6c692a63e16b1a93cd SHA256 bc0204c670678e3e90026f965ae978bc2cc35ae47cc1ce0ce3fb2081fcc8662d
EBUILD myodbc-3.51.26_p1127-r1.ebuild 3138 RMD160 16ce18087190a4c95cd0b2393b458a5b68cbb051 SHA1 31b33b7e06b1a76aeb386d4dbabf1da75245198d SHA256 4b170e3ed7bcd1999fc7be9430da9c0e92e4d0c5a3903a2d6de77353cc23197f
EBUILD myodbc-3.51.26_p1127.ebuild 2648 RMD160 763c2e627c17ae0643c5c15bb60e3bdaa29108d9 SHA1 0240152c2e59106dc2bc6d82c1356682f1af1ea6 SHA256 a8665e3cf03a20d83022d6dd7251a773b34f513fab571550258e2bd5a9bba896
+EBUILD myodbc-3.51.27_p695.ebuild 3134 RMD160 c7685070d18dcb2d10d72716ec143a1e9c8170f2 SHA1 380f0d8e55407dab4d98c558356908d01ee92754 SHA256 562231ab3dec2fd371a86e3fe106ad276b54283a3eb6f96d1f7f1a00091a2fae
EBUILD myodbc-5.1.5_p1144.ebuild 3133 RMD160 0a82fdec7cc9bbef0c63ff3e606a52076beea115 SHA1 725dec6e3610c913ecfc5b30efd2e4f5d3b361f1 SHA256 27a206cd552d944c45fc7074f796b270433002037761b28ec5f05bcb2032a3b0
-MISC ChangeLog 2880 RMD160 c1182ff6f56c3da741b468efc57fa3e5355af724 SHA1 ba941b4cf5fa1f4167de2195a1b49c06e4b6c07a SHA256 6d326904b21024adddb97b972d1080997df68a24b5926022c1fdcf9bc67b25de
+MISC ChangeLog 3057 RMD160 fb639df211f4912f85d343726d4c119c6d036872 SHA1 2bfc5127e9337bc554cb16d578f28eea78248ef5 SHA256 ed8b38f1ce8cee67fb8e347fc7d7610c863f3c60f36ca56583590c753192b577
MISC metadata.xml 158 RMD160 17ad87fdb088c4a22ea1849e25da6efdddf26aa5 SHA1 e5826687b0a91fba71e62888faa74fe37f44045a SHA256 a212959a64142f5508788a3d336b55cdb97645b6e54d8a887e7308c67791d569
diff --git a/dev-db/myodbc/myodbc-3.51.27_p695.ebuild b/dev-db/myodbc/myodbc-3.51.27_p695.ebuild
new file mode 100644
index 000000000000..1601ee1de352
--- /dev/null
+++ b/dev-db/myodbc/myodbc-3.51.27_p695.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/myodbc/myodbc-3.51.27_p695.ebuild,v 1.1 2010/01/31 05:25:46 robbat2 Exp $
+
+inherit eutils versionator
+
+MAJOR="$(get_version_component_range 1-2 $PV)"
+MY_PN="mysql-connector-odbc"
+MY_P="${MY_PN}-${PV/_p/r}"
+DESCRIPTION="ODBC driver for MySQL"
+HOMEPAGE="http://www.mysql.com/products/myodbc/"
+SRC_URI="mirror://mysql/Downloads/Connector-ODBC/${MAJOR}/${MY_P}.tar.gz"
+RESTRICT="primaryuri"
+LICENSE="GPL-2"
+SLOT="${MAJOR}"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc static"
+RDEPEND=">=virtual/mysql-4.0
+ dev-db/unixODBC"
+# perl is required for building docs
+DEPEND="${RDEPEND}
+ doc? ( dev-lang/perl )"
+S=${WORKDIR}/${MY_P}
+
+# Careful!
+DRIVER_NAME="${PN}-${SLOT}"
+
+src_compile() {
+ local myconf="--enable-static"
+ use static \
+ && myconf="${myconf} --disable-shared" \
+ || myconf="${myconf} --enable-shared"
+
+ myconf="${myconf} $(use_with doc docs) $(use_with debug)"
+ myconf="${myconf} --disable-gui"
+ #TODO: the configure test against qt 4 enter in an endless loop
+ #myconf="${myconf} $(use_enable qt gui)"
+
+ econf \
+ --libexecdir=/usr/sbin \
+ --sysconfdir=/etc/myodbc \
+ --localstatedir=/var/lib/myodbc \
+ --with-mysql-libs=/usr/lib/mysql \
+ --with-mysql-includes=/usr/include/mysql \
+ --with-odbc-ini=/etc/unixODBC/odbc.ini \
+ --with-unixODBC=/usr \
+ --enable-myodbc3i \
+ --enable-myodbc3m \
+ --disable-test \
+ --without-samples \
+ ${myconf} || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ into /usr
+ einstall \
+ libexecdir="${D}"/usr/sbin \
+ sysconfdir="${D}"/etc/myodbc \
+ localstatedir="${D}"/var/lib/myodbc \
+ pkgdatadir="${D}"/usr/share/doc/${PF}
+ dodoc INSTALL README
+ prepalldocs
+ dodir /usr/share/${PN}-${SLOT}
+ for i in odbc.ini odbcinst.ini; do
+ einfo "Building $i"
+ sed \
+ -e "s,__PN__,${DRIVER_NAME},g" \
+ -e "s,__PF__,${PF},g" \
+ -e "s,libmyodbc3.so,libmyodbc${SLOT:0:1}.so,g" \
+ >"${D}"/usr/share/${PN}-${SLOT}/${i} \
+ <"${FILESDIR}"/${i}.m4 \
+ || die "Failed to build $i"
+ done;
+}
+
+pkg_config() {
+ [ "${ROOT}" != "/" ] && \
+ die 'Sorry, non-standard ROOT setting is not supported :-('
+
+ local msg='MySQL ODBC driver'
+ local drivers=$(/usr/bin/odbcinst -q -d)
+ if echo $drivers | grep -vq "^\[${DRIVER_NAME}\]$" ; then
+ ebegin "Installing ${msg}"
+ /usr/bin/odbcinst -i -d -f /usr/share/${PN}-${SLOT}/odbcinst.ini
+ rc=$?
+ eend $rc
+ [ $rc -ne 0 ] && die
+ else
+ einfo "Skipping already installed ${msg}"
+ fi
+
+ local sources=$(/usr/bin/odbcinst -q -s)
+ msg='sample MySQL ODBC DSN'
+ if echo $sources | grep -vq "^\[${DRIVER_NAME}-test\]$"; then
+ ebegin "Installing ${msg}"
+ /usr/bin/odbcinst -i -s -l -f /usr/share/${PN}-${SLOT}/odbc.ini
+ rc=$?
+ eend $rc
+ [ $rc -ne 0 ] && die
+ else
+ einfo "Skipping already installed ${msg}"
+ fi
+}
+
+pkg_postinst() {
+ elog "If this is a new install, please run the following command"
+ elog "to configure the MySQL ODBC drivers and sources:"
+ elog "emerge --config =${CATEGORY}/${PF}"
+ elog "Please note that the driver name used to form the DSN now includes the SLOT."
+}