notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
gnugrep GNU version of popular pattern matching utility
3.3 textproc on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port
3.3Version of this port present on the latest quarterly branch.
Maintainer: johans@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2010-02-06 13:48:10
Last Update: 2019-03-03 13:40:51
SVN Revision: 494508
License: GPLv3+
The grep command searches one or more input files for lines containing a match
to a specified pattern.  By default, grep prints the matching lines.

WWW: http://www.gnu.org/software/grep/
SVNWeb : Homepage
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (52 items)
  1. /usr/local/share/licenses/gnugrep-3.3/catalog.mk
  2. /usr/local/share/licenses/gnugrep-3.3/LICENSE
  3. /usr/local/share/licenses/gnugrep-3.3/GPLv3+
  4. bin/egrep
  5. bin/fgrep
  6. bin/grep
  7. man/man1/egrep.1.gz
  8. man/man1/fgrep.1.gz
  9. man/man1/grep.1.gz
  10. share/locale/af/LC_MESSAGES/grep.mo
  11. share/locale/be/LC_MESSAGES/grep.mo
  12. share/locale/bg/LC_MESSAGES/grep.mo
  13. share/locale/ca/LC_MESSAGES/grep.mo
  14. share/locale/cs/LC_MESSAGES/grep.mo
  15. share/locale/da/LC_MESSAGES/grep.mo
  16. share/locale/de/LC_MESSAGES/grep.mo
  17. share/locale/el/LC_MESSAGES/grep.mo
  18. share/locale/eo/LC_MESSAGES/grep.mo
  19. share/locale/es/LC_MESSAGES/grep.mo
  20. share/locale/et/LC_MESSAGES/grep.mo
  21. share/locale/eu/LC_MESSAGES/grep.mo
  22. share/locale/fi/LC_MESSAGES/grep.mo
  23. share/locale/fr/LC_MESSAGES/grep.mo
  24. share/locale/ga/LC_MESSAGES/grep.mo
  25. share/locale/gl/LC_MESSAGES/grep.mo
  26. share/locale/he/LC_MESSAGES/grep.mo
  27. share/locale/hr/LC_MESSAGES/grep.mo
  28. share/locale/hu/LC_MESSAGES/grep.mo
  29. share/locale/id/LC_MESSAGES/grep.mo
  30. share/locale/it/LC_MESSAGES/grep.mo
  31. share/locale/ja/LC_MESSAGES/grep.mo
  32. share/locale/ko/LC_MESSAGES/grep.mo
  33. share/locale/ky/LC_MESSAGES/grep.mo
  34. share/locale/lt/LC_MESSAGES/grep.mo
  35. share/locale/nb/LC_MESSAGES/grep.mo
  36. share/locale/nl/LC_MESSAGES/grep.mo
  37. share/locale/pa/LC_MESSAGES/grep.mo
  38. share/locale/pl/LC_MESSAGES/grep.mo
  39. share/locale/pt/LC_MESSAGES/grep.mo
  40. share/locale/pt_BR/LC_MESSAGES/grep.mo
  41. share/locale/ro/LC_MESSAGES/grep.mo
  42. share/locale/ru/LC_MESSAGES/grep.mo
  43. share/locale/sk/LC_MESSAGES/grep.mo
  44. share/locale/sl/LC_MESSAGES/grep.mo
  45. share/locale/sr/LC_MESSAGES/grep.mo
  46. share/locale/sv/LC_MESSAGES/grep.mo
  47. share/locale/th/LC_MESSAGES/grep.mo
  48. share/locale/tr/LC_MESSAGES/grep.mo
  49. share/locale/uk/LC_MESSAGES/grep.mo
  50. share/locale/vi/LC_MESSAGES/grep.mo
  51. share/locale/zh_CN/LC_MESSAGES/grep.mo
  52. share/locale/zh_TW/LC_MESSAGES/grep.mo
  53. Collapse this list.
Dependency lines:
  • gnugrep>0:textproc/gnugrep
Conflicts:
  • CONFLICTS:
    • bsd-grep-[0-9]*
Conflicts Matches:
    There are no Conflicts Matches for this port. This is usually an error.

To install the port: cd /usr/ports/textproc/gnugrep/ && make install clean
To add the package: pkg install gnugrep

