From 2fd57282f0262ca084e05b0f2c63fbada395d02b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 16 Jan 2022 20:27:28 +0000 Subject: gentoo resync : 16.01.2021 --- dev-db/opendbx/Manifest | 8 ++-- dev-db/opendbx/opendbx-1.4.5-r1.ebuild | 79 ------------------------------ dev-db/opendbx/opendbx-1.4.5-r2.ebuild | 79 ++++++++++++++++++++++++++++++ dev-db/opendbx/opendbx-1.4.6-r2.ebuild | 79 ------------------------------ dev-db/opendbx/opendbx-1.4.6-r3.ebuild | 87 ---------------------------------- dev-db/opendbx/opendbx-1.4.6-r4.ebuild | 79 ++++++++++++++++++++++++++++++ dev-db/opendbx/opendbx-1.4.6-r5.ebuild | 87 ++++++++++++++++++++++++++++++++++ dev-db/opendbx/opendbx-1.5.0-r2.ebuild | 81 ------------------------------- dev-db/opendbx/opendbx-1.5.0-r3.ebuild | 81 +++++++++++++++++++++++++++++++ 9 files changed, 330 insertions(+), 330 deletions(-) delete mode 100644 dev-db/opendbx/opendbx-1.4.5-r1.ebuild create mode 100644 dev-db/opendbx/opendbx-1.4.5-r2.ebuild delete mode 100644 dev-db/opendbx/opendbx-1.4.6-r2.ebuild delete mode 100644 dev-db/opendbx/opendbx-1.4.6-r3.ebuild create mode 100644 dev-db/opendbx/opendbx-1.4.6-r4.ebuild create mode 100644 dev-db/opendbx/opendbx-1.4.6-r5.ebuild delete mode 100644 dev-db/opendbx/opendbx-1.5.0-r2.ebuild create mode 100644 dev-db/opendbx/opendbx-1.5.0-r3.ebuild (limited to 'dev-db/opendbx') diff --git a/dev-db/opendbx/Manifest b/dev-db/opendbx/Manifest index 2a37b8e4a424..6a190e2ee7d3 100644 --- a/dev-db/opendbx/Manifest +++ b/dev-db/opendbx/Manifest @@ -3,8 +3,8 @@ AUX opendbx-man-optional.patch 1000 BLAKE2B a8e5dc4e0721b94acd0b379a6d27ea8e349e DIST libopendbx-1.5.0.tar.gz 583894 BLAKE2B c427bf8d79df6b83d0ce940d974625bd9b54e49e502f864d244a780185b6321f84a6b779e09b603a71ca26549844001268f0357169e9a74e742b9c2668e4b3ec SHA512 7e4e9b8c62fd981276f6747f8184d7e34d743b866bfd76c8126a16371b50dc682177fd563212333d2dbebe2128d0b1527fc69029833329ba8cc0311308fa9bb5 DIST opendbx-1.4.5.tar.gz 582915 BLAKE2B 7a11947f73ba3a3d407fecf7600589b64a6a80b82f24720ae613d1dc7044e7efe3af8fe273c0cdb043923af2cee1913766054eff3267243345b89c6977124be6 SHA512 e46289f9a7eb8b6e4084863834f8c4ca080eb3343b5f9d5837c476bab0a39e798a6364c8648f9fb53e52ab60cae57749b9f7e9bd23cb95b8ff21160f1bf4247e DIST opendbx-1.4.6.tar.gz 587514 BLAKE2B 0a6c983ac1ebdc3ad9390185938f32e13ba9ff2ced6d41390421e1e3a1e9eb639a85d89da7ce2dd67f05fd2fcaebb2f53146f43678e548511403d8cdc4de88da SHA512 dd6d53d29157057dbf4e273fd82c7694e8bc626d3409d6ab9c25627a0fec96418326550fa8004b5341facdc4cd8aae12516224e8bb84e2562482885780ff0e55 -EBUILD opendbx-1.4.5-r1.ebuild 2272 BLAKE2B c7665d1c127c2e57700b7de8b27a4741598519e1015f771a33b46e0a4096211f10daf3de0561d4b485997ca0cea1c7315c5e5a86ce2f4655169969eb96533cb4 SHA512 d94f9e76079bd543a4efb05f76535c1105675d1cd6408b229186ea389fe9e732874541983e760f0453870d6199dc3e5b811c1505a6ed42da5463da7dbbbab617 -EBUILD opendbx-1.4.6-r2.ebuild 2274 BLAKE2B 66d13dc39c276c946fcd7950d6de2000678f3edb5fbf927b871ba22124776025b5c4b8004d9920c24d1b9eae5b221bd3576aff5d54104e85deb276f64f29cd07 SHA512 9861a4081ef4078bd95b5cf723e86caed76720e98f032116a39a8a23c98f89ae49c80d2c9ac1c304152d2cb916d7da69ad10d453385ae26d32503ab8c312e504 -EBUILD opendbx-1.4.6-r3.ebuild 2428 BLAKE2B c5d092a166a0d8cdcb07c6a20babea8e77770f97a8130aceea7c77b12df3f9e1f677b7b50caccc049839c31ca23f7754ca20351493014c8e53afdcd343f56a52 SHA512 7f0b73d7d80aa3361f665ea1dcbd9977ca27c54f00703cba4790664f04af73531a49a66fb76bbe829c896060e058c72323f1707adab3116e9ce1a359cc4accc0 -EBUILD opendbx-1.5.0-r2.ebuild 2298 BLAKE2B 934f07d98faa671002a3523f7394c8d7c3d6151b315e190a68316b8909eec1a252ddc34f04ab80993ac3f45362c5020789e87456608e9b063fba9fe046d9d772 SHA512 5c14130f10516e2c24186faed421dd130647e7d739dd7261e972b85a1cf428e249aed227e2d322d40047b732687462713528489cfdae1f8cb710336a70e5775d +EBUILD opendbx-1.4.5-r2.ebuild 2271 BLAKE2B 52345a7669dc302e51be45739873085b0f83a52378a74146bc3b99ce6499e33972dc93584725cb81f42dbd8f62077c39bc974e4c37f458d6b8c3a812038a4788 SHA512 38a6057399ade663f977057534870d7476e85d8b96cc049b63bdefc5d4a49dc26fe4b6a89d08f1eb88ffe8cbbc1ab9ab4760d99797850a4f9bb47dc21b0ad540 +EBUILD opendbx-1.4.6-r4.ebuild 2273 BLAKE2B cf76ca813702b9ce8565eb421368b475c94cb4fc2fa8bf656086cbc90e9afb97bec1866b27b1a294108162de6b9dfb3a8a6d7c1e570fb2e7dcf46e7f31fa84eb SHA512 ef1eb9fc4bbbd3d767f0dc2581021a202cc602813d6478b8a8bc2d85b24163f51cdc752701407b9d4f312c4143bd08374d13e5780b97c4edfd4bae4eb768c2b1 +EBUILD opendbx-1.4.6-r5.ebuild 2427 BLAKE2B daf89f52d54dbee9a5f151e14694d6a0883d361a56125117b48951d8ffbb489d6c8029eb4c36d77a0e5ab79e0f7dc336bb6f241cefef781d7c7396a7af0dde6c SHA512 fad1974a20f28f532e873a0b2d4853da991bf6d08a73aac1c140717907bc638177110ce47f77be6160545cec97a96814c2549c716923bd601822b048255ed089 +EBUILD opendbx-1.5.0-r3.ebuild 2297 BLAKE2B 84770123737231a2f7158c1088055042822e9f2f5d356736c85d98fd1f76e44c0f04540cc38aaf7a223444c51c2ba287deb718959a93f25c234eba41e515a178 SHA512 c54cad8abc5fafe274351e5b134afe684e9c100657481c8284885497a8c40384c0fdd4f2c7617b05d6fbcbcb75b83735c6ac527f3fd976929248efe1ae7b15c0 MISC metadata.xml 244 BLAKE2B 7425b947bab27129ec36e80dcb60d0718eb09c8174b09e0700d11be8aa2df4db07fa02264d20b2ab2283fa3bfbe529fca697ceab31483b87ae24c48401f2bc6d SHA512 913fb61f53d2db8faf124764be7fc84a5fe4678a625f0bb455d9584774ce9a77b4f6579165c8dfb15ca6d0c274b7c3c5bd6480ba29cd8068a3d3ce6a80acc2dd diff --git a/dev-db/opendbx/opendbx-1.4.5-r1.ebuild b/dev-db/opendbx/opendbx-1.4.5-r1.ebuild deleted file mode 100644 index d62eda3c5e8c..000000000000 --- a/dev-db/opendbx/opendbx-1.4.5-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit flag-o-matic - -DESCRIPTION="OpenDBX - A database abstraction layer" -HOMEPAGE="https://www.linuxnetworks.de/doc/index.php/OpenDBX" -SRC_URI="https://www.linuxnetworks.de/opendbx/download/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="firebird +mysql oracle postgres sqlite" -RESTRICT="firebird? ( bindist )" - -RDEPEND="mysql? ( dev-db/mysql-connector-c:0= ) - postgres? ( dev-db/postgresql:* ) - sqlite? ( dev-db/sqlite:3 ) - oracle? ( dev-db/oracle-instantclient-basic ) - firebird? ( dev-db/firebird )" -DEPEND="${RDEPEND} app-doc/doxygen app-text/docbook2X" - -REQUIRED_USE="|| ( firebird mysql oracle postgres sqlite )" - -PATCHES=( "${FILESDIR}/${PN}-doxy.patch" ) - -pkg_setup() { - if use oracle && [[ ! -d ${ORACLE_HOME} ]] - then - die "Oracle support requested, but ORACLE_HOME not set to a valid directory!" - fi -} - -src_configure() { - local backends="" - - use firebird && backends="${backends} firebird" - use mysql && backends="${backends} mysql" - use oracle && backends="${backends} oracle" - use postgres && backends="${backends} pgsql" - use sqlite && backends="${backends} sqlite3" - - use mysql && append-cppflags -I/usr/include/mysql - use firebird && append-cppflags -I/opt/firebird/include - - if use oracle ; then - # Traditionally, OCI header files are provided in: - append-cppflags -I"${ORACLE_HOME}"/rdbms/public - # But newer versions merged them with additional SDKs: - append-cppflags -I"${ORACLE_HOME}"/sdk/include - # Depending on the client package ORACLE_HOME refers to, - # we need to find the libraries in varying locations: - # - gentoo instantclient has multilib (dev-db/oracle-instantclient) - append-ldflags -L"${ORACLE_HOME}"/$(get_libdir) - # - vanilla full client lacks multilib (LINUX*_client{,_home}.zip) - append-ldflags -L"${ORACLE_HOME}"/lib - # - vanilla instantclient lacks libdir (instantclient-*.zip) - append-ldflags -L"${ORACLE_HOME}" - fi - - # bug #788304 - append-cxxflags -std=c++14 - - econf --with-backends="${backends}" -} - -src_compile() { - # bug #322221 - emake -j1 -} - -src_install() { - emake -j1 install DESTDIR="${D}" - dodoc AUTHORS ChangeLog README - - rm -f "${D}"/usr/$(get_libdir)/opendbx/*.{a,la} -} diff --git a/dev-db/opendbx/opendbx-1.4.5-r2.ebuild b/dev-db/opendbx/opendbx-1.4.5-r2.ebuild new file mode 100644 index 000000000000..648c8613b17f --- /dev/null +++ b/dev-db/opendbx/opendbx-1.4.5-r2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit flag-o-matic + +DESCRIPTION="OpenDBX - A database abstraction layer" +HOMEPAGE="https://www.linuxnetworks.de/doc/index.php/OpenDBX" +SRC_URI="https://www.linuxnetworks.de/opendbx/download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="firebird +mysql oracle postgres sqlite" +RESTRICT="firebird? ( bindist )" + +RDEPEND="mysql? ( dev-db/mysql-connector-c:0= ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( dev-db/sqlite:3 ) + oracle? ( dev-db/oracle-instantclient[sdk] ) + firebird? ( dev-db/firebird )" +DEPEND="${RDEPEND} app-doc/doxygen app-text/docbook2X" + +REQUIRED_USE="|| ( firebird mysql oracle postgres sqlite )" + +PATCHES=( "${FILESDIR}/${PN}-doxy.patch" ) + +pkg_setup() { + if use oracle && [[ ! -d ${ORACLE_HOME} ]] + then + die "Oracle support requested, but ORACLE_HOME not set to a valid directory!" + fi +} + +src_configure() { + local backends="" + + use firebird && backends="${backends} firebird" + use mysql && backends="${backends} mysql" + use oracle && backends="${backends} oracle" + use postgres && backends="${backends} pgsql" + use sqlite && backends="${backends} sqlite3" + + use mysql && append-cppflags -I/usr/include/mysql + use firebird && append-cppflags -I/opt/firebird/include + + if use oracle ; then + # Traditionally, OCI header files are provided in: + append-cppflags -I"${ORACLE_HOME}"/rdbms/public + # But newer versions merged them with additional SDKs: + append-cppflags -I"${ORACLE_HOME}"/sdk/include + # Depending on the client package ORACLE_HOME refers to, + # we need to find the libraries in varying locations: + # - gentoo instantclient has multilib (dev-db/oracle-instantclient) + append-ldflags -L"${ORACLE_HOME}"/$(get_libdir) + # - vanilla full client lacks multilib (LINUX*_client{,_home}.zip) + append-ldflags -L"${ORACLE_HOME}"/lib + # - vanilla instantclient lacks libdir (instantclient-*.zip) + append-ldflags -L"${ORACLE_HOME}" + fi + + # bug #788304 + append-cxxflags -std=c++14 + + econf --with-backends="${backends}" +} + +src_compile() { + # bug #322221 + emake -j1 +} + +src_install() { + emake -j1 install DESTDIR="${D}" + dodoc AUTHORS ChangeLog README + + rm -f "${D}"/usr/$(get_libdir)/opendbx/*.{a,la} +} diff --git a/dev-db/opendbx/opendbx-1.4.6-r2.ebuild b/dev-db/opendbx/opendbx-1.4.6-r2.ebuild deleted file mode 100644 index 7ba0179bedaa..000000000000 --- a/dev-db/opendbx/opendbx-1.4.6-r2.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit flag-o-matic - -DESCRIPTION="OpenDBX - A database abstraction layer" -HOMEPAGE="https://www.linuxnetworks.de/doc/index.php/OpenDBX" -SRC_URI="https://www.linuxnetworks.de/opendbx/download/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="firebird +mysql oracle postgres sqlite" -RESTRICT="firebird? ( bindist )" - -RDEPEND="mysql? ( dev-db/mysql-connector-c:0= ) - postgres? ( dev-db/postgresql:* ) - sqlite? ( dev-db/sqlite:3 ) - oracle? ( dev-db/oracle-instantclient-basic ) - firebird? ( dev-db/firebird )" -DEPEND="${RDEPEND} app-doc/doxygen app-text/docbook2X" - -REQUIRED_USE="|| ( firebird mysql oracle postgres sqlite )" - -PATCHES=( "${FILESDIR}/${PN}-doxy.patch" ) - -pkg_setup() { - if use oracle && [[ ! -d ${ORACLE_HOME} ]] - then - die "Oracle support requested, but ORACLE_HOME not set to a valid directory!" - fi -} - -src_configure() { - local backends="" - - use firebird && backends="${backends} firebird" - use mysql && backends="${backends} mysql" - use oracle && backends="${backends} oracle" - use postgres && backends="${backends} pgsql" - use sqlite && backends="${backends} sqlite3" - - use mysql && append-cppflags -I/usr/include/mysql - use firebird && append-cppflags -I/opt/firebird/include - - if use oracle ; then - # Traditionally, OCI header files are provided in: - append-cppflags -I"${ORACLE_HOME}"/rdbms/public - # But newer versions merged them with additional SDKs: - append-cppflags -I"${ORACLE_HOME}"/sdk/include - # Depending on the client package ORACLE_HOME refers to, - # we need to find the libraries in varying locations: - # - gentoo instantclient has multilib (dev-db/oracle-instantclient) - append-ldflags -L"${ORACLE_HOME}"/$(get_libdir) - # - vanilla full client lacks multilib (LINUX*_client{,_home}.zip) - append-ldflags -L"${ORACLE_HOME}"/lib - # - vanilla instantclient lacks libdir (instantclient-*.zip) - append-ldflags -L"${ORACLE_HOME}" - fi - - # bug #788304 - append-cxxflags -std=c++14 - - econf --with-backends="${backends}" -} - -src_compile() { - # bug #322221 - emake -j1 -} - -src_install() { - emake -j1 install DESTDIR="${D}" - dodoc AUTHORS ChangeLog README - - rm -f "${D}"/usr/$(get_libdir)/opendbx/*.{a,la} -} diff --git a/dev-db/opendbx/opendbx-1.4.6-r3.ebuild b/dev-db/opendbx/opendbx-1.4.6-r3.ebuild deleted file mode 100644 index 30ade850db94..000000000000 --- a/dev-db/opendbx/opendbx-1.4.6-r3.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit autotools flag-o-matic - -DESCRIPTION="OpenDBX - A database abstraction layer" -HOMEPAGE="https://www.linuxnetworks.de/doc/index.php/OpenDBX" -SRC_URI="https://www.linuxnetworks.de/opendbx/download/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="firebird +man +mysql oracle postgres sqlite" -RESTRICT="firebird? ( bindist )" - -RDEPEND="mysql? ( dev-db/mysql-connector-c:0= ) - postgres? ( dev-db/postgresql:* ) - sqlite? ( dev-db/sqlite:3 ) - oracle? ( dev-db/oracle-instantclient-basic ) - firebird? ( dev-db/firebird )" -DEPEND="${RDEPEND} - man? ( app-doc/doxygen - app-text/docbook2X )" - -REQUIRED_USE="|| ( firebird mysql oracle postgres sqlite )" - -PATCHES=( "${FILESDIR}/${PN}-doxy.patch" - "${FILESDIR}/${PN}-man-optional.patch" ) - -pkg_setup() { - if use oracle && [[ ! -d ${ORACLE_HOME} ]] - then - die "Oracle support requested, but ORACLE_HOME not set to a valid directory!" - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local backends="" - - use firebird && backends="${backends} firebird" - use mysql && backends="${backends} mysql" - use oracle && backends="${backends} oracle" - use postgres && backends="${backends} pgsql" - use sqlite && backends="${backends} sqlite3" - - use mysql && append-cppflags -I/usr/include/mysql - use firebird && append-cppflags -I/opt/firebird/include - - if use oracle ; then - # Traditionally, OCI header files are provided in: - append-cppflags -I"${ORACLE_HOME}"/rdbms/public - # But newer versions merged them with additional SDKs: - append-cppflags -I"${ORACLE_HOME}"/sdk/include - # Depending on the client package ORACLE_HOME refers to, - # we need to find the libraries in varying locations: - # - gentoo instantclient has multilib (dev-db/oracle-instantclient) - append-ldflags -L"${ORACLE_HOME}"/$(get_libdir) - # - vanilla full client lacks multilib (LINUX*_client{,_home}.zip) - append-ldflags -L"${ORACLE_HOME}"/lib - # - vanilla instantclient lacks libdir (instantclient-*.zip) - append-ldflags -L"${ORACLE_HOME}" - fi - - # bug #788304 - append-cxxflags -std=c++14 - - econf --with-backends="${backends}" --enable-manpages="$(usex man yes no)" -} - -src_compile() { - # bug #322221 - emake -j1 -} - -src_install() { - emake -j1 install DESTDIR="${D}" - dodoc AUTHORS ChangeLog README - - rm -f "${D}"/usr/$(get_libdir)/opendbx/*.{a,la} -} diff --git a/dev-db/opendbx/opendbx-1.4.6-r4.ebuild b/dev-db/opendbx/opendbx-1.4.6-r4.ebuild new file mode 100644 index 000000000000..0a2385d02aca --- /dev/null +++ b/dev-db/opendbx/opendbx-1.4.6-r4.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit flag-o-matic + +DESCRIPTION="OpenDBX - A database abstraction layer" +HOMEPAGE="https://www.linuxnetworks.de/doc/index.php/OpenDBX" +SRC_URI="https://www.linuxnetworks.de/opendbx/download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="firebird +mysql oracle postgres sqlite" +RESTRICT="firebird? ( bindist )" + +RDEPEND="mysql? ( dev-db/mysql-connector-c:0= ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( dev-db/sqlite:3 ) + oracle? ( dev-db/oracle-instantclient[sdk] ) + firebird? ( dev-db/firebird )" +DEPEND="${RDEPEND} app-doc/doxygen app-text/docbook2X" + +REQUIRED_USE="|| ( firebird mysql oracle postgres sqlite )" + +PATCHES=( "${FILESDIR}/${PN}-doxy.patch" ) + +pkg_setup() { + if use oracle && [[ ! -d ${ORACLE_HOME} ]] + then + die "Oracle support requested, but ORACLE_HOME not set to a valid directory!" + fi +} + +src_configure() { + local backends="" + + use firebird && backends="${backends} firebird" + use mysql && backends="${backends} mysql" + use oracle && backends="${backends} oracle" + use postgres && backends="${backends} pgsql" + use sqlite && backends="${backends} sqlite3" + + use mysql && append-cppflags -I/usr/include/mysql + use firebird && append-cppflags -I/opt/firebird/include + + if use oracle ; then + # Traditionally, OCI header files are provided in: + append-cppflags -I"${ORACLE_HOME}"/rdbms/public + # But newer versions merged them with additional SDKs: + append-cppflags -I"${ORACLE_HOME}"/sdk/include + # Depending on the client package ORACLE_HOME refers to, + # we need to find the libraries in varying locations: + # - gentoo instantclient has multilib (dev-db/oracle-instantclient) + append-ldflags -L"${ORACLE_HOME}"/$(get_libdir) + # - vanilla full client lacks multilib (LINUX*_client{,_home}.zip) + append-ldflags -L"${ORACLE_HOME}"/lib + # - vanilla instantclient lacks libdir (instantclient-*.zip) + append-ldflags -L"${ORACLE_HOME}" + fi + + # bug #788304 + append-cxxflags -std=c++14 + + econf --with-backends="${backends}" +} + +src_compile() { + # bug #322221 + emake -j1 +} + +src_install() { + emake -j1 install DESTDIR="${D}" + dodoc AUTHORS ChangeLog README + + rm -f "${D}"/usr/$(get_libdir)/opendbx/*.{a,la} +} diff --git a/dev-db/opendbx/opendbx-1.4.6-r5.ebuild b/dev-db/opendbx/opendbx-1.4.6-r5.ebuild new file mode 100644 index 000000000000..9fc129f26fcc --- /dev/null +++ b/dev-db/opendbx/opendbx-1.4.6-r5.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools flag-o-matic + +DESCRIPTION="OpenDBX - A database abstraction layer" +HOMEPAGE="https://www.linuxnetworks.de/doc/index.php/OpenDBX" +SRC_URI="https://www.linuxnetworks.de/opendbx/download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="firebird +man +mysql oracle postgres sqlite" +RESTRICT="firebird? ( bindist )" + +RDEPEND="mysql? ( dev-db/mysql-connector-c:0= ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( dev-db/sqlite:3 ) + oracle? ( dev-db/oracle-instantclient[sdk] ) + firebird? ( dev-db/firebird )" +DEPEND="${RDEPEND} + man? ( app-doc/doxygen + app-text/docbook2X )" + +REQUIRED_USE="|| ( firebird mysql oracle postgres sqlite )" + +PATCHES=( "${FILESDIR}/${PN}-doxy.patch" + "${FILESDIR}/${PN}-man-optional.patch" ) + +pkg_setup() { + if use oracle && [[ ! -d ${ORACLE_HOME} ]] + then + die "Oracle support requested, but ORACLE_HOME not set to a valid directory!" + fi +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local backends="" + + use firebird && backends="${backends} firebird" + use mysql && backends="${backends} mysql" + use oracle && backends="${backends} oracle" + use postgres && backends="${backends} pgsql" + use sqlite && backends="${backends} sqlite3" + + use mysql && append-cppflags -I/usr/include/mysql + use firebird && append-cppflags -I/opt/firebird/include + + if use oracle ; then + # Traditionally, OCI header files are provided in: + append-cppflags -I"${ORACLE_HOME}"/rdbms/public + # But newer versions merged them with additional SDKs: + append-cppflags -I"${ORACLE_HOME}"/sdk/include + # Depending on the client package ORACLE_HOME refers to, + # we need to find the libraries in varying locations: + # - gentoo instantclient has multilib (dev-db/oracle-instantclient) + append-ldflags -L"${ORACLE_HOME}"/$(get_libdir) + # - vanilla full client lacks multilib (LINUX*_client{,_home}.zip) + append-ldflags -L"${ORACLE_HOME}"/lib + # - vanilla instantclient lacks libdir (instantclient-*.zip) + append-ldflags -L"${ORACLE_HOME}" + fi + + # bug #788304 + append-cxxflags -std=c++14 + + econf --with-backends="${backends}" --enable-manpages="$(usex man yes no)" +} + +src_compile() { + # bug #322221 + emake -j1 +} + +src_install() { + emake -j1 install DESTDIR="${D}" + dodoc AUTHORS ChangeLog README + + rm -f "${D}"/usr/$(get_libdir)/opendbx/*.{a,la} +} diff --git a/dev-db/opendbx/opendbx-1.5.0-r2.ebuild b/dev-db/opendbx/opendbx-1.5.0-r2.ebuild deleted file mode 100644 index 75d65ca1fe3b..000000000000 --- a/dev-db/opendbx/opendbx-1.5.0-r2.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit flag-o-matic - -MY_PN="lib${PN}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="OpenDBX - A database abstraction layer" -HOMEPAGE="https://www.linuxnetworks.de/doc/index.php/OpenDBX" -SRC_URI="https://www.linuxnetworks.de/opendbx/download/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~x64-solaris" -IUSE="firebird +mysql oracle postgres sqlite" -RESTRICT="firebird? ( bindist )" - -RDEPEND="mysql? ( dev-db/mysql-connector-c:0= ) - postgres? ( dev-db/postgresql:* ) - sqlite? ( dev-db/sqlite:3 ) - oracle? ( dev-db/oracle-instantclient-basic ) - firebird? ( dev-db/firebird )" -DEPEND="${RDEPEND} app-doc/doxygen app-text/docbook2X" - -S="${WORKDIR}"/${MY_P} - -REQUIRED_USE="|| ( firebird mysql oracle postgres sqlite )" - -PATCHES=( "${FILESDIR}/${PN}-doxy.patch" ) - -pkg_setup() { - if use oracle && [[ ! -d ${ORACLE_HOME} ]] - then - die "Oracle support requested, but ORACLE_HOME not set to a valid directory!" - fi -} - -src_configure() { - local backends="" - - use firebird && backends="${backends} firebird" - use mysql && backends="${backends} mysql" - use oracle && backends="${backends} oracle" - use postgres && backends="${backends} pgsql" - use sqlite && backends="${backends} sqlite3" - - use mysql && append-cppflags -I/usr/include/mysql - use firebird && append-cppflags -I/opt/firebird/include - - if use oracle ; then - # Traditionally, OCI header files are provided in: - append-cppflags -I"${ORACLE_HOME}"/rdbms/public - # But newer versions merged them with additional SDKs: - append-cppflags -I"${ORACLE_HOME}"/sdk/include - # Depending on the client package ORACLE_HOME refers to, - # we need to find the libraries in varying locations: - # - gentoo instantclient has multilib (dev-db/oracle-instantclient) - append-ldflags -L"${ORACLE_HOME}"/$(get_libdir) - # - vanilla full client lacks multilib (LINUX*_client{,_home}.zip) - append-ldflags -L"${ORACLE_HOME}"/lib - # - vanilla instantclient lacks libdir (instantclient-*.zip) - append-ldflags -L"${ORACLE_HOME}" - fi - - econf --with-backends="${backends}" -} - -src_compile() { - # bug #322221 - emake -j1 -} - -src_install() { - emake -j1 install DESTDIR="${D}" - dodoc AUTHORS ChangeLog README - - rm -f "${D}"/usr/$(get_libdir)/opendbx/*.{a,la} -} diff --git a/dev-db/opendbx/opendbx-1.5.0-r3.ebuild b/dev-db/opendbx/opendbx-1.5.0-r3.ebuild new file mode 100644 index 000000000000..b4e76604878b --- /dev/null +++ b/dev-db/opendbx/opendbx-1.5.0-r3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit flag-o-matic + +MY_PN="lib${PN}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="OpenDBX - A database abstraction layer" +HOMEPAGE="https://www.linuxnetworks.de/doc/index.php/OpenDBX" +SRC_URI="https://www.linuxnetworks.de/opendbx/download/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x64-solaris" +IUSE="firebird +mysql oracle postgres sqlite" +RESTRICT="firebird? ( bindist )" + +RDEPEND="mysql? ( dev-db/mysql-connector-c:0= ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( dev-db/sqlite:3 ) + oracle? ( dev-db/oracle-instantclient[sdk] ) + firebird? ( dev-db/firebird )" +DEPEND="${RDEPEND} app-doc/doxygen app-text/docbook2X" + +S="${WORKDIR}"/${MY_P} + +REQUIRED_USE="|| ( firebird mysql oracle postgres sqlite )" + +PATCHES=( "${FILESDIR}/${PN}-doxy.patch" ) + +pkg_setup() { + if use oracle && [[ ! -d ${ORACLE_HOME} ]] + then + die "Oracle support requested, but ORACLE_HOME not set to a valid directory!" + fi +} + +src_configure() { + local backends="" + + use firebird && backends="${backends} firebird" + use mysql && backends="${backends} mysql" + use oracle && backends="${backends} oracle" + use postgres && backends="${backends} pgsql" + use sqlite && backends="${backends} sqlite3" + + use mysql && append-cppflags -I/usr/include/mysql + use firebird && append-cppflags -I/opt/firebird/include + + if use oracle ; then + # Traditionally, OCI header files are provided in: + append-cppflags -I"${ORACLE_HOME}"/rdbms/public + # But newer versions merged them with additional SDKs: + append-cppflags -I"${ORACLE_HOME}"/sdk/include + # Depending on the client package ORACLE_HOME refers to, + # we need to find the libraries in varying locations: + # - gentoo instantclient has multilib (dev-db/oracle-instantclient) + append-ldflags -L"${ORACLE_HOME}"/$(get_libdir) + # - vanilla full client lacks multilib (LINUX*_client{,_home}.zip) + append-ldflags -L"${ORACLE_HOME}"/lib + # - vanilla instantclient lacks libdir (instantclient-*.zip) + append-ldflags -L"${ORACLE_HOME}" + fi + + econf --with-backends="${backends}" +} + +src_compile() { + # bug #322221 + emake -j1 +} + +src_install() { + emake -j1 install DESTDIR="${D}" + dodoc AUTHORS ChangeLog README + + rm -f "${D}"/usr/$(get_libdir)/opendbx/*.{a,la} +} -- cgit v1.2.3