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.7 textproc on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.6Version of this port present on the latest quarterly branch.
Maintainer: danfe@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2010-02-06 13:48:10
Last Update: 2021-10-29 09:50:18
Commit Hash: 819f25b
People watching this port, also watch:: calibre, ltris, bsdgames, openssl, bibtool
License: GPLv3+
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (55 items)
Collapse this list.
  1. /usr/local/share/licenses/gnugrep-3.7/catalog.mk
  2. /usr/local/share/licenses/gnugrep-3.7/LICENSE
  3. /usr/local/share/licenses/gnugrep-3.7/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. @owner
  54. @group
  55. @mode
Collapse this list.
Dependency lines:
  • gnugrep>0:textproc/gnugrep
Conflicts:
CONFLICTS:
  • bsd-grep
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, run one of these commands:
  • pkg install textproc/gnugrep
  • pkg install gnugrep
PKGNAME: gnugrep
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
gnugrep
ABIlatestquarterly
FreeBSD:11:aarch642.273.4
FreeBSD:11:amd643.63.6
FreeBSD:11:armv62.253.4
FreeBSD:11:i3863.63.6
FreeBSD:11:mips--
FreeBSD:11:mips642.253.4
FreeBSD:12:aarch642.273.7
FreeBSD:12:amd643.73.7
FreeBSD:12:armv62.273.5
FreeBSD:12:armv72.273.5
FreeBSD:12:i3863.73.7
FreeBSD:12:mips--
FreeBSD:12:mips642.273.4
FreeBSD:12:powerpc64-3.6
FreeBSD:13:aarch643.73.7
FreeBSD:13:amd643.73.7
FreeBSD:13:armv63.63.6
FreeBSD:13:armv73.63.6
FreeBSD:13:i3863.73.7
FreeBSD:13:mips--
FreeBSD:13:mips643.63.6
FreeBSD:13:powerpc643.63.6
FreeBSD:14:aarch643.7-
FreeBSD:14:amd643.7-
FreeBSD:14:armv63.6-
FreeBSD:14:armv73.6-
FreeBSD:14:i3863.7-
FreeBSD:14:mips--
FreeBSD:14:mips643.7-
FreeBSD:14:powerpc643.6-
 

Dependencies
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
  1. devel/libvirt
  2. devel/quilt
  3. devel/xtensa-esp32-elf

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. dns/opendnssec13*
  2. Collapse this list of deleted ports.
for Run
  1. devel/quilt
  2. sysutils/debootstrap

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. net/opensips*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (12 items)
Collapse this list.
  1. ftp://ftp.fu-berlin.de/unix/gnu/grep/
  2. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/grep/
  3. ftp://mirrors.rit.edu/gnu/grep/
  4. http://download.xs4all.nl/gnu/grep/
  5. http://ftp.halifax.rwth-aachen.de/gnu/grep/
  6. http://ftp.kddilabs.jp/GNU/gnu/grep/
  7. http://mirror.navercorp.com/gnu/grep/
  8. https://ftp.gnu.org/gnu/grep/
  9. https://ftpmirror.gnu.org/grep/
  10. https://mirror.netcologne.de/gnu/grep/
  11. https://mirrors.kernel.org/gnu/grep/
  12. https://www.nic.funet.fi/pub/gnu/gnu/grep/
Collapse this list.
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: 50

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
29 Oct 2021 09:50:18
 files touched by this commit commit hash:819f25b36d45b8ac5593ec8e6f470d9ad454b08a  3.7
Stefan E├čer (se) search for other commits by this committer
*/*: Remove redundant '-[0-9]*' from CONFLICTS

The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
15 Oct 2021 08:23:35
 files touched by this commit commit hash:ea8a46f5cfa2262e0163209d4421435d39ecc16d  3.7
Alexey Dokuchaev (danfe) search for other commits by this committer
textproc/gnugrep: update GNU grep to the latest version 3.7.

Reported by:	portscout
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  3.6
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
10 Nov 2020 07:19:37
Original commit files touched by this commit Revision:554810  3.6
danfe search for other commits by this committer
Update GNU Grep to version 3.6.

Reported by:	portscout
28 Sep 2020 20:54:31
Original commit files touched by this commit Revision:550450  3.5
danfe search for other commits by this committer
- Update to version 3.5 [1]
- Use more option helpers [2]

Found out via:	www.opennet.ru [1]
PR:		243235 [2]
08 Jan 2020 08:08:21
Original commit files touched by this commit Revision:522364  3.4
danfe search for other commits by this committer
Update GNU Grep to version 3.4.

Found out via:	www.opennet.ru
05 Nov 2019 08:18:17
Original commit files touched by this commit Revision:516778  3.3
danfe search for other commits by this committer
Assume maintainership of several GNU tools I've been keeping an eye to
and updating as of recently.
04 Nov 2019 21:21:04
Original commit files touched by this commit Revision:516744  3.3
rene search for other commits by this committer
Returns johans's ports to the pool after safekeeping his commit bit.
03 Mar 2019 13:40:51
Original commit files touched by this commit Revision:494508  3.3
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 Revision:494305  3.3
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 Revision:494301  3.3
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 Revision:484628  2.27_1
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 Revision:429599  2.27
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 Revision:425578  2.26
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 Revision:415742  2.25
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 Revision:414077  2.25
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 Revision:412349  2.23
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 Revision:408153  2.23
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 Revision:402225  2.22_1
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 Revision:401057  2.22
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 Revision:384621  2.21_1
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 Revision:380880  2.21
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 Revision:373431  2.21
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 Revision:372605  2.20
antoine search for other commits by this committer
Cleanup plist
07 Jun 2014 08:22:33
Original commit files touched by this commit Revision:356885  2.20
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 Revision:354941  2.19
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 Revision:346136  2.18
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 Revision:345139  2.17
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 Revision:338463  2.16
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 Revision:332392  2.15
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 Revision:329600  2.14_1
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 Revision:327773  2.14
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 Revision:321704  2.14
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 Revision:320601  2.12_1
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 Revision:316464  2.12_1
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 Revision:308630  2.12_1  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 Revision:305384  2.12
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: 50