BSD Ports

dns/p5-Mozilla-PublicSuffix 1.0.7 MidnightBSD

Get public suffix of domain name via Mozilla Public Suffix List

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
dns, perl5

Description

Mozilla::PublicSuffix provides a single function that returns the public suffix of a domain name by referencing a parsed copy of Mozilla's Public Suffix List. From the official website at http://publicsuffix.org:

A "public suffix" is one under which Internet users can directly register names. Some examples of public suffixes are .com, .co.uk and pvt.k12.wy.us. The Public Suffix List is a list of all known public suffixes.

A copy of the official list is bundled with the distribution. As the official list continues to be updated, the bundled copy will inevitably fall out of date. Therefore, if the bundled copy of found to be over thirty days old, this distribution's installer provides the option to check for a new version of the list and download/use it if one is found.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdns/p5-Mozilla-PublicSuffix1.0.7 newestno data-[email protected]-
FreeBSDdns/p5-Mozilla-PublicSuffix1.0.7_28 newestnone known-[email protected]2026-09-30
DragonFlydns/p5-Mozilla-PublicSuffix1.0.7_8 newestnone known-[email protected]-
HardenedBSDdns/p5-Mozilla-PublicSuffix1.0.7_28 newestno data-[email protected]-
GhostBSDdns/p5-Mozilla-PublicSuffix1.0.7_27 newestno data-[email protected]-

Install

Binary package:

mport install p5-Mozilla-PublicSuffix

From mports:

cd /usr/mports/dns/p5-Mozilla-PublicSuffix && make install clean

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

RUN_DEPENDS=	p5-Mozilla-PublicSuffix>0:dns/p5-Mozilla-PublicSuffix

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

As this port's Makefile names them.

Build 1

Runtime 1

Patch 1

Build dependencies 2
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Mozilla/PublicSuffix.pm
  • %%PERL5_MAN3%%/Mozilla::PublicSuffix.3.gz
distinfo 1
FileSizeSHA256
Mozilla-PublicSuffix-v1.0.7.tar.gz963356815e292161ba8192b434398db295e229b3e61574e6a61994e90f359a2c71b21
Master sites 1
  • CPAN