!15 [sync] PR-12: Disable pcre

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2025-01-06 07:27:30 +00:00 committed by Gitee
commit edd2a23110
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -6,7 +6,7 @@
Summary: Distributed Monitoring System
Name: ganglia
Version: %{gangver}
Release: 2
Release: 3
License: BSD
URL: http://ganglia.sourceforge.net/
Source0: http://downloads.sourceforge.net/sourceforge/ganglia/ganglia-%{version}.tar.gz
@ -27,7 +27,7 @@ BuildRequires: systemd
%endif
BuildRequires: rpcgen libtirpc-devel autoconf automake libtool
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}
BuildRequires: python2-devel}
%endif
@ -138,6 +138,7 @@ export CFLAGS="%{optflags} -fcommon"
--with-memcached \
--disable-static \
--enable-shared \
--with-libpcre=no \
%if 0%{?py2}
--with-python=%{__python2} \
%else
@ -318,6 +319,9 @@ end
%dir %attr(0755,apache,apache) %{_localstatedir}/lib/%{name}-web/dwoo/compiled
%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
- Fix CVE-2019-20378 CVE-2019-20379