freebsd-ports/net/pwhois/files/512.pwhois-updatedb.in
Ryan Steinmetz 3b3db1acf7 New port: net/pwhois:
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).

WWW: http://pwhois.org/
2014-03-20 20:07:10 +00:00

21 lines
309 B
Bash

#!/bin/sh -
#
# $FreeBSD$
#
if [ -r /etc/defaults/periodic.conf ]; then
. /etc/defaults/periodic.conf
source_periodic_confs
fi
rc=0
case "${daily_pwhois-updatedb_enable:-YES}" in
[Nn][Oo])
;;
*)
[ -x %%PREFIX%%/sbin/pwhois-updatedb ] && %%PREFIX%%/sbin/pwhois-updatedb 1>/dev/null
;;
esac
exit $rc