PKGNAME: gnugrep

There is no flavor information for this port.

distinfo:

TIMESTAMP = 1545367211
SHA256 (grep-3.3.tar.xz) = b960541c499619efd6afe1fa795402e4733c8e11ebf9fafccc0bb4bccdc5b514
SIZE (grep-3.3.tar.xz) = 1473056


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. msgfmt : devel/gettext-tools
  2. pkgconf>=1.3.0_1 : devel/pkgconf
Runtime dependencies:
  1. indexinfo : print/indexinfo
Library dependencies:
  1. libpcre.so : devel/pcre
  2. libintl.so : devel/gettext-runtime

This port is required by:

for Build for Run
Configuration Options
===> The following configuration options are available for gnugrep-3.3:
     ICONV=on: Encoding conversion support via iconv
     LIBSIGSEGV=off: Use alternative page fault handler (GNU libsigsegv)
     NLS=on: Native Language Support
     PCRE=on: Use Perl Compatible Regular Expressions
===> Use 'make config' to modify these settings

USES:
charsetfix cpe tar:xz gettext pkgconfig

Master Sites:
  1. ftp://ftp.gnu.org/gnu/grep/
  2. ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/grep/
  3. ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/grep/
  4. ftp://ftp.kddlabs.co.jp/GNU/gnu/grep/
  5. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/grep/
  6. http://ftp.funet.fi/pub/gnu/prep/grep/
  7. http://www.gtlib.gatech.edu/pub/gnu/gnu/grep/
  8. https://ftp.gnu.org/gnu/grep/
  9. https://ftpmirror.gnu.org/grep/
  10. https://mirrors.kernel.org/gnu/grep/
Port Moves
  • port moved here from japanese/grep on 2014-02-06
    REASON: Official version properly support multi-byte, consider using textproc/gnugrep

Number of commits found: 42

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
03 Mar 2019 13:40:51
Original commit files touched by this commit  3.3
Revision:494508
danfe search for other commits by this committer
Provide more elaborate COMMENT text.
01 Mar 2019 17:19:00
Original commit files touched by this commit  3.3
Revision:494305
danfe search for other commits by this committer
- Patch the installed script to point to $PREFIX, not $LOCALBASE
- Add TEST_TARGET (currently, sometimes not all tests would pass)

