www/p5-HTTP-SimpleLinkChecker 1.168 FreeBSD
Check the HTTP response code for a link
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART20
- Categories
- www, perl5
- Package size
- 10.9 KiB, 17.9 KiB installed
Description
You don't have to know anything about objected-oriented Perl, LWP, or the HTTP module to be able to check your links. This module is designed for the casual user. It has one function, check_link, that returns the HTTP response code that it receives when it tries to fetch the web address passed to it. The undef value is returned for any non-HTTP failure and the $HTTP::SimpleLinkChecker::ERROR variable is set.
The HEAD method is tried first, although if anything other than a good status code (those less than 400) is received, another request is made with the GET method. Note, however, that even with the best code, no module can control how servers decide to respond to a check, or control any of the myriad things that can go wrong with the network between you and the remote server. Some may filter requests based on origin IP address, user-agent type, or any other arbitrary factor. Some servers may not respond correctly at all. Furthermore, some servers might be temporarily down or overloaded. I recommend that you recheck "broken" links a couple times over a long period (like a day or two) before you decide they are really broken.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/p5-HTTP-SimpleLinkChecker | 1.168 |
| DragonFly | www/p5-HTTP-SimpleLinkChecker | 1.168 |
| MidnightBSD | www/p5-HTTP-SimpleLinkChecker | 1.168 |
Install
Binary package:
pkg install p5-HTTP-SimpleLinkChecker
From the ports tree:
cd /usr/ports/www/p5-HTTP-SimpleLinkChecker/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-HTTP-SimpleLinkChecker>0:www/p5-HTTP-SimpleLinkChecker
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.168 | 1.168 | 1.168 | 1.168 | 1.168 |
| FreeBSD:14:quarterly | 1.168 | 1.168 | n/a | 1.168 | 1.168 |
| FreeBSD:15:latest | 1.168 | 1.168 | n/a | 1.168 | 1.168 |
| FreeBSD:15:quarterly | 1.168 | 1.168 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.168 | 1.168 | 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 4
p5-HTTP-Message>=1.28: www/p5-HTTP-Messagep5-LWP-Protocol-https>=1: www/p5-LWP-Protocol-httpsp5-Mojolicious>=4.50: www/p5-Mojoliciousp5-libwww>0: www/p5-libwww
Runtime 4
p5-HTTP-Message>=1.28: www/p5-HTTP-Messagep5-LWP-Protocol-https>=1: www/p5-LWP-Protocol-httpsp5-Mojolicious>=4.50: www/p5-Mojoliciousp5-libwww>0: www/p5-libwww
The full lists below include those, and their dependencies in turn.
Build dependencies 29
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-EV
- devel/p5-IO-HTML
- devel/p5-TimeDate
- devel/p5-common-sense
- lang/p5-Try-Tiny
- lang/perl5.42
- 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
- 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-LWP-Protocol-https
- www/p5-Mojolicious
- www/p5-Mozilla-CA
- www/p5-WWW-RobotRules
- www/p5-libwww
Run dependencies 29
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-EV
- devel/p5-IO-HTML
- devel/p5-TimeDate
- devel/p5-common-sense
- lang/p5-Try-Tiny
- lang/perl5.42
- 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
- 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-LWP-Protocol-https
- www/p5-Mojolicious
- www/p5-Mozilla-CA
- www/p5-WWW-RobotRules
- www/p5-libwww
Required by 2
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- bin/http_status
- %%SITE_PERL%%/HTTP/SimpleLinkChecker.pm
- %%PERL5_MAN1%%/http_status.1.gz
- %%PERL5_MAN3%%/HTTP::SimpleLinkChecker.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| HTTP-SimpleLinkChecker-1.168.tar.gz | 11508 | 05753d46a8fca6dd8a7e264714da63dbd9e4da414fcabd0d5ae529639be67330 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.