Port details on branch 2022Q2 |
- extract_url Perl script that extracts URLs from email in MIME or plain text format
- 1.6.2_1 textproc =1 1.6.2Version of this port present on the latest quarterly branch.
- Maintainer: dbaio@FreeBSD.org
- Port Added: 2013-10-24 15:39:39
- Last Update: 2024-03-22 22:05:26
- Commit Hash: 45c9495
- People watching this port, also watch:: policyd2, rc, py39-cjkwrap, py39-darts.util.lru, monit
- License: BSD2CLAUSE
- WWW:
- https://www.memoryhole.net/~kyle/extract_url/
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- extract_url>0:textproc/extract_url
- To install the port:
- cd /usr/ports/textproc/extract_url/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/extract_url
- pkg install extract_url
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: extract_url
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1485332045
SHA256 (m3m0ryh0l3-extracturl-v1.6.2_GH0.tar.gz) = 5f0b568d5c9449f477527b4077d8269f1f5e6d6531dfa5eb6ca72dbacab6f336
SIZE (m3m0ryh0l3-extracturl-v1.6.2_GH0.tar.gz) = 16296
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-MIME-Tools>=0 : mail/p5-MIME-Tools
- p5-HTML-Parser>=0 : www/p5-HTML-Parser
- gmake>=4.4.1 : devel/gmake
- perl5>=5.36<5.37 : lang/perl5.36
- Runtime dependencies:
-
- p5-MIME-Tools>=0 : mail/p5-MIME-Tools
- p5-HTML-Parser>=0 : www/p5-HTML-Parser
- p5-Curses-UI>=0 : devel/p5-Curses-UI
- p5-URI-Find>=0 : textproc/p5-URI-Find
- perl5>=5.36<5.37 : lang/perl5.36
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for extract_url-1.6.2_1:
DOCS=on: Build and/or install documentation
URI_FIND=on: Recognizes more exotic URL variations in plain text
====> Options available for the radio URL_SELECTOR: you can only select none or one of them
CURSES_UI=on: Allows it to fully replace urlview
URLVIEW=off: Uses urlview for the URL selector menu
===> Use 'make config' to modify these settings
- Options name:
- textproc_extract_url
- USES:
- gmake perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|