update to 1.6.12 [release 1.6.12-1mamba;Fri May 21 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 03:37:06 +01:00
parent a479b46eb0
commit 460a44ac1c
2 changed files with 17 additions and 53 deletions

View File

@ -1,12 +1,5 @@
# libGeoIP # libGeoIP
GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file based database that is accurate as of December 2002. This database simply contains IP blocks as keys, and countries as values. This database should be more complete and accurate than using reverse DNS lookups. GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file based database that is accurate as of December 2002. This database simply contains IP blocks as keys, and countries as values. This database should be more complete and accurate than using reverse DNS lookups.
This module can be used to automatically select the geographically closest mirror, to analyze your web server logs to determine the countries of your visitors, for credit card fraud detection, and for software export controls. This module can be used to automatically select the geographically closest mirror, to analyze your web server logs to determine the countries of your visitors, for credit card fraud detection, and for software export controls.
**GeoIP databases updated way more often than library itself. So we will not package DB files**
GeoIP databases available in two versions basis and can be downloaded from.
http://www.maxmind.com/app/geolitecountry
http://www.maxmind.com/app/geolitecity

View File

@ -1,32 +1,23 @@
Name: libGeoIP Name: libGeoIP
Version: 1.5.0 Version: 1.6.12
Release: 2mamba Release: 1mamba
Summary: GeoIP is a C library find what country an IP address or hostname originates from. Summary: GeoIP is a C library find what country an IP address or hostname originates from.
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.maxmind.com/app/c URL: https://github.com/maxmind/geoip-api-c
Source: http://www.maxmind.com/download/geoip/api/c/GeoIP-%{version}.tar.gz Source: https://github.com/maxmind/geoip-api-c.git/v%{version}/geoip-api-c-%{version}.tar.bz2
License: LGPL License: LGPL
Requires: Geo-db-LiteCountry Requires: Geo-db-LiteCountry
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file based database that is accurate as of December 2002. This database simply contains IP blocks as keys, and countries as values. This database should be more complete and accurate than using reverse DNS lookups. GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file based database that is accurate as of December 2002. This database simply contains IP blocks as keys, and countries as values. This database should be more complete and accurate than using reverse DNS lookups.
This module can be used to automatically select the geographically closest mirror, to analyze your web server logs to determine the countries of your visitors, for credit card fraud detection, and for software export controls. This module can be used to automatically select the geographically closest mirror, to analyze your web server logs to determine the countries of your visitors, for credit card fraud detection, and for software export controls.
**GeoIP databases updated way more often than library itself. So we will not package DB files**
GeoIP databases available in two versions basis and can be downloaded from.
http://www.maxmind.com/app/geolitecountry
http://www.maxmind.com/app/geolitecity
%package devel %package devel
Summary: Devel package for %{name} Summary: Devel package for %{name}
Group: Development/Libraries Group: Development/Libraries
@ -34,15 +25,8 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file based database that is accurate as of December 2002. This database simply contains IP blocks as keys, and countries as values. This database should be more complete and accurate than using reverse DNS lookups. GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file based database that is accurate as of December 2002. This database simply contains IP blocks as keys, and countries as values. This database should be more complete and accurate than using reverse DNS lookups.
This module can be used to automatically select the geographically closest mirror, to analyze your web server logs to determine the countries of your visitors, for credit card fraud detection, and for software export controls. This module can be used to automatically select the geographically closest mirror, to analyze your web server logs to determine the countries of your visitors, for credit card fraud detection, and for software export controls.
This package contains static libraries and header files needed for development.
**GeoIP databases updated way more often than library itself. So we will not package DB files**
GeoIP databases available in two versions basis and can be downloaded from.
http://www.maxmind.com/app/geolitecountry
http://www.maxmind.com/app/geolitecity
This package contains static libraries and header files need for development.
%package static %package static
@ -52,12 +36,6 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description static %description static
%{name} is a C library that enables the user to find the country that any IP address or hostname originates from. %{name} is a C library that enables the user to find the country that any IP address or hostname originates from.
**GeoIP databases updated way more often than library itself. So we will not package DB files**
GeoIP databases available in two versions basis and can be downloaded from.
http://www.maxmind.com/app/geolitecountry
http://www.maxmind.com/app/geolitecity
This package contain static libraries for %{name}. This package contain static libraries for %{name}.
%package tools %package tools
@ -67,17 +45,13 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools %description tools
%{name} is a C library that enables the user to find the country that any IP address or hostname originates from. %{name} is a C library that enables the user to find the country that any IP address or hostname originates from.
**GeoIP databases updated way more often than library itself. So we will not package DB files**
GeoIP databases available in two versions basis and can be downloaded from.
http://www.maxmind.com/app/geolitecountry
http://www.maxmind.com/app/geolitecity
This package contain few tools for %{name} such as lookup, export, autoupdate. This package contain few tools for %{name} such as lookup, export, autoupdate.
%prep %debug_package
%setup -q -n GeoIP-%{version} %prep
%setup -q -n geoip-api-c-%{version}
./bootstrap
%build %build
%configure %configure
@ -97,11 +71,8 @@ rm -f %{buildroot}%{_datadir}/GeoIP/GeoIP.dat
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/GeoIP.conf #%config(noreplace) %{_sysconfdir}/GeoIP.conf
%{_libdir}/libGeoIP.so.* %{_libdir}/libGeoIP.so.*
%{_libdir}/libGeoIPUpdate.so.*
%{_mandir}/man1/geoiplookup.1.gz
%{_mandir}/man1/geoiplookup6.1.gz
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files devel %files devel
@ -109,24 +80,24 @@ rm -f %{buildroot}%{_datadir}/GeoIP/GeoIP.dat
%{_includedir}/*.h %{_includedir}/*.h
%{_libdir}/libGeoIP.la %{_libdir}/libGeoIP.la
%{_libdir}/libGeoIP.so %{_libdir}/libGeoIP.so
%{_libdir}/libGeoIPUpdate.la
%{_libdir}/libGeoIPUpdate.so
%{_libdir}/pkgconfig/geoip.pc %{_libdir}/pkgconfig/geoip.pc
%doc ChangeLog README TODO %doc ChangeLog README.md
%files static %files static
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libGeoIP.a %{_libdir}/libGeoIP.a
%{_libdir}/libGeoIPUpdate.a
%files tools %files tools
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/geoiplookup6 %{_bindir}/geoiplookup6
%{_bindir}/geoiplookup %{_bindir}/geoiplookup
%{_bindir}/geoipupdate %{_mandir}/man1/geoiplookup.1*
%{_mandir}/man1/geoipupdate.1.gz %{_mandir}/man1/geoiplookup6.1*
%changelog %changelog
* Fri May 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.12-1mamba
- update to 1.6.12
* Tue May 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-2mamba * Tue May 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-2mamba
- rebuilt with libnetsnmp 5.7.2 - rebuilt with libnetsnmp 5.7.2