Accepting request 746397 from home:mnhauke:security

- Do not longer build with support for the obsolete GeoIP
  The GeoIP-interface has been discontinued by Maxmind. See
  https://support.maxmind.com/geolite-legacy-discontinuation-notice/
  for details. Without the database GeoIP is useless.
  pmacct is now build with support for libmaxminddb (GeoIPv2) that
  provides the same features but with a new supported interface.

OBS-URL: https://build.opensuse.org/request/show/746397
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/pmacct?expand=0&rev=91
This commit is contained in:
Martin Hauke
2019-11-10 12:27:25 +00:00
committed by Git OBS Bridge
parent 20f31fa1f0
commit 891b50a4df
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Nov 7 20:08:48 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Do not longer build with support for the obsolete GeoIP
The GeoIP-interface has been discontinued by Maxmind. See
https://support.maxmind.com/geolite-legacy-discontinuation-notice/
for details. Without the database GeoIP is useless.
pmacct is now build with support for libmaxminddb (GeoIPv2) that
provides the same features but with a new supported interface.
-------------------------------------------------------------------
Thu May 16 18:02:07 UTC 2019 - Martin Hauke <mardnh@gmx.de>

View File

@@ -51,7 +51,6 @@ BuildRequires: pkgconfig
BuildRequires: postgresql-devel
BuildRequires: sqlite-devel >= 3.0.0
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(geoip)
BuildRequires: pkgconfig(jansson)
BuildRequires: pkgconfig(libmaxminddb)
BuildRequires: pkgconfig(libzmq)
@@ -92,7 +91,7 @@ export CFLAGS="%{optflags} -Wno-return-type -D_FORTIFY_SOURCE=0"
%if %{with ndpi}
--enable-ndpi \
%endif
--enable-geoip \
--enable-geoipv2 \
%if 0%{?suse_version} >= 1310 && 0%{?is_opensuse} == 1
--enable-jansson \
%endif