Skip to content

Commit

Permalink
pkg/kamailio/obs: packaged geoip2 module
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-safarov committed Jul 4, 2023
1 parent 7cd32bf commit f9d6685
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pkg/kamailio/obs/kamailio.spec
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
%bcond_with cnxcc
%bcond_without dnssec
%bcond_without evapi
%bcond_without geoip
%bcond_with geoip
%bcond_without http_async_client
%bcond_without ims
%bcond_without jansson
Expand Down Expand Up @@ -505,8 +505,8 @@ suspended when sending the event, to be resumed at a later point, maybe triggere
%package geoip
Summary: MaxMind GeoIP support for Kamailio
Group: %{PKGGROUP}
Requires: GeoIP, kamailio = %ver
BuildRequires: GeoIP-devel
Requires: GeoIP, libmaxminddb, kamailio = %ver
BuildRequires: GeoIP-devel, libmaxminddb-devel

%description geoip
MaxMind GeoIP support for Kamailio.
Expand Down Expand Up @@ -1251,6 +1251,7 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
%endif
%if %{with geoip}
kgeoip \
kgeoip2 \
%endif
kgzcompress \
%if %{with http_async_client}
Expand Down Expand Up @@ -1358,6 +1359,7 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
%endif
%if %{with geoip}
kgeoip \
kgeoip2 \
%endif
kgzcompress \
%if %{with http_async_client}
Expand Down Expand Up @@ -1945,7 +1947,9 @@ fi
%files geoip
%defattr(-,root,root)
%doc %{_docdir}/kamailio/modules/README.geoip
%doc %{_docdir}/kamailio/modules/README.geoip2
%{_libdir}/kamailio/modules/geoip.so
%{_libdir}/kamailio/modules/geoip2.so
%endif


Expand Down

0 comments on commit f9d6685

Please sign in to comment.