commit: d02e97dfbdd28bd2ed253c685bb7b4a1e665f1f6 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> AuthorDate: Sun Dec 18 07:45:38 2022 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Sun Dec 18 07:45:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d02e97df
net-analyzer/zabbix: dropped pcre2 use flag from unstable 6.0.x and 6.2.x Closes: https://bugs.gentoo.org/886535 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> net-analyzer/zabbix/zabbix-6.0.11.ebuild | 22 ++++------------------ net-analyzer/zabbix/zabbix-6.0.12.ebuild | 22 ++++------------------ net-analyzer/zabbix/zabbix-6.2.5.ebuild | 22 ++++------------------ net-analyzer/zabbix/zabbix-6.2.6.ebuild | 22 ++++------------------ 4 files changed, 16 insertions(+), 72 deletions(-) diff --git a/net-analyzer/zabbix/zabbix-6.0.11.ebuild b/net-analyzer/zabbix/zabbix-6.0.11.ebuild index 4b12b01e37ea..961445bff7c3 100644 --- a/net-analyzer/zabbix/zabbix-6.0.11.ebuild +++ b/net-analyzer/zabbix/zabbix-6.0.11.ebuild @@ -25,7 +25,7 @@ LICENSE="GPL-2" SLOT="0/$(ver_cut 1-2)" WEBAPP_MANUAL_SLOT="yes" KEYWORDS="~amd64 ~x86" -IUSE="agent +agent2 curl frontend gnutls ipv6 java ldap libxml2 mysql odbc openipmi +openssl oracle +pcre2 +postgres proxy server snmp sqlite ssh static" +IUSE="agent +agent2 curl frontend gnutls ipv6 java ldap libxml2 mysql odbc openipmi +openssl oracle +postgres proxy server snmp sqlite ssh static" REQUIRED_USE="|| ( agent agent2 frontend proxy server ) ?? ( gnutls openssl ) proxy? ( ^^ ( mysql oracle postgres sqlite ) ) @@ -67,14 +67,12 @@ RDEPEND="${COMMON_DEPEND} java? ( >=virtual/jre-1.8:* ) mysql? ( virtual/mysql ) proxy? ( - !pcre2? ( dev-libs/libpcre ) - pcre2? ( dev-libs/libpcre2:= ) + dev-libs/libpcre2:= net-analyzer/fping[suid] ) server? ( app-admin/webapp-config - !pcre2? ( dev-libs/libpcre ) - pcre2? ( dev-libs/libpcre2:= ) + dev-libs/libpcre2:= net-analyzer/fping[suid] ) frontend? ( @@ -147,6 +145,7 @@ pkg_setup() { src_configure() { local econf_args=( + --with-libpcre2 "$(use_enable agent)" "$(use_enable agent2)" "$(use_enable ipv6)" @@ -169,13 +168,6 @@ src_configure() { "$(use_with ssh ssh2)" ) - if use pcre2; then - econf_args+=( --with-libpcre2 ) - else - # If pcre2 is not enabled, then use the old pcre library. - econf_args+=( --with-libpcre ) - fi - econf ${econf_args[@]} } @@ -354,12 +346,6 @@ pkg_postinst() { elog "This will convert database data for use with Node ID" elog "and also adds a local node." elog - - if ! use pcre2; then - ewarn "You are using zabbix with dev-libs/libpcre which is deprecated." - ewarn "Consider switching to dev-libs/libpcre2 (USE=pcre2) as soon as possible." - ewarn "See https://www.zabbix.com/documentation/6.0/en/manual/installation/upgrade_notes_600#pcre2-support" - fi fi if use proxy; then diff --git a/net-analyzer/zabbix/zabbix-6.0.12.ebuild b/net-analyzer/zabbix/zabbix-6.0.12.ebuild index 4b12b01e37ea..961445bff7c3 100644 --- a/net-analyzer/zabbix/zabbix-6.0.12.ebuild +++ b/net-analyzer/zabbix/zabbix-6.0.12.ebuild @@ -25,7 +25,7 @@ LICENSE="GPL-2" SLOT="0/$(ver_cut 1-2)" WEBAPP_MANUAL_SLOT="yes" KEYWORDS="~amd64 ~x86" -IUSE="agent +agent2 curl frontend gnutls ipv6 java ldap libxml2 mysql odbc openipmi +openssl oracle +pcre2 +postgres proxy server snmp sqlite ssh static" +IUSE="agent +agent2 curl frontend gnutls ipv6 java ldap libxml2 mysql odbc openipmi +openssl oracle +postgres proxy server snmp sqlite ssh static" REQUIRED_USE="|| ( agent agent2 frontend proxy server ) ?? ( gnutls openssl ) proxy? ( ^^ ( mysql oracle postgres sqlite ) ) @@ -67,14 +67,12 @@ RDEPEND="${COMMON_DEPEND} java? ( >=virtual/jre-1.8:* ) mysql? ( virtual/mysql ) proxy? ( - !pcre2? ( dev-libs/libpcre ) - pcre2? ( dev-libs/libpcre2:= ) + dev-libs/libpcre2:= net-analyzer/fping[suid] ) server? ( app-admin/webapp-config - !pcre2? ( dev-libs/libpcre ) - pcre2? ( dev-libs/libpcre2:= ) + dev-libs/libpcre2:= net-analyzer/fping[suid] ) frontend? ( @@ -147,6 +145,7 @@ pkg_setup() { src_configure() { local econf_args=( + --with-libpcre2 "$(use_enable agent)" "$(use_enable agent2)" "$(use_enable ipv6)" @@ -169,13 +168,6 @@ src_configure() { "$(use_with ssh ssh2)" ) - if use pcre2; then - econf_args+=( --with-libpcre2 ) - else - # If pcre2 is not enabled, then use the old pcre library. - econf_args+=( --with-libpcre ) - fi - econf ${econf_args[@]} } @@ -354,12 +346,6 @@ pkg_postinst() { elog "This will convert database data for use with Node ID" elog "and also adds a local node." elog - - if ! use pcre2; then - ewarn "You are using zabbix with dev-libs/libpcre which is deprecated." - ewarn "Consider switching to dev-libs/libpcre2 (USE=pcre2) as soon as possible." - ewarn "See https://www.zabbix.com/documentation/6.0/en/manual/installation/upgrade_notes_600#pcre2-support" - fi fi if use proxy; then diff --git a/net-analyzer/zabbix/zabbix-6.2.5.ebuild b/net-analyzer/zabbix/zabbix-6.2.5.ebuild index 4b12b01e37ea..961445bff7c3 100644 --- a/net-analyzer/zabbix/zabbix-6.2.5.ebuild +++ b/net-analyzer/zabbix/zabbix-6.2.5.ebuild @@ -25,7 +25,7 @@ LICENSE="GPL-2" SLOT="0/$(ver_cut 1-2)" WEBAPP_MANUAL_SLOT="yes" KEYWORDS="~amd64 ~x86" -IUSE="agent +agent2 curl frontend gnutls ipv6 java ldap libxml2 mysql odbc openipmi +openssl oracle +pcre2 +postgres proxy server snmp sqlite ssh static" +IUSE="agent +agent2 curl frontend gnutls ipv6 java ldap libxml2 mysql odbc openipmi +openssl oracle +postgres proxy server snmp sqlite ssh static" REQUIRED_USE="|| ( agent agent2 frontend proxy server ) ?? ( gnutls openssl ) proxy? ( ^^ ( mysql oracle postgres sqlite ) ) @@ -67,14 +67,12 @@ RDEPEND="${COMMON_DEPEND} java? ( >=virtual/jre-1.8:* ) mysql? ( virtual/mysql ) proxy? ( - !pcre2? ( dev-libs/libpcre ) - pcre2? ( dev-libs/libpcre2:= ) + dev-libs/libpcre2:= net-analyzer/fping[suid] ) server? ( app-admin/webapp-config - !pcre2? ( dev-libs/libpcre ) - pcre2? ( dev-libs/libpcre2:= ) + dev-libs/libpcre2:= net-analyzer/fping[suid] ) frontend? ( @@ -147,6 +145,7 @@ pkg_setup() { src_configure() { local econf_args=( + --with-libpcre2 "$(use_enable agent)" "$(use_enable agent2)" "$(use_enable ipv6)" @@ -169,13 +168,6 @@ src_configure() { "$(use_with ssh ssh2)" ) - if use pcre2; then - econf_args+=( --with-libpcre2 ) - else - # If pcre2 is not enabled, then use the old pcre library. - econf_args+=( --with-libpcre ) - fi - econf ${econf_args[@]} } @@ -354,12 +346,6 @@ pkg_postinst() { elog "This will convert database data for use with Node ID" elog "and also adds a local node." elog - - if ! use pcre2; then - ewarn "You are using zabbix with dev-libs/libpcre which is deprecated." - ewarn "Consider switching to dev-libs/libpcre2 (USE=pcre2) as soon as possible." - ewarn "See https://www.zabbix.com/documentation/6.0/en/manual/installation/upgrade_notes_600#pcre2-support" - fi fi if use proxy; then diff --git a/net-analyzer/zabbix/zabbix-6.2.6.ebuild b/net-analyzer/zabbix/zabbix-6.2.6.ebuild index 4b12b01e37ea..961445bff7c3 100644 --- a/net-analyzer/zabbix/zabbix-6.2.6.ebuild +++ b/net-analyzer/zabbix/zabbix-6.2.6.ebuild @@ -25,7 +25,7 @@ LICENSE="GPL-2" SLOT="0/$(ver_cut 1-2)" WEBAPP_MANUAL_SLOT="yes" KEYWORDS="~amd64 ~x86" -IUSE="agent +agent2 curl frontend gnutls ipv6 java ldap libxml2 mysql odbc openipmi +openssl oracle +pcre2 +postgres proxy server snmp sqlite ssh static" +IUSE="agent +agent2 curl frontend gnutls ipv6 java ldap libxml2 mysql odbc openipmi +openssl oracle +postgres proxy server snmp sqlite ssh static" REQUIRED_USE="|| ( agent agent2 frontend proxy server ) ?? ( gnutls openssl ) proxy? ( ^^ ( mysql oracle postgres sqlite ) ) @@ -67,14 +67,12 @@ RDEPEND="${COMMON_DEPEND} java? ( >=virtual/jre-1.8:* ) mysql? ( virtual/mysql ) proxy? ( - !pcre2? ( dev-libs/libpcre ) - pcre2? ( dev-libs/libpcre2:= ) + dev-libs/libpcre2:= net-analyzer/fping[suid] ) server? ( app-admin/webapp-config - !pcre2? ( dev-libs/libpcre ) - pcre2? ( dev-libs/libpcre2:= ) + dev-libs/libpcre2:= net-analyzer/fping[suid] ) frontend? ( @@ -147,6 +145,7 @@ pkg_setup() { src_configure() { local econf_args=( + --with-libpcre2 "$(use_enable agent)" "$(use_enable agent2)" "$(use_enable ipv6)" @@ -169,13 +168,6 @@ src_configure() { "$(use_with ssh ssh2)" ) - if use pcre2; then - econf_args+=( --with-libpcre2 ) - else - # If pcre2 is not enabled, then use the old pcre library. - econf_args+=( --with-libpcre ) - fi - econf ${econf_args[@]} } @@ -354,12 +346,6 @@ pkg_postinst() { elog "This will convert database data for use with Node ID" elog "and also adds a local node." elog - - if ! use pcre2; then - ewarn "You are using zabbix with dev-libs/libpcre which is deprecated." - ewarn "Consider switching to dev-libs/libpcre2 (USE=pcre2) as soon as possible." - ewarn "See https://www.zabbix.com/documentation/6.0/en/manual/installation/upgrade_notes_600#pcre2-support" - fi fi if use proxy; then
