notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Some details on the 2023-01-16 website outage.
We just rebooted with several updates: * new HMTLify code * no port maintainer is now highly visible (e.g. https://freshports.org/security/sssd/) * fixed search logic error when using plain/ text details at https://github.com/FreshPorts/freshports/releases/tag/2.2.34
Port details
bsdgrep BSD-licensed version of grep
2.6.0,1 textproc on this many watch lists=4 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 Version of this port present on the latest quarterly branch.
Maintainer: kevans@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2007-06-19 21:22:49
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: vlc, procmail, bsd-diff, portupgrade
License: BSD2CLAUSE
Description:
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
pkg-plist: as obtained via: make generate-plist
Expand this list (49 items)
Collapse this list.
  1. /usr/local/share/licenses/bsd-grep-2.6.0,1/catalog.mk
  2. /usr/local/share/licenses/bsd-grep-2.6.0,1/LICENSE
  3. /usr/local/share/licenses/bsd-grep-2.6.0,1/BSD2CLAUSE
  4. bin/bsdgrep
  5. bin/bzegrep
  6. bin/bzfgrep
  7. bin/bzgrep
  8. bin/egrep
  9. bin/fgrep
  10. bin/grep
  11. bin/lzegrep
  12. bin/lzfgrep
  13. bin/lzgrep
  14. bin/rgrep
  15. bin/xzegrep
  16. bin/xzfgrep
  17. bin/xzgrep
  18. bin/zgrep
  19. bin/zegrep
  20. bin/zfgrep
  21. man/man1/bzegrep.1.gz
  22. man/man1/bzfgrep.1.gz
  23. man/man1/bzgrep.1.gz
  24. man/man1/egrep.1.gz
  25. man/man1/fgrep.1.gz
  26. man/man1/grep.1.gz
  27. man/man1/lzegrep.1.gz
  28. man/man1/lzfgrep.1.gz
  29. man/man1/lzgrep.1.gz
  30. man/man1/rgrep.1.gz
  31. man/man1/xzegrep.1.gz
  32. man/man1/xzfgrep.1.gz
  33. man/man1/xzgrep.1.gz
  34. man/man1/zegrep.1.gz
  35. man/man1/zfgrep.1.gz
  36. man/man1/zgrep.1.gz
  37. share/nls/es_ES.ISO8859-1/grep.cat
  38. share/nls/gl_ES.ISO8859-1/grep.cat
  39. share/nls/hu_HU.ISO8859-2/grep.cat
  40. share/nls/ja_JP.eucJP/grep.cat
  41. share/nls/ja_JP.SJIS/grep.cat
  42. share/nls/ja_JP.UTF-8/grep.cat
  43. share/nls/pt_BR.ISO8859-1/grep.cat
  44. share/nls/ru_RU.KOI8-R/grep.cat
  45. share/nls/uk_UA.UTF-8/grep.cat
  46. share/nls/zh_CN.UTF-8/grep.cat
  47. @owner
  48. @group
  49. @mode
Collapse this list.
Dependency lines:
  • bsd-grep>0:textproc/bsdgrep
Conflicts:
CONFLICTS:
  • gnugrep
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/textproc/bsdgrep/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/bsdgrep
  • pkg install bsd-grep
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: bsd-grep
Flavors: there is no flavor information for this port.
distinfo:

Packages (timestamps in pop-ups are UTC):
bsd-grep
ABIlatestquarterly
FreeBSD:11:aarch642.6.0,12.6.0,1
FreeBSD:11:amd642.6.0,12.6.0,1
FreeBSD:11:armv620111002_22.6.0,1
FreeBSD:11:i3862.6.0,12.6.0,1
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips6420111002_22.6.0,1
FreeBSD:12:aarch642.6.0,12.6.0,1
FreeBSD:12:amd642.6.0,12.6.0,1
FreeBSD:12:armv62.6.0,12.6.0,1
FreeBSD:12:armv72.6.0,12.6.0,1
FreeBSD:12:i3862.6.0,12.6.0,1
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips642.6.0,12.6.0,1
FreeBSD:12:powerpc64pkg-fallout2.6.0,1
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv62.6.0,1pkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips642.6.0,1pkg-fallout
FreeBSD:13:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
Options name:
USES:
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (4 items)
Collapse this list.
  1. http://distcache.FreeBSD.org/local-distfiles/kevans/
  2. http://distcache.eu.FreeBSD.org/local-distfiles/kevans/
  3. http://distcache.us-east.FreeBSD.org/local-distfiles/kevans/
  4. http://distcache.us-west.FreeBSD.org/local-distfiles/kevans/
Collapse this list.

Number of commits found: 46

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
2.6.0,1
07 Sep 2022 21:10:59
commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
2.6.0,1
20 Jul 2022 14:23:14
commit hash:5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash:5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash:5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash:5cf7e35e8664e11393fedc7d89b4d09e0fcced9b files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
2.6.0,1
25 Nov 2021 21:40:11
commit hash:04b9da414081a733478d3def4e1e3777908536c6commit hash:04b9da414081a733478d3def4e1e3777908536c6commit hash:04b9da414081a733478d3def4e1e3777908536c6commit hash:04b9da414081a733478d3def4e1e3777908536c6 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
*/*: Remove redundant '-*' from CONFLICTS definitions

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").

Approved by: portmgr (blanket)
2.6.0,1
30 Sep 2021 21:23:30
commit hash:620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash:620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash:620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash:620968a43a5f9bb3fa98ab20f257a4c0d864caa7 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
cleanup: drop support for EOL FreeBSD 11.X

Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2.6.0,1
06 Apr 2021 14:31:07
commit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.6.0,1
29 Jan 2021 04:55:30
Revision:563170Original commit files touched by this commit
kevans search for other commits by this committer
textproc/bsdgrep: stop building on FreeBSD 13+

bsdgrep will ship as the non-optional default in FreeBSD 13.0. Mark it as
IGNORE on 13 and 14, with the intention of deprecating it when stable/12 is
no longer supported.  In the meantime, it is still useful on the earlier
branches for testing.

MFH:		2021Q1
2.6.0,1
20 Nov 2020 14:16:28
Revision:555761Original commit files touched by this commit
kevans search for other commits by this committer
textproc/bsdgrep: fix the build on recent -CURRENT

A seatbelt was added to throw a warning if a "SUBDIR." variable appeared
non-empty, since that indicates something was trying to expand a MK_
variable most likely and either opts.mk wasn't included or the name of the
variable used is wrong.

In this particular case, we're repackaging a part from base. I had stripped
the src.opts.mk include but hadn't thought to replace it with bsd.opts.mk
for userlandy stuff.

This also goes as far as fixing the test build, but doesn't yet hook up the
tests. On FreeBSD <13 these need a kyua/atf test dep, but I'd like to do a
sweep and see if there are any other ports (e.g. from NetBSD base or FreeBSD
base) that also have a dependency to weigh in on if this should just be a
one-off osversion check or a kyua/atf USES.

MFH:		2020Q4 (blanket: build fix)
2.6.0,1
11 Jun 2018 21:03:17
Revision:472211Original commit files touched by this commit
feld search for other commits by this committer
Update MAINTAINER
2.6.0,1
11 Jun 2018 20:56:24
Revision:472207Original commit files touched by this commit
feld search for other commits by this committer
Reset MAINTAINER

Multiple consecutive previous maintainer timeouts
2.6.0,1
19 Apr 2018 18:22:47
Revision:467795Original commit files touched by this commit
kevans search for other commits by this committer
[PATCH] textproc/bsdgrep: Update to 2.6.0 and set LICENSE

The following list of changes are roughly what has occurred since the last
update:

Features:

 - With bsdgrep -r, the working directory is implied if no directory is
   specified
 - bsdgrep will now behave as bsdgrep -r does when it's named rgrep
 - bsdgrep now understands -z/--null-data to use \0 as EOL
 - GNU regex compatibility is now indicated with a "GNU compatible" in
   the version string

Fixes:
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20111002_2
26 Sep 2015 09:26:12
Revision:397952Original commit files touched by this commit
bapt search for other commits by this committer
Stop installing potentially wrong gnugrep
Do not create symlinks in scripts
Use options helpers
20111002_1
14 May 2015 10:15:09
Revision:386312Original commit files touched by this commit
mat search for other commits by this committer
MASTER_SITES cleanup.

- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
20111002_1
08 Dec 2014 21:17:00
Revision:374324Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
20111002_1
11 Apr 2014 04:46:47
Revision:350887Original commit files touched by this commit
bdrewery search for other commits by this committer
Fix packaging/staging

Reported by:	pkg-fallout
Pointyhat to:	mat
20111002_1
26 Jan 2014 00:03:52
Revision:341143Original commit files touched by this commit
mat search for other commits by this committer
- Convert to staging
- pet portlint
- add license
- convert patches to makepatch naming

Sponsored by:	Absolight
20111002_1
13 Jan 2014 07:23:43
Revision:339572Original commit files touched by this commit
bapt search for other commits by this committer
archivers/xz is in base for all versions and has been removed from the ports
tree
20111002_1
20 Sep 2013 23:17:32
Revision:327773Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc)
20111002_1
08 Nov 2012 22:09:34
Revision:307206Original commit files touched by this commit
adamw search for other commits by this committer
- fix NLS support, which was wired backwards
- actually enable NLS in OPTIONS
- change LOCALBASE to PREFIX, as it was attempting to create a directory in
  one, and then install a file into another
- this fixes package building

Feature safe:	yes
20111002
06 Oct 2012 16:11:17
Revision:305383Original commit files touched by this commit
eadler search for other commits by this committer
Convert to OptionsNG

Approved by:	gabor (maintainer)
20111002
02 Nov 2011 01:10:37
Original commit files touched by this commit
pav search for other commits by this committer
- Mark BROKEN on 7.X: overwrites files installed by dependency

Reported by:    pointyhat
20111002
19 Oct 2011 08:37:28
Original commit files touched by this commit
gabor search for other commits by this committer
- s|${LOCALBASE}/bin|${LOCALBASE}/lib| to fix build on 7.X

Submitted by:   pav
20111002
14 Oct 2011 10:04:12
Original commit files touched by this commit
gabor search for other commits by this committer
- Fix build on systems, where xz is not in the base system

Reported by:    pointyhat (via pav)
20111002
02 Oct 2011 15:28:46
Original commit files touched by this commit
gabor search for other commits by this committer
- Fix build on >=9.X

Reported by:    eadler
20111002
02 Oct 2011 10:05:52
Original commit files touched by this commit
gabor search for other commits by this committer
- Update to 20111002
20110912
26 Sep 2011 21:53:21
Original commit files touched by this commit
pav search for other commits by this committer
- Mark BROKEN: incomplete plist

Reported by:    pointyhat
20110912
14 Sep 2011 23:34:58
Original commit files touched by this commit
gabor search for other commits by this committer
- Add -I${LOCALBASE}/include to CFLAGS for older systems where xz tools
  are installed as a dependency

Reported by:    pointyhat (via linimon)
20110912
13 Sep 2011 23:13:47
Original commit files touched by this commit
gabor search for other commits by this committer
- Fix build on 9.X

Reported by:    pointyhat (via pav)
20110912
12 Sep 2011 13:12:18
Original commit files touched by this commit
gabor search for other commits by this committer
- Update to 20110912

Chabgelog:
 + Rewritten fast matcher code: slight performance improvement and better
   scalability, more reliable, more fine-grained (handles a wider scale of
   patterns), uses Turbo Boyer-Moore and Quick Search algorithms
 + Readd --mmap, default is still read(2)
 + Support xz/lzma archives
 + Bugfix: support of empty pattern
 + Bugfix: pattern file cannot be a directory
 + Bugfix: proper error handling when using -F / fgrep
 + Bugfix: fix handling of ^$ anchors
 + Bugfix: partly fix content after last match of -m
20091130
03 Jul 2011 14:40:25
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
20091130
06 Feb 2010 13:46:51
Original commit files touched by this commit
gabor search for other commits by this committer
- Register CONFLICTS with upcoming textproc/gnugrep
20091130
01 Dec 2009 18:38:27
Original commit files touched by this commit
gabor search for other commits by this committer
- Fix plist

Reported by:    QAT
Pointyhat to:   gabor
20091130
30 Nov 2009 21:39:53
Original commit files touched by this commit
gabor search for other commits by this committer
- Update to 20091130

Changes:
        - Fix EOF handling bug
        - Better --exclude and --include compatibility with GNU variant
        - Add --exclude-dir and --include-dir [1]
        - Add support for GREP_OPTIONS [2]
        - Clean up NLS catalogs
        - Style changes [3]
        - WARNS=6 cleanness

Submitted by:   delphij [3]
Requested by:   bz [1], obrien [2]
20090111
11 Jan 2009 14:19:20
Original commit files touched by this commit
gabor search for other commits by this committer
- Update to 20090111
20081226
26 Dec 2008 09:37:20
Original commit files touched by this commit
gabor search for other commits by this committer
- Update to 20081226
20080826
26 Sep 2008 08:34:24
Original commit files touched by this commit
ru search for other commits by this committer
Fix the value of MANCOMPRESSED.

OK'ed by:       gabor
20080826
26 Aug 2008 13:49:43
Original commit files touched by this commit
gabor search for other commits by this committer
- Update to 20080826

Changes
        - Fix -v flag [1]
        - Proper EOF checking [2]
        - Better and probable fully GNU-compatible binary checking
        - Readd fixed string optimizations from OpenBSD in a
          cleaner way; now it works with all the features, like
          --color and -o

Reported by:    Chuck Swiger <cswiger@mac.com> [1],
                Stuart Barkley <stuartb@4gh.net> [2]
20080725_1
29 Jul 2008 19:57:12
Original commit files touched by this commit
gabor search for other commits by this committer
- Make clean before building to clean up the .o files that the distfile
  contains, because I forgot to make clean before tarballing this
  release. For the next update it will be rolled in a clean way.
- Bump PORTREVISION

Reported by:    pointyhat (via erwin)
20080725
27 Jul 2008 15:44:31
Original commit files touched by this commit
gabor search for other commits by this committer
- Update to 20080725
(This is a major bugfix update)
20080723
24 Jul 2008 23:07:00
Original commit files touched by this commit
gabor search for other commits by this committer
- Update to 20080723
20080624
24 Jun 2008 21:21:52
Original commit files touched by this commit
gabor search for other commits by this committer
- Update to 20080624

Changes:
        - Improved GNU compatibility, e.g. all the returned status codes
          should be compatible now
        - Added NLS support via catgets()
        - Change the way of handling gzip/bzip2 files to get rid of some
          limitations, like detecting of binary bzip2 files
        - Cleanups in the code
20080615
14 Jun 2008 23:06:19
Original commit files touched by this commit
gabor search for other commits by this committer
- Update to 20080615

This version is now supposed to be compatible with GNU grep 2.5.1, which
can be found in FreeBSD. According to some preliminary measurements,
they achieve almost the same level of efficiency, this version seem to be
measureably but not significantly faster. Further tests are needed
to test and examine this version of grep.
20080526
27 May 2008 13:32:03
Original commit files touched by this commit
gabor search for other commits by this committer
- Update to 20080526
- Create symlinks during the build: bsdgrep and gnugrep
20080422
23 Apr 2008 15:18:10
Original commit files touched by this commit
gabor search for other commits by this committer
- Update to 20080422 to get rid of the weird distfile.
  No functional changes.

Reported by:    pointyhat (via pav)
20080406
08 Apr 2008 15:18:11
Original commit files touched by this commit
gabor search for other commits by this committer
- Update to 20080406
- Fix installing of man pages

Changes:
        - Minor fixes and improvements to the code [1]
        - Man page completion

Obtained from:  OpenBSD [1]
20070612
19 Jun 2007 21:20:04
Original commit files touched by this commit
gabor search for other commits by this committer
This is the BSD-licensed version of the well-known grep utility, obtained from
OpenBSD. It lacks some features of GNU grep. It is a proposed project idea
to replace the GNU grep with this one, but it needs to be completed first.
Patches are highly appreciated.

WWW: http://www.freebsd.org/projects/ideas/#p-bsdtexttools

Obtained from:  OpenBSD

Number of commits found: 46