File: README.BUILDING-DBIP

package info (click to toggle)
ipv6calc 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 6,400 kB
  • sloc: ansic: 73,764; sh: 5,750; perl: 4,030; xml: 1,194; makefile: 888
file content (23 lines) | stat: -rw-r--r-- 856 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
BUILDING db-ip.com support
--------------------------
If you want to use the db-ip.com databases with ipv6calc, you will
have only to enable the support using configure:
	--enable-dbip

Background:

db-ip.com only publish gzip compressed CSV files with location data.

ipv6calc package contains the tool
	DBIP-generate-db.pl
to generate Berkeley DB files from this CSV data.

Enabling db-ip.com support will enable code for using this generated DB files.

For regular (looks like monthls) updates of the free available databases a download tool is also provided:
	DBIP-update.sh

Commercial databases need a subscription and must be downloaded manually like
	$ cd /var/local/share/DBIP
	$ wget http://download.db-ip.com/key/<key> -O dbip-full-$(date +'%Y-%m').csv.gz
	$ /usr/share/ipv6calc/tools/DBIP-generate-db.pl -A -I dbip-full-$(date +'%Y-%m').csv.gz