PR:	227601
01 Mar 2019 16:04:26
Original commit files touched by this commit  3.3
Revision:494301
danfe search for other commits by this committer
- Belatedly update GNU grep to version 3.3
- Allow to build against GNU sigsegv (LIBSIGSEGV_DESC was shamelessly
  stolen from `devel/m4') but retain existing OPTIONS_DEFAULT for now
- Do not pass preprocessor and linker flags directly, USES+=pkgconfig
- PCRE_CONFIGURE_OFF is not needed when PCRE_CONFIGURE_ENABLE is used
- Convert to option helper target (post-patch-NLS-off)

Approved by:	maintainer (johans: numerous timeouts on GNU tools)
10 Nov 2018 18:12:58
Original commit files touched by this commit  2.27_1
Revision:484628
bapt search for other commits by this committer
Install texinfo files (GNU info) into ${PREFIX}/share/info

After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
27 Dec 2016 11:08:52
Original commit files touched by this commit  2.27
Revision:429599
johans search for other commits by this committer
Update to GNU Grep 2.27 (bugfix release)
06 Nov 2016 20:27:06
Original commit files touched by this commit  2.26
Revision:425578
johans search for other commits by this committer
Update to GNU grep 2.26 (bugfixes and performance improvements)
23 May 2016 20:35:01
Original commit files touched by this commit  2.25
Revision:415742
amdmi3 search for other commits by this committer
Remove NLS, DOCS, EXAMPLES and IPV6 from OPTIONS_DEFAULT, they are enabled by
default anyway and don't need to be listed

Approved by:	portmgr blanket
26 Apr 2016 21:08:26
Original commit files touched by this commit  2.25
Revision:414077
johans search for other commits by this committer
Update to GNU grep 2.25 (bugfix release)
http://lists.gnu.org/archive/html/info-gnu/2016-04/msg00010.html
01 Apr 2016 14:25:18
Original commit files touched by this commit  2.23
Revision:412349
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
05 Feb 2016 10:14:33
Original commit files touched by this commit  2.23
Revision:408153
johans search for other commits by this committer
Update GNU grep to 2.23 (bugfix release)
22 Nov 2015 11:33:57
Original commit files touched by this commit  2.22_1
Revision:402225
johans search for other commits by this committer
- Make sure installed egrep/fgrep run correct GNU grep rather than base grep
- Bump PORTREVISION
08 Nov 2015 12:32:28
Original commit files touched by this commit  2.22
Revision:401057
johans search for other commits by this committer
Update GNU grep to 2.22
24 Apr 2015 04:17:17
Original commit files touched by this commit  2.21_1
Revision:384621
koobs search for other commits by this committer
textproc/gnugrep: Add missing libiconv dependency

GNU Grep's automatically searches for and detects (via configure) the
presence of gettext and libiconv. If libiconv is already installed it
results in libiconv being detected without the dependency being
registered. If libiconv is ever removed, the following error is
observed:

  Error: Shared object "libiconv.so.2" not found, required by "grep"

This change adds explicit configure arguments to disable gettext and
libiconv detection when their respective OPTIONS are disabled.

Additionally it adds an ICONV option consistent with other
ports, and replaces global CPPFLAGS and LDFLAGS values
(Only the first 15 lines of the commit message are shown above View all of this commit message)
09 Mar 2015 21:04:38
Original commit files touched by this commit  2.21
Revision:380880
johans search for other commits by this committer
Add CPE information

textproc/gnugrep has had vulnerabilities with a CPE identifier assigned
(e.g. CVE-2012-5667).

PR:		198471
Submitted by:	shun.fbsd.pr@dropcut.net
25 Nov 2014 20:55:22
Original commit files touched by this commit  2.21
Revision:373431
johans search for other commits by this committer
Update to GNU grep 2.21
15 Nov 2014 16:26:33
Original commit files touched by this commit  2.20
Revision:372605
antoine search for other commits by this committer
Cleanup plist
07 Jun 2014 08:22:33
Original commit files touched by this commit  2.20
Revision:356885
johans search for other commits by this committer
Update GNU grep to 2.20 (bugfix release)
23 May 2014 16:35:25
Original commit files touched by this commit  2.19
Revision:354941
johans search for other commits by this committer
Update GNU grep to 2.19
Release notes: http://savannah.gnu.org/forum/forum.php?forum_id=7988
26 Feb 2014 07:57:47
Original commit files touched by this commit  2.18
Revision:346136
johans search for other commits by this committer
Update GNU grep to 2.18 (bugfix release)
19 Feb 2014 19:43:58
Original commit files touched by this commit  2.17
Revision:345139
johans search for other commits by this committer
Update GNU grep to 2.17
02 Jan 2014 17:33:45
Original commit files touched by this commit  2.16
Revision:338463
johans search for other commits by this committer
- Update to GNU grep 2.16 (bugfix release)
- Simplify options handling
01 Nov 2013 15:35:01
Original commit files touched by this commit  2.15
Revision:332392
johans search for other commits by this committer
Update to GNU grep 2.15
06 Oct 2013 16:18:30
Original commit files touched by this commit  2.14_1
Revision:329600
johans search for other commits by this committer
- Fix PCRE support [1]
- Enable PCRE support by default
- Enable stage support
- Bump PORTREVISION

PR:		ports/182266 [1]
Submitted by:	amdmi3
20 Sep 2013 23:17:32
Original commit files touched by this commit  2.14
Revision:327773
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc)
24 Jun 2013 18:53:26
Original commit files touched by this commit  2.14
Revision:321704
johans search for other commits by this committer
- Update GNU grep to 2.14
- Adopt port

Approved by:    gabor (old maintainer)
11 Jun 2013 14:59:30
Original commit files touched by this commit  2.12_1
Revision:320601
miwi search for other commits by this committer
- Fix build

Reported by:	pkg (DEVELOPER_MODE)
24 Apr 2013 18:10:32
Original commit files touched by this commit  2.12_1
Revision:316464
ak search for other commits by this committer
- Convert USE_GETTEXT to USES (part 3)

Approved by:	portmgr (bapt)
10 Dec 2012 19:11:12
Original commit files touched by this commit  2.12_1
Revision:308630  Sanity Test Failure
mm search for other commits by this committer
Update PCRE to 8.32
Introduces the UTF-32 library pcre32
Bump PORTREVISION in dependent ports
06 Oct 2012 16:12:29
Original commit files touched by this commit  2.12
Revision:305384
eadler search for other commits by this committer
Convert to OptionsNG

Approved by:	gabor (maintainer)
23 May 2012 16:50:37
Original commit files touched by this commit  2.12

gabor search for other commits by this committer
- Update to 2.12
- Use GNU macro
- Pet portlint

PR:             ports/167649
Submitted by:   sunpoet
14 Feb 2012 12:45:35
Original commit files touched by this commit  2.9_1

mm search for other commits by this committer
Bump pcre library dependency due to 8.30 update
23 Sep 2011 22:26:39
Original commit files touched by this commit  2.9

amdmi3 search for other commits by this committer
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:             157936
Submitted by:   myself
Exp-runs by:    pav
Approved by:    pav
08 Aug 2011 11:10:44
Original commit files touched by this commit  2.9

gabor search for other commits by this committer
- Update to 2.9

PR:             ports/158353
Submitted by:   Pedro Giffuni <giffunip@tutopia.com>
25 Jun 2011 20:55:15
Original commit files touched by this commit  2.8_1

gabor search for other commits by this committer
- Fix plist
- Bump PORTREVISION
- Pet portlint(1)

Reported by:    pointyhat (via pav)
20 Jun 2011 16:50:42
Original commit files touched by this commit  2.8

delphij search for other commits by this committer
Update to 2.8.

PR:             ports/157998
Approved by:    maintainer (gabor)
03 Feb 2011 16:53:29
Original commit files touched by this commit  2.7

gabor search for other commits by this committer
- Update to 2.7

PR:             ports/152833
Submitted by:   Anonymous <swell.k@gmail.com>
Feature safe:   yes
15 Aug 2010 00:51:33
Original commit files touched by this commit  2.6.3_3

gabor search for other commits by this committer
- Add support for NLS with the conventional WITHOUT_NLS knob to disable it
- Silence post-patch target
- Bump PORTREVISION
- Cosmetic changes

PR:             ports/149290
Submitted by:   swell.k@gmail.com
04 Jun 2010 08:09:20
Original commit files touched by this commit  2.6.3_2

pav search for other commits by this committer
- Introduce a new USE_XZ knob that handles lzma/xz compressed distfiles
- Convert a bunch of ports to use it

PR:             ports/146329
Submitted by:   mm
With hat:       portmgr
02 Jun 2010 17:50:02
Original commit files touched by this commit  2.6.3_2

gabor search for other commits by this committer
- Instead of previous commit, fix the issue properly by using gettext

Pointed out by:         pav
01 Jun 2010 07:51:08
Original commit files touched by this commit  2.6.3_1

gabor search for other commits by this committer
- Fix plist

Reported by:    erwin (via pointyhat)
30 May 2010 05:02:52
Original commit files touched by this commit  2.6.3

gabor search for other commits by this committer
- Update to 2.6.3

PR:             ports/146524
Submitted by:   mm
06 Feb 2010 13:47:54
Original commit files touched by this commit  2.5.4

gabor search for other commits by this committer
The grep command searches one or more input files for lines containing a match
to a specified pattern.  By default, grep prints the matching lines.

WWW: http://www.gnu.org/software/grep/

Number of commits found: 42

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
zncJun 22
firefoxJun 21
firefox-esrJun 21
thunderbirdJun 21
thunderbirdJun 21
firefox*Jun 20
firefox-esr*Jun 20
vlcJun 20
vlcJun 20
waterfox*Jun 20
ImageMagick6*Jun 17
ImageMagick6-nox11*Jun 17
ImageMagick7*Jun 17
ImageMagick7-nox11*Jun 17
GraphicsMagickJun 16

16 vulnerabilities affecting 123 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-06-22 13:48:42


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 36731
Broken 84
Deprecated 122
Ignore 306
Forbidden 3
Restricted 162
No CDROM 74
Vulnerable 32
Expired 14
Set to expire 92
Interactive 0
new 24 hours 4
new 48 hours7
new 7 days33
new fortnight67
new month157

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.