Port details |
- agrep Approximate grep (fast approximate pattern-matching tool)
- 3.41.5 textproc =21 3.41.5Version of this port present on the latest quarterly branch.
- Maintainer: dinoex@FreeBSD.org
- Port Added: unknown
- Last Update: 2024-04-22 18:28:38
- Commit Hash: 38968fa
- People watching this port, also watch:: unzip, zip, nmap, libxml2, popt
- License: ISCL
- WWW:
- https://github.com/Wikinaut/agrep/
- Description:
- Agrep is a tool for fast text searching allowing errors.
The three most significant features of agrep that are not supported by
the grep family are
1) the ability to search for approximate patterns;
for example, "agrep -2 homogenos foo" will find homogeneous as well
as any other word that can be obtained from homogenos with at most
2 substitutions, insertions, or deletions.
"agrep -B homogenos foo" will generate a message of the form
best match has 2 errors, there are 5 matches, output them? (y/n)
2) agrep is record oriented rather than just line oriented; a record
is by default a line, but it can be user defined;
for example, "agrep -d '^From ' 'pizza' mbox"
outputs all mail messages that contain the keyword "pizza".
Another example: "agrep -d '$$' pattern foo" will output all
paragraphs (separated by an empty line) that contain pattern.
3) multiple patterns with AND (or OR) logic queries.
For example, "agrep -d '^From ' 'burger,pizza' mbox"
outputs all mail messages containing at least one of the
two keywords (, stands for OR).
"agrep -d '^From ' 'good;pizza' mbox" outputs all mail messages
containing both keywords.
LICENSE: no redistribution for profit
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/textproc/agrep/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/agrep
- pkg install agrep
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: agrep
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1713810375
SHA256 (Wikinaut-agrep-3.41.5-7b7f350_GH0.tar.gz) = d3d5bfd631359056d47ed2c8c37dc5f661c31074ae525a5386d9a0f455136123
SIZE (Wikinaut-agrep-3.41.5-7b7f350_GH0.tar.gz) = 3652802
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:
-
- gmake>=4.4.1 : devel/gmake
- This port is required by:
- for Run
-
- german/dict
- german/ding
Configuration Options:
- ===> The following configuration options are available for agrep-3.41.5:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- textproc_agrep
- USES:
- gmake
- 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 |
3.41.5 22 Apr 2024 18:28:38 |
Dirk Meyer (dinoex) |
textproc/agrep: Update to 3.41.5 |
2.04_3 15 Apr 2024 17:49:45 |
Dirk Meyer (dinoex) |
textproc/agrep: fix fetch
MFH: 2024Q2 |
2.04_3 11 Jan 2024 16:51:34 |
Dirk Meyer (dinoex) |
textproc/agrep: use ${PREFIX}/share/man |
2.04_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 ) |
2.04_2 14 Mar 2022 10:08:36 |
Dirk Meyer (dinoex) |
textproc/agrep: cleanup spaces |
2.04_2 10 Jan 2022 15:15:39 |
Stefan Eßer (se) |
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port (Only the first 15 lines of the commit message are shown above ) |
2.04_2 06 May 2021 11:47:48 |
Mathieu Arnold (mat) |
Deorbit RESTRICTED && NO_CDROM, part two.
Move ports to the licenses framework.
RESTRICTED → auto-accept (unless expressly stated otherwise)
NO_CDROM → dist-mirror pkg-mirror auto-accept
Differential Revision: https://reviews.freebsd.org/D30010 |
2.04_2 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.04_2 19 Sep 2019 06:52:14 |
dinoex |
- extend MASTER_SITES |
2.04_2 21 Jan 2017 17:01:49 |
dinoex |
- make portlint happier |
2.04_2 19 May 2016 10:53:06 |
amdmi3 |
- Fix trailing whitespace in pkg-descrs, categories [p-x]*
Approved by: portmgr blanket |
2.04_2 08 Oct 2015 03:57:54 |
dinoex |
- cleanup |
2.04_2 01 Sep 2015 16:20:48 |
amdmi3 |
- Switch to options helpers
- While here, add some NO_ARCHes
Approved by: portmgr blanket |
2.04_2 22 May 2015 20:34:29 |
mat |
Remove $FreeBSD$ from patches files everywhere.
With hat: portmgr
Sponsored by: Absolight |
2.04_2 04 Mar 2014 06:51:38 |
dinoex |
- remove broken MANPREFIX |
2.04_2 21 Feb 2014 13:39:49 |
ehaupt |
Remove trailing whitespaces from category textproc |
2.04_2 10 Feb 2014 13:54:28 |
ehaupt |
According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.
This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.
Approved by: portmgr (bapt) |
2.04_2 28 Dec 2013 06:36:33 |
dinoex |
- cleanup |
2.04_2 28 Oct 2013 20:17:50 |
dinoex |
- revert r331810 |
2.04_2 27 Oct 2013 22:29:46 |
dinoex |
- use STAGEDIR
- use OPTIONS_DEFINE |
2.04_2 21 Sep 2013 11:06:04 |
dinoex |
- fix misplaced NO_STAGE in slaveports and ifdefs |
2.04_2 20 Sep 2013 23:17:32 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
2.04_2 26 Jan 2013 16:34:40 |
dinoex |
- cleanup header |
2.04_2 27 Nov 2011 12:47:41 |
dinoex |
- add missing prototypes
- add missing includes
- fix build with clang
Feature safe: yes |
2.04_2 03 Jul 2011 14:40:25 |
ohauer |
-remove MD5 |
2.04_2 16 Jan 2009 15:12:52 |
dinoex |
- add NO_CDROM
- add COPYRIGHT
- extend Documentation |
2.04_1 31 May 2008 05:39:22 |
dinoex |
- fix build with NOPORTDOCS
Reported by: itetcu |
2.04_1 30 May 2008 17:00:27 |
dinoex |
- use DOCSDIR |
2.04_1 19 May 2006 04:32:01 |
dinoex |
- cleanup |
2.04_1 13 Nov 2005 09:26:50 |
dinoex |
- add SHA checksum |
2.04_1 26 Feb 2004 05:48:47 |
dinoex |
- add SIZE |
2.04_1 20 Nov 2003 19:22:15 |
dinoex |
- take maintainership
- use DOCSDIR |
2.04_1 12 Nov 2003 14:26:19 |
wosch |
Long patterns force a core dump:
$ ./agrep `perl -e 'print "y" x 240'` /dev/null
Segmentation fault (core dumped) |
2.04_1 27 Jun 2003 04:05:34 |
kris |
Fix missing format string argument and bump PORTREVISION.
Obtained from: OpenBSD |
2.04 20 Feb 2003 19:11:26 |
knu |
De-pkg-comment. |
2.04 21 Jul 2002 01:56:56 |
naddy |
* Honor CFLAGS.
* Include proper prototypes; fixes dire warnings on alpha. |
2.04 08 May 2002 20:58:31 |
obrien |
To ports@freebsd.org. |
05 Feb 2001 16:35:27 |
olgeni |
More style fixes for ports/textproc. |
22 Nov 2000 00:17:18 |
obrien |
Add $FreeBSD$'s which help me in problem reports. |
08 Oct 2000 07:29:51 |
asami |
Convert category textproc to new layout. |