From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql-connector-c/
Date: Wed, 14 Nov 2018 19:23:29 +0000 (UTC) [thread overview]
Message-ID: <1542223341.123be6f14a952ffa1a932ff25a361eaf5cb43c2a.whissi@gentoo> (raw)
commit: 123be6f14a952ffa1a932ff25a361eaf5cb43c2a
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 14 18:48:06 2018 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Nov 14 19:22:21 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=123be6f1
dev-db/mysql-connector-c: drop USE=ssl
USE flag "ssl" is normally used to control if package will link
against any SSL/TLS provider or not. In this case it was used to
control usage of system or bundled SSL version.
Because bundled SSL version doesn't compile and isn't recommend
at all, we are dropping "ssl" USE flag.
Closes: https://bugs.gentoo.org/663996
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
.../mysql-connector-c-6.1.11-r1.ebuild | 12 ++--
.../mysql-connector-c-6.1.11.ebuild | 82 ----------------------
2 files changed, 5 insertions(+), 89 deletions(-)
diff --git a/dev-db/mysql-connector-c/mysql-connector-c-6.1.11-r1.ebuild b/dev-db/mysql-connector-c/mysql-connector-c-6.1.11-r1.ebuild
index 7ec9bf8b064..dd2a019b71b 100644
--- a/dev-db/mysql-connector-c/mysql-connector-c-6.1.11-r1.ebuild
+++ b/dev-db/mysql-connector-c/mysql-connector-c-6.1.11-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -22,14 +22,12 @@ KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86"
SUBSLOT="18"
SLOT="0/${SUBSLOT}"
-IUSE="libressl +ssl static-libs"
+IUSE="libressl static-libs"
CDEPEND="
sys-libs/zlib:=[${MULTILIB_USEDEP}]
- ssl? (
- libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
- !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
- )
+ libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
+ !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
"
RDEPEND="${CDEPEND}
!dev-db/mysql[client-libs(+)]
@@ -67,7 +65,7 @@ multilib_src_configure() {
-DMYSQL_UNIX_ADDR="${EPREFIX}/var/run/mysqld/mysqld.sock"
-DWITH_ZLIB=system
-DENABLE_DTRACE=OFF
- -DWITH_SSL=$(usex ssl system bundled)
+ -DWITH_SSL=system
-DLIBMYSQL_OS_OUTPUT_NAME=mysqlclient
-DSHARED_LIB_PATCH_VERSION="0"
)
diff --git a/dev-db/mysql-connector-c/mysql-connector-c-6.1.11.ebuild b/dev-db/mysql-connector-c/mysql-connector-c-6.1.11.ebuild
deleted file mode 100644
index b0fd77fa0d6..00000000000
--- a/dev-db/mysql-connector-c/mysql-connector-c-6.1.11.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-multilib
-
-MULTILIB_WRAPPED_HEADERS+=(
- /usr/include/mysql/my_config.h
-)
-
-# wrap the config script
-MULTILIB_CHOST_TOOLS=( /usr/bin/mysql_config )
-
-DESCRIPTION="C client library for MariaDB/MySQL"
-HOMEPAGE="https://dev.mysql.com/downloads/connector/c/"
-LICENSE="GPL-2"
-
-SRC_URI="https://dev.mysql.com/get/Downloads/Connector-C/${P}-src.tar.gz"
-S="${WORKDIR}/${P}-src"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~sparc ~x86"
-
-SUBSLOT="18"
-SLOT="0/${SUBSLOT}"
-IUSE="+ssl static-libs"
-
-CDEPEND="
- sys-libs/zlib:=[${MULTILIB_USEDEP}]
- ssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
- "
-RDEPEND="${CDEPEND}
- !dev-db/mysql[client-libs(+)]
- !dev-db/mysql-cluster[client-libs(+)]
- !dev-db/mariadb[client-libs(+)]
- !dev-db/mariadb-connector-c[mysqlcompat]
- !dev-db/mariadb-galera[client-libs(+)]
- !dev-db/percona-server[client-libs(+)]
- "
-DEPEND="${CDEPEND}"
-
-DOCS=( README )
-PATCHES=(
- "${FILESDIR}/mysql_com.patch"
- "${FILESDIR}/20028_all_mysql-5.6-gcc7.patch"
-)
-
-src_prepare() {
- sed -i -e 's/CLIENT_LIBS/CONFIG_CLIENT_LIBS/' "${S}/scripts/CMakeLists.txt" || die
- cmake-utils_src_prepare
-}
-
-multilib_src_configure() {
- mycmakeargs+=(
- -DINSTALL_LAYOUT=RPM
- -DINSTALL_LIBDIR=$(get_libdir)
- -DWITH_DEFAULT_COMPILER_OPTIONS=OFF
- -DWITH_DEFAULT_FEATURE_SET=OFF
- -DENABLED_LOCAL_INFILE=ON
- -DMYSQL_UNIX_ADDR="${EPREFIX}/var/run/mysqld/mysqld.sock"
- -DWITH_ZLIB=system
- -DENABLE_DTRACE=OFF
- -DWITH_SSL=$(usex ssl system bundled)
- -DLIBMYSQL_OS_OUTPUT_NAME=mysqlclient
- -DSHARED_LIB_PATCH_VERSION="0"
- )
- cmake-utils_src_configure
-}
-
-multilib_src_install_all() {
- if ! use static-libs ; then
- find "${ED}" -name "*.a" -delete || die
- fi
-}
-
-pkg_preinst() {
- if [[ -z ${REPLACING_VERSIONS} && -e "${EROOT}usr/$(get_libdir)/libmysqlclient.so" ]] ; then
- elog "Due to ABI changes when switching between different client libraries,"
- elog "revdep-rebuild must find and rebuild all packages linking to libmysqlclient."
- elog "Please run: revdep-rebuild --library libmysqlclient.so.${SUBSLOT}"
- ewarn "Failure to run revdep-rebuild may cause issues with other programs or libraries"
- fi
-}
next reply other threads:[~2018-11-14 19:23 UTC|newest]
Thread overview: 118+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-14 19:23 Thomas Deutschmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-18 6:57 [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql-connector-c/ Sam James
2023-05-06 14:01 Arthur Zamarin
2023-05-06 14:01 Arthur Zamarin
2023-05-06 14:01 Arthur Zamarin
2023-04-02 19:30 Arthur Zamarin
2023-04-02 19:30 Arthur Zamarin
2023-02-15 9:57 Sam James
2023-02-15 9:57 Sam James
2023-01-18 22:44 Sam James
2023-01-13 15:02 Arthur Zamarin
2023-01-13 15:02 Arthur Zamarin
2023-01-13 15:02 Arthur Zamarin
2022-12-03 18:38 Arthur Zamarin
2022-12-02 20:25 Arthur Zamarin
2022-12-02 8:02 Arthur Zamarin
2022-12-02 7:20 Arthur Zamarin
2022-10-31 1:43 Sam James
2022-08-19 8:14 Andreas Sturmlechner
2022-08-12 10:33 Agostino Sarubbo
2022-08-11 12:47 Sam James
2022-08-11 6:45 Agostino Sarubbo
2022-08-10 16:09 Arthur Zamarin
2022-08-10 12:29 Arthur Zamarin
2022-08-10 12:29 Arthur Zamarin
2022-08-10 10:56 Arthur Zamarin
2022-05-17 14:18 WANG Xuerui
2022-03-03 21:22 David Seifert
2022-02-27 22:25 Sam James
2022-01-13 4:18 Sam James
2022-01-13 4:18 Sam James
2022-01-12 4:09 Sam James
2022-01-11 21:40 Sam James
2022-01-11 4:49 Sam James
2021-10-16 3:48 Sam James
2021-10-16 3:48 Sam James
2021-10-16 3:48 Sam James
2021-08-04 19:13 Thomas Deutschmann
2021-06-29 5:53 Yixun Lan
2021-05-27 6:55 Agostino Sarubbo
2021-05-24 1:19 Thomas Deutschmann
2021-05-15 18:02 Sam James
2021-05-15 17:59 Sam James
2021-05-12 15:38 Thomas Deutschmann
2021-05-03 8:18 Mikle Kolyada
2021-04-26 1:03 Thomas Deutschmann
2021-03-26 12:08 Agostino Sarubbo
2021-03-17 20:42 Thomas Deutschmann
2021-03-15 1:40 Thomas Deutschmann
2021-03-12 7:56 Agostino Sarubbo
2021-03-11 18:25 Thomas Deutschmann
2021-03-06 12:21 Andreas Sturmlechner
2021-02-04 17:22 Sergei Trofimovich
2020-11-27 17:53 Thomas Deutschmann
2020-11-27 16:04 Agostino Sarubbo
2020-11-27 8:42 Agostino Sarubbo
2020-11-27 7:55 Agostino Sarubbo
2020-11-26 23:04 Sergei Trofimovich
2020-11-26 8:26 Sam James
2020-11-26 8:14 Sam James
2020-11-25 22:38 Sergei Trofimovich
2020-11-25 12:14 Agostino Sarubbo
2020-11-25 11:51 Thomas Deutschmann
2020-08-24 1:26 Thomas Deutschmann
2020-08-22 20:24 Thomas Deutschmann
2020-08-09 16:51 Sergei Trofimovich
2020-08-07 11:53 Agostino Sarubbo
2020-08-07 11:52 Agostino Sarubbo
2020-08-07 11:51 Agostino Sarubbo
2020-08-07 11:44 Agostino Sarubbo
2020-08-06 11:49 Agostino Sarubbo
2020-08-06 11:49 Agostino Sarubbo
2020-08-06 2:25 Sam James
2020-08-05 18:32 Sam James
2020-07-26 1:46 Thomas Deutschmann
2020-04-08 6:10 Mart Raudsepp
2020-03-05 11:08 Agostino Sarubbo
2020-02-23 8:54 Sergei Trofimovich
2020-02-17 12:25 Agostino Sarubbo
2020-02-17 12:09 Agostino Sarubbo
2020-02-17 11:53 Agostino Sarubbo
2020-02-16 21:14 Thomas Deutschmann
2020-02-15 19:30 Sergei Trofimovich
2020-02-15 12:15 Mikle Kolyada
2019-08-23 10:53 Thomas Deutschmann
2019-08-18 13:21 Thomas Deutschmann
2019-08-18 12:34 Thomas Deutschmann
2019-08-17 20:13 Thomas Deutschmann
2019-08-02 22:06 Thomas Deutschmann
2019-08-02 16:40 Thomas Deutschmann
2019-08-02 16:40 Thomas Deutschmann
2019-08-02 16:40 Thomas Deutschmann
2019-07-08 16:29 Brian Evans
2019-04-25 3:52 Aaron Bauman
2019-02-17 17:32 Mikle Kolyada
2019-01-08 22:06 Sergei Trofimovich
2018-11-14 21:51 Sergei Trofimovich
2018-06-23 18:52 Mikle Kolyada
2018-06-11 8:13 Agostino Sarubbo
2018-06-10 18:49 Thomas Deutschmann
2018-06-10 18:46 Sergei Trofimovich
2018-05-15 17:41 Brian Evans
2018-04-15 19:20 Brian Evans
2018-04-15 18:16 Sergei Trofimovich
2018-04-14 11:25 Markus Meier
2018-03-28 4:32 Matt Turner
2018-03-09 16:38 Brian Evans
2018-03-04 11:13 Sergei Trofimovich
2018-03-02 12:17 Jeroen Roovers
2017-06-12 16:44 Brian Evans
2017-02-03 16:04 Brian Evans
2017-01-30 1:03 Brian Evans
2016-02-05 13:56 Tobias Klausmann
2015-09-29 20:55 Markus Meier
2015-09-17 2:37 Brian Evans
2015-09-15 17:28 Brian Evans
2015-09-15 3:42 Jeroen Roovers
2015-08-16 16:28 Mikle Kolyada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1542223341.123be6f14a952ffa1a932ff25a361eaf5cb43c2a.whissi@gentoo \
--to=whissi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox