Port details |
- extract_url Perl script that extracts URLs from email in MIME or plain text format
- 1.6.2_1 textproc =3 1.6.2_1Version 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:: picoc, roxterm, monit, notmuch, php81-pecl-scrypt
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.6.2_1 22 Mar 2024 22:05:26 |
Nuno Teixeira (eduardo) |
textproc/extract_url: Move man pages to share/man
Approved by: portmgr (blanket) |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.6.2 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.6.2 20 Jul 2022 14:23:14 |
Tobias C. Berner (tcberner) |
textproc: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* -
* <glewis@FreeBSD.org>
* <koshy@india.hp.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron Straup Cope
* Aaron Straup Cope <ascope@cpan.org>
* Ache
* Adam Herzog <adam@herzogdesigns.com>
* Adam Weinberger <adamw@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
1.6.2 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.6.2 14 Aug 2019 12:16:41 |
mat |
Convert to UCL & cleanup pkg-message (categories [t-u]) |
1.6.2 17 Mar 2018 14:43:34 |
dbaio |
Fix order of variables
Ports maintained by me in categories: science security sysutils textproc |
1.6.2 08 May 2017 17:21:49 |
dbaio |
Update my email address
Approved by: garga (mentor)
Differential Revision: https://reviews.freebsd.org/D10648 |
1.6.2 25 Jan 2017 18:29:07 |
amdmi3 |
- Update to 1.6.2
PR: 216455
Submitted by: dbaio@bsd.com.br (maintainer) |
1.6.1 23 Jan 2017 16:40:43 |
olivierd |
- Update to 1.6.1
- Switch to GitHub host
- Remove GETOPT_LONG option
- Pass maintainership to submitter
PR: 216180
Submitted by: Danilo G. Baio
MFH: 2017Q1 |
1.5.8_1 14 Sep 2016 15:59:34 |
mat |
GOOGLE_CODE has gone away.
- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN
Some ports have a local mirror configured but for security reasons, it
is not considered upstream.
Sponsored by: Absolight |
1.5.8_1 29 Aug 2016 09:01:26 |
amdmi3 |
- Add LICENSE_FILE
- Add NO_ARCH
- Switch to options helpers
- Cosmetic fixes |
1.5.8_1 28 Jun 2016 09:11:31 |
rakuco |
Reset ports maintained by horia@racoviceanu.com.
The last change submitted or approved by Horia in Bugzilla dates back to
September 2015. Since then, all commits to his ports were landed by others
after the maintainer timeout period expired (see r383744, r405055, r405057,
r400461 and r414655, for example).
Horia did show interest in coming back after I sent a private email a few
months ago, but since nothing has changed it is better to reassign his ports
back to the heap.
Differential Revision: https://reviews.freebsd.org/D5980 |
1.5.8_1 01 Apr 2016 14:25:18 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
1.5.8_1 28 Jul 2014 20:54:04 |
marino |
textproc/extract_url: Fix sample config file in pkg-plist
* remove construct for .sample this this port doesn't install a
working config file by default
* update pkg-message to tell the user to copy the provided sample file
to $HOME and edit accordingly
* Fix plist
* Respect 80-column limit
PR: 191926
Submitted by: maintainer (Horia Racoviceanu) |
1.5.8 25 Jun 2014 05:35:32 |
bapt |
Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends
With hat: portmgr |
1.5.8 18 Mar 2014 15:00:54 |
swills |
- Change LICENSE from BSD to BSD2CLAUSE
PR: ports/187672
Submitted by: Horia Racoviceanu <horia@racoviceanu.com> (maintainer) |
1.5.8 24 Oct 2013 15:39:28 |
nemysis |
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
WWW: http://www.memoryhole.net/~kyle/extract_url/
PR: ports/180022
Submitted by: Horia Racoviceanu <horia@racoviceanu.com>
Approved by: wg (mentor) |