File: NEWS.md

package info (click to toggle)
geoip 1.6.12-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,072 kB
  • sloc: ansic: 16,198; cpp: 1,528; perl: 200; makefile: 95; sh: 62; awk: 13
file content (50 lines) | stat: -rw-r--r-- 1,293 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
## Important Changes ##

### 1.6.0 ###

`geoipupdate` is removed from the GeoIP C library.

Please use the seperate tool [geoipupdate](https://github.com/maxmind/geoipupdate) to download your subscriptions or our
free databases.

### 1.5.0 ###

Geoipupdate may be used to download our free databases.

Put this into the config file /usr/local/etc/GeoIP.conf
to download the free GeoLite databases GeoLiteCountry, GeoLiteCity and GeoLiteASNum

```
LicenseKey 000000000000
UserId 999999
ProductIds 506 533 517
```

Free users should create symlinks for the GeoIP databases.
For example:

```
cd /usr/local/share/GeoIP
ln -s GeoLiteCity.dat GeoIPCity.dat
ln -s GeoLiteCountry.dat GeoIPCountry.dat
ln -s GeoLiteASNum.dat GeoIPASNum.dat
```

The lookup functions are thread safe.

### 1.3.6 ###

As of version 1.3.6, the GeoIP C library is thread safe, as long as
`GEOIP_CHECK_CACHE` is not used.

### 1.3.0 ###

The GeoIP Region database is no longer a pointer but an in-structure array so
test the first byte of region == 0 rather than testing if the region pointer
is `NULL`.

### 1.1.0 ###

As of GeoIP 1.1.0 the GeoIP_country_xxx_by_xxx functions return NULL if a
country can not be found. It previously returned `--` or `N/A`. To avoid
segmentation faults, check the return value for `NULL`.