Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit 3cbd320

Browse files
committed
Remove references to GeoLite Legacy
1 parent cd0a8a8 commit 3cbd320

File tree

4 files changed

+8
-37
lines changed

4 files changed

+8
-37
lines changed

GeoIP.spec.in

-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
1212
%description
1313
GeoIP is a C library that enables the user to find geographical and
1414
network information of an IP address.
15-
Included is a free GeoLite Country database
16-
that is updated at the beginning of every month.
17-
To download the latest free GeoLite databases, go to:
18-
http://dev.maxmind.com/geoip/geolite
1915

2016
%package devel
2117
Summary: GeoIP headers, libraries

LICENSE

-13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
There are two licenses, one for the C library software, and one for
2-
the GeoLite Country database.
3-
41
SOFTWARE LICENSE
52

63
Copyright (C) 2015 MaxMind, Inc.
@@ -16,13 +13,3 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1613
Lesser General Public License for more details.
1714

1815
For a copy of the LGPL License, see the COPYING file.
19-
20-
DATA LICENSE (GeoLite Country and City Databases)
21-
22-
The GeoLite databases are distributed under the Creative Commons
23-
Attribution-ShareAlike 3.0 Unported License. The attribution
24-
requirement may be met by including the following in all advertising
25-
and documentation mentioning features of or use of this database:
26-
27-
This product includes GeoLite data created by MaxMind, available from
28-
<a href="http://www.maxmind.com">http://www.maxmind.com</a>.

README.md

+7-19
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,10 @@ format (mmdb) used by GeoIP2, please see
99
## Description ##
1010

1111
The GeoIP Legacy C library enables the user to find geographical and network
12-
information of an IP address. To use this library, you may download our free
13-
GeoLite Legacy Country or City databases. These are updated at the beginning
14-
of every month. The latest versions are available at:
12+
information of an IP address. To use this library, you may user our commercial
13+
GeoIP Legacy databases. For more details, see:
1514

16-
https://dev.maxmind.com/geoip/legacy/geolite
17-
18-
We also offer commercial GeoIP Legacy databases with greater accuracy and
19-
additional network information. For more details, see:
20-
21-
https://www.maxmind.com/en/geolocation_landing
22-
23-
If you use GeoIP Legacy to block access from high risk countries, you may wish
24-
to use our proxy detection service to block access from known proxy servers to
25-
reduce fraud and abuse. For more details, see:
26-
27-
https://www.maxmind.com/en/proxy
15+
https://www.maxmind.com/en/geoip2-services-and-databases
2816

2917
## IP Geolocation Usage ##
3018

@@ -140,10 +128,10 @@ test/
140128
test-geoip-netspeed.c
141129
```
142130

143-
The test-geoip.c program works with both the GeoLite Legacy and GeoIP Legacy
144-
Country databases. The test-geoip-city.c program works with both the GeoLite
145-
Legacy and GeoIP Legacy City databases. The other example programs require the
146-
paid databases available (https://www.maxmind.com/en/geolocation_landing).
131+
The test-geoip.c program works with the GeoIP Legacy Country database. The
132+
test-geoip-city.c program works with the GeoIP Legacy City databases. The
133+
other example programs require the paid databases available
134+
(https://www.maxmind.com/en/geoip2-services-and-databases).
147135

148136
## Troubleshooting ##
149137

test/benchmark.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ void testgeoipcity(int flags, const char *msg, int numlookups) {
125125
int i2 = 0;
126126
double t = 0;
127127

128-
GEOIP_OPEN("GeoLiteCity.dat", flags);
128+
GEOIP_OPEN("GeoIPCity.dat", flags);
129129
timerstart();
130130
for (i2 = 0; i2 < numlookups; i2++) {
131131
i3 = GeoIP_record_by_addr(i, ipstring[i4]);

0 commit comments

Comments
 (0)