BSD Ports

net/pwhois 2.2.1.0_2 FreeBSD

Whois-compatible framework for disclosing routing data

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
net
Package size
89.2 KiB, 326.6 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

SystemPortVersion
FreeBSDnet/pwhois2.2.1.0_2
DragonFlynet/pwhois2.2.1.0_2

Install

Binary package:

pkg install pwhois

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	pwhois>0:net/pwhois

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.2.1.0_22.2.1.0_22.2.1.02.2.1.0_2-
FreeBSD:14:quarterly2.2.1.0_22.2.1.0_2n/a2.2.1.0_2-
FreeBSD:15:latest2.2.1.0_22.2.1.0_2n/a2.2.1.0_22.2.1.0_2
FreeBSD:15:quarterly2.2.1.0_22.2.1.0_2n/an/an/a
FreeBSD:16:latest2.2.1.0_22.2.1.0_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 8

The full lists below include those, and their dependencies in turn.

Build dependencies 13
Run dependencies 59

No port depends on this one.

Configuration

No options to configure.

USES
mysql shebangfix tar:tgz
Service scripts
pwhoisd

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"

Files

pkg-plist 8
  • bin/pwhois-pwdump
  • etc/periodic/daily/512.pwhois-updatedb
  • sbin/pwhois-updatedb
  • sbin/pwhoisd
  • @sample(,pwhois,640) etc/pwhois/pwhoisd.conf.sample
  • share/pwhois/createdb.sql
  • @dir(pwhois,pwhois,) /var/db/pwhois
  • @dir(pwhois,pwhois,) /var/log/pwhois
distinfo 1
FileSizeSHA256
pwhois-2.2.1.0.tgz124599e212edb3f248b1b161174cb676ef0f2f8e33cae74c0067317ed81d7839d67dac
Master sites 2
  • http://pwhois.org/get/
  • ZI

Commit history 0

No commits in the history this site was built from.