Disable pcre

(cherry picked from commit 16b30c6c6317b6f3869c4916a5a5f6cc40f1f48e)
This commit is contained in:
starlet-dx 2024-03-12 15:10:49 +08:00 committed by openeuler-sync-bot
parent b17cf8e1f6
commit 35a9090ebd

View File

@ -6,7 +6,7 @@
Summary: Distributed Monitoring System Summary: Distributed Monitoring System
Name: ganglia Name: ganglia
Version: %{gangver} Version: %{gangver}
Release: 2 Release: 3
License: BSD License: BSD
URL: http://ganglia.sourceforge.net/ URL: http://ganglia.sourceforge.net/
Source0: http://downloads.sourceforge.net/sourceforge/ganglia/ganglia-%{version}.tar.gz Source0: http://downloads.sourceforge.net/sourceforge/ganglia/ganglia-%{version}.tar.gz
@ -27,7 +27,7 @@ BuildRequires: systemd
%endif %endif
BuildRequires: rpcgen libtirpc-devel autoconf automake libtool BuildRequires: rpcgen libtirpc-devel autoconf automake libtool
BuildRequires: apr-devel >= 1 expat-devel freetype-devel gcc libart_lgpl-devel BuildRequires: apr-devel >= 1 expat-devel freetype-devel gcc libart_lgpl-devel
BuildRequires: libconfuse-devel libmemcached-devel libpng-devel pcre-devel BuildRequires: libconfuse-devel libmemcached-devel libpng-devel
%if 0%{?py2} %if 0%{?py2}
BuildRequires: python2-devel} BuildRequires: python2-devel}
%endif %endif
@ -138,6 +138,7 @@ export CFLAGS="%{optflags} -fcommon"
--with-memcached \ --with-memcached \
--disable-static \ --disable-static \
--enable-shared \ --enable-shared \
--with-libpcre=no \
%if 0%{?py2} %if 0%{?py2}
--with-python=%{__python2} \ --with-python=%{__python2} \
%else %else
@ -318,6 +319,9 @@ end
%dir %attr(0755,apache,apache) %{_localstatedir}/lib/%{name}-web/dwoo/compiled %dir %attr(0755,apache,apache) %{_localstatedir}/lib/%{name}-web/dwoo/compiled
%changelog %changelog
* Tue Mar 12 2024 yaoxin <yao_xin001@hoperun.com> - 3.7.2-3
- Disable pcre
* Wed Mar 02 2022 houyingchao <houyingchao@huawei.com> - 3.7.2-2 * Wed Mar 02 2022 houyingchao <houyingchao@huawei.com> - 3.7.2-2
- Fix CVE-2019-20378 CVE-2019-20379 - Fix CVE-2019-20378 CVE-2019-20379