BSD Ports

net/p5-Net-Google-SafeBrowsing2 1.09_3 FreeBSD

Perl extension for the Google Safe Browsing v2 API

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
net, perl5
Package size
40.7 KiB, 128.1 KiB installed

Description

Net::Google::SafeBrowsing2 implements the Google Safe Browsing v2 API.

The library passes most of the unit tests listed in the API documentation. See the documentation (http://code.google.com/apis/safebrowsing/developers_guide_v2.html) for more details about the failed tests.

The Google Safe Browsing database must be stored and managed locally. Net::Google::SafeBrowsing2::Sqlite uses Sqlite as the storage back-end, Net::Google::SafeBrowsing2::MySQL uses MySQL. Other storage mechanisms (databases, memory, etc.) can be added and used transparently with this module.

You may want to look at "Google Safe Browsing v2: Implementation Notes" (http://www.zscaler.com/research/Google%20Safe%20Browsing%20v2%20API.pdf), a collection of notes and real-world numbers about the API. This is intended for people who want to learn more about the API, whether as a user or to make their own implementation.

In the other systems

SystemPortVersion
FreeBSDnet/p5-Net-Google-SafeBrowsing21.09_3
DragonFlynet/p5-Net-Google-SafeBrowsing21.09_3
HardenedBSDnet/p5-Net-Google-SafeBrowsing21.09_3
GhostBSDnet/p5-Net-Google-SafeBrowsing21.09_3

Install

Binary package:

pkg install p5-Net-Google-SafeBrowsing2

From the ports tree:

cd /usr/ports/net/p5-Net-Google-SafeBrowsing2/ && make install clean

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

RUN_DEPENDS=	p5-Net-Google-SafeBrowsing2>0:net/p5-Net-Google-SafeBrowsing2

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:latest1.09_31.09_31.09_21.09_31.09_3
FreeBSD:14:quarterly1.09_31.09_3n/a1.09_31.09_3
FreeBSD:15:latest1.09_31.09_3n/a1.09_31.09_3
FreeBSD:15:quarterly1.09_31.09_3n/an/an/a
FreeBSD:16:latest1.09_31.09_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 8

Runtime 8

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

Build dependencies 32
Run dependencies 32

No port depends on this one.

Configuration

Options name: net_Net-Google-SafeBrowsing2

OptionDefaultDescription
MYSQLoffuses MySQL as the storage backend
POSTGRESoffuses Postgres as the storage backend
SQLITEonuses SQLite as the storage backend
USES
perl5
Service scripts
none

Files

pkg-plist 14
  • %%SITE_PERL%%/Net/Google/SafeBrowsing2.pm
  • %%SITE_PERL%%/Net/Google/SafeBrowsing2/Storage.pm
  • %%SITE_PERL%%/Net/Google/SafeBrowsing2/Lookup.pm
  • %%SITE_PERL%%/Net/Google/SafeBrowsing2/Postgres.pm
  • %%SITE_PERL%%/Net/Google/SafeBrowsing2/DBI.pm
  • %%SITE_PERL%%/Net/Google/SafeBrowsing2/Sqlite.pm
  • %%SITE_PERL%%/Net/Google/SafeBrowsing2/MySQL.pm
  • %%PERL5_MAN3%%/Net::Google::SafeBrowsing2.3.gz
  • %%PERL5_MAN3%%/Net::Google::SafeBrowsing2::DBI.3.gz
  • %%PERL5_MAN3%%/Net::Google::SafeBrowsing2::Lookup.3.gz
  • %%PERL5_MAN3%%/Net::Google::SafeBrowsing2::MySQL.3.gz
  • %%PERL5_MAN3%%/Net::Google::SafeBrowsing2::Postgres.3.gz
  • %%PERL5_MAN3%%/Net::Google::SafeBrowsing2::Sqlite.3.gz
  • %%PERL5_MAN3%%/Net::Google::SafeBrowsing2::Storage.3.gz
distinfo 1
FileSizeSHA256
Net-Google-SafeBrowsing2-1.09.tar.gz28308e9cd9b2c33c7e75054de1b567ad6e43f258f081614740ccec20c45cda9201507
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.