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
| System | Port | Version |
|---|---|---|
| FreeBSD | net/p5-Net-Google-SafeBrowsing2 | 1.09_3 |
| DragonFly | net/p5-Net-Google-SafeBrowsing2 | 1.09_3 |
| HardenedBSD | net/p5-Net-Google-SafeBrowsing2 | 1.09_3 |
| GhostBSD | net/p5-Net-Google-SafeBrowsing2 | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.09_3 | 1.09_3 | 1.09_2 | 1.09_3 | 1.09_3 |
| FreeBSD:14:quarterly | 1.09_3 | 1.09_3 | n/a | 1.09_3 | 1.09_3 |
| FreeBSD:15:latest | 1.09_3 | 1.09_3 | n/a | 1.09_3 | 1.09_3 |
| FreeBSD:15:quarterly | 1.09_3 | 1.09_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.09_3 | 1.09_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 8
p5-libwww>=5: www/p5-libwwwp5-URI>=1: net/p5-URIp5-Net-IPAddress>=1: net-mgmt/p5-Net-IPAddressp5-Text-Trim>=1: textproc/p5-Text-Trimp5-MIME-Base64-URLSafe>=0.01: converters/p5-MIME-Base64-URLSafep5-Digest-HMAC>=1: security/p5-Digest-HMACp5-String-HexConvert>=0.01: textproc/p5-String-HexConvertp5-File-Slurp>9: devel/p5-File-Slurp
Runtime 8
p5-libwww>=5: www/p5-libwwwp5-URI>=1: net/p5-URIp5-Net-IPAddress>=1: net-mgmt/p5-Net-IPAddressp5-Text-Trim>=1: textproc/p5-Text-Trimp5-MIME-Base64-URLSafe>=0.01: converters/p5-MIME-Base64-URLSafep5-Digest-HMAC>=1: security/p5-Digest-HMACp5-String-HexConvert>=0.01: textproc/p5-String-HexConvertp5-File-Slurp>9: devel/p5-File-Slurp
The full lists below include those, and their dependencies in turn.
Build dependencies 32
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- converters/p5-MIME-Base64-URLSafe
- databases/p5-DBD-SQLite
- databases/p5-DBI
- devel/p5-Clone
- devel/p5-File-Slurp
- devel/p5-IO-HTML
- devel/p5-TimeDate
- lang/p5-Try-Tiny
- lang/perl5.42
- net-mgmt/p5-Net-IPAddress
- net/p5-Net-HTTP
- net/p5-URI
- security/p5-Authen-NTLM
- security/p5-Digest-HMAC
- security/p5-IO-Socket-SSL
- security/p5-Net-SSLeay
- sysutils/p5-File-Listing
- textproc/p5-String-HexConvert
- textproc/p5-Text-Trim
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Cookies
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-HTTP-Negotiate
- www/p5-LWP-MediaTypes
- www/p5-Mozilla-CA
- www/p5-WWW-RobotRules
- www/p5-libwww
Run dependencies 32
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- converters/p5-MIME-Base64-URLSafe
- databases/p5-DBD-SQLite
- databases/p5-DBI
- devel/p5-Clone
- devel/p5-File-Slurp
- devel/p5-IO-HTML
- devel/p5-TimeDate
- lang/p5-Try-Tiny
- lang/perl5.42
- net-mgmt/p5-Net-IPAddress
- net/p5-Net-HTTP
- net/p5-URI
- security/p5-Authen-NTLM
- security/p5-Digest-HMAC
- security/p5-IO-Socket-SSL
- security/p5-Net-SSLeay
- sysutils/p5-File-Listing
- textproc/p5-String-HexConvert
- textproc/p5-Text-Trim
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Cookies
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-HTTP-Negotiate
- www/p5-LWP-MediaTypes
- www/p5-Mozilla-CA
- www/p5-WWW-RobotRules
- www/p5-libwww
No port depends on this one.
Configuration
Options name: net_Net-Google-SafeBrowsing2
| Option | Default | Description |
|---|---|---|
| MYSQL | off | uses MySQL as the storage backend |
| POSTGRES | off | uses Postgres as the storage backend |
| SQLITE | on | uses 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
| File | Size | SHA256 |
|---|---|---|
| Net-Google-SafeBrowsing2-1.09.tar.gz | 28308 | e9cd9b2c33c7e75054de1b567ad6e43f258f081614740ccec20c45cda9201507 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.