BSD Ports

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

SystemPortVersion
FreeBSDtextproc/extract_url1.6.2_1
OpenBSDtextproc/extract_url1.6.2p0
DragonFlytextproc/extract_url1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.6.2_11.6.2_11.6.21.6.2_11.6.2_1
FreeBSD:14:quarterly1.6.2_11.6.2_1n/a1.6.2_11.6.2_1
FreeBSD:15:latest1.6.2_11.6.2_1n/a1.6.2_11.6.2_1
FreeBSD:15:quarterly1.6.2_11.6.2_1n/an/an/a
FreeBSD:16:latest1.6.2_11.6.2_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

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

Build dependencies 19
Run dependencies 20

No port depends on this one.

Configuration

Options name: textproc_extract_url

OptionDefaultDescription
CURSES_UIonAllows it to fully replace urlview
DOCSoffBuild and/or install documentation
URI_FINDonRecognizes more exotic URL variations in plain text
URLVIEWoffUses urlview for the URL selector menu
USES
gmake perl5
Service scripts
none

Message after installing

extract_url has been installed.

If you don't have ~/.extract_urlview

the extract_url configuration file can be copied, please type as user:

    su - user

    cp /usr/local/share/extract_url/extract_urlview.sample ~/.extract_urlview

    exit

Files

distinfo 1
FileSizeSHA256
m3m0ryh0l3-extracturl-v1.6.2_GH0.tar.gz162965f0b568d5c9449f477527b4077d8269f1f5e6d6531dfa5eb6ca72dbacab6f336

Commit history 0

No commits in the history this site was built from.