mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
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@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user