BSD Ports

net/pwhois 2.2.1.0_2 DragonFly

Whois-compatible framework for disclosing routing data

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
net
Package size
98.0 KiB, 359.1 KiB installed

Description

The Prefix WhoIs Project provides a whois-compatible client and server framework for disclosing various up-to-date routing information. Instead of using registrar-originated network information (which is often unspecific or inaccurate), Prefix WhoIs uses the Internet's global routing table as gleaned from a number of routing peers around the world. Other sources of information, such as imported data from ARIN are also supported (a separate agreement with ARIN is required).

In the other systems

The newest version among them is 2.2.1.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlynet/pwhois2.2.1.0_2 newestnone known-[email protected]-
FreeBSDnet/pwhois2.2.1.0_2 newestnone known-[email protected]-
HardenedBSDnet/pwhois2.2.1.0_2 newestno data-[email protected]-
GhostBSDnet/pwhois2.2.1.0_2 newestno data-[email protected]-

Install

Binary package:

pkg install pwhois

From DPorts:

cd /usr/dports/net/pwhois && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 10

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

This port requires additional tasks before it will function properly.

1.  Create and initialize the database:
mysql> create database pwhois;
mysql> create user 'pwhois'@'localhost' identified by 'secret-password';
mysql> grant all privileges on pwhois.* to 'pwhois'@'localhost';
mysql> use pwhois;
mysql> \. /usr/local/share/pwhois/createdb.sql

2.  Edit /usr/local/etc/pwhois/pwhoisd.conf and update:
 * Database connection information
 * RouteView servers (some may be slower than others)

3.  Populate the database with data for the first time by running:
/usr/local/sbin/pwhois-updatedb

4.  Add the following to /etc/rc.conf:
pwhoisd_enable="YES"

5.  Start pwhoisd for the first time by running:
service pwhoisd start

6.  To enable daily updates, edit /etc/periodic.conf and add:
daily_pwhois_updatedb_enable="YES"