textproc/extract_url 1.6.2_1 FreeBSD
Perl script that extracts URLs from email in MIME or plain text format
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- textproc
- Package size
- 19.1 KiB, 43.0 KiB installed
Description
This is a Perl script that extracts URLs from correctly-encoded MIME email messages or plain text. This can be used either as a pre-parser for urlview, or to replace urlview entirely.
This is designed primarily for use with the mutt emailer. The idea is that if you want to access a URL in an email, you pipe the email to a URL extractor (like this one) which then lets you select a URL to view in some third program (such as Firefox). An alternative design is to access URLs from within mutt's pager by defining macros and tagging the URLs in the display to indicate which macro to use. A script you can use to do that is tagurl.pl.
Main features: - Configurable - Handles URLs that have been broken over several lines in format=flowed delsp=yes email messages - Handles quoted-printable email messages - Sanitizes URLs so that they can't break out of the command shell
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/extract_url | 1.6.2_1 |
| OpenBSD | textproc/extract_url | 1.6.2p0 |
| DragonFly | textproc/extract_url | 1.6.2_1 |
Install
Binary package:
pkg install extract_url
From the ports tree:
cd /usr/ports/textproc/extract_url/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= extract_url>0:textproc/extract_url
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.6.2_1 | 1.6.2_1 | 1.6.2 | 1.6.2_1 | 1.6.2_1 |
| FreeBSD:14:quarterly | 1.6.2_1 | 1.6.2_1 | n/a | 1.6.2_1 | 1.6.2_1 |
| FreeBSD:15:latest | 1.6.2_1 | 1.6.2_1 | n/a | 1.6.2_1 | 1.6.2_1 |
| FreeBSD:15:quarterly | 1.6.2_1 | 1.6.2_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.6.2_1 | 1.6.2_1 | 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 2
p5-MIME-Tools>=0: mail/p5-MIME-Toolsp5-HTML-Parser>=0: www/p5-HTML-Parser
Runtime 2
p5-MIME-Tools>=0: mail/p5-MIME-Toolsp5-HTML-Parser>=0: www/p5-HTML-Parser
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- converters/p5-Convert-BinHex
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/gettext-runtime
- devel/gmake
- devel/p5-Clone
- devel/p5-IO-HTML
- devel/p5-TimeDate
- lang/perl5.42
- mail/p5-MIME-Tools
- mail/p5-Mail-Tools
- net/p5-URI
- print/indexinfo
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-LWP-MediaTypes
Run dependencies 20
- converters/p5-Convert-BinHex
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-Curses
- devel/p5-Curses-UI
- devel/p5-IO-HTML
- devel/p5-Term-ReadKey
- devel/p5-TimeDate
- lang/perl5.42
- mail/p5-MIME-Tools
- mail/p5-Mail-Tools
- net/p5-URI
- textproc/p5-URI-Find
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-LWP-MediaTypes
No port depends on this one.
Configuration
Options name: textproc_extract_url
| Option | Default | Description |
|---|---|---|
| CURSES_UI | on | Allows it to fully replace urlview |
| DOCS | off | Build and/or install documentation |
| URI_FIND | on | Recognizes more exotic URL variations in plain text |
| URLVIEW | off | Uses urlview for the URL selector menu |
- USES
- gmake perl5
- Service scripts
- none
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| m3m0ryh0l3-extracturl-v1.6.2_GH0.tar.gz | 16296 | 5f0b568d5c9449f477527b4077d8269f1f5e6d6531dfa5eb6ca72dbacab6f336 |
Commit history 0
No commits in the history this site was built from.